pymumu / smartdns

A local DNS server to obtain the fastest website IP for the best Internet experience, support DoT, DoH. 一个本地DNS服务器,获取最快的网站IP,获得最佳上网体验,支持DoH,DoT。
https://pymumu.github.io/smartdns/
GNU General Public License v3.0
8.34k stars 1.07k forks source link

armv7 求指导求配套 #163

Closed lalasou closed 5 years ago

lalasou commented 5 years ago

求编译啊 armv7 软件源http://pkg.entware.net/binaries/armv7/Packages.html 不能用啊 斐讯k3 这个用的还是比较多的 求配套 求指导 大佬

pymumu commented 5 years ago

hello.zip

麻烦验证一下这个程序能否执行。

lalasou commented 5 years ago

大佬 能回复受宠若惊 试了下 不能执行 armv7求适配 求适配求适配😀

pymumu commented 5 years ago

smartdns.1.2019.06.19-2342.arm-optware-all.ipk.zip

帮忙测试下看看能不能用把

lalasou commented 5 years ago

可以 运行 ps 有进程

[K3 /tmp/media/nand]# nslookup -querytype=ptr 0.0.0.0BusyBox v1.25.1 (2017-02-12 00:56:19 CST) multi-call binary.

Usage: nslookup [HOST] [SERVER]

Query the nameserver for the IP address of the given HOST optionally using a specified DNS server

luci 不能用 不知道咋设置了 求解

lalasou commented 5 years ago

[K3 /tmp/media/nand]# nslookup baidu.com 192.168.2.1 Server: 192.168.2.1 Address 1: 192.168.2.1 p.to

Name: baidu.com Address 1: 220.181.38.148 Address 2: 123.125.114.144 不懂怎么设置了 小白 求教程😅

lalasou commented 5 years ago

下面是ps启动进程

2008 admin 3496 S /opt/usr/sbin/smartdns -c /opt/etc/smart 9397 admin 772 S /usr/sbin/dnsmasq -n -i br0 -i br1 -r /t

lalasou commented 5 years ago

我看 s50smartdns 提示 dnsmasq找不到 我修改了一下 还有其他错误

K3 /tmp/media/nand/etc/init.d]# ./S50smartdns restart ps: invalid option -- 'a' BusyBox v1.30.1 () multi-call binary.

Usage: ps

Show list of processes

    w       Wide output

cannot find dnsmasq cat: can't open '/var/run/smartdns.pid': No such file or directory smartdns not running. ps: invalid option -- 'a' BusyBox v1.30.1 () multi-call binary.

Usage: ps

Show list of processes

    w       Wide output

cannot find dnsmasq

小白 还是不行 等大佬教吧

pymumu commented 5 years ago

S50smartdns.zip 替换一下这个文件,并将/opt/etc/smartdns/smartdns-opt.conf中的SMARTDNS_WORKMODE改成2

pymumu commented 5 years ago

尝试Release 26静态编译版本把。

lalasou commented 5 years ago

新版本 26 安装提示 opkg install smartdns.1.2019.06.21-2337.arm-op tware-all.ipk Upgrading smartdns on root from 1.2019.06.19-2342 to 1.2019.06.21-2337... //opt/lib/opkg/info/smartdns.prerm: line 3: /opt/etc/init.d/S50smartdns: not found Collected errors:

我替换 s50试试

pymumu commented 5 years ago

卸载之前的,再安装看看。

lalasou commented 5 years ago

替换也不行

lalasou commented 5 years ago
  提示分段错误                                          

[K3 /tmp/media/nand]# opkg install smartdns.1.2019.06.21-2337.arm-op tware-all-1.ipk 提示 Segmentation fault

pymumu commented 5 years ago

看上去可能是指令集不支持。 你用的什么固件?

pymumu commented 5 years ago

smartdns.1.2019.06.23-2138.arm-optware-all.ipk.zip

试一下这个把,把之前的卸载掉。

lalasou commented 5 years ago

斐讯 k3 官root固件 tb的
估计leden或者 梅林应该可以用
只能刷机了