nodogsplash在指定网络下工作

nodogsplash是附加于openwrt的WIFI热点认证程序,工作在路由器下的局域网内,接管路由器上多个热点的认证服务。

nodogsplash是修改的wifidog,不需要服务器,配置简单,轻巧方便。
openwrt的路由器只有一个,测试中打开nodogsplash会耽误其他人上网。
所以单独开启一个热点来使用nodogsplash。

vim /etc/config/wireless


#加入热点
config wifi-iface
    option device    radio1
    option network    lan1
    option ifname    ath1
    option mode    ap
    option ssid    NoDog



vim /etc/config/network

#修改network的配置
config 'interface' 'lan1'
option 'ifname' 'ath1'
option 'proto' 'static'
option 'macaddr' '12:34:56:78:90:ab'
option 'ipaddr' '192.168.9.1'
option 'netmask' '255.255.255.0'


vim /etc/config/dhcp

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




vim /etc/nodogsplash/nodogsplash.conf
#修改Gateway
GatewayInterface ath1




/etc/init.d/nodogsplash restart

本文章由 http://www.wifidog.pro/2015/05/22/nodogsplash%E8%AE%A4%E8%AF%81.html 整理编辑,转载请注明出处

标签: nodogsplash认证, nodogsplash openwrt, nodogsplash