openwrt利用nodogsplash实现简单的广告路由

2015-04-25  本文已影响958人  3c937c88e6c0

实现功能: 设备连上路由后,当打开浏览器上网时,浏览器上会显示欢迎画面,当用户点击继续上网后,会正常连接网络,访问之前请求网页。

需要做的工作:

将 nodogsplash 编译进openwrt 镜像,

首先在源码目录中运行

make menuconfig

在 network/capitive portals 下 将 nodogsplash选上。如果没有nodogsplash选项的话,需要更新openwrt packet ,具体方法如下:

openwrt 源码目录下执行

./scripts/feeds  update routing

./scripts/feeds install -a

之后应该就可以在menuconfig 界面看到 nodogsplash 选项了。

......本站只呈现部分内容,查看完整文章请到WiFiDog官网社区 http://www.wifidog.pro/2015/04/25/nodogsplash-openwrt.html,转载请注明出处

上一篇 下一篇

猜你喜欢

热点阅读