Skip to content

Instantly share code, notes, and snippets.

@MacroYau
Forked from ELEC3542/wpa_supplicant.conf
Created December 21, 2019 09:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MacroYau/3b91254d8a6b680b1965438110a3da42 to your computer and use it in GitHub Desktop.
Save MacroYau/3b91254d8a6b680b1965438110a3da42 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"
}
@MacroYau
Copy link
Author

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