Merge pull request #1 from alvierahman90/master

make readme 'how to instructions' an ordered list
This commit is contained in:
Wyler McAninch-Ruenzi 2021-04-27 08:23:01 -04:00 committed by GitHub
commit 3592135de2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,16 +5,24 @@ How to set up NetworkManager for use on school and other WPA2-Enterprise Network
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. 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.
# How To # How To
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](http://www.linuxfromscratch.org/blfs/view/svn/basicnet/networkmanager.html) for instructions on how to install it. 0. 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](http://www.linuxfromscratch.org/blfs/view/svn/basicnet/networkmanager.html) for instructions on how to install it.
1. Generate a UUID with `uuidgen`
1. 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
1. Change the following fields:
First, generate a UUID with `uuidgen`. Then 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. Set `uuid` to the one you generated earlier, and change the SSID to that of the access point you are trying to connect to. Put in your user id (usually given to you by the school), and the password to connect with in their appropriate spots. - `uuid` (generated by `uuidgen`)
- `ssid`
- `identity` (user id or username, usually given to you by the school)
- `password`
- If you know that your network has different authentication methods, change those here as well.
If you know that your network has different authentication methods, change those here as well. 1. Write and save the file, then run
Write and save the file, then run ```bash
``` chown root /etc/NetworkManager/system-connections/[CONNECTION-NAME] && \
chown root /etc/NetworkManager/system-connections/[CONNECTION-NAME] && \ chmod 600 /etc/NetworkManager/system-connections/[CONNECTION-NAME]
chmod 600 /etc/NetworkManager/system-connections/[CONNECTION-NAME] ```
```
Finally you must restart the NetworkManager service with `sudo systemctl restart NetworkManager`. And with that you should have a functioning wifi connection on WPA2-Enterprise! 8. Restart the NetworkManager service with `sudo systemctl restart NetworkManager`
With that you should have a functioning wifi connection on WPA2-Enterprise!