Wpa supplicant.conf

From MS Computech
Revision as of 10:39, 9 July 2008 by Snifer (talk | contribs)
Jump to: navigation, search
# Plaintext (no encryption) network
#ctrl_interface=/var/run/wpa_supplicant
#network={
#	ssid="ZeroDay"
#	key_mgmt=NONE
#}
#---------------------------------------------------------
# Static WEP keys
  1. ctrl_interface=/var/run/wpa_supplicant
  2. network={
  3. ssid="example wep network"
  4. key_mgmt=NONE
  5. wep_key0="abcde"
  6. wep_key1=0102030405
  7. wep_tx_keyidx=0
  8. }
#-----------------------------------------------------------
# IEEE 802.1X with dynamic WEP keys using EAP-PEAP/MSCHAPv2
  • ctrl_interface=/var/run/wpa_supplicant
  • network={
  • ssid="example 802.1x network"
  • key_mgmt=IEEE8021X
  • eap=PEAP
  • phase2="auth=MSCHAPV2"
  • identity="user name"
  • password="password"
  • ca_cert="/etc/cert/ca.pem"
  • }
  • #-----------------------------------------------------------
    # WPA
    
  • ctrl_interface=/var/run/wpa_supplicant
  • ctrl_interface_group=0
  • eapol_version=1
  • ap_scan=2
  • fast_reauth=1
  • network={
  • ssid="ZeroDay"
  • proto=WPA
  • key_mgmt=WPA-PSK
  • pairwise=TKIP
  • group=TKIP
  • psk="secret_password"
  • }
  • #------------------------------------------------------------
    # WPA_2
    

    ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 ap_scan=1 network={

           ssid="ZeroDay"
           proto=RSN
           key_mgmt=WPA-PSK
           pairwise=CCMP TKIP
           group=CCMP TKIP
           psk="astalavista"
    
    }
    #------------------------------------------------------------
    # WPA2-EAP/CCMP using EAP-TLS
    #ctrl_interface=/var/run/wpa_supplicant
    #network={
    
    1. ssid="example wpa2-eap network"
    2. key_mgmt=WPA-EAP
    3. proto=WPA2
    4. pairwise=CCMP
    5. group=CCMP
    6. eap=TLS
    7. ca_cert="/etc/cert/ca.pem"
    8. private_key="/etc/cert/user.p12"
    9. private_key_passwd="PKCS#12 passhrase"
    10. }
    #-------------------------------------------------------------
    #For IPW2200
    
  • wpa_supplicant -d -c/etc/wpa_supplicant.conf -ieth1 -Dwext
  • For Madwifi
  • wpa_supplicant -d -c/etc/wpa_supplicant.conf -iath0 -Dmadwifi
  • # Catch all example that allows more or less all configuration modes
    
  • network={
  • ssid="ZeroDay"
  • scan_ssid=1
  • key_mgmt=WPA-EAP WPA-PSK IEEE8021X NONE
  • pairwise=CCMP TKIP
  • group=CCMP TKIP WEP104 WEP40
  • psk="astalavista"
  • eap=TTLS PEAP TLS
  • identity="[email protected]"
  • password="Deaw"
  • ca_cert="/etc/cert/ca.pem"
  • client_cert="/etc/cert/user.pem"
  • private_key="/etc/cert/user.prv"
  • private_key_passwd="password"
  • phase1="peaplabel=0"
  • }