Last active
November 11, 2025 11:00
-
-
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 |
Author
wifi-sec.key-mgmt's value ofwap-eapis a typo, should bewpa-eapinstead
You are absolutely right, @MichaelTennant , thanks for the heads up! I don't even listen to Cardi B... Fixed in revision 2 🐱
this was super helpful. Thank you! This needs to be way higher on google search result and get on some archlinux forum threads!
Worked for me. thanks!
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-eapis a typo, should bewpa-eapinstead