Tag Archives: wpa_supplicant

Minimal ‘wpa_supplicant.conf’ entry for WPA2 connection

I always keep forgetting the entry in wpa_supplicant.conf. So here it is.

#ctrl_interface=/var/run/wpa_supplicant
#ctrl_interface_group=wheel
#OR
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
#ap_scan=1
#update_config=1
network={
ssid="NameOfSSID"
scan_ssid=1
proto=WPA2
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="password or output of wpa_passphrase here"
}