This is based on a tutorial from the University of Southampton (YouTube)
To enable eduroam
Open a terminal and type;
sudo leafpad /etc/network/interfaces
This will open the interfaces file in leafpad, edit this file to look something like below where we have set wlan0 to use wpa_supplicant
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd# For static IP, consult /etc/dhcpcd.conf and ‘man dhcpcd.conf’# Include files from /etc/network/interfaces.d:source-directory /etc/network/interfaces.dauto loiface lo inet loopbackiface eth0 inet manualallow-hotplug wlan0iface wlan0 inet manualwpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
Next, in a terminal type;
sudo leafpad /etc/wpa_supplicant/wpa_supplicant.conf
Edit this file as below
country=GB
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdevupdate_config=1network={identity=”username@stir.ac.uk”password=”your_network_password”eap=PEAPphase2=”auth=MSCHAPV2″ssid=”eduroam”pairwise=CCMPkey_mgmt=WPA-EAP
}
Reboot the pi and check that wifi is working and you’re connected via eduroam