Comment 122 for bug 272185

Revision history for this message
jasonmartens (me-jasonmartens) wrote :

If you have a wpa_supplicant.conf file for your wireless network, here is how you can work around this problem.

# put the following in a script, and run with sudo
# shutdown network manager, and connect to network manually
set -x
/etc/init.d/NetworkManager stop
/etc/init.d/wpa-ifupdown stop
iwconfig eth1 essid YourWirelessNetworkName
ifconfig eth1 up
wpa_supplicant -ieth1 -c /etc/wpa_supplicant/your_wpa_config.conf -d -f /var/log/wpa_supplicant.log&
dhclient eth1

# To start Network Manager up again, run the following (in a separate script)
killall wap_supplicant
/etc/init.d/wpa-ifupdown start
/etc/init.d/NetworkManager start

Obviously, you will not be able to use any of the other features of network manager while it is shut down, and you will have no signal strength checking, etc. Only do this if you know what you are doing. If all else fails, reboot and you will be back to where you were before.