Created
November 28, 2025 06:54
-
-
Save milisarge/8491ebfc728bf5a5d9038003d8192c52 to your computer and use it in GitHub Desktop.
NetworkManager NMcLi Eduroam
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
| #!/bin/bash | |
| CONNAME="eduroam_wired" | |
| USERNAME="[email protected]" | |
| PASSWORD="123" | |
| INTERFACE="eno1" | |
| nmcli connection add type 802-3-ethernet con-name $CONNAME \ | |
| ifname $INTERFACE \ | |
| 802-1x.eap peap \ | |
| 802-1x.phase2-auth mschapv2 \ | |
| 802-1x.identity $USERNAME \ | |
| 802-1x.password $PASSWORD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment