Skip to content

Instantly share code, notes, and snippets.

@BollaBerg
Last active August 25, 2025 13:43
Show Gist options
  • Save BollaBerg/7a3fc9744d5bf6eb16f8aab5928df755 to your computer and use it in GitHub Desktop.
Save BollaBerg/7a3fc9744d5bf6eb16f8aab5928df755 to your computer and use it in GitHub Desktop.
Configure Eduroam for NMCLI
# Heavily inspired by https://haluk.github.io/posts-output/2020-10-19-linux/
# Replace <IFNAME> with wifi device name
# Replace <IDENTITY> with student identity (i.e. <USERNAME>@ntnu.no)
# Replace <PASSWORD> with user password
nmcli con add \
type wifi \
ifname <IFNAME> \
con-name eduroam \
ssid eduroam \
ipv4.method auto \
802-1x.eap peap \
802-1x.phase2-auth mschapv2 \
802-1x.identity <IDENTITY> \
802-1x.password <PASSWORD> \
wifi-sec.key-mgmt wpa-eap
@BollaBerg
Copy link
Author

BollaBerg commented Jun 20, 2023

wifi-sec.key-mgmt's value of wap-eap is a typo, should be wpa-eap instead

You are absolutely right, @MichaelTennant , thanks for the heads up! I don't even listen to Cardi B... Fixed in revision 2 🐱

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