Skip to content

Instantly share code, notes, and snippets.

@si9ma
Last active July 24, 2018 01:53
Show Gist options
  • Save si9ma/eda3f99dd27aaf41b8f77effdeeb5ce2 to your computer and use it in GitHub Desktop.
Save si9ma/eda3f99dd27aaf41b8f77effdeeb5ce2 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"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment