找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
楼主: clion007

【2021.5.8 更新】超强大的dnsmasq及hosts全自动脚本(ADSI)扶X去广告详...

   火... [复制链接]
发表于 2017-6-6 14:37 | 显示全部楼层
:smoke 泪流满面!原来这样的…
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-6 14:37 | 显示全部楼层
[root@PandoraBox:/root]#/bin/sh /etc/dnsmasq_fqad.sh
: not foundq_fqad.sh: line 4:
: not foundq_fqad.sh: line 7:
: not foundq_fqad.sh: line 10:
/etc/dnsmasq_fqad.sh: cd: line 12: can't cd to /usr/bin/
: not foundq_fqad.sh: line 13:
: not foundq_fqad.sh: line 16:
: not foundq_fqad.sh: line 40:
: not foundq_fqad.sh: line 48:
: No such file or directory
: No such file or directory
: No such file or directorya.conf
/etc/dnsmasq_fqad.sh: cd: line 58: can't cd to /etc/dnsmasq.d
cat: can't open 'fq.conf': No such file or directory
cat: can't open 'ad.conf': No such file or directory
cat: can't open 'easylistchina.conf': No such file or directory
: nonexistent directoryine 64: can't create /etc/dnsmasq.d/fqad.conf
sort: /etc/dnsmasq.d/fqad: No such file or directory
: not foundq_fqad.sh: line 67:
cat: can't open 'yhosts.conf': No such file or directory
cat: can't open 'adaway.conf': No such file or directory
sort: /etc/dnsmasq/noad: No such file or directory
: not foundq_fqad.sh: line 84:
: no process killed
: not foundq_fqad.sh: line 87: /usr/sbin/dnsmasq
: not foundq_fqad.sh: line 88:
: not foundq_fqad.sh: line 134:
/etc/dnsmasq_fqad.sh: line 136: nvram: not found

点评

已经修正相关问题,测试通过了,没有问题了。  发表于 2017-6-7 02:26
谢谢反馈,确实缺少一条创建dnsmasq.d文件夹的命令行,已经修复完善。  详情 回复 发表于 2017-6-6 16:49
同样问题,检查发现,第2行的mkdir就出错了,建的文件夹名是“dnsmasq?”,没错就是多了个问号,现在这个文件夹不能改名不能删除。  详情 回复 发表于 2017-6-6 15:25
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-6 14:39 | 显示全部楼层
系统为PandoraBox 1024,全新安装的,已安装wget
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-6 14:45 | 显示全部楼层
这个好,支持支持!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-6 14:48 | 显示全部楼层
方案dnsmasq提供了什么?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-6 14:55 | 显示全部楼层
找了好就   看看这个适用不  谢谢兄弟
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-6 15:16 | 显示全部楼层
谢谢楼主的分享!这个绝对要顶!!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-6 15:25 来自手机 | 显示全部楼层
ktoc 发表于 2017-6-6 14:37
[root@PandoraBox:/root]#/bin/sh /etc/dnsmasq_fqad.sh
: not foundq_fqad.sh: line 4:
: not foundq_fq ...

同样问题,检查发现,第2行的mkdir就出错了,建的文件夹名是“dnsmasq?”,没错就是多了个问号,现在这个文件夹不能改名不能删除。

点评

已经修正相关问题,测试通过了,没有问题了。  发表于 2017-6-7 02:26
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-6 15:40 | 显示全部楼层
谢谢分享,学习了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-6 16:44 | 显示全部楼层
好的 支持一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2017-6-6 16:49 | 显示全部楼层
ktoc 发表于 2017-6-6 14:37
[root@PandoraBox:/root]#/bin/sh /etc/dnsmasq_fqad.sh
: not foundq_fqad.sh: line 4:
: not foundq_fq ...

谢谢反馈,确实缺少一条创建dnsmasq.d文件夹的命令行,已经修复完善。

点评

换行符的问题,导致新建文件夹带问号  详情 回复 发表于 2017-6-6 17:39
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-6 16:51 | 显示全部楼层
谢谢分享。。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-6 16:52 | 显示全部楼层
看看是什么IP,肯定很快就封

点评

有每天自动更新机制的,IP被封了,会改的。  详情 回复 发表于 2017-6-6 17:47
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-6 17:06 | 显示全部楼层
感谢楼主分享,有时间试试
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-6 17:27 | 显示全部楼层
感谢分享科普好文!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-19 02:58

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表