Before starting apfree-wifidog, we must know how to configure it. Apfree-wifidog use OpenWrt standard uci config system, all your apfree-wifidog configure information stored in /etc/confg/wifidogx, which will be parsed by /etc/init.d/wifidogx to /tmp/wifidog.conf, apfree-wifidog's real configure file is /tmp/wifidog.conf. Line 1 # $Id: ChangeLog 1429 2009-11-04 14:21:07Z gbastien $ 2: 2009-11-03: 3. Fix #625, does not display failure notice when quiet is set to true.
I have flashed a ASUS AC-RT56U router with DD-WRT version V24-preSP 2201412-22-2014-r25697.Now I want to make it into a hotspot with wifidog TO PLACE IN A SMALL BUSINESS (FITNESS CENTRE)
I have created my own authentication server, to troubleshoot where it goes wrong. When I connect a new wireless device, it doesn't have access to internet, only to the DD-WRT router and the authentication server. When I type an url (like: www.google.com) I don't get redirected to the login page. In my access.log file on the server I only see the DD-wrt router sending ping requests to the server. I have it so my custom authentication server always replies 'Pong'.
I saw there is an bug about this http://svn.dd-wrt.com/ticket/3344. But it hasn't got any response. This is precisely what happens on my device. When I access http: //routerip:2060 I do get the portal page of my authentication server.
Now I want to know if it is possible to create a iptables rule so all traffic that's not authenticated is redirected to the http: //routerip:2060 page? I guess the rest of the process will work when that redirect works.
This is the diagram how the authentication process of wifidog works. The first redirect is the one that doesn't work.http://dev.wifidog.org/wiki/doc/developer/FlowDiagram
I don't have any experience modifing iptables rules.
iptables -L
blablablablablabla
1 Answer
This is a bug in DD-WRT, which is basically unmaintained and unsupported, and has been for years.
Your options are to use something different that doesn't have this bug (ideally something that's actively developed and maintained), or put up with this bug.
![Wifidog dd-wrt setup Wifidog dd-wrt setup](/uploads/1/2/5/5/125562321/120124099.jpg)
Community♦
HopelessN00b![Dd-wrt Dd-wrt](/uploads/1/2/5/5/125562321/221183398.jpg)
1,83933 gold badges1818 silver badges2929 bronze badges