Wi-Fi Protected Access (WPA) client and IEEE 802.1X supplicant
wpa_supplicant-version [-Bd[d]hjKLNq[q]tuvW] [-b br_ifname] [-C ctrl_interface | -c config_file] [-D driver] [-e entropy_file] [-f output_file] [-G group] [-g global_ctrl_interface] [-I other_config_file] [-i ifname] [-m P2P_device_config_file] [-O override_ctrl_interface] [-o override_driver] [-P pid_file] [-p params_str] [-V vid[_readlength]] [-Z num]
QNX Neutrino
Most command-line options have global scope. Some are given per interface, and are valid only if you've specified at least one -i option; otherwise they're ignored. Option groups for different interfaces must be separated by an -N option.
This text string is passed to the selected driver interface. This option lets you configure driver-specific options without having to add new driver interface functionality.
Wireless networks don't require physical access to the network equipment in the same way as wired networks. This makes it easier for unauthorized users to passively monitor a network and capture all transmitted frames. In addition, unauthorized use of the network is much easier. In many cases, this can happen even without the user's explicit knowledge, because the wireless LAN adapter may have been configured to automatically join any available network.
Link-layer encryption can be used to provide a layer of security for wireless networks. The original wireless LAN standard, IEEE 802.11, included a simple encryption mechanism, WEP. But that proved to be flawed in many areas, and networks protected with WEP cannot be considered to be secure.
IEEE 802.1X authentication and frequently-changed dynamic WEP keys can be used to improve the network security, but even that has inherent security issues, due to the use of WEP for encryption. Wi-Fi Protected Access and the IEEE 802.11i amendment to the wireless LAN standard introduce a much-improved mechanism for securing wireless networks. IEEE 802.11i-enabled networks that are using CCMP (an encryption mechanism based on the strong cryptographic algorithm AES) can finally be called secure and used for applications that require efficient protection against unauthorized access.
The wpa_supplicant utility is an implementation of the WPA Supplicant component (i.e., the part that runs in client stations). It implements WPA key negotiation with a WPA Authenticator and EAP authentication with Authentication Server. In addition, it controls the roaming and IEEE 802.11 authentication/association of the wireless LAN driver.
The number in the wpa_supplicant utility name indicates the supported WPA version. For example, wpa_supplicant-2.5 supports version 2.5. The utility is designed to be a daemon that runs in the background and acts as the backend component controlling the wireless connection. It supports separate front-end programs such as the text-based wpa_cli.
Before wpa_supplicant can do its work, the network interface must be available. That means that the physical device must be present and enabled, and the driver for the device must have been loaded. The daemon exits immediately if the device isn't already available.
The wpa_supplicant utility is configured using a text file that lists all accepted networks and security policies, including pre-shared keys. See the sample configuration file, wpa_supplicant.conf, for detailed information about the configuration format and supported fields. Simpler sample configurations are available for plain text, static WEP, IEEE 802.1X with dynamic WEP (EAP-PEAP/MSCHAPv2), WPA-PSK/TKIP, and WPA2-EAP/CCMP (EAP-TLS). In addition, the utility can use the OpenSSL engine to avoid exposing private keys in the filesystem.
After wpa_supplicant has configured the network device, higher-level configuration such as DHCP may proceed. There are many ways to integrate wpa_supplicant into a machine's networking scripts, a few of which are described in the sections below.
The following steps are used when associating with an Access Point (AP) using WPA:
Supported WPA/IEEE 802.11i features:
The following methods are supported, but since they don't generate keying material, they can't be used with WPA or IEEE 802.1X WEP keying:
The wpa_supplicant requires the following libraries and binaries be present:
The wpa_supplicant also needs a read/write filesystem for creating a ctrl_interface directory (see the sample wpa_supplicant.conf configuration file).