public:wireless_lan_using_linux
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
public:wireless_lan_using_linux [2006/11/21 15:26] – kohofer | public:wireless_lan_using_linux [2010/02/22 14:40] – kohofer | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | [[wireless_lan_using_linux.old|Old Version using WEP]] | ||
+ | ====== Setup of the UNIBZ Wireless LAN for Linux WPA ====== | ||
+ | |||
+ | Security used within the WLAN Network: WPA1/WPA2 + PEAP + MSCHAPv2 | ||
+ | |||
+ | ===== Pre-requisites ===== | ||
+ | |||
+ | * Drivers for your Wireless Adapter and Requirements, | ||
+ | |||
+ | - Intel PRO/ | ||
+ | - Intel PRO/ | ||
+ | - Intersil PrismII driver with HostAP mode http:// | ||
+ | - Atheros MADWiFi driver (most cards with 802.11a or 108 Mb/s) http:// | ||
+ | - WLAN Cards using ndiswrapper http:// | ||
+ | |||
+ | * Linux Software for the Authentication: | ||
+ | |||
+ | * A good Networkanager GUI and front-end of wpa_supplicant is [[http:// | ||
+ | |||
+ | Other Wireless LAN resources for Linux can be found here [[http:// | ||
+ | |||
+ | ===== (K)(X)Ubuntu 9.10 Using NetworkManager ===== | ||
+ | |||
+ | {{: | ||
+ | {{: | ||
+ | {{: | ||
+ | |||
+ | Links: | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | ====== (K)(X)Ubuntu < 9.10 Manually ====== | ||
+ | |||
+ | ===== Installing wpa_supplicant ===== | ||
+ | |||
+ | 1. apt-get install wpa_supplicant | ||
+ | |||
+ | 2. Configure / | ||
+ | |||
+ | Download {{public: | ||
+ | |||
+ | less / | ||
+ | |||
+ | < | ||
+ | ctrl_interface=/ | ||
+ | ctrl_interface_group=0 | ||
+ | eapol_version=1 | ||
+ | ap_scan=1 | ||
+ | fast_reauth=1 | ||
+ | |||
+ | network={ | ||
+ | disabled=0 | ||
+ | ssid=" | ||
+ | proto=WPA | ||
+ | key_mgmt=WPA-EAP | ||
+ | auth_alg=OPEN | ||
+ | eap=PEAP | ||
+ | identity=" | ||
+ | password=" | ||
+ | ca_cert="/ | ||
+ | phase1=" | ||
+ | phase2=" | ||
+ | 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 / | ||
+ | |||
+ | 5. Get an IP Address | ||
+ | |||
+ | sudo dhclient3 eth1 | ||
+ | |||
+ | |||
+ | ====== Configuration for Wired Authentication 802.1x (Cable) ====== | ||
+ | |||
+ | Make sure you have installed wpasupplicant and wpagui | ||
+ | |||
+ | sudo apt-get install wpa_supplicant wpa_gui | ||
+ | |||
+ | Edit the configuration file: / | ||
+ | |||
+ | vi / | ||
+ | |||
+ | < | ||
+ | ctrl_interface=/ | ||
+ | ctrl_interface_group=0 | ||
+ | eapol_version=1 | ||
+ | ap_scan=0 | ||
+ | fast_reauth=1 | ||
+ | |||
+ | network={ | ||
+ | eap=PEAP | ||
+ | eapol_flags=0 | ||
+ | phase1=" | ||
+ | phase2=" | ||
+ | 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) | ||
+ | * sudo wpa_supplicant -D wired -c / | ||
+ | |||
+ | 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 | ||
+ | |||
+ | --- // |
/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