IllinoisNet Wireless – OpenBSD 5.5

IllinoisNet with OpenBSD and wpa_supplicant

# sudo pkg_add wpa_supplicant

Download addtrustedexternalcaroot.crt from the Comodo Group website
and put it in /etc/ssl/

/etc/wpa_supplicant.conf

network={
    ssid="IllinoisNet"
    key_mgmt=WPA-EAP
    eap=PEAP
    identity="netid"
    password="password"
    ca_cert="/etc/ssl/addtrustedexternalcaroot.crt"
    phase1="peapver=0"
    phase2="MSCHAPV2"
}

Associate with the access point (replace urtw0 with the name of your interface).

# sudo ifconfig urtw0 nwid IllinoisNet wpa wpaakms 802.1x up

Authenticate.

# sudo wpa_supplicant -i urtw0 -c /etc/wpa_supplicant.conf -D openbsd -B

After a second make sure it was successful. ifconfig should say the link is active

# wpa_cli status
# ifconfig urtw0

Request an ip address.

# dhclient urtw0

Now you should be able to browse.
To disconnect:

# wpa_cli terminate
# ifconfig urtw0 down

check out the undeadly.org article titled “WPA Enterprise mode for OpenBSD”