Difference between revisions of "Wpa supplicant.conf"
From MS Computech
Line 1: | Line 1: | ||
− | + | # 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 | ctrl_interface=/var/run/wpa_supplicant | ||
+ | # By default, only root (group 0) may use wpa_cli | ||
ctrl_interface_group=0 | ctrl_interface_group=0 | ||
+ | eapol_version=1 | ||
ap_scan=1 | ap_scan=1 | ||
+ | fast_reauth=1 | ||
+ | |||
+ | # WPA protected network, supply your own ESSID and WPAPSK here: | ||
network={ | 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 |
− | + | } | |
− | # | + | |
− | + | # Plaintext connection (no WPA, no IEEE 802.1X), | |
− | + | # nice for hotel/airport types of WiFi network. | |
− | + | # You'll need a recent version of wireless-tools for this! | |
− | + | network={ | |
− | + | ssid="any" | |
− | # | + | key_mgmt=NONE |
− | + | priority=2 | |
− | + | } | |
− | |||
− | |||
− | # | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 10:42, 9 July 2008
- 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
}
- Plaintext connection (no WPA, no IEEE 802.1X),
- nice for hotel/airport types of WiFi network.
- You'll need a recent version of wireless-tools for this!
network={
ssid="any" key_mgmt=NONE priority=2
}