#Alternative to wpa_supplicant
Creating connection(important don't remove --):
$ nmcli connection add type wifi con-name "myconname" ifname wlan0 ssid "eduroam" -- wifi-sec.key-mgmt wpa-eap 802-1x.eap ttls
802-1x.phase2-auth mschapv2 802-1x.identity "USERNAME"
$ sudo --ask nmcli c up myconname
$ ls /etc/NetworkManager/system-connections #show connections
$ cat /etc/NetworkManager/system-connections
/myconname #show file connection
$ nmcli con show myconname #show connection detailed
Error 1:
password for '802-1x.identity' not given in 'passwd-file'
Solution 1:
$ vi mypassfile #add next line with pass value
802-11-wireless-security.psk:mypassvalue
$ nmcli con up <myconname> passwd-file <mypassfile>
References:
[1] Single connection https://www.linuxfordevices.com/tutorials/ubuntu/connect-wifi-terminal-command-line
[2] https://vessokolev.blogspot.com/2018/08/using-nmcli-to-create-8021x-eap-ttls.html
No comments:
Post a Comment