Skip to content

Instantly share code, notes, and snippets.

@tomvo
Created September 20, 2016 05:56
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 tomvo/7a1cf9964585ea189c7cf63ef09b583d to your computer and use it in GitHub Desktop.
Save tomvo/7a1cf9964585ea189c7cf63ef09b583d to your computer and use it in GitHub Desktop.
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="My Wi-Fi"
psk="CHANGEME"
# Protocol type can be: RSN (for WPA2) and WPA (for WPA1)
proto=RSN
# Key management type can be: WPA-PSK or WPA-EAP (Pre-Shared or Enterprise)
key_mgmt=WPA-PSK
# Pairwise can be CCMP or TKIP (for WPA2 or WPA1)
pairwise=CCMP
#Authorization option should be OPEN for both WPA1/WPA2 (in less commonly used are SHARED and LEAP)
auth_alg=OPEN
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment