# Where to create a socket for the control of the wpa_supplicant process
ctrl_interface=/var/run/wpa_supplicant
# Which group is allowed to configure wpa_supplicant?
# In this example, this is only root. You may want to create a wlan group (or use another privileged group like wheel)
ctrl_interface_group=0
# Let wpa_supplicant manage the task of scanning
ap_scan=1
# Here we start with the network list
#Prototype:
network={
psk="passwd"
ssid="CrapWap"
#(other stuff)
}
# A WPA network with pre-shared keys (WPA-PSK)
network={
ssid="CrapWap"
#If you use a passphrase, have a look at the wpa_passphrase program which came with wpa_supplicant
psk="passwd"
}
# An open network
network={
psk="passwd"
ssid="CrapWap"
key_mgmt=WPA-PSK
}