Comments (28)
看看能不能用。
from smartdns.
@pymumu 似乎不太行 有联系方式没 我给你看下
from smartdns.
吧openwrt的软件源下载路径发一下
我确认一下版本号
from smartdns.
另外,上述文件能安装吗,还是安装的时候报错了?
from smartdns.
root@LEDE:~# opkg update
Downloading http://downloads.lede-project.org/releases/17.01.1/targets/ipq806x/generic/packages/Packages.gz
from smartdns.
root@LEDE:~# cat /proc/version
Linux version 4.4.61 ([email protected]) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3104-41de9a2) ) #0 SMP Sat Apr 15 16:13:45 2017
root@LEDE:~#
from smartdns.
root@LEDE:~# cd /usr/sbin
root@LEDE:/usr/sbin# ls | grep smartdns
smartdns
root@LEDE:/usr/sbin# ./smartdns
-ash: ./smartdns: not found
root@LEDE:/usr/sbin#
安装没错
from smartdns.
from smartdns.
ldd /usr/sbin/smartdns
from smartdns.
root@LEDE:/usr/sbin# ldd /usr/sbin/smartdns
/lib/ld-musl-arm.so.1 (0x7f61b000)
libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0xb6ef0000)
libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0xb6dad000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6d93000)
libc.so => /lib/ld-musl-arm.so.1 (0x7f61b000)
from smartdns.
/usr/sbin/smartdns -h命令呢
from smartdns.
root@LEDE:~# /usr/sbin/smartdns -h
-ash: /usr/sbin/smartdns: not found
from smartdns.
这种状态应该是
不是一个合法的可执行文件或者毁坏了,所以应该是还是平台的问题。
R7800就是ipq806x Qualcomm的SoC
from smartdns.
ldd命令解析对的,按理说应该要可以执行的。
给你的是ipq40xx的版本。
ipq806x的要交叉编译环境,现在没有,要的话,要等几天。
from smartdns.
没事 等几天吧 我在ubuntu上调试了一下 问题不大
from smartdns.
试一下这个
from smartdns.
root@LEDE:~# ldd /usr/sbin/smartdns
/lib/ld-musl-arm.so.1 (0x7f60c000)
libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0xb6ed7000)
libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0xb6d94000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6d7a000)
libc.so => /lib/ld-musl-arm.so.1 (0x7f60c000)
root@LEDE:~#
from smartdns.
root@LEDE:~# ll /usr/sbin/smartdns
-rwxr-xr-x 1 root root 160208 Dec 16 08:45 /usr/sbin/smartdns*
root@LEDE:~# /usr/sbin/smartdns -h
-ash: /usr/sbin/smartdns: not found
root@LEDE:~#
from smartdns.
感觉是你系统少了依赖。
看看如下结果:
ldd /usr/lib/libssl.so.1.0.0
ldd /usr/lib/libcrypto.so.1.0.0
ldd /lib/libgcc_s.so.1
from smartdns.
from smartdns.
你这是官方固件吗?
上图ldd的命令结果不正常,但没看出问题在哪里。
你装一个strace命令,执行以下
strace /usr/sbin/smartdns -h
发一下输出。
from smartdns.
https://downloads.openwrt.org/releases/17.01.1/targets/ipq806x/generic/
execve("/usr/sbin/smartdns", ["/usr/sbin/smartdns", "-h"], [/* 12 vars */]) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="strace: exec: No such file or di"..., iov_len=39}, {iov_base="\n", iov_len=1}], 2strace: exec: No such file or directory
) = 40
writev(2, [{iov_base="", iov_len=0}, {iov_base=NULL, iov_len=0}], 2) = 0
getpid() = 13931
exit_group(1) = ?
+++ exited with 1 +++
from smartdns.
看一下这个文件在不在
/lib/ld-musl-arm.so.1
ls -lh /lib
from smartdns.
在看看这个把。感觉应该对了
from smartdns.
drwxr-xr-x 2 root root 29 Apr 18 2017 config
drwxr-xr-x 1 root root 224 Apr 18 2017 firmware
drwxr-xr-x 2 root root 140 Apr 18 2017 functions
-rwxr-xr-x 1 root root 7.9K Apr 18 2017 functions.sh
-rw-r--r-- 1 root root 1.3K Apr 18 2017 ipq806x.sh
lrwxrwxrwx 1 root root 7 Apr 18 2017 ld-musl-armhf.so.1 -> libc.so
-rw-r--r-- 1 root root 16.0K Apr 18 2017 libblkid-tiny.so
-rw-r--r-- 1 root root 8.0K Apr 18 2017 libblobmsg_json.so
-rwxr-xr-x 1 root root 400.7K Apr 18 2017 libc.so
-rw-r--r-- 1 root root 28.1K Apr 18 2017 libfstools.so
-rw-r--r-- 1 root root 39.5K Apr 18 2017 libgcc_s.so.1
-rw-r--r-- 1 root root 8.0K Apr 18 2017 libjson_script.so
-rw-r--r-- 1 root root 4.0K Apr 18 2017 libsetlbf.so
-rw-r--r-- 1 root root 32.0K Apr 18 2017 libubox.so
-rw-r--r-- 1 root root 20.1K Apr 18 2017 libubus.so
-rwxr-xr-x 1 root root 32.0K Apr 18 2017 libuci.so
-rw-r--r-- 1 root root 12.6K Apr 18 2017 libvalidate.so
drwxr-xr-x 1 root root 224 Apr 18 2017 modules
drwxr-xr-x 4 root root 212 Apr 18 2017 netifd
drwxr-xr-x 2 root root 49 Apr 18 2017 network
drwxr-xr-x 2 root root 377 Apr 18 2017 preinit
-rw-r--r-- 1 root root 771 Apr 18 2017 uboot-envtools.sh
drwxr-xr-x 1 root root 224 Jul 21 07:34 upgrade
drwxr-xr-x 2 root root 34 Apr 18 2017 wifi
from smartdns.
from smartdns.
没设备,没法验证。交叉编译环境搞错了。
from smartdns.
Release 18正式版本发布,请取用验证。
from smartdns.
Related Issues (20)
- Use semantic versioning HOT 20
- mDNS查询开启后 过一阵端口直接无响应 HOT 1
- 有没有办法实现,远程 dns 解析只返回 ipv4,国内 dns 解析双栈返回? HOT 2
- DoH 路径修改 HOT 3
- 使用阿里dns,不定时出现Connection reset by peer HOT 38
- 能否找回debian 下正在运行的 smartdns.conf
- 域名规则求助 HOT 6
- 关于ip-alias,指定了cf v4映射,但是想屏蔽cf v6,请问有办法吗 HOT 3
- typo in configuration file
- 文档中的域名通配的问题 HOT 1
- 请问如何只监听指定接口? HOT 7
- 请问如何设置被屏蔽域名的应答响应 HOT 2
- audit-file 设置自定义保存路径无效 HOT 3
- DNS64 似乎不起作用 (可能是我理解错误? HOT 4
- domain-rules -address 支持 #6r (提供DNS64,但不是真V6地址 HOT 1
- 建议自定义设置conf-file 文件不存在时可跳过 HOT 3
- APT仓库内的软件版本已过时 HOT 3
- 域名设置address规则返回soa,audit无记录,Bug吗? HOT 1
- domain-rules -no-serve-expired 选项依赖 “speed-check-mode none”
- 双栈优选能否强制指定IPv6 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smartdns.