Skip to content

wpa_supplicant.conf

Calin Crisan edited this page Jun 23, 2017 · 5 revisions

File Location And Role

The file lives at /data/etc/wpa_supplicant.conf. At first boot, it is created from the template file /boot/wpa_supplicant.conf, if present, or otherwise from /etc/wpa_supplicant.conf. The file is not present by default and should be created by the user, if wireless network connectivity is desired.

File Format

The file is used as a configuration for the wpa_supplicant daemon; the syntax is the one used to configure it. Following is a common example of a wpa_supplicant.conf file that will connect to the network named mynet with network key mykey1234:

update_config=1
ctrl_interface=/var/run/wpa_supplicant

network={
    ssid="mynet"
    psk="mynet1234"
}
Clone this wiki locally