Hi Glyn

It’s a bit late but I finally tested the suggested solution in the link I found. It was a little different, especially because I did not need a certificate. Found the solution through various places in the end. The following solution has by now worked in multiple locations:

Change interfaces file:
sudo nano /etc/network/interfaces

# 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.d
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet dhcp
  pre-up wpa_supplicant -B -Dwext -i wlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
  post-down killall -q wpa_supplicant

Then change the config file to have network name and login details hardcoded:
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
  ssid="MyUniversityNetwork (e.g. eduroam)"
  scan_ssid=1
  key_mgmt=WPA-EAP
  pairwise=CCMP TKIP
  group=CCMP TKIP
  eap=PEAP
  identity="MyLoginName"
  password="MyPassword"
  phase1="peapver=0"
  phase2="MSCHAPV2"
}

I hope this will help somebody else.
Cheers Marcel

2 Likes