找回密码
 立即注册

QQ登录

只需一步,快速开始

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

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

   火... [复制链接]
发表于 2018-3-30 16:59 | 显示全部楼层
学习一下。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-3-31 17:08 | 显示全部楼层
需要5nb,我现在好像才4个,试试回复加不加
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-3-31 17:27 | 显示全部楼层
clion007 发表于 2018-3-28 12:17
我用的pandorabox源好像也有问题了,不能装软件就跳过吧系统自带了dnsmasq的,wget的话可以网上找到软件 ...

好的多谢分享,我改天试试
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-4-1 10:34 | 显示全部楼层
这个不错,学习了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-4-2 20:08 | 显示全部楼层
请教一下像这个情况怎么办??


wget: not an http or ftp url: https://raw.githubusercontent.co ... aster/dnsmasq/dnsfq




++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+                                                          +
+     Install Fq+Noad for OpnWrt or LEDE or PandoraBox     +
+                                                          +
+                      Time:2018-04-02                     +
+                                                          +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

三秒后开始安装......

创建dnsmasq规则与更新脚本存放的文件夹

检测和备份当前dnsmasq配置信息

配置dnsmasq

请输入lan网关ip(默认:192.168.1.1 ): 192.168.1.1

创建上游DNS配置文件

开始创建上游DNS配置

创建自定义dnsmasq规则

开始创建创建自定义dnsmasq规则

创建自定义广告黑名单

开始创建创建自定义广告黑名单

创建自定义广告白名单

开始创建创建自定义广告白名单

下载扶墙和广告规则

下载sy618扶墙规则
wget: not an http or ftp url: https://raw.githubusercontent.co ... aster/dnsmasq/dnsfq

下载vokins广告规则
wget: not an http or ftp url: https://raw.githubusercontent.co ... /dnsmasq/union.conf

下载easylistchina广告规则
wget: not an http or ftp url: https://c.nnjsx.cn/GL/dnsmasq/update/adblock/easylistchina.txt

下载yhosts缓存
wget: not an http or ftp url: https://raw.githubusercontent.com/vokins/yhosts/master/hosts.txt

下载malwaredomainlist规则

下载adaway规则缓存
wget: not an http or ftp url: https://adaway.org/hosts.txt
wget: not an http or ftp url: https://hosts-file.net/ad_servers.txt
sed: /tmp/adaway4: No such file or directory
cat: can't open '/tmp/adaway': No such file or directory

创建用户自定规则缓存

创建广告黑名单缓存
wget: not an http or ftp url: https://raw.githubusercontent.co ... /master/adblacklist
sort: /tmp/adblacklist: No such file or directory

合并dnsmasq、hosts缓存
cat: can't open '/tmp/sy618': No such file or directory
cat: can't open '/tmp/ad.conf': No such file or directory
cat: can't open '/tmp/easylistchina.conf': No such file or directory
cat: can't open '/tmp/yhosts.conf': No such file or directory

删除dnsmasq、hosts临时文件

删除被误杀的广告规则
wget: not an http or ftp url: https://raw.githubusercontent.co ... /master/adwhitelist
sort: /tmp/adwhitelist: No such file or directory

删除注释和本地规则

统一广告规则格式

创建dnsmasq规则文件

创建hosts规则文件

删除dnsmasq'hosts重复规则及临时文件

重启dnsmasq服务

获取脚本更新脚本
wget: not an http or ftp url: https://raw.githubusercontent.co ... ster/fqad_update.sh

获取规则更新脚本
wget: not an http or ftp url: https://raw.githubusercontent.co ... fqadrules_update.sh


点评

看来你的网络环境污染比较严重,好多网页都访问不了,可以先手动改下DNS服务器,比如用114的,确保能访问这些网站再运行脚本。  详情 回复 发表于 2018-5-3 17:28
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-4-3 10:14 | 显示全部楼层
之前的教程找不到了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-4-3 11:06 | 显示全部楼层
谢谢分享,我是小白,也要折腾不息!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-4-3 20:40 | 显示全部楼层
谢谢分享!我的极路由3不知道能不能用
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-4-3 21:32 | 显示全部楼层
我是K2P,运行了6合1脚本,路由器登陆密码就不行了,用原来的设置死活提示错误,清除了缓存也是不行,恢复原厂又运行来看一遍还是这样?请问楼主怎么解决?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-4-3 23:10 | 显示全部楼层
看完一知半解的。想问个问题,就是你的这些功能是否可以通过配置文件v2瑞的config.json的修改实现

点评

这个没有研究过哦,不太清楚哈  详情 回复 发表于 2018-5-3 17:25
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-4-4 09:17 | 显示全部楼层
K2P官改1.4,用winscp及Putty运行了(超强大的dnsmasq及hosts全自动脚本扶墙去广告详细教程)https://www.right.com.cn/forum/thread-217335-1-1.html的脚本后,在电脑或手机登陆页面192.168.2.1输入原来密码死活登陆不上,提示密码错误。在手机APP端可以登陆,也可以修改密码,但是电脑和手机端用新密码也是提醒密码错误。手机app在官改版本上很多功能不能用,还是想电脑端登陆,请大家帮忙想办法。
恢复设置肯定可以,但是就没有这帖子中去广告的效果了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-4-4 11:14 来自手机 | 显示全部楼层
厉害了,改天试试
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-4-4 11:15 来自手机 | 显示全部楼层
clion007 发表于 2018-3-28 12:17
我用的pandorabox源好像也有问题了,不能装软件就跳过吧系统自带了dnsmasq的,wget的话可以网上找到软件 ...

请问LZ,k2p博通版本的官改能用吗?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-4-4 15:42 | 显示全部楼层
全自动,太牛B.
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-4-4 15:51 | 显示全部楼层
学习一下,挺有用
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-3-28 18:39

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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