wpa_supplicant empties routing table

Ian Chapman packages at amiga-hardware.com
Fri Mar 7 01:57:58 UTC 2008


Hi,

I have a PowerBook G4 running F8. The wireless network card  (BCM4306 
using b43 driver) is configured with wpa_supplicant and works with the 
access point etc. However when I restart wpa_supplicant, the routing 
tables get emptied. Any ideas why, or how I can stop that from happening? Eg

Before restart:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 
wlan0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 
wlan0
0.0.0.0         192.168.1.254   0.0.0.0         UG    0      0        0 
wlan0

After restart:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 
wlan0


Restarting the network returns the correct routing tables, but 
restarting the network means I need to restart wpa_supplicant or 
otherwise I don't have a connection to the access point. Catch 22!

My wpa supplicant conf file looks like this:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel

network={
    ssid="atmosphere"
    psk="PRIVATE"
    key_mgmt=WPA-PSK
    proto=WPA
}


-- 
Ian Chapman.




More information about the fedora-list mailing list