Iwconfig iwlist Usage

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

Iwconfig wlan0 txpower No #iwconfig在树莓也没有这个


2. List the wireless networks in the area

Iwconfig wlan0 Scan #iwconfig在树莓里面已经没有scanning了, you may need to use the Iwlist

Iwlist wlan0 Scanning


3. Assuming that you want to connect to a network myhome (that is, Essid is a myhome network), then 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 parameters that are properly connected.


5. Start the wireless card

Ifconfig wlan0 up


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

Dhclient Wlan0 or DHCPCD wlan0


Now the wireless network card should be able to use normally.

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.