[isf-wifidog] whiterussian openwrt

kaouete kaouete at crazydwarves.org
Lun 25 Juil 05:53:04 EDT 2005


your problem with mac are linked to openwrt, not to the firewall
script, running wifidog before firewall will not fix your problem.

juts install whiterussian rc2 like it is said on openwrt wiki :
http://wiki.openwrt.org/OpenWrtDocs/Installing#head-76e6cbae21c39c506a74e7800f5ae7f93ed37d46

use tftp or mtd.

install iptables-extra and kmod-iptables-extra packages
install libpthread package
install wifidog (compile it with whiterussian sdk)
in wifidog dir with my ipkg/rules :
BUILDROOT=/path/to/whiterussian/sdk/ ./ipkg/rules

add "insmod ipt_REDIRECT" at the beginning of S65wifidog init.d
script, rename it to S43wifidog
add sleep 10 at the beginning of S45firewall script, reboot and it
should be ok.

you can try before doing these last change to insmod by hand
ipt_REDIRECT and run wifidog-init to see if it works.

kaouete


On Mon, Jul 25, 2005 at 12:28:26PM +0300, Dr. Marios Moutzouris wrote:
> I have done the following:
> 
> 1. Compile whiterussian and wifidog. No problem.With that script for
> ipkg/rules
> 2. On running the wifidog-init script it seg faults on mac testing place.
> 3. When wifidog runs, and tries to add the mac address...error from
> iptables.
> 
> 1. I did the following. Moved wifidog before the firewall script starts. So
> what happens now is I cant putty into the device at all. Reverting back no
> problem.
> 2. I used the rules file @sourceforge same issue.
> 
> What caused this whole halabaloo, is that we tried flashing a new linksys
> router wrt54gs 1.1 with the openwrt we have been using so far. And the
> linksys webpage firmware update, did not accept the file. So we tried the
> new openwrt install. Accepted it and worked fine. Problem is wifidog does
> NOT work. Since we cant specify which hardware devices  (i.e. we want this
> specific version of linksys) we need to get wifidog working with the new
> openwrt. 
> 
> Maybe I misread or haven?t following the instructions properly. 
> 
> Marios
> 
> -----Original Message-----
> From: wifidog-bounces at listes.ilesansfil.org
> [mailto:wifidog-bounces at listes.ilesansfil.org] On Behalf Of kaouete
> Sent: Monday, July 25, 2005 12:18 PM
> To: wifidog at listes.ilesansfil.org
> Subject: Re: [isf-wifidog] whiterussian openwrt
> 
> i want to say : what do you mean by no luck ?
> 
> what is you exact problem ?
> 
> kaouete
> 
> On Mon, Jul 25, 2005 at 11:20:06AM +0300, Dr. Marios Moutzouris wrote:
> > Okay I've tried the proposed solutions, but with no luck.
> > 
> > Any help?...
> > 
> > Marios
> > 
> > -----Original Message-----
> > From: wifidog-bounces at listes.ilesansfil.org
> > [mailto:wifidog-bounces at listes.ilesansfil.org] On Behalf Of kaouete
> > Sent: Friday, July 22, 2005 8:40 PM
> > To: wifidog at listes.ilesansfil.org
> > Subject: Re: [isf-wifidog] whiterussian openwrt
> > 
> > you misunderstood me.
> > 
> > there 3 things :
> > 1. wifidog compile here with whiterussian rc2 sdk and my ipkg/rules.
> > 2. wifidog is running without problem on experimental.
> > 3. wifidog _doesnt_ block access to internet, but only on port 80
> > which is redirected, and because of the firewall script it seems.
> > Maybe just running it AFTER wifidog will fix the problem.
> > 
> > so wifidog compiles and run on whiterussian, but doesnt work like
> > it should.
> > 
> > and i said that here it was working because i was not using the
> > openwrt firewall script.
> > 
> > kaouete
> > 
> > so it runs
> > On Fri, Jul 22, 2005 at 09:45:43AM -0700, Joe Bowser wrote:
> > > On Fri, 2005-07-22 at 10:57 +0200, kaouete wrote:
> > > > I did it yesterday, it worked without problem, i used a ipk/rules
> > > > made for experimental.
> > > > 
> > > > I know someone is working on a openwrt compliant package of
> > > > wifidog, but i dont know where he is on it :]
> > > > 
> > > > you can find mine here :
> > > > http://ro.crazydwarves.org/rules-wifidog-exp
> > > > 
> > > > Be aware of this too :
> > > >
> >
> http://sourceforge.net/tracker/index.php?func=detail&aid=1210428&group_id=10
> > 2646&atid=632424
> > > > 
> > > > is someone working on this bug ?
> > > > 
> > > > here i dont use the firewall in openwrt, so it works (in fact i
> > > > didnt tried with whiterussian but with 20050525 release of
> > > > experimental :)
> > > > 
> > > > kaouete
> > > 
> > > Yeah, WhiteRussian is basically the CVS build minus a whole lot of
> > > packages.  I currently managed to get wifidog to compile into the
> > > buildroot of the latest CVS build.  Haven't tested the resulting
> > > firmware, nor have I tried compiling the ipkg with the SDK yet, but it
> > > all seems very straight forward now.
> > > 
> > > Basically, all I did was follow the instructions in the buildroot
> > > documentation.
> > > 
> > > If it works in Experimental, it should work in WhiteRussian.  The person
> > > who submitted the bug seemed to refer to the default iptables script in
> > > WhiteRussian/Experiemntal.  However, I don't see anything that would
> > > break WiFiDog AFAIK.
> > > 
> > > Therefore, since you weren't able to reproduce the bug in 20050525, I
> > > think it's safe to say that we need more info to track this one down. :)
> > > 
> > > I'll send the files that need to be changed in a day or two.
> > > 
> > > -- 
> > > Joe Bowser <bowserj at resist.ca>
> > > 
> > 
> > > _______________________________________________
> > > WiFiDog mailing list
> > > WiFiDog at listes.ilesansfil.org
> > > http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
> > 
> > -- 
> > No virus found in this incoming message.
> > Checked by AVG Anti-Virus.
> > Version: 7.0.338 / Virus Database: 267.9.4/57 - Release Date: 22/7/2005
> >  
> >     
> > 
> > -- 
> > No virus found in this outgoing message.
> > Checked by AVG Anti-Virus.
> > Version: 7.0.338 / Virus Database: 267.9.4/57 - Release Date: 22/7/2005
> >  
> > 
> 
> > _______________________________________________
> > WiFiDog mailing list
> > WiFiDog at listes.ilesansfil.org
> > http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.338 / Virus Database: 267.9.4/57 - Release Date: 22/7/2005
>  
>     
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.338 / Virus Database: 267.9.4/57 - Release Date: 22/7/2005
>  
> 

> _______________________________________________
> WiFiDog mailing list
> WiFiDog at listes.ilesansfil.org
> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
-------------- section suivante --------------
Une pièce jointe non texte a été nettoyée...
Nom: non disponible
Type: application/pgp-signature
Taille: 189 octets
Desc: Digital signature
Url: http://listes.ilesansfil.org/pipermail/wifidog/attachments/20050725/771f24d8/attachment.pgp


More information about the WiFiDog mailing list