Ubuntu wifi:operation not possible due to Rf-kill "reprint"

Source: Internet
Author: User

Some people has been experiencing WiFi problems with Ubuntu 10.10 since a update that happend just before Christmas 2010 . The problem seems to is a bug in a kernel module, which prevents the Rfkill ' s soft and hard block from syncing correctly.

In practice this means you can press your laptop's WiFi button as often as you want, it doesn ' t change anything. Your Wireless adapter would always appear as disabled. If you try to start the wireless interface manually you get the following error message:

[email protected]:~# sudo ifconfig wlan0 up
Siocsifflags:operation not possible due to Rf-kill
If you do a Rfkill List AllYou should get a output similar to this:
[Email protected]:~$ sudo rfkill list all
0:hp-wifi:wireless LAN
Soft Blocked:yes
Hard Blocked:no
1:phy0:wireless LAN
Soft Blocked:yes
Hard Blocked:no
Depending on the state of your WiFi button the Hard blockedWould either be YesOr No. Press the WiFi button and run Rfkill List AllAgain to make sure the value for Hard blockedChanges.

The actual problem is, the Soft blockedValue is always set to Yes, because for some reason the syncing between the hardware block and the software block doesn ' t work as supposed. To override this behavior, you can just run Rfkill unblock WiFiAnd it should work again. Double check by entering Rfkill List AllAgain and make sure it looks like this, with all values set to No:
[email protected]:~$ sudo rfkill list all
0:hp-wifi:wireless LAN
Soft Blocked:no
Hard Blocked:no
1:phy0:wireless LAN
Soft Blocked:no
Hard Blocked:no
If you then run ifconfig wlan0 up(or enable the wireless via your desktop ' s network manager) you should is able to connect to a wireless network again with Out of any further issues.

The configuration, which I ' ve been using:
    • Compaq Presario CQ60
    • Atheros AR5001 Wireless Network Adapter
    • Ubuntu 10.10
I also read, that some people could fix it, by turning off the Wi-Fi button during the boot process and then switch it on a Gain, once the system is up and running. It seems the system expects the hard block to be set to off. This was still a bug, but it could explain, and the soft block didn ' t sync with the hard block any more. FROM:HTTP://BL og.csdn.net/cat_lover/article/details/7088873 "================================== UBUNTU14.04 also has the same problem, press the computer to restart before you can connect to WiFi. The procedure is this, first press the laptop shortcut key or switch off the wireless network, and then perform sudo rfkill list all---->ifconfig wlan0 up---> Restart your computer.

To view the network card enabled status:

Perform ifconfig-a display all network card information, without adding the-a parameter, can only check the network card enabled.
Example: Nic name eth0
Enable NIC naming ifconfig eth0 up
Disable NIC naming ifconfig eth0 down

Ubuntu wifi:operation not possible due to Rf-kill "reprint"

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.