Solution to ‘Wireless disabled by Hardware switch’

Ohhh … Suddenly my wifi goes off( a combination of DELL with Ubuntu natty) and got a display – wireless disabled by hardware switch. Got down to googling and finally got this.

To get back your wifi to start working, type in the following:

$:  sudo rfkill list

You will get back something like this.

0: dell-wifi: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
1: dell-bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no
2: phy0: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
4: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

As you could see (0,2) the Wireless Lan has been soft blocked.  We need to unblock it to get it up and working properly.

$: sudo rfkill unblock 0

$: sudo rfkill unblock 2

 

Restart your networking

$: sudo /etc/init.d/networking restart

 

and yup! the wifi should be back now.

Advertisements

14 responses to this post.

  1. “rfkill unblock all” worked for me without any further commands – thanks for the pointer 🙂

    Reply

  2. i had this:
    0: hp-wifi: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
    1: phy0: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
    and after that i have this:
    0: hp-wifi: Wireless LAN
    Soft blocked: yes
    Hard blocked: yes
    1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

    Reply

  3. Posted by arise on November 22, 2011 at 2:53 pm

    Hai Sunil Kumar,
    I had the same problem but the above method didint work for me
    result of sudo rfkill list is as follows, please give a reply
    0: dell-wifi: Wireless LAN
    Soft blocked: yes
    Hard blocked: yes
    1: dell-bluetooth: Bluetooth
    Soft blocked: yes
    Hard blocked: yes
    2: brcmwl-0: Wireless LAN
    Soft blocked: no
    Hard blocked: yes

    Reply

  4. Posted by O on March 31, 2012 at 5:48 pm

    Thanks!
    It works for me.

    Reply

  5. Posted by Shirish on April 30, 2012 at 12:53 am

    HI
    I just upgraded to 12.04 Ubuntu, and I have following problem, if you have any help for me let me know please.

    shirish@shirish-Inspiron-1545:~$ rfkill list all

    0: brcmwl-0: Wireless LAN

    Soft blocked: no

    Hard blocked: yes

    1: dell-wifi: Wireless LAN

    Soft blocked: yes

    Hard blocked: yes

    2: dell-bluetooth: Bluetooth

    Soft blocked: yes

    Hard blocked: yes

    what should I do now ????? I tried the ¨rfkill unblock all¨ but it does not work.

    Reply

  6. Posted by kostas on May 10, 2012 at 5:14 am

    Many Thanks

    Reply

  7. 0: hp-wifi: Wireless LAN
    Soft blocked: no
    Hard blocked: yes
    1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

    —- I am having this. in ubuntu 12.04 with compaq presario 734TU.

    Tried but its not working..!!

    Reply

  8. Posted by abdulwadhood on October 5, 2012 at 4:05 pm

    Thanks for the advice. But somehow the commands didn’t work. Going to start from the scratch….

    PS: Man! Didn’t know YOU have a blog 🙂

    Reply

  9. Posted by agiaram on October 28, 2012 at 3:38 pm

    After i type this command, i get
    0: phy0: wireless LAN
    Soft blocked: no
    Hard blocked: no
    1: hp-WiFi: wireless LAN
    Soft blocked: no
    Hard blocked: no

    What now?

    Reply

  10. great terminal command,
    thanks a lot

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s