[isf-wifidog] My continuing problem with Motorola WRT860G #3

Gabe Sawhney gabe at pwd.ca
Lun 3 Sep 16:04:44 EDT 2007


Hi Don --
Your problem isn't related to wifidog, so this isn't really the right place
to ask.

I've never tried a setup where the auth server is on the local LAN.  I don't
know if this would cause problems, but I just always assumed that the auth
server would be installed elsewhere on the Internet.

It sounds like this might be a very simple problem to solve -- like it's a
DNS problem or a simple routing problem or something like that.  Perhaps
start from scratch (with no wifidog!) and re-read the docs on openwrt.org?

Good luck!

Gabe


On 9/3/07, Don Druce <dondruce at sympatico.ca> wrote:
>
>  Hi - this thread  is becoming a story book :-))
>
> Thanks for the link to your information.  I already had it in my
> bookmarks.  I also applied your suggestions in the document.
>
> If you are desperate for something to do someday, and you have access to a
> Motorola router, would you mind sending me the contents of the NVRAM.  I
> could compare it to mine, and maybe, just maybe get another clue.
>
> More info - in case you feel like reading
> ----------------------------------------
>
> I have been pretty much trying to do what you recommended - get the router
> working without wifidog first.  From my computer, I can get through the
> Motorola Router to the auth-server with a ping.
>
> Ping 192.168.2.200 and I get a good reliable reply all the time. [2ms and
> a TTL=63] [ First response longer 44ms]
>
> So, then I try to ping my Sympatico box.
> Ping 192.168.2.1 and I again get a good reply all the time [3ms and a
> TTL=63]
>
> But when I then try to ping Google.
> Ping 64.233.167.147, I get a strange reply.  The reply comes from
> 192.168.10.1 with a Destination host unreachable.
>
> Perhaps you can answer this.  When you go through Wifidog, the flashed
> router provides your computer with an IP address from its DHCP server.  Now,
> you talk to the router, and it redirects you to the auth-server where you
> log in.  Once that is done, what IP address does your computer go to.  Does
> it keep the IP address that it got from the flashed router, or does it then
> pick up and address from the next router in the chain ?  I guess what I am
> asking is how does each gateway get determined.
>
> I can figure out the first router, it sees 64.233.167.147 as an address,
> does not know what to do with it, so it passes it on to its gateway
> 192.168.10.1  - its WAN port has picked up its address via DHCP from the
> Sympatico router at 192.168.2.1.  So does that router treat 64.233.167.147the same way, passing it on because it does not know what to do with it - so
> it goes out its WAN port off to Sympatico.
>
> Replies coming back are handles first by the NAT table in the Sympatico
> router, and then by the NAT table in the Motorola flashed router.
>
> Is there a flaw in my thinking somewhere ?
>
> That is the part that bugs me the most, since I can talk to my auth-server
> at 192.168.2.200 then why in heck can't I go to the Sympatico box and on
> to the Internet.  I can ping the gateway address in the Sympatico box, so my
> computer sees it somehow.
> ----------------------------------------
>
> Gabe Sawhney wrote:
>
> Alexis: I did -- it works fine.
>
> Don: all I know is that it worked for me.  I documented everything that I
> know here:
>
> http://wiki.wirelesstoronto.ca/router_setup_instructions#notes_on_using_the_motorola_wr850
>
> It's not clear if the problem you're having is with wifidog or OpenWRT.
> If you can't get online when wifidog is off, work on that problem first!
>
> Gabe
>
> -------------------------------------------
> I probably made it worse, because when I could not get DHCP to work once I
> flashed with OpenWRT  ( I could manually assign IP addresses and they would
> work ) I decided to add X-WRT in case it could help.  Well it helped solve
> the DHCP problem as that now works, but I cannot reach the Internet.
> -------------------------------------------
>
>
> On 9/3/07, Alexis Cornellier <alexis.cornellier at gmail.com> wrote:
> >
> > from what i understand, we never did any test nor install wifidog for
> > ile sans fil on the motorolla... that may be why no one is answering your
> > question.
> >  Alexis
> >
> >
> > On 9/2/07, Don Druce <dondruce at sympatico.ca > wrote:
> > >
> > > My original message on 12/08/07
> > >
> > > Have some clues, I think, but can not figure this one out.
> > >
> > > Router Motorola WR850G
> > >
> > > Flashed Router OK, no problems.
> > >
> > > Worked - allowed me to connect to the Internet (WiFidog), but DHCP
> > > would
> > > not work, so I had to assign IPs manually.
> > >
> > > Recently added X-WRT  extension - Hey, why not, supposed to be some
> > > diagnostics in there.
> > >
> > > Now, DHCP works on LAN and on WiFi, but I now cannot connect to the
> > > Internet.
> > >
> > > No clues, just server not available message. (I suspect that the
> > > redirect is not working - but why?)
> > >
> > > Went to my Macintosh - used Wireless
> > >
> > > No connection to Internet.  Cannot connect error message)
> > >
> > > Then I directed my browser to 192.168.10.1 (Router's address) and the
> > > address bar immediately changed to 192.168.10.1.2060 and I saw the
> > > Green
> > > WiFidog Redirect Screen.  I of course expected to see the X-WRT page.
> > >
> > > Using this screen I can connect to the auth.server and thus the
> > > Internet.
> > >
> > > Tried the same trick on my portable PC, but no luck - dang those
> > > Macintoshes, said it before, say it again..... they just work.  On the
> > >
> > > notebook PC, as on my desktop, when I go to 192.168.10.1  I end up
> > > with
> > > the X-WRT screen - obviously - but how come it is different on the
> > > Macintosh.
> > >
> > > Anyone familiar enough with X-WRT or the whole darn system to give me
> > > some clues as how best to troubleshoot this problem.  I really would
> > > like to get the Motorola Router to work.
> > >
> > > I have a working Linksys Router, but the Motorola is supposed to work,
> > > so I want it to.
> > >
> > > This  is a goodie for sure.  Person with solution, I buy a beer when
> > > we
> > > meet..
> > >
> > > _____________________________________________
> > >
> > > Sept 2, 07
> > >
> > > What I tried today
> > >
> > > login as: root
> > > root at 192.168.10.1's password:
> > >
> > >
> > > BusyBox v1.00 (2006.03.27-00:00+0000) Built-in shell (ash)
> > > Enter 'help' for a list of built-in commands.
> > >
> > >   _______                     ________        __
> > > |       |.-----.-----.-----.|  |  |  |.----.|  |_
> > > |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
> > > |_______||   __|_____|__|__||________||__|  |____|
> > >           |__| W I R E L E S S   F R E E D O M
> > > WHITE RUSSIAN (RC5) ------------------------------ -
> > >   * 2 oz Vodka   Mix the Vodka and Kahlua together
> > >   * 1 oz Kahlua  over ice, then float the cream or
> > >   * 1/2oz cream  milk on the top.
> > > ---------------------------------------------------
> > > root at Motorola:~# wifidog -f -d 7
> > >
> > > I removed most of the data, but at the end of all of its work, I see
> > > the
> > > following
> > >
> > > [7][Sun Jan  2 14:50:17 2000][4900](ping_thread.c:160) Reading
> > > response
> > > [7][Sun Jan  2 14:50:17 2000][4900](ping_thread.c:188) Read 220 bytes,
> > >
> > > total now 220
> > > [7][Sun Jan  2 14:50:17 2000][4900](ping_thread.c:206) Done reading
> > > reply, total 220 bytes
> > > [7][Sun Jan  2 14:50:17 2000][4900](ping_thread.c:210) HTTP Response
> > > from Server: [HTTP/1.1 200 OK
> > > Date: Mon, 03 Sep 2007 02:09:26 GMT
> > > Server: Apache/2.2.3 (Debian) PHP/5.2.0-8+etch7
> > > X-Powered-By: PHP/5.2.0-8+etch7
> > > Content-Length: 4
> > > Connection: close
> > > Content-Type: text/html; charset=UTF-8
> > >
> > > Pong]
> > > [7][Sun Jan  2 14:50:17 2000][4900](ping_thread.c:217) Auth Server
> > > Says:
> > > Pong
> > >
> > >
> > > If I leave it sit there, some more data will run by, and I will end up
> > > with another Pong as above with a flashing cursor at the end.
> > >
> > > Not sure what I am supposed to do at this point.  Should my cursor
> > > root at Motorola:~#  come back at this point? or do I just quit PuTTY.
> > >
> > > When I obtain the Pong, I assume that this means that my Router it
> > > talking to the auth-server properly - but I cannot follow this up with
> > > a
> > > wifidog-init status.
> > >
> > > ----------------------------------------------------------------
> > >
> > > root at Motorola:~# wifidog-init status
> > > wdctl: wifidog probably not started (Error: Connection refused)
> > > root at Motorola:~#
> > > ---------------------------------------------------------------------
> > >
> > > login as: root
> > > root at 192.168.10.1's password:
> > >
> > >
> > > BusyBox v1.00 (2006.03.27-00 :00+0000) Built-in shell (ash)
> > > Enter 'help' for a list of built-in commands.
> > >
> > >   _______                     ________        __
> > > |       |.-----.-----.-----.|  |  |  |.----.|  |_
> > > |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
> > > |_______||   __|_____|__|__||________||__|  |____|
> > >           |__| W I R E L E S S   F R E E D O M
> > > WHITE RUSSIAN (RC5) -------------------------------
> > >   * 2 oz Vodka   Mix the Vodka and Kahlua together
> > >   * 1 oz Kahlua  over ice, then float the cream or
> > >   * 1/2oz cream  milk on the top.
> > > ---------------------------------------------------
> > > root at Motorola:~# ifconfig
> > > br0       Link encap:Ethernet  HWaddr 00:0C:E5:4B:91:A7
> > >           inet addr: 192.168.10.1  Bcast:192.168.10.255  Mask:255.255.255.0
> > >           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> > >           RX packets:2716 errors:0 dropped:0 overruns:0 frame:0
> > >           TX packets:3630 errors:0 dropped:0 overruns:0 carrier:0
> > >           collisions:0 txqueuelen:0
> > >           RX bytes:259239 (253.1 KiB)  TX bytes:1078143 (1.0 MiB)
> > >
> > > eth0      Link encap:Ethernet  HWaddr 00:0C:E5:4B:91:A8
> > >           UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
> > >           RX packets:6205 errors:0 dropped:0 overruns:0 frame:0
> > >           TX packets:76107 errors:0 dropped:0 overruns:0 carrier:0
> > >           collisions:0 txqueuelen:1000
> > >           RX bytes:1136924 (1.0 MiB)  TX bytes:6273657 (5.9 MiB)
> > >           Interrupt:5
> > >
> > > eth1      Link encap:Ethernet  HWaddr 00:0C:E5:4B:91:A7
> > >           UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
> > >           RX packets:0 errors:0 dropped:0 overruns:0 frame:108206
> > >           TX packets:71678 errors:100 dropped:0 overruns:0 carrier:0
> > >           collisions:0 txqueuelen:1000
> > >           RX bytes:0 (0.0 B)  TX bytes:4329503 ( 4.1 MiB)
> > >           Interrupt:4 Base address:0x1000
> > >
> > > lo        Link encap:Local Loopback
> > >           inet addr:127.0.0.1   Mask:255.0.0.0
> > >           UP LOOPBACK RUNNING  MTU:16436  Metric:1
> > >           RX packets:111 errors:0 dropped:0 overruns:0 frame:0
> > >           TX packets:111 errors:0 dropped:0 overruns:0 carrier:0
> > >           collisions:0 txqueuelen:0
> > >           RX bytes:13052 (12.7 KiB)  TX bytes:13052 ( 12.7 KiB)
> > >
> > > vlan0     Link encap:Ethernet  HWaddr 00:0C:E5:4B:91:A8
> > >           UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
> > >           RX packets:3207 errors:0 dropped:0 overruns:0 frame:0
> > >           TX packets:74837 errors:0 dropped:0 overruns:0 carrier:0
> > >           collisions:0 txqueuelen:0
> > >           RX bytes:320729 (313.2 KiB)  TX bytes:5812320 (5.5 MiB)
> > >
> > > vlan1     Link encap:Ethernet  HWaddr 00:0C:E5:4B:91:A9
> > >           inet addr: 192.168.2.66  Bcast:192.168.2.255  Mask:255.255.255.0
> > >           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> > >           RX packets:2994 errors:0 dropped:0 overruns:0 frame:0
> > >           TX packets:1274 errors:0 dropped:0 overruns:0 carrier:0
> > >           collisions:0 txqueuelen:0
> > >           RX bytes:703353 (686.8 KiB)  TX bytes:141884 (138.5 KiB)
> > >
> > > root at Motorola:~#
> > > ------------------------------
> > > -------------------------------------------
> > > Is this of more help than my first message ?
> > >
> > >
> > > _______________________________________________
> > > WiFiDog mailing list
> > > WiFiDog at listes.ilesansfil.org
> > > http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
> > >
> >
> >
> >
> >  --
> > Alexis Cornellier
> > 327 53eme Avenue
> > Pointe-Calumet, Québec
> > J0N 1G4
> > (450) 623-8454
> >
> > _______________________________________________
> > WiFiDog mailing list
> > WiFiDog at listes.ilesansfil.org
> > http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
> >
>
> ------------------------------
>
> _______________________________________________
> 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 Free Edition.
> Version: 7.5.485 / Virus Database: 269.13.3/986 - Release Date: 9/3/2007 9:31 AM
>
>
>
>
> _______________________________________________
> WiFiDog mailing list
> WiFiDog at listes.ilesansfil.org
> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listes.ilesansfil.org/pipermail/wifidog/attachments/20070903/82fb42e2/attachment-0001.htm 


Plus d'informations sur la liste de diffusion WiFiDog