TTUnet Wifi Protected Access for Linux

Requirements

Configuration

Find your wpa_supplicant configuration file, which will either be /etc/wpa_supplicant.conf or /etc/wpa_supplicant/wpa_supplicant.conf, and add the following options. Remember to replace ERAIDER_USER with your eraider username and ERAIDER_PASS with your eraider password.

Example /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ap_scan=1
fast_reauth=0
network={
    ssid="TTUnet"
    scan_ssid=1
    proto=WPA
    key_mgmt=IEEE8021X
    auth_alg=OPEN
    group=WEP104 WEP40
    eap=PEAP
    identity="ERAIDER_USER@ttu"
    password="ERAIDER_PASS"
    phase1="peaplabel=0"
    phase2="auth=MSCHAPV2"
}

General Connection Procedure

To connect to the wireless network, the basic procedure is to start wpa_supplicant (either as a daemon or otherwise), wait until it's connected to the TTUnet AP, and then run your DHCP client (probably dhclient or dhcpcd) to get an IP address. (The example uses eth1 and /etc/wpa_supplicant.conf. See the manpage for wpa_supplicant for more information.)

Example of connecting to TTUnet wifi
user@linux:~$ su -l root
root@linux:~$ wpa_supplicant -c/etc/wpa_supplicant.conf -Dwext -ieth1
root@linux:~$ dhclient eth1