User:earnest/wpa supplicant

From ArchWiki
< User:Earnest
Revision as of 16:56, 13 May 2013 by Earnest (talk | contribs) (Created page with "{{Lowercase title}} Category:Wireless Networking [ wpa_supplicant] is a cross-platform [")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

wpa_supplicant is a cross-platform WPA Supplicant with support for WPA and WPA2 (IEEE 802.11i / RSN (Robust Secure Network)). It is suitable for both desktop/laptop computers and embedded systems. wpa_supplicant is the IEEE 802.1X/WPA component that is used in the client stations. It implements key negotiation with a WPA Authenticator and it controls the roaming and IEEE 802.11 authentication/association of the wlan driver.


Install wpa_supplicant from the official repositories.

Optionally wpa_supplicant_gui can be installed which also provides wpa_gui; a graphical frontend for wpa_supplicant using the qt4 toolkit.


wpa_supplicant provides a reference configuration file located at /etc/wpa_supplicant/wpa_supplicant.conf which contains detailed documentation for the all available options and their utilisation.

In it's simplest form all the configuration file requires is a network block, for example:


This can easily be generated using the wpa_passphrase tool. For example:

$ wpa_passphrase foobarssid foobarspassword

wpa_supplicant and wpa_passphrase can be combined to easily associate with most WPA2 networks.

# wpa_supplicant -B -i [interface] -c <(wpa_passphrase [essid] [passphrase])

Also See


  • Some notes on using wpa_cli
  • Brief digression on creating and managing configurations manually
  • Add more practical examples? (wpa_supplicant.conf already lists many.)