Skip to content

Instantly share code, notes, and snippets.

@aspyct
Created September 17, 2018 13:10
Show Gist options
  • Save aspyct/994b603aaefe5996ca331f107d6abb67 to your computer and use it in GitHub Desktop.
Save aspyct/994b603aaefe5996ca331f107d6abb67 to your computer and use it in GitHub Desktop.
Connect to a WPA2 Enterprise network with wpa_supplicant with this .conf file. I used this to connect to my university's wireless network.
# Connect to a WPA2 Enterprise network with wpa_supplicant with this .conf file.
# I used this to connect to my university's wireless network on Arch linux.
# Here's the command I used:
#
# wpa_supplicant -i wlan0 -c ./wpa_supplicant.conf
#
network={
ssid="YOUR_SSID"
scan_ssid=1
key_mgmt=WPA-EAP
identity="YOUR_USERNAME"
password="YOUR_PASSWORD"
eap=PEAP
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
}
@soobinrho
Copy link

This works perfectly. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment