Last active
December 21, 2019 09:53
-
-
Save ELEC3542/f284a1f8785a741538ba254f950509ee to your computer and use it in GitHub Desktop.
HKU Wi-Fi on Raspberry Pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
network={ | |
ssid="HKU" | |
scan_ssid=1 | |
key_mgmt=WPA-EAP | |
pairwise=CCMP TKIP | |
group=CCMP TKIP | |
eap=PEAP | |
identity="[HKU_PORTAL_ID]@hku.hk" | |
password="[HKU_PORTAL_PASSWORD]" | |
phase1="peapver=0" | |
phase2="MSCHAPV2" | |
} |
On Raspbian Buster, /etc/dhcpcd.conf
needs to be patched with the following lines for successful connection to WPA Enterprise networks:
interface wlan0
env ifwireless=1
env wpa_supplicant_driver=wext,nl80211
Reference: https://www.raspberrypi.org/forums/viewtopic.php?p=1510665#p1510665
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can connect your Raspberry Pi 3 to the "HKU" Wi-Fi access points on campus with the above configuration. Check out this tutorial to learn how to manage Wi-Fi connection via the
/etc/wpa_supplicant/wpa_supplicant.conf
configuration file. Do not forget to replace theidentity
andpassword
fields with your own credentials.References