Difference between revisions of "Wpa supplicant.conf"
From MS Computech
(New page: # Plaintext (no encryption) network<br>#ctrl_interface=/var/run/wpa_supplicant<br>#network={<br># ssid="ZeroDay"<br># key_mgmt=NONE<br>#} #------------------------------------------------...) |
|||
Line 1: | Line 1: | ||
− | # Plaintext (no encryption) network | + | <pre># Plaintext (no encryption) network |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
#ctrl_interface=/var/run/wpa_supplicant | #ctrl_interface=/var/run/wpa_supplicant | ||
− | + | #network={ | |
− | #network={< | + | # ssid="ZeroDay" |
− | + | # key_mgmt=NONE | |
− | #------------------------------------------------------------- | + | #}</pre><pre>#---------------------------------------------------------</pre><pre># Static WEP keys |
− | + | #ctrl_interface=/var/run/wpa_supplicant | |
− | #For IPW2200 | + | #network={ |
− | + | # ssid="example wep network" | |
− | # Catch all example that allows more or less all configuration modes | + | # key_mgmt=NONE |
+ | # wep_key0="abcde" | ||
+ | # wep_key1=0102030405 | ||
+ | # wep_tx_keyidx=0 | ||
+ | #}</pre><pre>#-----------------------------------------------------------</pre><pre># 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" | ||
+ | #}</pre><pre>#-----------------------------------------------------------</pre><pre># 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" | ||
+ | #}</pre><pre>#------------------------------------------------------------</pre><pre># 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" | ||
+ | }</pre><pre>#------------------------------------------------------------</pre><pre># WPA2-EAP/CCMP using EAP-TLS</pre><pre>#ctrl_interface=/var/run/wpa_supplicant</pre><pre>#network={ | ||
+ | # ssid="example wpa2-eap network" | ||
+ | # key_mgmt=WPA-EAP | ||
+ | # proto=WPA2 | ||
+ | # pairwise=CCMP | ||
+ | # group=CCMP | ||
+ | # eap=TLS | ||
+ | # ca_cert="/etc/cert/ca.pem" | ||
+ | # private_key="/etc/cert/user.p12" | ||
+ | # private_key_passwd="PKCS#12 passhrase" | ||
+ | #}</pre><pre>#-------------------------------------------------------------</pre><pre>#For IPW2200 | ||
+ | # wpa_supplicant -d -c/etc/wpa_supplicant.conf -ieth1 -Dwext | ||
+ | #For Madwifi | ||
+ | # wpa_supplicant -d -c/etc/wpa_supplicant.conf -iath0 -Dmadwifi</pre><pre># 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" | ||
+ | #} | ||
+ | </pre> |
Revision as of 10:39, 9 July 2008
# Plaintext (no encryption) network #ctrl_interface=/var/run/wpa_supplicant #network={ # ssid="ZeroDay" # key_mgmt=NONE #}
#---------------------------------------------------------
# Static WEP keys
- ctrl_interface=/var/run/wpa_supplicant
- network={
- ssid="example wep network"
- key_mgmt=NONE
- wep_key0="abcde"
- wep_key1=0102030405
- wep_tx_keyidx=0
- }
#-----------------------------------------------------------
# IEEE 802.1X with dynamic WEP keys using EAP-PEAP/MSCHAPv2
#-----------------------------------------------------------
# WPA
#------------------------------------------------------------
# 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={
- ssid="example wpa2-eap network"
- key_mgmt=WPA-EAP
- proto=WPA2
- pairwise=CCMP
- group=CCMP
- eap=TLS
- ca_cert="/etc/cert/ca.pem"
- private_key="/etc/cert/user.p12"
- private_key_passwd="PKCS#12 passhrase"
- }
#-------------------------------------------------------------
#For IPW2200
# Catch all example that allows more or less all configuration modes