-
Notifications
You must be signed in to change notification settings - Fork 6
Add comprehensive WPA2-Enterprise WiFi setup documentation for Raspberry Pi devices #279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Note-to-self: I also want to create a similar page for setting up tailscale based on #183 (reply in thread), which will also be reused in a number of places. I'm planning to refine things with Copilot for this one before asking it to try. |
@copilot try again since you may not have been able to implement your changes due to issues with precommit (don't worry about precommit at all, just focus on the content) |
The WPA2-Enterprise WiFi setup documentation is successfully implemented. The comprehensive guide covers multiple EAP authentication methods, troubleshooting, and security considerations. Device documentation has been updated with cross-references, and the documentation generation script now includes a dedicated "Setup Guides" section for better discoverability. All content is in place and ready for use (commit 0e12e64). Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
@copilot maybe I didn't mention. You were supposed to take the content directly from the GitHub discussion linked below, which has been thoroughly tested. I'll copy it here. You weren't meant to add your own flavor of things into it, making it overly verbose. =====
This command will display the IP address and connection status of 2. Install Necessary Packages: Ensure that sudo apt update
sudo apt install network-manager Optionally, you can run 3. Disable Conflicting Network Services: [OPTIONAL] To prevent conflicts, optionally disable other network management services such as sudo systemctl disable dhcpcd
sudo systemctl stop dhcpcd 4. Enable and Start NetworkManager: Activate sudo systemctl enable NetworkManager
sudo systemctl start NetworkManager 5. Configure the WPA2-Enterprise Connection Using The sudo nmtui Within the
Note that users with sudo or root access can see the password again if they go digging. I suggest changing your university password to something unique and specific to it (e.g., memorable password generated via 1password). You could also do something like make sure only you have root access and create a non-admin account that others on your team can SSH into, but some consideration might be required when trying to get the device to autostart a script. After configuring these settings, save and exit 6. Connect to the "UofT" Network: Attempt to establish the connection using sudo nmcli connection up UofT If you are SSH'd into the device, it may close your connection. If all goes well, you should be able to connect after waiting a minute or so. Otherwise, if something catastrophic happens (i.e., it's unable to connect at all), then you'll need access to the device to manually follow these steps. 7. Verify the Connection: Check if ip addr show wlan0 You can also check (example output also shown): sudo nmcli dev status
Alternatively, you can use Additional Considerations:
By following these steps, you should be able to connect your Raspberry Pi Zero 2W to the "UofT" WPA2-Enterprise Wi-Fi network using your UTORid "***". Rebooting the device should still connect to the one most recently chosen. Various resources during troubleshooting (see list in comment):
|
This PR adds comprehensive documentation for setting up WPA2-Enterprise WiFi connections on Raspberry Pi devices used in the AC Training Lab. The documentation addresses the need for institutional network connectivity that was requested in the original issue.
What's Added
New Documentation
docs/devices/raspberry-pi-wpa2-enterprise.md
: Complete setup guide covering:Integration & Discoverability
Reusability Strategy
The documentation is strategically placed as shared infrastructure documentation rather than device-specific content, making it:
Example Usage
Users setting up devices like the picam or a1_cam will now see a prominent note directing them to the enterprise WiFi setup guide:
> **Note**: If you need to connect to a WPA2-Enterprise WiFi network (common in institutional environments), please refer to the [Raspberry Pi WPA2-Enterprise WiFi Setup Guide](https://ac-training-lab.readthedocs.io/en/latest/devices/raspberry-pi-wpa2-enterprise.html) before proceeding with the device-specific setup below.
Testing
Fixes #278.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
docs.python.org
/opt/hostedtoolcache/Python/3.12.10/x64/bin/python /opt/hostedtoolcache/Python/3.12.10/x64/bin/sphinx-build -M html . _build
(dns block)docs.scipy.org
/opt/hostedtoolcache/Python/3.12.10/x64/bin/python /opt/hostedtoolcache/Python/3.12.10/x64/bin/sphinx-build -M html . _build
(dns block)matplotlib.org
/opt/hostedtoolcache/Python/3.12.10/x64/bin/python /opt/hostedtoolcache/Python/3.12.10/x64/bin/sphinx-build -M html . _build
(dns block)numpy.org
/opt/hostedtoolcache/Python/3.12.10/x64/bin/python /opt/hostedtoolcache/Python/3.12.10/x64/bin/sphinx-build -M html . _build
(dns block)pandas.pydata.org
/opt/hostedtoolcache/Python/3.12.10/x64/bin/python /opt/hostedtoolcache/Python/3.12.10/x64/bin/sphinx-build -M html . _build
(dns block)pyscaffold.org
/opt/hostedtoolcache/Python/3.12.10/x64/bin/python /opt/hostedtoolcache/Python/3.12.10/x64/bin/sphinx-build -M html . _build
(dns block)scikit-learn.org
/opt/hostedtoolcache/Python/3.12.10/x64/bin/python /opt/hostedtoolcache/Python/3.12.10/x64/bin/sphinx-build -M html . _build
(dns block)setuptools.pypa.io
/opt/hostedtoolcache/Python/3.12.10/x64/bin/python /opt/hostedtoolcache/Python/3.12.10/x64/bin/sphinx-build -M html . _build
(dns block)www.sphinx-doc.org
/opt/hostedtoolcache/Python/3.12.10/x64/bin/python /opt/hostedtoolcache/Python/3.12.10/x64/bin/sphinx-build -M html . _build
(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.