Skip to content

Instantly share code, notes, and snippets.

@ELEC3542
Last active December 21, 2019 09:53
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save ELEC3542/f284a1f8785a741538ba254f950509ee to your computer and use it in GitHub Desktop.
Save ELEC3542/f284a1f8785a741538ba254f950509ee to your computer and use it in GitHub Desktop.
HKU Wi-Fi on Raspberry Pi
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"
}
@ELEC3542
Copy link
Author

ELEC3542 commented Mar 20, 2017

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 the identity and password fields with your own credentials.

References

@MacroYau
Copy link

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