User Tools

Site Tools


public:wireless_lan_using_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
public:wireless_lan_using_linux [2007/03/30 12:19] kohoferpublic:wireless_lan_using_linux [2012/11/15 17:34] – external edit 127.0.0.1
Line 3: Line 3:
 ====== Setup of the UNIBZ Wireless LAN for Linux WPA ====== ====== Setup of the UNIBZ Wireless LAN for Linux WPA ======
  
-Security used within the WLAN Network: WPA1/WPA2 + PEAP + MSCHAPv2+Security used within the WLAN Network: WPA/WPA2 + PEAP + MSCHAPv2 
 + 
 +  * Wireless Network SSID: **ScientificNetworkSouthTyrol** 
 +  * Security: **WPA/WPA 2 Enterprise** 
 +  * Authentication: **Protected EAP (PEAP)** 
 +  * Inner Authentication: **MSCHAPv2** 
 +  * Certificate: **Thawte Premium Server CA** 
 +  * Username: **<unibz-login>** 
 +  * Password: **<unibz-password>** 
 +  * IP Address: **Automatic (DHCP)**
  
 ===== Pre-requisites ===== ===== Pre-requisites =====
Line 20: Line 29:
  
 Other Wireless LAN resources for Linux can be found here [[http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/]] 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 =====
 +
 +{{:public:scientificnetworksouthtyrol-wireless.png|Wireless}}
 +{{:public:scientificnetworksouthtyrol-wireless_security.png|Wireless Security}}
 +{{:public:scientificnetworksouthtyrol-ip_address.png|IP Address}}
 +
 +Links:
 +
 +[[https://help.ubuntu.com/community/WifiDocs/WPAHowTo|NetworkManager Howto]]
 +
 +====== (K)(X)Ubuntu < 9.10 Manually ======
  
 ===== Installing wpa_supplicant ===== ===== Installing wpa_supplicant =====
Line 26: Line 47:
  
 2. Configure /etc/wpa_supplicant.conf 2. Configure /etc/wpa_supplicant.conf
 +
 +Download {{public:thawte_premium_server_ca.pem|Thawte_Premium_server_CA.pem}} Certificate if you do not have it!
  
 less /etc/wpa_supplicant.conf less /etc/wpa_supplicant.conf
Line 65: Line 88:
  
  
 +====== Configuration for Wired Authentication 802.1x (Cable) ======
  
-===== Using NetworkManager =====+This is the same Authentication Method as Wireless, but here we\\ 
 +use an Ethernet cable.
  
-[[https://help.ubuntu.com/community/WifiDocs/WPAHowTo|NetworkManager Howto]]+===== Using Network Manager =====
  
-====== Configuration for wired authentication 802.1x ======+Try this first if you are using a Ubuntu => 11.10.
  
-   vi /etc/wpasupplicant/wpa_supplicant.conf+Network Manager has the ability to be configured for 802.1x Authentication. 
 + 
 +Basic steps: 
 + 
 +  * Click on the Network Symbol (2 Arrows) in the upper right task-bar (either with left/right mouse click) 
 +  * Edit Connections... in Network Manager 
 +  * In the first Tab: Wired press Add Button 
 +  * Fill out Connection name: <hostel> 
 +  * Go to 2nd tab 802.1X Security, tick: Use 802.1X security for this connection 
 +  * Authentication: Protected EAP (PEAP) 
 +  * CA certificate: Thawte_Premium_Server_CA (located in /etc/ssl/certs/Thawte_Premium_Server_CA.pem) 
 +  * PEAP version: Automatic 
 +  * Inner authentication: MSCHAPv2 
 +  * Username: <your-unibz-login> 
 +  * Password: <your-unibz-password> 
 +  * Save... 
 +  * Click again on the Network Symbol and select the newly create Connection 
 + 
 +{{:public:nm_802-1x_1.png?direct&200|Network Manager}} 
 +{{:public:nm_802-1x_2.png?direct&200|Add Connection}} 
 +{{:public:nm_802-1x_3.png?direct&200|Configure}} 
 +{{:public:nm_802-1x_4.png?direct&200|Select newly create Connection}} 
 + 
 + 
 +===== Manual Configuration ===== 
 + 
 +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
  
 <code> <code>
Line 92: Line 152:
 </code> </code>
  
-   - sudo wpa_supplicant -D wired -c /etc/wpa_supplicant/wpa_supplicant.conf -i eth0 -B +Now execute the following commands: 
-   sudo wpa_gui + 
-   Login with username@unibz.it and password +Starts wpa_supplicant with wired driver (-D wired) and in daemon mode (-B) 
-   sudo dhclient3 eth0+   sudo wpa_supplicant -D wired -c /etc/wpa_supplicant/wpa_supplicant.conf -i eth0 -B 
 + 
 +Start wpa_gui to enter username and password 
 +   sudo wpa_gui 
 +   Login with username@unibz.it and password 
 +Get an IP Address 
 +   sudo dhclient3 eth0
  
- --- //[[kohofer@unibz.it|kohofer]] 2007/03/30 12:05//+ --- //[[kohofer@unibz.it|kohofer]] 2010/02/22 14:38//
/data/www/wiki.inf.unibz.it/data/pages/public/wireless_lan_using_linux.txt · Last modified: 2019/01/16 10:03 by 127.0.0.1