Created
January 16, 2020 12:21
-
-
Save optimista/803bbca64ae92dacab7a37e2977f1804 to your computer and use it in GitHub Desktop.
Connect to WPA2-Enterprise 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
nmcli con add type wifi ifname wlp3s0 con-name eduroam ssid eduroam | |
nmcli con edit id eduroam | |
nmcli> set ipv4.method auto | |
nmcli> set 802-1x.eap peap | |
nmcli> set 802-1x.phase2-auth mschapv2 | |
nmcli> set 802-1x.identity myusername | |
nmcli> set 802-1x.password mypassword | |
nmcli> set wifi-sec.key-mgmt wpa-eap | |
nmcli> save | |
nmcli> activate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment