Skip to content

Instantly share code, notes, and snippets.

@milisarge
Created November 28, 2025 06:54
Show Gist options
  • Select an option

  • Save milisarge/8491ebfc728bf5a5d9038003d8192c52 to your computer and use it in GitHub Desktop.

Select an option

Save milisarge/8491ebfc728bf5a5d9038003d8192c52 to your computer and use it in GitHub Desktop.
NetworkManager NMcLi Eduroam
#!/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