Wiki - WLANSetup

The Simple WLAN: ESSID wu

The easiest way to get online is to use the ESSID wu

After connecting, you'll be redirected to a login page, where you will have to provide your username and password. After some time you might need to authentificate again.

SSH etc will work.

Note: We've been informed that this WLAN is due to be turned off. But we don't know when. So it might be a good idea to prepare your laptop for the other WLAN (see below)

The Complex (but more secure) WLAN: ESSID wu-dot1x

This WLAN uses the ESSID wu-dot1x.

There are detailed (but german) instructions available here: http://www.wu-wien.ac.at/zid/anleitungen/wlan

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. 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.


version 4 saved on 22/08/07 21:38 by Thomas Klausner (‎domm‎)

Home | Tags | Recent changes | History


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