I'm using NetworkManager in Ubuntu Core to my WPA2 personal WiFi and it works. Now I want to connect to WPA2 802.1x WiFi in office premise. Is it possible using NetworkManager? If yes can anyone guide me how to do it?
The solution from this question doesn't really work in Ubuntu Core because it doesn't allow to create files in the /etc/NetworkManager/ path due to read-only file system.
I managed to solve my own problem in regards to this question. Here's how I did it in Ubuntu Core using NetworkManager nmcli console:
$ network-manager.nmcli connection edit type 802-11-wireless
nmcli> goto 802-11-wireless
nmcli 802-11-wireless> set ssid <your_ssid>
nmcli 802-11-wireless> back
nmcli> goto 802-11-wireless-security
nmcli 802-11-wireless-security> set key-mgmt wpa-eap
nmcli 802-11-wireless-security> set auth-alg open
nmcli 802-11-wireless-security> back
nmcli> goto 802-1x
nmcli 802-1x> set eap peap
nmcli 802-1x> set identity <your_identity>
nmcli 802-1x> set password <your_password>
nmcli 802-1x> set phase2-auth mschapv2
nmcli 802-1x> back
nmcli> verify
nmcli> save
Saving the connection with 'autoconnect=yes'. That might result in an immediate activation of the connection.
Do you still want to save? (yes/no) [yes] yes
Connection 'wifi' (20e7bab0-6780-45a7-b650-eafb28e7912a) successfully saved.
Ubuntu should try to connect by now and you might be disconnected if you're currently ssh-ed in. Just ssh again with the new IP address (if you use IP).
Points of reference:
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments