WLAN access over SSID “802.1X” or “UniBamberg-802.1X” at the university of Bamberg with Linux and wicd

It took me hours to figure out that a certificate file/chain is not needed to use the 802.1x authentication with Linux at my university in Bamberg.
To use wicd as authentication client which again uses wpa_supplicant, you have to create a new wicd template however.

You can either read the original forum post here or continue reading.

First create the new file /etc/wicd/encryption/templates/peap-mschapv2 and insert the following content:

[code lang=bash]name = PEAP with MSCHAPv2
author = ElitestFX
version = 1
require identity *Identity password *Password
—–
ctrl_interface=/var/run/wpa_supplicant
network={
ssid=”$_ESSID”
scan_ssid=$_SCAN
key_mgmt=WPA-EAP
eap=PEAP
phase2=”auth=MSCHAPV2″
identity=”$_IDENTITY”
password=”$_PASSWORD”
}[/code]

After that activate the template by adding the filename (peap-mschapv2 in our case) into a new line in /etc/wicd/encryption/templates/active .

Finally restart the wicd daemon
[code lang=bash]/etc/init.d/wicd restart[/code]

and choose the template PEAP with MSCHAPv2 in the wicd gui in the properties of the network. Insert your identity (eg. baxxxxxx) and password (your login password from the data center (RZ)) and connect successfully.

Happy surfing,
Phillip

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.