Ubuntunetwork-manager: solution to "disabled wireless network"

Source: Internet
Author: User
Ubuntu has recently encountered a situation where wiressdisabled has been disabled in wireless networks. When this problem occurs in the last time, you can directly reinstall it to solve the problem. This time, you don't want to reinstall it and find a solution. Ubuntu version: $ uname-aLinuxleo-laptop2.6.31-15-generic #50-0000tusmptuenov1014: 53: 52UTC2009x86_64GNU/Linux Nic Model

Ubuntu has recently encountered a situation where wiress disabled has been disabled in wireless networks. When this problem occurs in the last time, you can directly reinstall it to solve the problem. This time, you don't want to reinstall it and find a solution.

Ubuntu version:
$ Uname-
Linux leo-laptop 2.6.31-15-generic # 50-Ubuntu SMP Tue Nov 10 14:53:52 UTC 2009 x86_64 GNU/Linux

Nic model and driver:
$ Lspci | grep 3945
0c: 00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)

Solution:
Save the following content as a file and add executable permissions.
#! /Bin/bash
# Sudo iwlist wlan0 scanning essid Home
# Sudo/etc/init. d/network-manager restart
Sudo rmmod-f iwl3945
Sudo modprobe iwl3945 disable_hw_scan = 1
Sudo ifconfig wlan0 up
Sudo iwconfig wlan0 essid Home
Sudo iwconfig wlan0 channel 12
Sudo iwconfig wlan0 freq 2.467G
Sudo iwconfig wlan0 key for accessing the Wireless Network
Sudo iwconfig wlan0 ap 00: 1E: 58: 12: 6B: 62
Sudo iwconfig wlan0 rate auto
Sudo iwconfig wlan0 rts 250
Sudo dhclient wlan0
Ifconfig wlan0

Add a line of space at the end of the file
The following values are set based on the result of the sudo iwlist wlan0 scanning essid Home command.
Essid is the name of the wireless network.
A channel is a channel used by a wireless network.
Freq is the frequency of Wireless Networks
Rate is the rate of the specified wireless network.
Rts improves performance by hiding wireless networks. Its value is the package size.

To solve the problem, uninstall the module, reload the module, specify disable_hw_scan = 1, and then configure the wireless network card through iwconfig. Solve the problem that network-manager cannot operate the wireless network card.

On my computer, after completing the above operations, empathy still cannot access the Internet, but firefox can already open the network normally.
The following method can be used to solve the problem:
1. Run sudo/etc/init. d/network-manager restart. After the execution is complete, wlan0 is disconnected.
2. Execute the above script again and then OK.

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.