Security used within the WLAN Network: | WPA/WPA2 + PEAP + MSCHAPv2 |
Pre-requisites
Other Wireless LAN resources for Linux can be found here http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/
(K)(X)Ubuntu 9.10 Using NetworkManager
= (K)(X)Ubuntu < 9.10 Manually
1. apt-get install wpa_supplicant
2. Configure /etc/wpa_supplicant.conf
Download AddTrust_External_Root.pem Certificate if you do not have it!
less /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 eapol_version=1 ap_scan=1 fast_reauth=1 network={ disabled=0 ssid="ScientificNetworkSouthTyrol" proto=WPA key_mgmt=WPA-EAP auth_alg=OPEN eap=PEAP identity="unibzlogin@unibz.it" password="unibzpassword" ca_cert="/etc/ssl/certs/AddTrust_External_Root.pem" phase1="peaplabel=0 peapver=0" phase2="auth=MSCHAPV2" priority=10 }
3. Bring Interface (eth1/wlan, etc.) up
sudo ifconfig eth1 up
4. Start wpa_supplicant
sudo wpa_supplicant -D wext -i eth1 -c /etc/wpa_supplicant.conf
5. Get an IP Address
sudo dhclient3 eth1
This is the same Authentication Method as Wireless, but here we
use an Ethernet cable.
Try this first if you are using a Ubuntu ⇒ 11.10.
Network Manager has the ability to be configured for 802.1x Authentication.
Basic steps:
For the more “experienced” users!!
Make sure you have installed wpasupplicant and wpagui
sudo apt-get install wpa_supplicant wpa_gui
Edit the configuration file: /etc/wpasupplicant/wpa_supplicant.conf
vi /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 eapol_version=1 ap_scan=0 fast_reauth=1 network={ eap=PEAP eapol_flags=0 phase1="peaplabel=0" phase2="auth=MSCHAPV2" priority=10 key_mgmt=IEEE8021X auth_alg=OPEN }
Now execute the following commands:
Starts wpa_supplicant with wired driver (-D wired) and in daemon mode (-B)
Start wpa_gui to enter username and password
Get an IP Address
— kohofer 2010/02/22 14:38