Wiki - WLANSetup

WLANSetup

diff v2 - v3

v2: 22/08/07 21:32 - Thomas Klausner (‎domm‎)
v3: 22/08/07 21:36 - Thomas Klausner (‎domm‎)
--- WLANSetup v2
+++ WLANSetup v3
@@ -16,6 +16,87 @@
 
 There you can find instructions for various operating systems (if you don't speak german, ask some of the orgas for help, or try to navigate the windows by guessing :-)
 
+=== Linux ===
+
 Here's a translation of the Linux instructions (centered on Debian/Ubuntu):
 
+==== Prerequisites ====
+
+We are all using Kernels $> 2.6.18$, so all further descriptions are based on those. Of course, you need the module that supports your WLAN-Card \ldots. You will also need these modules:
+
+     * michael_mic
+     * aes_i586
+     * ieee80211
+     * ieee80211_crypt
+     * ieee80211_crypt_ccmp
+
+You can probably check if your WLAN Interface ist working, by typing this as
+root:
+
+ % iwlist scan 2>&1>/dev/null & sleep 5 ; iwlist scan | grep 'wu-dot1x'
+
+
+You will also need the following packages installed:
+     * wpa_supplicant
+     * wireless-tools
+     * ca-certificates
+
+ % sudo apt-get install wpasupplicant wireless-tools ca-certificates
+
+
+==== Configuration of WPA-Supplicant ====
+
+If you are using a recent Ubuntu and your laptop is well configured, just tell the Network Manager that you want to use WPA2 and your username is <username> and your password is <password>.
+
+Else, using Debian or some other linux, edit the file: /etc/wpa\_supplicant.conf
+
+  ctrl_interface=/var/run/wpa_supplicant
+  ap_scan=2
+
+  network={
+          # wu
+          ssid="wu-dot1x"
+          id_str="wu"
+          scan_ssid=1
+          proto=RSN
+          key_mgmt=WPA-EAP
+          pairwise=CCMP TKIP
+          group=CCMP
+          eap=PEAP
+          identity="<username>"
+          password="<password>"
+
+  # download: http://www.wu-wien.ac.at/zid/downloads/wlan_dotlx_root-zertifikat
+          
+  ca_cert="/usr/share/ca-certificates/mozilla/GTE_CyberTrust_Global_Root.crt"
+          phase1="include_tls_length=1"
+          phase2="autheap=MSCHAPv2" 
+  }
+
+
+This should suffice. Start your connection with the following command:
+
+  % sudo wpa_supplicant -w -c /etc/wpa_supplicant.conf -i eth1 -D wext -d
+  % sudo dhclient eth1
+
+
+wpa_cli should give you something like this if you were successful:
+
+  % /sbin/wpa_cli status       
+  Selected interface 'eth2'
+  bssid=00:12:7f:84:58:c1
+  ssid=wu-dot1x
+  id=1
+  id_str=wu
+  pairwise_cipher=CCMP
+  group_cipher=CCMP
+  key_mgmt=WPA2/IEEE 802.1X/EAP
+  wpa_state=COMPLETED
+  ip_address=137.208.195.195
+  Supplicant PAE state=AUTHENTICATED
+  suppPortStatus=Authorized
+  EAP state=SUCCESS
+
+
+You should now be able to use the WLAN.
 
 

Copyright © 2003-2007 Verein 'Vienna.pm - Verein zur Förderung der Programmiersprache Perl'.
To contact the organisers send an email to vienna2007@yapceurope.org
Impressum