nodog安装配置

安装
opkg update
opkg install nodogsplash
配置

1.打开/etc/config/wireless文件,加入

config wifi-iface
    option device radio0 #如果是USB外置网卡改为radio1
    option network lan1
    option ifname ath1
    option mode ap
    option ssid nodogsplash

2.打开/etc/config/network文件,加入

config 'interface' 'lan1'
    option 'ifname' 'ath1'
    option 'proto' 'static'
    option 'macaddr' '01:1B:24:D3:1F:37'
    option 'ipaddr' '192.168.9.1'
    option 'netmask' '255.255.255.0'

3.打开/etc/config/dhcp,加入

config dhcp lan1
    option interface lan1
    option start 100
    option limit 150
    option leasetime 12h

4.打开/etc/nodogsplash/nodogsplash.conf,修改

GatewayInterface ath1 #在第九行。

ClientForceTimeout 360 #验证过期时间,单位分钟。

RedirectURL #登录后强制跳转地址。

5.自定义WEB页面在/etc/nodogsplash/htdocs

6.启动项加入/etc/init.d/nodogsplash start 重启连上ssid打开任意网页看效果。

参考

http://www.right.com.cn/forum/thread-132712-1-1.html

http://wiki.openwrt.org/doc/howto/wireless.hotspot.nodogsplash

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值