Host environment: the GentooLinux3.1.10WPASupplicant toolkit allows you to connect to those APS that use WPA. Because it is only a beta version, its configuration method will often change & mdash; despite this, it can work well in most cases. Install wap_supplican... host environment: Gentoo Linux 3.1.10
The WPA Supplicant toolkit allows you to connect to those APS that use WPA. Because it is only a beta version, its configuration method will often change-even so, it can work well in most cases.
After wap_supplicant is installed, you can configure the wireless access point network by modifying/etc/wpa_supplicant/wpa_supplicant.conf.
The following is an instance of the configuration file.
# Do not modify the following line, otherwise it will not work properly
Ctrl_interface =/var/run/wpa_supplicant
# Ensure that only the root user can read the WPA configuration
Ctrl_interface_group = 0
# Use wpa_supplicant to scan and select an AP
Ap_scan = 1
# Simple Scenario: WPA-PSk password verification method. PSK is an ASCII password phrase. all valid encryption methods allow connection.
Network = {
Ssid = "simple"
Psk = "very secret passphrase"
# The higher the priority, the earlier the match can be made.
Priority = 5
}
# It is the same as the previous setting, but requires scanning of the specific SSID (for those APS that refuse to broadcast the SSID)
Network = {
Ssid = "second ssid"
Scan_ssid = 1
Psk = "very secret passphrase"
Priority = 2
}
# Only use the WPA-PSK method. Allow a combination of any valid encryption methods
Network = {
Ssid = "example"
Proto = WPA
Key_mgmt = WPA-PSK
Pairwise = CCMP TKIP
Group = ccmp tkip WEP104 WEP40
Psk = 06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382eb0417c72ac7bb
Priority = 2
}
# Plaintext connection mode (WPA and IEEE802.1X are not used)
Network = {
Ssid = "plaintext-test"
Key_mgmt = NONE
}
# Sharing the WEP key connection method (WPA and IEEE802.1X are not used)
Network = {
Ssid = "static-wep-test"
Key_mgmt = NONE
Wep_key0 = "abcde"
Wep_key1 = 0102030405
Wep_key2 = "1234567890123"
Wep_tx_keyidx = 0
Priority = 5
}
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.