How to set up NetworkManager for use on school and other WPA2-Enterprise Networks using only systemctl, and the text editor of your choice.
Ever since moving off of ubuntu, network setup has been a pain, so here's a how-to and skeleton for a config file for WPA2 Enterprise Networks. This method has been tested on two different university networks and worked for both.
Important
If you don't have NetworkManager installed, either get it from your package manager, or transfer the source from a computer that has network access and go here for instructions on how to install it.
$ git clone https://github.com/DHDcc/NetworkManager-WPA2-Enterprise-Setup.git
$ cd NetworkManager-WPA2-Enterprise-Setup
$ chmod -x setup.sh
$ ./setup.sh-
Generate a UUID with
uuidgen -
Copy the base config from this repository into
/etc/NetworkManager/system-connections/[CONNECTION-NAME]and edit in the connection id with your favorite text editor -
Change the following fields:
uuid(generated byuuidgen)ssididentity(user id or username, usually given to you by the school)passwordphase2-auth(if you don't know the authentication method of your network, it's probalymschapv2)
-
Write and save the file, then run
$ chown root /etc/NetworkManager/system-connections/[CONNECTION-NAME] $ chmod 600 /etc/NetworkManager/system-connections/[CONNECTION-NAME]
-
Restart the NetworkManager service with
sudo systemctl restart NetworkManager
With that you should have a functioning wifi connection on WPA2-Enterprise!