Wpa supplicant.conf

From MS Computech
Revision as of 11:01, 9 July 2008 by Snifer (talk | contribs)
Jump to: navigation, search

/etc/wpa_supplicant.conf

You can use this config for wpa wpa2 CCMP TKIP encryption.

# This line enables the use of wpa_cli which is used by rc.wireless
# if possible (to check for successful association)

ctrl_interface=/var/run/wpa_supplicant

# By default, only root (group 0) may use wpa_cli

ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

# ================================================================= 

# WPA protected network, supply your own ESSID and WPAPSK here:

# network={
# scan_ssid=0
# ssid="your_essid_here"
# proto=WPA
# key_mgmt=WPA-PSK
# pairwise=CCMP TKIP
# group=CCMP TKIP WEP104 WEP40
# psk=your_psk_here
# }
  1. network={
  2. ssid="ZeroDay"
  3. proto=WPA
  4. key_mgmt=WPA-PSK
  5. pairwise=TKIP
  6. group=TKIP
  7. psk="secret_password"
  8. }
  9. ==================================================================
  1. WPA_2
  2. ctrl_interface=/var/run/wpa_supplicant
  3. ctrl_interface_group=0
  4. ap_scan=1

network={

       ssid="ZeroDay"
       proto=RSN
       key_mgmt=WPA-PSK
       pairwise=CCMP TKIP
       group=CCMP TKIP
       psk="astalavista"

}

  1. ===================================================================
  1. Plaintext connection (no WPA, no IEEE 802.1X),
  2. nice for hotel/airport types of WiFi network
  3. You'll need a recent version of wireless-tools for this!
  1. network={
  2. ssid="any"
  3. key_mgmt=NONE
  4. priority=2
  5. }
  1. ====================================================================