can associate with master, but cannot ping or anything else

Frederik Dannemare admin
Sat Jan 17 13:49:29 PST 2004

Gunter Burchardt wrote:
> Hello,
> i think your wlan0 interface has no ip-adress

Both the interface on the master and the managed node were set up correctly. 
It turns out enabling WEP was the source of the problem, but I have yet to 
figure out why. Non-WEP works without any problems, I just discovered. Stupid 
me for not trying non-WEP first.

> try: ifconfig wlan0 broadcast netmask
> why you use the hostroute 
> UGH 0 0 0 wlan0 

Well, it works (but I'm no routing expert, that's for sure), and I thought 
that was the correct way to set up a static route from to

> a better routing entry is
> U 0 0 0 wlan0

I don't see why this is more correct, since it then points to defgw ( 
which is currently meant for my external (eth0) interface, right?. My routing 
table would then look like this:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface   U     0      0        0 wlan0   U     0      0        0 eth0         UG    0      0        0 eth0

But will this not potentially confuse the routing? I mean, it works (just 
tested it), but if I initiate a request to, it will be routed to, right? But why does it actually work then? I'm a bit confused :)

Any further feedback appreciated.
Frederik Dannemare

More information about the Hostap mailing list