Configure the Wi-Fi Interface

Source: Internet
Author: User


Configure the wireless network adapter (Wi-Fi) interface package wireless-tools contains a hook script/etc/network/if-pre-up.d/wireless-tools, making
Before the interface is activated, it is possible to set the wireless network adapter (802.11a/B/g. Use the iwconfig program to complete the settings. You can include any valid iwconfig parameter in/etc/network/interfaces with the prefix "wireless-" before the original parameter name. For example, to set eth0 so that eth0 is set to myessid and encryption key to 123456789e before being activated by DHCP, edit/etc/network/interfaces and add the following content: iface eth0 inet dhcpwireless-essid myessidwireless-key 123456789e note! If you use waproamd to set this interface, you should not use this method to set ESSID and key. When ifup is executed, waproamd has set ESSID and key.

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.