Last active
August 25, 2025 13:43
-
-
Save BollaBerg/7a3fc9744d5bf6eb16f8aab5928df755 to your computer and use it in GitHub Desktop.
Configure Eduroam for NMCLI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
wifi-sec.key-mgmt
's value ofwap-eap
is a typo, should bewpa-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
wifi-sec.key-mgmt
's value ofwap-eap
is a typo, should bewpa-eap
instead