Low Orbit Flux Logo 2 D

WPA Supplicant

sillyfrog Example SSID for this document
mypassword123 Example passphrase for this document
wlan0 Example interface for this document

You can generate a config file like this:


wpa_passphrase sillyfrog mypassword123 > /etc/wpa_supplicant/example.conf

You can setup a config file by hand like this:

/etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/run/wpa_supplicant ctrl_interface_group=wheel update_config=1 ap_scan=1 country=US network={ ssid="sillyfrog" psk=59e0d07fa4c7741797a4e394f38a5c321e3bed51d54ad5fcbd3f84bc7415d73d }

Start it up:


wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf

You can use a clear text password instead of a key like this:


psk="mypassword123"

No password

If you prefer not to use a password you can do so like this:


network={
   ssid="MYSSID"
   key_mgmt=NONE
}

References