Linux wireless Nic command configuration

Source: Internet
Author: User


The general idea of linux wireless network card command configuration is as follows: Use iwconfig to enable the power of the wireless network card, and find the wireless network in the region to connect to the corresponding wireless network www.2cto.com to enable the wireless network card through ifconfig, and specify or obtain the IP # Turn on the wireless network card power iwconfig wlan0 txpower on # list the wireless network iwlist wlan0 scan in the region
# If you want to connect to the network MyHome (that is, the network where essid is MyHome), enter the command iwconfig wlan0 essid "MyHome" www.2cto.com # If the network is encrypted, the password is 0123456789, enter the command iwconfig wlan0 essid "MyHome" key 0123-4567-89 # If it is normal, enter the following command to view the parameters of the normal connection.
Iwconfig wlan0 # enable the network ifconfig wlan0 up for the wireless network adapter # If DHCP is used to obtain the IP address, use dhclient or dhcpcd
Ip dhclient wlan0 # Or dhcpcd wlan0 # The Wireless Network Adapter should be ready for use now
 

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.