NetworkManager-WPA2-Enterpr.../README.md

29 lines
1.5 KiB
Markdown
Raw Permalink Normal View History

2015-07-01 22:43:31 +00:00
# NetworkManager-WPA2-Enterprise-Setup
How to set up NetworkManager for use on school and other WPA2-Enterprise Networks using only systemctl, and the text editor of your choice.
2015-07-01 23:02:39 +00:00
# Backstory
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
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`
2021-08-13 22:33:56 +00:00
2. 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
3. Change the following fields:
2015-07-01 23:02:39 +00:00
- `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.
2015-07-01 23:02:39 +00:00
2021-08-13 22:33:56 +00:00
4. Write and save the file, then run
2015-07-01 23:02:39 +00:00
```bash
chown root /etc/NetworkManager/system-connections/[CONNECTION-NAME] && \
chmod 600 /etc/NetworkManager/system-connections/[CONNECTION-NAME]
```
2015-07-01 23:02:39 +00:00
2021-08-13 22:33:56 +00:00
5. Restart the NetworkManager service with `sudo systemctl restart NetworkManager`
With that you should have a functioning wifi connection on WPA2-Enterprise!