Last active
February 6, 2024 08:36
-
-
Save mvetsch/9bfdee7c56140eae2baa0be711fc8ded to your computer and use it in GitHub Desktop.
Wireless configuration with nmcli (NetworkManager ) for ETHZ (eth / eduroam)
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
nmcli connection add type wifi con-name eduroam ifname wlp3s0 ssid "eduroam" -- wifi-sec.key-mgmt wpa-eap 802-1x.eap ttls 802-1x.identity [CUT]@student-net.ethz.ch 802-1x.phase2-auth mschapv2 802-1x.domain-suffix-match radius-service.ethz.ch | |
nmcli connection add type wifi con-name eth ifname wlp3s0 ssid "eth" -- wifi-sec.key-mgmt wpa-eap 802-1x.eap ttls 802-1x.identity [CUT]@student-net.ethz.ch 802-1x.phase2-auth mschapv2 802-1x.domain-suffix-match radius-service.ethz.ch | |
# activate with | |
nmcli connection up eduroam --ask | |
nmcli connection up eth --ask |
Thanks for the help. It saved me a lot of hassle. :-)
I had to change ifname wlp3s0
to ifname wlan0
. Check $ systemctl status NetworkManager
to see which device you are running.
Just made an account to tell you:
myyyyyyyyyyy maaaaaaaaaaaan!
Less secure (remember to delete bash history afterwards), but it also works by providing the option 802-1x.password <password>
. Using --ask
didn't work for me
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
<3