Automatic reconnect to wireless network

O. Sinclair o.sinclair at gmail.com
Sun Jul 20 06:46:10 UTC 2008


Bruce Marshall wrote:
> On Saturday 19 July 2008, O. Sinclair wrote:
>> Yep I use wicd but even so - as stated earlier in some cases it seems to
>> be hardware depending. I nearly went nuts installing that HP laptop
>> before discovering by accident that wireless activated once I pulled the
>> cable for wired.
> 
> This usually is a problem with having two 'default gateways' and the 
> networking doesn't know which to use.   Pulling the cable removes one of the 
> gateways.
> 
> Next time you do this, look at the routing:
> 
> route -n
> 
> and you will most likely see  two routes with the  'UG'  flags  (G for 
> gateway)
> 
> Then  
> 
> route del default gw  xxx.xxx.xxx.xxx   eth0      (or which ever interface you 
> want to remove)
> 
> Be it works after that.
> 
> The xxx.xxx.xxx.xxx  is the IP address you are using for the GW.
> 
thanks for the info, I will try it next time I visit the office in 
question and see if it works.

Sinclair




More information about the kubuntu-users mailing list