User Tools

Site Tools


Sidebar

  • Kerberos {en}
  • Printing
    • Linux {en}
    • Mac OS X {en}
    • Windows {en}
  • Home Directory
    • Linux {en}
  • Scanning {en}
  • Software
    • Mathematica {en}
  • Subversion {en}
  • Virtualization {en}
  • Mail Clients
    • Thunderbird {en}
  • Wifi
    • NetworkManager {en}
    • wpa_supplicant {en}
bfh:wiki-legacy:en:wifi:wpa_supplicant

Connecting to the bfh Wifi with wpa_supplicant

wpa_supplicant is a WPA Supplicant for Linux, BSD, Mac OS X, and Windows with support for WPA and WPA2 (IEEE 802.11i / RSN).

This page describes how to connect to the BFH wireless networks via wpa_supplicant. It is for those of us who are not luxurious enough (or too arrogant in my case) to be able to use a fancy GUI-tool.

Without further ado, this wpa_supplicant configuration necessary to be able to connect to the network:

# Locked BFH network
network={
    ssid="bfh"
    key_mgmt=WPA-EAP IEEE8021X
    eap=PEAP
    auth_alg=OPEN
    phase1="peaplabel=0"
    phase2="auth=MSCHAPV2"
    identity="insert-your-bfh-identity-here"
    password="insert-your-password-here"
    priority=100
}

# Open BFH network
network={
    ssid="public-bfh"
    key_mgmt=NONE
    priority=0
}

Troubleshooting

If you experience problems, with this configuration, you can always increase the debugging level -d or -dd. If first-level authentication fails, you can try to set the phase1=“peaplabel=1”.

Note: This configuration was tested and is in fact working in Bern

Installation of wpa_supplicant

wpa_supplicant is available from all major package management systems:

  • Ubuntu/Debian: apt-get install wpasupplicant
  • Gentoo: emerge -av wpa_supplicant
  • Arch: pacman -S wpa_supplicant
  • Redhat/Fedora: yum install wpa_supplicant
  • SUSE/openSUSE: zypper install wpa_supplicant
  • FreeBSD: cd /usr/ports/security/wpa_supplicant/ && make install or pkg_add -vrf wpa_supplicant

If your mood is especially adventurous today, you can even compile it from source: http://hostap.epitest.fi/wpa_supplicant/

bfh/wiki-legacy/en/wifi/wpa_supplicant.txt · Last modified: 2015/11/13 15:20 (external edit)