Configure WPA2 encrypted wireless network under Linux terminal

Source: Internet
Author: User

Generate Profile Template
wpa_passphrase <yourAPssid> <yourpassphrase> > /etc/wpa_supplicant/wpa_supplicant.conf
Refer to the configuration below to complement the above configuration

For wpa2-personal

ctrl_interface=/var/run/wpa_supplicantctrl_interface_group=0ap_scan=1network={        ssid= "My_network"        Proto =RSN        key_mgmt=wpa-psk        pairwise=ccmp tkip        group=ccmp tkip        psk= "Secret_password"}
Configuration key Points Description
Network={ssid= "Mywireless" #请非常注意你ssid名的大小写. PROTO=RSN #Robust Security Network: A robust, secure web that indicates that this network configuration is more secure than WEP mode. KEY_MGMT=WPA-PSK #请无论你是使用WPA-psk,wpa2-psk, please enter the WPA-PSK here. This seems to Wpa_supplicant Wpa-psk,wpa2-psk is wpa-pskpairwise=ccmp tkip #关键点, Wpa_supplicant currently does not recognize the AES Encryption Standard GROUP=CCMP TKIP # Ibid. psk=7b271c9a7c8a6ac07d12403a1f0792d7d92b5957ff8dfd56481ced43ec6a6515 #wpa_supplicant算出来的加密密码.
Manually apply the configuration
Wpa_supplicant-b-I wlan0-c/etc/wpa_supplicant/wpa_supplicant.confdhclient wlan0
Write configuration to/etc/network/interfaces (tested under Debian 8.0, other versions not tested)
Allow-hotplug wlan0iface wlan0 inet staticaddress 192.168.1.101netmask 255.255.255.0gateway 192.168.1.1pre-up Wpa_ Supplicant-b-I wlan0-c/etc/wpa_supplicant/wpa_supplicant.conf
Reference documents
    • Http://blog.wp08.com/article/uncategorized/754.html
    • Http://www.360doc.com/content/12/0709/15/9424702_223191508.shtml

Configure WPA2 encrypted wireless network under Linux terminal

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.