Skip to content

Instantly share code, notes, and snippets.

@rm77
Forked from aspyct/wpa_supplicant.conf
Created April 5, 2024 03:59
Show Gist options
  • Save rm77/6a6e587d57059d613a943de99ff29d85 to your computer and use it in GitHub Desktop.
Save rm77/6a6e587d57059d613a943de99ff29d85 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