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"
}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s