User Tools

Site Tools


doc:howto:wireless.hotspot.wifidog
>>>>> Wiki-merge in process >>>>> wiki.openwrt.org + openwrt.org are going to be merged soon, this wiki therefore being read only. Once pages are transfered to openwrt.org, you can edit them again.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Previous revision
doc:howto:wireless.hotspot.wifidog [2012/10/08 20:19]
doc:howto:wireless.hotspot.wifidog [2015/05/31 14:08] (current)
jow old revision restored (2015/05/30 20:55)
Line 1: Line 1:
 +====== WiFiDog ======
 +Please read [[wp>​WiFiDog Captive Portal]] for a definition of WiFiDog. It is FOSS software used to create wireless hot-spots. It is a next-generation alternative to [[http://​nocat.net/​|NoCat]]. For more information look at the [[http://​dev.wifidog.org/​wiki/​FAQ | wifidog FAQ]]. [[wp>​Captive portal]].
 +
 +  * [[http://​dev.wifidog.org/​]]
 +  * [[http://​www.authpuppy.org/​]]
 +
 +===== Preparation =====
 +==== Prerequisites ====
 +==== Required Packages ====
 +  * iptables-mod-extra ​
 +  * iptables-mod-ipopt
 +  * kmod-ipt-nat
 +  * iptables-mod-nat-extra
 +  * libpthread
 +
 +===== Installation =====
 +[[doc:​techref:​opkg]]
 +<code bash>
 +opkg update
 +opkg install wifidog
 +vi /​etc/​wifidog.conf
 +/​etc/​init.d/​wifidog enable
 +/​etc/​init.d/​wifidog start
 +netstat -a
 +</​code>​
 +
 +You can also run wifidog in foreground/​debug mode:
 +
 +<code bash>
 +wifidog -f -d 7
 +  -f means to run in foreground (do not become a background daemon)
 +  -d 7 increases debug output level to the maximum
 +</​code>​
 +
 +===== Configuration =====
 +
 +===== Start on boot =====
 +To enable/​disable start on boot:\\
 +''/​etc/​init.d/​wifidog enable'' ​ this simply creates a symlink: ''/​etc/​rc.d/​S?​0???​ -> /​etc/​init.d/???''​\\
 +''/​etc/​init.d/​wifidog disable''​ this removes the symlink again\\
 +
 +===== Administration =====
 +Follow instructions on [[http://​dev.wifidog.org/​wiki/​doc/​install/​auth-server]]
 +
 +===== Troubleshooting =====
 +
 +
 +===== Notes =====
 +  * The Project Homepage: [[http://​dev.wifidog.org/​]]
 +  * [[https://​forum.openwrt.org/​viewtopic.php?​id=24926|How to offer 2 hotspots with WiFiDog with Kernel 2.4]]