Skip to content

Instantly share code, notes, and snippets.

@AntonFriberg
Created September 6, 2018 09:40
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save AntonFriberg/d1d028c66082889878f1987118a2d251 to your computer and use it in GitHub Desktop.
Save AntonFriberg/d1d028c66082889878f1987118a2d251 to your computer and use it in GitHub Desktop.
Connect to eduroam on Lund University with NetworkManager
nmcli con add \
type wifi \
con-name "eduroam"
ifname "wlp4s0" \ # Your wifi interface
ssid "eduroam" \
wifi-sec.key-mgmt "wpa-eap" \
802-1x.identity "<YOUR-STUDENT-ID>@lu.se" \ # May also use another university identification
802-1x.password "<YOUR-PASSWORD" \
802-1x.system-ca-certs "yes" \
802-1x.domain-suffix-match "radius.lu.se" \
802-1x.eap "peap" \
802-1x.phase2-auth "mschapv2"
nmcli connection up eduroam
@ileskaa
Copy link

ileskaa commented Jan 15, 2024

Thank you so much sir, I was really struggling to set up wifi, but this worked! 6 years later, this piece of code still works really well

@AntonFriberg
Copy link
Author

@ileskaa Awesome, suprised it still worked actually!

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