wpa_supplicant(8)

wpa_supplicant8

Wpa/802.11i supplicant for wireless network devices

Usage

wpa_supplicant [-BdhKLqstuvW] [-b br_ifname] -c config-file [-C ctrl] [-D driver] [-f debug file] [-g global ctrl] -i ifname [-o override driver] [-O override ctrl] [-P pid file] [-N -i ifname -c config-file [-C ctrl] [-D -driver] [-p driver_param] [-b br_ifname] ...]

Overview

The wpa_supplicant utility is an implementation of the WPA Supplicant component, i.e., the part that runs in the client stations. It implements WPA key negotiation with a WPA Authenticator and EAP authentication with an Authentication Server. In addition, wpa_supplicant controls the roaming and IEEE 802.11 authentication/association support of the wlan(4) module and can be used to configure static WEP keys based on identified networks.

The wpa_supplicant utility is designed to be a “daemon” program that runs in the background and acts as the backend component controlling the wireless connection. It supports separate frontend programs such as the text-based wpa_cli(8) program.

The following arguments must be specified on the command line:

-i ifname

Use the specified wireless interface.

-c config-file

Use the settings in the specified configuration file when managing the wireless interface. See wpa_supplicant.conf(5) for a description of the configuration file syntax and contents.

Changes to the configuration file can be reloaded by sending a SIGHUP to the wpa_supplicant process or with the wpa_cli(8) utility, using “wpa_cli reconfigure”.

Options

The following options are available:

-b

Optional bridge interface name.

-B

Detach from the controlling terminal and run as a daemon process in the background.

-d

Enable debugging messages. If this option is supplied twice, more verbose messages are displayed.

-D

Driver name (can be multiple drivers: nl80211,wext).

-f

Log output to debug file instead of stdout.

Not on Linux.
-g

Global ctrl_interface.

Not on Linux.
-h

Show help text.

-K

Include key information in debugging output.

-L

Display the license for this program on the terminal and exit.

-N

Start describing a new interface.

-o

Overrides driver parameter for new interfaces.

Not on Linux.
-O

Override ctrl_interface parameter for new interfaces.

Not on Linux.
-p

Specify driver parameters.

-P

File in which to save the process PID.

-q

Decrease debugging verbosity (i.e., counteract the use of the -d flag).

-s

Send log messages through syslog(3) instead of to the terminal.

-t

Include timestamp in debug messages.

-v

Display version information on the terminal and exit.

-W

Wait for a control interface monitor before starting.

Releases

49 releases since FreeBSD 6.0-RELEASE; the text changed 35 times.

  1. 6.0–6.3
  2. 6.4
  3. 7.0
  4. 7.1
  5. 7.2
  6. 7.3
  7. 7.4
  8. 8.0
  9. 8.1
  10. 8.2
  11. 8.3
  12. 8.4
  13. 9.0
  14. 9.1
  15. 9.2
  16. 9.3
  17. 10.0
  18. 10.1
  19. 10.2
  20. 10.3
  21. 10.4
  22. 11.0
  23. 11.1
  24. 11.2
  25. 11.3
  26. 11.4
  27. 12.0
  28. 12.1
  29. 12.2
  30. 12.3
  31. 12.4
  32. 13.0–13.2
  33. 13.3–13.5
  34. 14.0–14.2
  35. 14.3–15.1
  36. 16.0

-D since FreeBSD 9.2-RELEASE; -N since FreeBSD 9.2-RELEASE; -O since FreeBSD 9.2-RELEASE; -P since FreeBSD 9.2-RELEASE; -W since FreeBSD 9.2-RELEASE; -b since FreeBSD 9.2-RELEASE; -f since FreeBSD 9.2-RELEASE; -g since FreeBSD 9.2-RELEASE; -o since FreeBSD 9.2-RELEASE; -p since FreeBSD 9.2-RELEASE; -s since FreeBSD 7.1-RELEASE; -t since FreeBSD 9.2-RELEASE.

-e until FreeBSD 9.1-RELEASE; -u until FreeBSD 11.4-RELEASE; -w until FreeBSD 9.1-RELEASE.

History

The wpa_supplicant utility first appeared in FreeBSD 6.0.

Authors

The wpa_supplicant utility was written by Jouni Malinen ⟨[email protected]⟩. This manual page is derived from the README file included in the wpa_supplicant distribution.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.