[isf-wifidog] Simple "Howto" for wifi dog

Prof Abimbola Olowofoyeku (The African Chief) chief at greatchief.plus.com
Mer 23 Juin 10:14:18 EDT 2010


Hi

Thanks. The system is a linux-based ADSL router. The iptables command is
available, and runs without complaint if I run the failed commands
manually. I have since ascertained that the error messages are a
red-herring. The commands are being executed successfully. However,
nothing is happening with the wireless PCs - they can just connect to
anywhere on the internet without being redirected by wifidog. 

It is obvious that I am not doing something right. All I want is for
those connecting to be redirected to a simple web page that shows them a
message. I have tried using any old web page as the auth server, but
with no success. Nothing in the docs or the FAQ has helped so far.

That is why I am looking for a simple "howto", with examples. 

Thanks

thechief

On Wed, 2010-06-23 at 09:38 -0400, Genevieve Bastien wrote:
> Hi,
> 
> You may have a few missing packages for iptables.  i don't know what
> system you're using, but verify if iptables are installed.
> 
> For more info, you could run the failed commands directly from command
> line: for example "iptables -t mangle -D PREROUTING 1" and you'll have a
> more explicit error message that you can google to find out more.
> 
> And also you'll need to have your own auth-server because
> auth.ilesansfil.org is the auth server for the île sans fil network in
> Montreal.
> 
> Geneviève
>
> Prof Abimbola Olowofoyeku (The African Chief) wrote:
> > Hi
> >
> > I am trying to test wifidog on my router. I have read the FAQ and other
> > documents, but I still can't get my head round it. Is there any simple
> > "howto". My understanding is that what is required is:
> > 1. compile wifidog for your platform
> > 2. configure the conf file
> > 3. run wifidog
> >
> > I have done all these (the auth server is auth.ilesansfil.org), but when
> > I run wifidog, I get these errors:
> >
> > [3][Wed Jun 23 12:32:53 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t mangle -D PREROUTING 1
> > [3][Wed Jun 23 12:32:54 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t mangle -D PREROUTING 1
> > [3][Wed Jun 23 12:32:54 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t mangle -D POSTROUTING 1
> > [3][Wed Jun 23 12:32:54 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t mangle -F WiFiDog_wlan0_Trusted
> > [3][Wed Jun 23 12:32:54 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t mangle -F WiFiDog_wlan0_Outgoing
> > [3][Wed Jun 23 12:32:54 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t mangle -F WiFiDog_wlan0_Incoming
> > [3][Wed Jun 23 12:32:54 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t mangle -X WiFiDog_wlan0_Trusted
> > [3][Wed Jun 23 12:32:54 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t mangle -X WiFiDog_wlan0_Outgoing
> > [3][Wed Jun 23 12:32:54 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t mangle -X WiFiDog_wlan0_Incoming
> > [3][Wed Jun 23 12:32:54 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -D PREROUTING 1
> > [3][Wed Jun 23 12:32:54 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -F WiFiDog_wlan0_AuthServers
> > [3][Wed Jun 23 12:32:54 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -F WiFiDog_wlan0_Outgoing
> > [3][Wed Jun 23 12:32:54 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -F WiFiDog_wlan0_WIFI2Router
> > [3][Wed Jun 23 12:32:55 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -F WiFiDog_wlan0_WIFI2Internet
> > [3][Wed Jun 23 12:32:55 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -F WiFiDog_wlan0_Global
> > [3][Wed Jun 23 12:32:55 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -F WiFiDog_wlan0_Unknown
> > [3][Wed Jun 23 12:32:55 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -X WiFiDog_wlan0_AuthServers
> > [3][Wed Jun 23 12:32:55 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -X WiFiDog_wlan0_Outgoing
> > [3][Wed Jun 23 12:32:55 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -X WiFiDog_wlan0_WIFI2Router
> > [3][Wed Jun 23 12:32:55 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -X WiFiDog_wlan0_WIFI2Internet
> > [3][Wed Jun 23 12:32:55 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -X WiFiDog_wlan0_Global
> > [3][Wed Jun 23 12:32:55 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -X WiFiDog_wlan0_Unknown
> > [3][Wed Jun 23 12:32:55 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -D FORWARD 1
> > [3][Wed Jun 23 12:32:55 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -F WiFiDog_wlan0_WIFI2Internet
> > [3][Wed Jun 23 12:32:55 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -F WiFiDog_wlan0_AuthServers
> > [3][Wed Jun 23 12:32:55 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -F WiFiDog_wlan0_Locked
> > [3][Wed Jun 23 12:32:55 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -F WiFiDog_wlan0_Global
> > [3][Wed Jun 23 12:32:55 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -F WiFiDog_wlan0_Validate
> > [3][Wed Jun 23 12:32:56 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -F WiFiDog_wlan0_Known
> > [3][Wed Jun 23 12:32:56 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -F WiFiDog_wlan0_Unknown
> > [3][Wed Jun 23 12:32:56 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -X WiFiDog_wlan0_WIFI2Internet
> > [3][Wed Jun 23 12:32:56 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -X WiFiDog_wlan0_AuthServers
> > [3][Wed Jun 23 12:32:56 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -X WiFiDog_wlan0_Locked
> > [3][Wed Jun 23 12:32:56 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -X WiFiDog_wlan0_Global
> > [3][Wed Jun 23 12:32:56 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -X WiFiDog_wlan0_Validate
> > [3][Wed Jun 23 12:32:56 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -X WiFiDog_wlan0_Known
> > [3][Wed Jun 23 12:32:56 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -X WiFiDog_wlan0_Unknown
> > [3][Wed Jun 23 12:32:56 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t mangle -N WiFiDog_wlan0_Trusted
> > [3][Wed Jun 23 12:32:56 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t mangle -N WiFiDog_wlan0_Outgoing
> > [3][Wed Jun 23 12:32:56 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t mangle -N WiFiDog_wlan0_Incoming
> > [3][Wed Jun 23 12:32:56 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t mangle -I PREROUTING 1 -i wlan0 -j
> > WiFiDog_wlan0_Outgoing
> > [3][Wed Jun 23 12:32:56 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t mangle -I PREROUTING 1 -i wlan0 -j
> > WiFiDog_wlan0_Trusted
> > [3][Wed Jun 23 12:32:56 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t mangle -I POSTROUTING 1 -o wlan0 -j
> > WiFiDog_wlan0_Incoming
> > [3][Wed Jun 23 12:32:56 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -N WiFiDog_wlan0_Outgoing
> > [3][Wed Jun 23 12:32:56 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -N WiFiDog_wlan0_WIFI2Router
> > [3][Wed Jun 23 12:32:57 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -N WiFiDog_wlan0_WIFI2Internet
> > [3][Wed Jun 23 12:32:57 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -N WiFiDog_wlan0_Global
> > [3][Wed Jun 23 12:32:57 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -N WiFiDog_wlan0_Unknown
> > [3][Wed Jun 23 12:32:57 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -N WiFiDog_wlan0_AuthServers
> > [3][Wed Jun 23 12:32:57 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -A PREROUTING -i wlan0 -j
> > WiFiDog_wlan0_Outgoing
> > [3][Wed Jun 23 12:32:57 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -A WiFiDog_wlan0_Outgoing -d 192.168.1.0 -j
> > WiFiDog_wlan0_WIr
> > [3][Wed Jun 23 12:32:57 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -A WiFiDog_wlan0_WIFI2Router -j ACCEPT
> > [3][Wed Jun 23 12:32:57 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -A WiFiDog_wlan0_Outgoing -j
> > WiFiDog_wlan0_WIFI2Internet
> > [3][Wed Jun 23 12:32:57 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -A WiFiDog_wlan0_WIFI2Internet -j
> > WiFiDog_wlan0_Unknown
> > [3][Wed Jun 23 12:32:57 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -A WiFiDog_wlan0_Unknown -j
> > WiFiDog_wlan0_AuthServers
> > [3][Wed Jun 23 12:32:57 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -A WiFiDog_wlan0_Unknown -j
> > WiFiDog_wlan0_Global
> > [3][Wed Jun 23 12:32:57 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t nat -A WiFiDog_wlan0_Unknown -p tcp --dport 80 -j
> > REDIRECT --to-0
> > [3][Wed Jun 23 12:32:57 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -N WiFiDog_wlan0_WIFI2Internet
> > [3][Wed Jun 23 12:32:57 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -N WiFiDog_wlan0_AuthServers
> > [3][Wed Jun 23 12:32:57 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -N WiFiDog_wlan0_Locked
> > [3][Wed Jun 23 12:32:58 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -N WiFiDog_wlan0_Global
> > [3][Wed Jun 23 12:32:58 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -N WiFiDog_wlan0_Validate
> > [3][Wed Jun 23 12:32:58 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -N WiFiDog_wlan0_Known
> > [3][Wed Jun 23 12:32:58 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -N WiFiDog_wlan0_Unknown
> > [3][Wed Jun 23 12:32:58 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -I FORWARD -i wlan0 -j
> > WiFiDog_wlan0_WIFI2Internet
> > [3][Wed Jun 23 12:32:58 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -A WiFiDog_wlan0_WIFI2Internet -m state
> > --state INVALID -P
> > [3][Wed Jun 23 12:32:58 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -A WiFiDog_wlan0_WIFI2Internet -o ppp0 -p
> > tcp --tcp-flagsu
> > [3][Wed Jun 23 12:32:58 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -A WiFiDog_wlan0_WIFI2Internet -j
> > WiFiDog_wlan0_AuthServes
> > [3][Wed Jun 23 12:32:58 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -A WiFiDog_wlan0_Locked -d 192.168.1.0/16
> > -j REJECT
> > [3][Wed Jun 23 12:32:58 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -A WiFiDog_wlan0_WIFI2Internet -j
> > WiFiDog_wlan0_Global
> > [3][Wed Jun 23 12:32:58 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -A WiFiDog_wlan0_Global -d 192.168.1.0/16
> > -j REJECT
> > [3][Wed Jun 23 12:32:58 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -A WiFiDog_wlan0_Global -d 172.16.0.0/12
> > -j REJECT
> > [3][Wed Jun 23 12:32:58 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -A WiFiDog_wlan0_Global -d 10.0.0.0/8 -j
> > REJECT
> > [3][Wed Jun 23 12:32:59 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -A WiFiDog_wlan0_Validate -d
> > 192.168.1.0/16 -j ACCEPT
> > [3][Wed Jun 23 12:32:59 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -A WiFiDog_wlan0_Known -d 192.168.1.0/16
> > -j ACCEPT
> > [3][Wed Jun 23 12:32:59 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -A WiFiDog_wlan0_WIFI2Internet -j
> > WiFiDog_wlan0_Unknown
> > [3][Wed Jun 23 12:32:59 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -A WiFiDog_wlan0_Unknown -d 0.0.0.0/0 -p
> > udp --dport 53 -T
> > [3][Wed Jun 23 12:32:59 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -A WiFiDog_wlan0_Unknown -d 0.0.0.0/0 -p
> > tcp --dport 53 -T
> > [3][Wed Jun 23 12:32:59 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -A WiFiDog_wlan0_Unknown -d 0.0.0.0/0 -p
> > udp --dport 67 -T
> > [3][Wed Jun 23 12:32:59 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -A WiFiDog_wlan0_Unknown -d 0.0.0.0/0 -p
> > tcp --dport 67 -T
> > [3][Wed Jun 23 12:32:59 2010][2704](fw_iptables.c:116) iptables command
> > failed(1): iptables -t filter -A WiFiDog_wlan0_Unknown -j REJECT
> > --reject-with icmp-pore
> >
> >  Thanks.
> >
> >
> > _______________________________________________
> > WiFiDog mailing list
> > WiFiDog at listes.ilesansfil.org
> > http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
> >   



More information about the WiFiDog mailing list