Usage of iwconfig (turn)

Source: Internet
Author: User
1. Turn on the wireless card power

Iwconfig Wlan0 Txpower on
2. List the wireless networks in the area

Iwlist wlan0 Scan
3. Assuming you want to connect to the network MyHome (that is, the network that Essid is MyHome), enter the command

Iwconfig wlan0 Essid "MyHome"
If the network is encrypted and the password is 0123456789, enter the command

Iwconfig wlan0 Essid "MyHome" key 0123-4567-89
4. If normal, enter

Iwconfig Wlan0
You can see the various parameters that are connected properly.
5. Enable the wireless network card

Ifconfig wlan0 up
6. If you are using DHCP to obtain IP, then use dhclient or DHCPCD to obtain IP

Dhclient Wlan0
Or

DHCPCD Wlan0
7. Now the wireless network card should be able to use the normal

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.