# Linux Wifi Setup

1. Connect to the FCPSonboard network
2. Open a web browser and navigate to [fcps.edu](https://fcps.edu)
3. You should be redirected to a login website
4. Accept the terms

   ![Accept Terms](https://3496721629-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LKalf7rYxXVbB0kIEA2%2F-LQuzQZvlTsqSVSd-zx0%2F-LQv-SUKcurWwvcJM123%2Flinux-wifi-setup-1.png?generation=1541809495532224\&alt=media)
5. Select "FCPS Staff and Students"

   a. You could also sign in as a guest, that just changes the password you use in a later step.

   ![Select Login Category](https://3496721629-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LKalf7rYxXVbB0kIEA2%2F-LQuzQZvlTsqSVSd-zx0%2F-LQv-SUMZvYtJRD3LVce%2Flinux-wifi-setup-2.png?generation=1541809495417207\&alt=media)
6. Enter your FCPS Student ID and Password

   ![Enter Password](https://3496721629-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LKalf7rYxXVbB0kIEA2%2F-LQuzQZvlTsqSVSd-zx0%2F-LQv-SUOwAhDDwu3tQ88%2Flinux-wifi-setup-3.png?generation=1541809495431331\&alt=media)
7. Navigate to the "Other" network devices

   \--PICTURE NEEDED--
8. Download the certificates

   \--PICTURE NEEDED--
9. Now, navigate to your network manager.

   Click on the “Fairfax” wifi network in the list of networks. Enter the information in the box as shown.

   Make sure to select “TLS” as the authentication type and not “TTLS”.\
   As of somewhere around `NetworkManager` version 1.36.x (which ships by default in Ubuntu 22.04 LTS, Fedora 36, and probably some other major Linux distributions), `NetworkManager` will fail to connect if `Domain` is not properly set to `xprsscnctvm.fcps.edu` and will give **NO** helpful information about why.

![Network Manager](https://3496721629-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LKalf7rYxXVbB0kIEA2%2Fuploads%2FhbYylzS9mRDqlKlVHUJD%2Ffairfax-wifi-linux.png?alt=media\&token=16709494-4914-49ed-bc25-37a03c70752d)

1. If you are a cool person who uses `wpa_supplicant`, put this instead in your `/etc/wpa_supplicant/wpa_supplicant-<interface>.conf`

   ```
   network={
   ssid="Fairfax"
   key_mgmt=WPA-EAP
   eap=TLS
   identity="guest@fcps.edu"
   # or,
   # identity="<your-id>@byod.fcps.edu"
   ca_cert="/etc/wpa_supplicant/wifi_certs/FCPS.pem"
   client_cert="/etc/wpa_supplicant/wifi_certs/user.crt"
   private_key="/etc/wpa_supplicant/wifi_certs/user.key"
   private_key_passwd="<guest password or your own password>"
   }
   ```

   a. FCPS.pem == The first CA certificate (you don't need the websense one)

   b. user.crt == `openssl pkcs12 -in certificate.p12 -out user.crt`

   c. user.key == `certificate.p12`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.tjhsst.edu/guides/linux-wifi-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
