Skip to content

Instantly share code, notes, and snippets.

@simcard0000
Created November 13, 2019 00:56
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simcard0000/c00b6d22bbacd9cd324643fa256e301a to your computer and use it in GitHub Desktop.
Save simcard0000/c00b6d22bbacd9cd324643fa256e301a to your computer and use it in GitHub Desktop.
💻 Connect Raspberry Pi (or Linux system) to eduroam (WPA2 Enterprise Network)
#These instructions are based on this tutorial from Adafruit:
#https://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup/setting-up-wifi-with-occidentalis
#Tried and tested with the eduroam network at UWaterloo! If you're an undergraduate student,
#make sure for the identity field you include .edu in your email address.
#In short, boot up your Pi and edit your wpa_supplicant.conf file to contain the following lines of code,
#or conversely just use this file! You can start editing your .conf file by heading to the terminal
#and typing sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=CA
network={
ssid="eduroam"
scan_ssid=1
key_mgmt=WPA-EAP
eap=PEAP
identity="YOUR WATERLOO EMAIL FOR EXAMPLE"
password="YOUR PASSWORD"
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
}
#After editing this file, save this and then run the following command in the terminal:
#sudo wpa_cli -i wlan0 reconfigure
#and you should be good and connected!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment