Teletronics 2Mbps trouble...

Jim Carter jimc at math.ucla.edu
Thu Apr 25 13:45:19 EST 2002


On Wed, 24 Apr 2002, Joel Fressa wrote:
> >On the AP, is the default gateway set to the router's interface on the AP's
> >own net?  For example:
>
> I assume yes. The AP itself has NO IP. Weird. It has a MAC address
> though and it has firmware. We have the latest 2.14. Ok, here is
> the deal. The gateway and routing work perfectly when I connect
> using a Windows PC. But, same PC dual booting to Linux, it does
> not work. I can connect and ping anybody on my subnet.

Hmm, I was modelling the AP as a router when it's acting as a bridge.
Because everything works in Windows, I don't think the finger of blame
points at the AP or at the network card or its driver. I'm sure the problem
is routing. The packets are going out from the client and are not reaching
the gateway even though the Linux routing code thinks they will. Do
"netstat -r -n" on the client. Here's what I see on my machine:

jimc ~ 3.2> netstat -r -n
Kernel IP routing table
Destination    Gateway        Genmask         Flags MSS Win irtt Iface
192.9.200.193  0.0.0.0        255.255.255.255 UH     40 0      0 eth1
192.9.200.64   0.0.0.0        255.255.255.192 U      40 0      0 eth1
0.0.0.0        192.9.200.193  0.0.0.0         UG     40 0      0 eth1
jimc ~ 3.3> ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:02:2D:5A:50:A9
          inet addr:192.9.200.67  Bcast:192.9.200.127  Mask:255.255.255.192
          etc etc.

192.9.200.193 is my gateway. If you have only 2 interfaces on the gateway
you won't see the line flagged UH.  Hmm, how many subnets do you have?
And what netmasks are you using?  And how did the Windows instance get told
its default gateway and netmask?  (Manually and correctly?)  If the DHCP
server is lying, or if the Linux machine is configured manually and
wrongly, then the difference between Windows and Linux would be explained.

I'll bet that if you plugged the client's wired Ethernet port into the same
subnet that the AP uses, it would fail equally, exonerating the AP and
driver. I'm assuming the client is a laptop that can be moved within range.


James F. Carter          Voice 310 825 2897    FAX 310 206 6673
UCLA-Mathnet;  6115 MSA; 405 Hilgard Ave.; Los Angeles, CA, USA  90095-1555
Email: jimc at math.ucla.edu    http://www.math.ucla.edu/~jimc (q.v. for PGP key)





More information about the wireless mailing list