This is just a sample configuration for wpa_supplicant.
You can download it to /etc/wpa_supplicant.conf and ajust to your needs!
enjoy! :)
# This is an example file.
# WPA Supplicant stuff
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
# Network configurations
# network={
# ssid="AP_NAME"
#
# # a higher value means a network is more desirable.
# # By default networks have priority 0.
# priority=10
#
# # Technique 0 scans for the
# # SSID using a broadcast Probe Request frame while 1 uses a
# # directed Probe Request frame. Access points that cloak them-
# # selves by not broadcasting their SSID require technique 1, but
# # beware that this scheme can cause scanning to take longer to complete
# scan_ssid=0
#
# # WPA-PSK (WPA pre-shared key), WPA-EAP (WPA using EAP authentication)
# # IEEE8021X (IEEE 802.1x using EAP authentication and,
# # optionally, dynamically generated WEP keys), NONE (plaintext or
# # static WEP keys).
# # If not set this defaults to "WPA-PSK WPA-EAP".
# key_mgmt=WPA-PSK
#
# psk="network_password"
#
#}
#network={
# ssid="MYUNPROTECTEDWLAN"
# scan_ssid=1
# key_mgmt=NONE
# priority=100
#}
#network={
# ssid="MYWEAKLYENCRYPTEDWLAN"
# key_mgmt=NONE
# wep_key0="12345" # or 13 characters, or a hexkey starting with 0x
# wep_tx_keyidx=0
#}
# home network; allow all valid ciphers
network={
ssid="home_AP"
priority=100
scan_ssid=1
key_mgmt=WPA-PSK
psk="123456789"
}
## work network;
#network={
# ssid="library_AP"
# priority=1
# scan_ssid=1
# key_mgmt=WPA-PSK
# psk="123456789"
#}
## work network;
#network={
# ssid="board_ap"
# priority=2
# scan_ssid=1
# key_mgmt=WPA-PSK
# psk="123456789"
#}
#
No comments:
Post a Comment