<p>This has been a challenge to get working, but I finally found the way. Hopefully this will make sense and work for most Linux distros (I set it up on Eeebuntu).</p>
sudo iwconfig sudo ifconfig wlan0 up
sudo apt-get update sudo apt-get install wpasupplicant wpagui
sudo apt-get remove network-manager
ctrl_interface''/var/run/wpa_supplicant network''{ ssid''"your_ssid" scan_ssid''1 proto''WPA key_mgmt''WPA-EAP pairwise''TKIP eap''PEAP phase2''"auth''MSCHAPV2" }
sudo nano /etc/network/interfaces
sudo nano /etc/network/interfaces
sudo wpa_supplicant -Bw -Dwext -iwlan0 -c/etc/wpa_supplicant.conf sudo wpa_gui
The GUI should open and prompt you for an Identity (username) and then a password. It should automatically get an IP address and you should be authenticated. You may need to run the following command to get an IP address.
sudo dhclient wlan0
sudo nano /etc/network/interfaces
pre-up wpa_supplicant -Bw -Dwext -iwlan0 -c/etc/wpa_supplicant.conf post-down killall -q wpa_supplicant
gksudo wpa_gui
It will prompt for your Linux login password again to run wpagui as root. Then wpagui will prompt for an identity and password for the wireless network.
– Main.FredPettis - 26 Aug 2009