Ubuntu – Connecting to Eduroam 16.04 LTS wicd – University of Bath

networkingwicd

I was having trouble connecting to eduroam using wicd. Solution is posted below. Tested on Ubuntu 16.04.

Best Answer

This will hopefully work for other universities too

Create the following template file for eduroam: (/etc/wicd/encryption/templates/eduroam)

name = Eduroam
author = hautod
version = 1
require identity *Username password *Password
----
ctrl_interface=/var/run/wpa_supplicant
network={
  ssid="eduroam"
  key_mgmt=WPA-EAP
  pairwise=CCMP
  group=CCMP TKIP
  eap=PEAP
  ca_cert="/usr/share/ca-certificates/mozilla/AddTrust_External_Root.crt"
  identity="$_IDENTITY"
  domain_suffix_match="radius.bath.ac.uk"
  phase2="auth=MSCHAPV2"
  password="$_PASSWORD"
}

Append "eduroam" to '/etc/wcid/templates/active' so it looks similar to this:

wpa
wpa-peap
wpa-psk
wpa-psk-hex
wpa2-leap
wpa2-peap
wep-hex
wep-passphrase
wep-shared
leap
ttls
eap
peap
peap-tkip
eap-tls
psu
eduroam

You should now be able to connect using your full university email as the username and your university password.

Related Question