ctrl_interface=/var/run/wpa_supplicant network={ ssid="your network name" scan_ssid=1 # necessary for hidden networks key_mgmt=WPA-PSK psk="the password for your network" priority=0 # default priority - increase # to prefer this network # over others }