[OpenWrt] failure to enable WiFi/wireless connection after DB120 clicks OpenWrt

Source: Internet
Author: User
DB120-WG, brush OpenWrt, WLAN light is not on, can not find wireless network, "wireless" Settings display "wireless device is not on or not connected", use "method 1 ", the two MAC addresses are the same and do not need to be changed. Use method 2 to solve the problem. Method 1: Use securecrt.exe to run the following command catsy

DB120-WG, brush OpenWrt, WLAN light is not on, can not find wireless network, "wireless" Settings display "wireless device is not on or not connected", use "method 1 ", the two MAC addresses are the same and do not need to be changed. Use method 2 to solve the problem. Method 1: Use securecrt.exe to run the following command cat/sy

DB120-WG, brush OpenWrt, WLAN light is not on, can not find wireless network, "wireless" Settings display "wireless device is not on or not connected", use "method 1 ", the two MAC addresses are the same and do not need to be changed. Use method 2 to solve the problem.

Method 1:

Use securecrt.exe to enter the ssh2 command line and execute the following command
Cat/sys/class/ieee80211/phy0/macaddress
The obtained mac address and
The option 'macadd' in/etc/config/wireless is compared. If it is different, change it to the above.
Then execute
/Sbin/wifi up.

Method 2:

Use securecrt.exe to enter the ssh2 command line, and enter ifconfig-a to see if the wireless NIC Driver is missing.
If the driver is used, create a new wireless configuration file.
Root @ OpenWrt :~ # Rm/etc/config/wireless # rebuilding the wireless Configuration File
Root @ OpenWrt :~ # Wifi detect>/etc/config/wireless
Root @ OpenWrt :~ # Vi/etc/config/wireless # delete or comment out option disabled 1
Root @ OpenWrt :~ # Wifi up

Note: The vi text editor is similar to the edit in dos.
For example, if the file exists in vi a.txt editing a.txt, the file is opened. If no file exists, the file is created.
In view mode, enter xdd (x is any number) to delete the row where the cursor is located and a total of x rows below, and directly enter dd to delete the current row.
Press the insert key to enter the edit mode (then press the insert key to switch between insert and overwrite modes)
Press ESC to exit the editing mode
Input in non-edit mode
: W file storage disk
: Q exit editing (you cannot exit directly when the file has been modified)
: Wq save and exit
: Q! Force exit (used when modification is not saved)

Reference: http://blog.163.com/qishuiliang@126/blog/static/42092645201139103444361/

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.