Created
February 7, 2024 16:54
-
-
Save voidbert/da82f2e55e9fadafea0d809d3a63c3a0 to your computer and use it in GitHub Desktop.
Connecting to eduroam (UMinho) using nmcli
This file contains 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/sh | |
nmcli con add \ | |
type wifi \ | |
con-name "eduroam" \ | |
ifname "XXXXXXXXX" \ # Replace with interface name | |
ssid "eduroam" \ | |
wifi-sec.key-mgmt "wpa-eap" \ | |
802-1x.identity "aXXXXXX@alunos.uminho.pt" \ | |
# 802-1x.password "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" \ # must actually be password file | |
802-1x.system-ca-certs "yes" \ | |
802-1x.domain-suffix-match "uminho.pt" \ | |
802-1x.eap "peap" \ | |
802-1x.phase2-auth "mschapv2" | |
nmcli connection up eduroam --ask |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment