Difference between revisions of "User:Earnest/wpa supplicant"

From ArchWiki
Jump to: navigation, search
(Created page with "{{Lowercase title}} Category:Wireless Networking [http://hostap.epitest.fi/wpa_supplicant/ wpa_supplicant] is a cross-platform [https://en.wikipedia.org/wiki/Su...")
 
Line 1: Line 1:
{{Lowercase title}}    
+
{{Lowercase title}}
 
[[Category:Wireless Networking]]   
 
[[Category:Wireless Networking]]   
 
    
 
    
Line 16: Line 16:
 
{{hc|/etc/wpa_supplicant/foobar.conf|2=
 
{{hc|/etc/wpa_supplicant/foobar.conf|2=
 
   network={
 
   network={
     ...
+
     ssid= 
 
   }
 
   }
 
}}
 
}}
Line 28: Line 28:
 
  }
 
  }
  
{{ic|wpa_supplicant}} and {{ic|wpa_passphrase}} can be combined to easily associate with most WPA2 networks.
+
{{ic|wpa_supplicant}} and {{ic|wpa_passphrase}} can be combined to easily associate with most WPA2 networks:
 
  # wpa_supplicant -B -i [interface] -c <(wpa_passphrase [essid] [passphrase])
 
  # wpa_supplicant -B -i [interface] -c <(wpa_passphrase [essid] [passphrase])
 +
 +
===Maintaining a custom configuration===
 +
  
 
==Also See==
 
==Also See==
Line 37: Line 40:
  
 
==TODO==
 
==TODO==
* Some notes on using wpa_cli
 
* Brief digression on creating and managing configurations manually
 
 
* Add more practical examples? (wpa_supplicant.conf already lists many.)
 
* Add more practical examples? (wpa_supplicant.conf already lists many.)

Revision as of 17:38, 13 May 2013

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.

Installation

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.

Configuration

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:

/etc/wpa_supplicant/foobar.conf
network={
    ssid=  
  }

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

$ wpa_passphrase foobarssid foobarspassword
network={
   ssid="foobarssid"
   #psk="foobarspassword"
   psk=f5d1c49e15e679bebe385c37648d4141bc5c9297796a8a185d7bc5ac62f954e3
}

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])

Maintaining a custom configuration

Also See

TODO

  • Add more practical examples? (wpa_supplicant.conf already lists many.)