wireless connection issue

Nils Kassube kassube at gmx.net
Sun Jun 12 20:49:43 UTC 2011


G. wrote:
> Kernel IP routing table
> Destination     Gateway         Genmask        ... Iface 
> 82.239.101.0    0.0.0.0         255.255.255.0  ... eth0 
> 87.90.128.0     0.0.0.0         255.255.240.0  ... wlan0 
> 169.254.0.0     0.0.0.0         255.255.0.0    ... wlan0 
> 0.0.0.0         82.239.101.254  0.0.0.0        ... eth0
(output above shortened for readability)

The last line is the problem. Like NoOp already wrote, your default 
gateway is on the wrong network for your wlan interface. Actually you 
don't have a default gateway for wlan0 but only for eth0. Could it be 
that you tried to connect via wireless while you were still also 
connected by cable? Without the cable connected you could tell network 
manager to reconnect the wlan0 link, maybe that would repair the routing 
entries.

In your other mail you wrote that you can ping ubuntu.com but not 
google.com. Was that when you were connected by cable? Sorry, I didn't 
explain which address is the router - it is the address of the gateway 
in the line starting with destination 0.0.0.0, i.e. here it is 
82.239.101.254.

And one more idea: Could it be that you have setup static entries for 
eth0? IIRC, network manager should remove the routing entries for eth0 
when you connect via wlan0.

Finally you could compare the routing details while you use Windows7 for 
the wireless connection. However I can't tell you where to look (I only 
have XP and even there I would have to search where I could find the 
connection details).


Nils




More information about the ubuntu-users mailing list