Go to eugreenalliance
Search

Eduroam - Linux

Install eduroam

To have your computer verify the connection to eduroam and the authentication servers, you need to install this certificate.
eduroam.pem
Install the certificate to"/etc/cert/eduroam.pem"

Eduroam should work with most Linux distributions, the example below is for use with wpa_supplicant. Graphical interfaces is to be configured with: "EAP Method: TTLS" "Phase2 Type: PAP" "Identity: <user name>@hig.se"

Please note, no "Anonymous identity" is to be entered.

wpa_supplicantWireless LAN resources for Linux
Change the user name and password according to the template below. wpa_supplicant.conf is a configuration file that should only be readable by root, it contains your user name and password in clear text. We recommend that you use a graphical wrapper so you don't have to save your password in the configuration file.

---------- wpa_supplicant.conf -----------

update_config=1

eapol_version=1

ap_scan=1 fast_reauth=1

# data-irt: WPA+RADIUS
network={
ssid="eduroam"
key_mgmt=WPA-EAP
eap=TTLS
identity="username@hig.se" <---- Username+ @hig.se password="passwd" <---- Password ca_cert="/etc/cert/eduroam.pem" phase2="auth=PAP"
} ---------- wpa_supplicant.conf -----------

Use the following script to connect or run wpa_supplicant separately.

------------- /etc/init.d/wlan ----------
#!/bin/sh

killall dhclient
/usr/local/sbin/wpa_supplicant -ieth1 -c/etc/wpa_supplicant.conf -Dipw & sleep 5
dhclient eth1
------------- /etc/init.d/wlan ----------

Published by: Carl-Gunnar Mårtensson Page responsible: Fredrika Nordahl Westin Updated: 2016-03-09
Högskolan i Gävle
www.hig.se
Box 801 76 GÄVLE
026-64 85 00 (växel)