Skip to content

Instantly share code, notes, and snippets.

@mhamilt
Last active December 19, 2024 14:17
Show Gist options
  • Save mhamilt/f621ca95f15531385da6f7a48e1a98f4 to your computer and use it in GitHub Desktop.
Save mhamilt/f621ca95f15531385da6f7a48e1a98f4 to your computer and use it in GitHub Desktop.
RetroPie on eduroam and WPA Enterprise networks

The current version of RetroPie at time of writing is 4.8 which is built on top of Buster OS Lite for the distributed install image.

WPA Enterprise networks were tricky to connect to, inparticular the univeristy eduroam network.

Taking cues from https://forums.raspberrypi.com/viewtopic.php?t=247310

To get it to work I did the following after installing RetroPie on a Raspberry Pi 4

  1. Set WLAN location via sudo raspi-config
  2. fill in network details in /etc/wpa-supplicant/wpa-supplicant.conf
  3. add the following to the bottom of /etc/dhcpcd.conf
interface wlan0
env ifwireless=1
env wpa_supplicant_driver=wext,nl80211
  1. restart

All that together as a script roughly looking like:

sudo tee /etc/wpa-supplicant/wpa-supplicant.conf << EOF
network={
   ssid="eduroam"
   proto=RSN
   key_mgmt=WPA-EAP
   eap=PEAP
   identity="USERNAME"
   password="PASSWORD"
   phase1="peaplabel=0"
   phase2="auth=MSCHAPV2"
}
EOF

sudo tee /etc/dhcpcd.conf << EOF
interface wlan0
env ifwireless=1
env wpa_supplicant_driver=wext,nl80211
EOF

sudo reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment