Skip to content

Instantly share code, notes, and snippets.

@sunipkm
Forked from AntonFriberg/eduroam.sh
Last active June 6, 2025 17:14
Show Gist options
  • Save sunipkm/7d479178b89aad7b539b97c65b4c3ffd to your computer and use it in GitHub Desktop.
Save sunipkm/7d479178b89aad7b539b97c65b4c3ffd to your computer and use it in GitHub Desktop.

Revisions

  1. sunipkm revised this gist Jun 6, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion eduroam.sh
    Original file line number Diff line number Diff line change
    @@ -11,4 +11,4 @@ nmcli con add \
    802-1x.eap "peap" \
    802-1x.phase2-auth "mschapv2"

    nmcli connection up eduroam
    nmcli connection up eduroam --ask # ask for password
  2. @AntonFriberg AntonFriberg created this gist Sep 6, 2018.
    14 changes: 14 additions & 0 deletions eduroam.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    nmcli con add \
    type wifi \
    con-name "eduroam"
    ifname "wlp4s0" \ # Your wifi interface
    ssid "eduroam" \
    wifi-sec.key-mgmt "wpa-eap" \
    802-1x.identity "<YOUR-STUDENT-ID>@lu.se" \ # May also use another university identification
    802-1x.password "<YOUR-PASSWORD" \
    802-1x.system-ca-certs "yes" \
    802-1x.domain-suffix-match "radius.lu.se" \
    802-1x.eap "peap" \
    802-1x.phase2-auth "mschapv2"

    nmcli connection up eduroam