wpa-supplicantandwpaenterprise
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | wpa-supplicantandwpaenterprise [2013/01/28 04:29] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== wpa-supplicant and WPA Enterprise ====== | ||
+ | < | ||
+ | - Verify wireless drivers are working and the interface is up -- this should show an interface such as wlan0 and some configuration information | ||
+ | < | ||
+ | sudo iwconfig | ||
+ | sudo ifconfig wlan0 up | ||
+ | </ | ||
+ | - Make sure wpa-supplicant and wpa-gui are installed | ||
+ | < | ||
+ | sudo apt-get update | ||
+ | sudo apt-get install wpasupplicant wpagui | ||
+ | </ | ||
+ | - Remove !NetworkManager | ||
+ | < | ||
+ | sudo apt-get remove network-manager | ||
+ | </ | ||
+ | - Create/edit your / | ||
+ | < | ||
+ | ctrl_interface''/ | ||
+ | network'' | ||
+ | ssid''" | ||
+ | scan_ssid'' | ||
+ | proto'' | ||
+ | key_mgmt'' | ||
+ | pairwise'' | ||
+ | eap'' | ||
+ | phase2''" | ||
+ | } | ||
+ | </ | ||
+ | - Edit / | ||
+ | < | ||
+ | sudo nano / | ||
+ | </ | ||
+ | < | ||
+ | sudo nano / | ||
+ | </ | ||
+ | - Run wpa-supplicant and wpa-gui | ||
+ | < | ||
+ | sudo wpa_supplicant -Bw -Dwext -iwlan0 -c/ | ||
+ | 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 | ||
+ | </ | ||
+ | ===== Making it run on login ===== | ||
+ | - Go back to the terminal window and type: | ||
+ | < | ||
+ | sudo nano / | ||
+ | </ | ||
+ | - Add the following lines in the part regarding your wireless card, as in the example below: | ||
+ | < | ||
+ | pre-up wpa_supplicant -Bw -Dwext -iwlan0 -c/ | ||
+ | post-down killall -q wpa_supplicant | ||
+ | </ | ||
+ | - Go to**System-> | ||
+ | - Click the**Add** button and add this command | ||
+ | < | ||
+ | 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 |
wpa-supplicantandwpaenterprise.txt · Last modified: 2013/01/28 04:29 by 127.0.0.1