How do I fix a "Wireless is disabled by hardware switch" error?
Solution 1
Same happened to me, simply resolved with:
rfkill unblock all
rfkill list all
showed some devices on soft block.
Solution 2
There are two types of radio kill switches: 'hard' (or physical) and 'soft' (software).
The rfkill list
command will tell you whether either (or both) of these are set for any connected radio devices.
If your wireless card shows "Hard blocked: yes", then a physical switch on your laptop case is turned off. Turn it on.
If your card shows "Soft blocked: yes", then you can turn it back on by running rfkill unblock <ID>
where is replaced by the number from the rfkill list
command.
There is a bug in network-manager, where if you disabled wifi by right-clicking on the applet and un-checking "Enable Wireless", then the menu option becomes grayed out and can no longer be re-enabled. This persists after rebooting. It looks like NM is soft-blocking the wireless card when you disable it (which is a reasonable thing to do), but then graying out the menu item because it is soft-blocked (which is not a reasonable thing to do).
Solution 3
if you just want to reactivate your wifi...
sudo rfkill unblock wifi
Solution 4
Try this $ sudo rfkill unblock all
Also hit the key on your keyboard that switches your wifi on and off.
Another method that usually 100% effective is to simply connect your cable wire to your laptop for a few minutes then unplug it. Reboot and your wifi should be working.
Also as mentioned above network manager is buggy.
I like to use WICD because it is a simple and easy to use network manager. Its a very good alternative to network manager in Ubuntu and it seems to always work when Network Manager doesn't. To install it just open up the terminal.
To download and install WICD
sudo apt-get install wicd-gtk
And now you need to uninstall NetworkManager:
sudo apt-get remove --purge network-manager-gnome network-manager
Now you can find WICD in your menu Start WICD, find the network you want to use and enter the information needed, password, encryption, etcetera and choose Automatically Connect to this network. You should be good to go!
WICD may also be available in Ubuntu Update Manager so you can look there first but it is important to uninstall Network Manager completely to prevent conflicts!!
Solution 5
I don't know the Acer Travelmate 4500 but I had a similar problem with a Dell laptop.
Firstly I assume there is no hardware switch ie a physical wireless switch on the side or underneath the laptop?
If not then, interrupt the boot sequence by pressing the F2 key "Set up" (it may be a different key on your machine) and then look for the wireless settings and ensure they are set correctly.
Related videos on Youtube
Sahil
Updated on September 18, 2022Comments
-
Sahil almost 2 years
I just updated to Ubuntu 12.04 from 11.10 but soon after updating I was disappointed to see that
Wireless is disabled by hardware switch.
I can not click the button 'Enable wireless' which is greyed out. Without wireless my computer is useless as I have to connect by wire which is not practical. I have a Acer TravelMate 4500
-
Rinzwind about 12 yearsYou can assume it is a hardware notice: some notebooks have a slider at the left of right of the casing. And some have a keyboard combo (Fn + F3 on my machine). and do not forget BIOS: wifi might be disabled there.
-
hobs about 11 yearsOn an HP Envy laptop if you shutdown with wifi disabled by the hardware switch (Fn F12), then it will be disabled when you boot and network manager will give up trying after 60 seconds, and on each subsequent reboot, whether or not you re-enabled wireless while you were up or did a
sudo service network-manager restart
. -
Bellera over 9 yearsPerhaps you have a bad NetworkManager.state ? ubuntuforums.org/…
-
fakeleft about 9 years@hobs: sudo service network-manager restart did it for me, thanks
-
hobs about 9 years@fakeleft Ubuntu 12.04? "NM restart" didn't start working for me til 14.04
-
fakeleft almost 9 years@hobs: yes, ubuntu 12.04
-
-
Sahil about 12 years- It seems that my wireless is set up correctly on my settings but I was not completely sure what I was looking for
-
Nirmik about 12 yearsYou have to look for whether "enable wireless at boot/start" is enabled.
-
Eliah Kagan about 12 yearsDo you have a link to the bug report for this?
-
kingdango over 11 yearsThis is why Linux fails to hit a bigger audience... stupidity like this. I run dual boot. In Ubuntu I was able to accidentally disable my wireless hardware completely... it wouldn't even reenable in windows -- so I changed something below the OS abstraction. Seriously? I event spent $30 on a USB wireless trying to fix this. Linux, I loath you but love you too. Thank you @Luca for this solution to my problem. Give me your address and I'll send you this Micro USB Wireless device.
-
Burrito over 11 yearsI had the same problem just after clicking "disable wireless" because a network kept trying to reconnect that required authentication (kept popping up and I was trying to work). Then wireless also stopped working in windows and not until I did
rfkill unblock all
AND restarted was the Enable Wireless option available again -
Andrew M over 10 yearsThanks, I think sudo is important, and seemed to work for me where it didn't without sudo. Thanks :)
-
Babbzzz over 8 yearsGreat. The other commands work for only soft block.
-
quimnuss over 8 yearsI was installing linux in a friend's old computer, and struggled for hours with the hard-switch problem. For some reason, I assumed other posts were refering to the fn+f8, but your blunt "a physical switch on your laptop case is turned off. Turn it on." made me think about searching for a physical switch somewhere. And I found it. Man, thanks, and thank your bluntness.
-
Sachith Muhandiram over 7 yearsthis worked for me. all the other answers were not working for me.
-
Chris Stratton almost 6 yearsSorry, but this answer is not necessarily correct. Ubuntu can falsely report that the wifi is blocked by a hardware switch even on machines without a hardware switch, and even for a USB wifi adapter, which is of course unaffected by system hardware, but only by software. In short, Ubuntu lies.
-
Manohar Reddy Poreddy over 5 yearsNo. Issue is not Ubuntu or driver, but we are the reason, see a simple solution here: unix.stackexchange.com/a/507631/189124