how to connect to WPA2 enterprise WiFi in Ubuntu Core Raspberry Pi 3

cyan198

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.

cyan198

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:

  1. http://manpages.ubuntu.com/manpages/zesty/man5/nm-settings.5.html
  2. http://manpages.ubuntu.com/manpages/zesty/man7/nmcli-examples.7.html

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How do I configure Ubuntu Server to access a WPA2 Enterprise WiFi Access Point?

From Dev

How do I configure Ubuntu Server to access a WPA2 Enterprise WiFi Access Point?

From Dev

Connect raspberry pi 4 with ubuntu server to wifi

From Dev

How to setup of Raspberry Pi 3 onboard WiFi for Ubuntu Server with 'netplan'?

From Dev

How to setup of Raspberry Pi 3 onboard WiFi for Ubuntu Server with 'netplan'?

From Dev

How to connect wifi network from raspberry pi 2 (snappy)

From Dev

How to connect wifi network from raspberry pi 2 (snappy)

From Dev

How to Connect Synergy over WPA2 Enterprise networks?

From Dev

Xubuntu 12.10 wifi won't connect to wpa2 enterprise network

From Dev

Ubuntu Core rotate screen Raspberry Pi 3

From Dev

How to install apache on a Raspberry Pi 2 Ubuntu Snappy Core?

From Dev

Cannot connect to WPA2/WPA Enterprise (PEAP and MSCHAP)

From Dev

How to share a folder on Ubuntu to Raspberry Pi 3 over local WiFi network?

From Dev

How do I connect to WPA2 Enterprise wireless networks on 18.04 without breaking regular wireless connections?

From Dev

Ubuntu Core serial port on Raspberry PI 2

From Dev

Connect to Raspberry Pi 4 with Ubuntu Core 18 via serial cable

From Dev

How to connect android device to "WPA2 PSK" secured wifi hotspot network programmatically?

From Dev

How to confirm/verify WiFi is WPA2?

From Dev

Connect to wifi using Python on Raspberry Pi

From Dev

Using networksetup to connect to WPA2 Enterprise with AD not authenticating

From Dev

Raspberry Pi 3, Ubuntu Core 18, Mounting USB disk fails

From Dev

How to start a python file with Ubuntu Core 16 and Raspberry pi

From Dev

Fedora 29 ARM on raspberry pi3b+ cannot connect to wifi

From Dev

Ubuntu 14.04 Server - WiFi WPA2 Personal

From Dev

Ubuntu 14.04 Server - WiFi WPA2 Personal

From Dev

Raspberry pi 3 bridge Wifi to Lan

From Dev

Ubuntu Core on Raspberry Pi ssh failed

From Dev

How to set up WiFi on Ubuntu 19.10 Server running on Raspberry Pi 4?

From Dev

How to remote connect MySQL on Raspberry Pi?

Related Related

  1. 1

    How do I configure Ubuntu Server to access a WPA2 Enterprise WiFi Access Point?

  2. 2

    How do I configure Ubuntu Server to access a WPA2 Enterprise WiFi Access Point?

  3. 3

    Connect raspberry pi 4 with ubuntu server to wifi

  4. 4

    How to setup of Raspberry Pi 3 onboard WiFi for Ubuntu Server with 'netplan'?

  5. 5

    How to setup of Raspberry Pi 3 onboard WiFi for Ubuntu Server with 'netplan'?

  6. 6

    How to connect wifi network from raspberry pi 2 (snappy)

  7. 7

    How to connect wifi network from raspberry pi 2 (snappy)

  8. 8

    How to Connect Synergy over WPA2 Enterprise networks?

  9. 9

    Xubuntu 12.10 wifi won't connect to wpa2 enterprise network

  10. 10

    Ubuntu Core rotate screen Raspberry Pi 3

  11. 11

    How to install apache on a Raspberry Pi 2 Ubuntu Snappy Core?

  12. 12

    Cannot connect to WPA2/WPA Enterprise (PEAP and MSCHAP)

  13. 13

    How to share a folder on Ubuntu to Raspberry Pi 3 over local WiFi network?

  14. 14

    How do I connect to WPA2 Enterprise wireless networks on 18.04 without breaking regular wireless connections?

  15. 15

    Ubuntu Core serial port on Raspberry PI 2

  16. 16

    Connect to Raspberry Pi 4 with Ubuntu Core 18 via serial cable

  17. 17

    How to connect android device to "WPA2 PSK" secured wifi hotspot network programmatically?

  18. 18

    How to confirm/verify WiFi is WPA2?

  19. 19

    Connect to wifi using Python on Raspberry Pi

  20. 20

    Using networksetup to connect to WPA2 Enterprise with AD not authenticating

  21. 21

    Raspberry Pi 3, Ubuntu Core 18, Mounting USB disk fails

  22. 22

    How to start a python file with Ubuntu Core 16 and Raspberry pi

  23. 23

    Fedora 29 ARM on raspberry pi3b+ cannot connect to wifi

  24. 24

    Ubuntu 14.04 Server - WiFi WPA2 Personal

  25. 25

    Ubuntu 14.04 Server - WiFi WPA2 Personal

  26. 26

    Raspberry pi 3 bridge Wifi to Lan

  27. 27

    Ubuntu Core on Raspberry Pi ssh failed

  28. 28

    How to set up WiFi on Ubuntu 19.10 Server running on Raspberry Pi 4?

  29. 29

    How to remote connect MySQL on Raspberry Pi?

HotTag

Archive