找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 14308|回复: 49

给Stone的K3 LEDE固件加上Padavan中的dnsproxy

[复制链接]
发表于 2017-6-3 20:13 | 显示全部楼层 |阅读模式
本帖最后由 zhengxinhn 于 2017-6-3 21:16 编辑

不保证各种兼容问题,我自己编译的,自己也在用,暂时没发现问题。
Stone的K3 LEDE固件我觉得做得还是不错的,我转帖的地址
https://www.right.com.cn/forum/thread-215884-1-1.html
原帖地址
http://koolshare.cn/thread-104733-1-1.html


下面是添加方法,首先安装我提供的ipk,opkg install不用教了吧...


然后找到/usr/lib/lua/luci/model/cbi/s-s/global.lua 文件,即KoolSS的设置页面第一页。
查找跳转到类似的
  1. if is_installed("china-dns")then
  2. e:value("china-dns","china-dns")
  3. end
复制代码

下一行添加
  1. if is_installed("dnsproxy")then
  2. e:value("dnsproxy","dnsproxy")
  3. end
复制代码
这样就就添加了dnsproxy的选项。

然后找到etc/init.d/s-s 文件
查找
  1.    echo "$(date): 运行DNS转发方案:china-dns" >> $LOG_FILE
  2.                 ;;
复制代码

下一行添加
  1.   dnsproxy)
  2.                         /usr/bin/dnsproxy \
  3.                         -p 7913 \
  4.                         -d
  5.                         echo "$(date): 运行DNS转发方案:dnsproxy..." >> $LOG_FILE
  6.                 ;;
复制代码

保存重启,应该就可以使用了,被和谐的单词s-s猜一猜应该就知道了吧





本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
发表于 2017-6-3 20:16 | 显示全部楼层
看看是什么好东西
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-3 20:21 | 显示全部楼层
话说这个有什么用?

点评

dns解析用的。  详情 回复 发表于 2017-6-3 20:40
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2017-6-3 20:40 | 显示全部楼层
kersay 发表于 2017-6-3 20:21
话说这个有什么用?

dns解析用的。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-3 21:13 | 显示全部楼层
收藏了,感谢!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-3 21:22 | 显示全部楼层
这个不错,用时间试下一。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-3 21:23 | 显示全部楼层
呵呵,太感谢了,真的很不错~~
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-3 22:05 | 显示全部楼层
看下 谢谢~~~~~~~
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-3 22:24 | 显示全部楼层
厉害了大神
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-3 22:27 | 显示全部楼层
k3固件太少了,来看看这个好用不好用
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-3 22:33 | 显示全部楼层
谢谢分享,楼主威武
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-3 23:05 | 显示全部楼层
火钳刘明   
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-4 08:58 | 显示全部楼层
原来1.2的就正常,不知道这一版为什么要取消??谢谢楼主分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-4 09:23 | 显示全部楼层
话说这个有什么用?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-6-4 09:42 | 显示全部楼层
stone的版本相对于小山好像是一个软件集合版,信号怎么样?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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