How to completely turn off wireless adapters? [Help]
When I execute
rfkill block all
or turn my Wifi adapter off in the cinnamon network panel, the light on the front of my laptop still stays on. In windows I could "Disable" the network adapter and the light would go out. I assume this is a shortfall of the linux driver.
I don't know how to list which driver I have installed / running.
Thanks
About this post
- Posted
- Archived
- Score
- 2 · 100% up
- Kind
- Text
- ID
- 2pgs61
6 comments
Maybe it's not a shortfall at all - what if your desire for the light to go off is an overfall? (lol)
Your wireless adapter can be completely turned off regardless of whether or not the light is on. So you already know how to completely turn it off.
The light is probably controlled by an ACPI event or something - if it is, it's completely separate from any wireless functionality, so try to find fault elsewhere. Maybe look into controlling the light separately? Or if you want, you could fix and patch the driver yourself, and share it with the world. Whoever wrote it did not have controlling the lights on your exact model of computer at the top of their list of things to do.
Good idea, I hadn't thought of the possibility that it was acpi event.
Does running this turn the light off?
Where "<interface>" is your wireless interface, on my computer it's "wlp3s0", so the command is:
When I want to turn off my wifi, that's typically how I do it. You can bring the interface back up later with:
I found the interface with
but when I ran your command, the light stayed on. Also note that the network applet in cinnamon continued to show SSIDs and their signal strength even after this command. Meanwhile I could not actually ping anything. Setting the interface back "up" did not fix the problem, but in cinnamon network manager hitting "off" then "on" again reset the network to a working state. Light stayed on.
Was the network applet updating the SSID and signal strength list? My guess would have been that it was caching the information from before you took the wireless interface offline.
I'm on a macbook air and don't have a network adapter light on it. I'm also using only netctl to manage my wireless connections, so I'm not sure how the network manager might come into play.
The only thing more extreme than taking the interface itself down that I can think of is what /u/leenucks suggests with using rmmod to unload your wireless driver. You'd then need to use modprobe to reload it when you wanted to turn wifi back on.
lspci -vv | less
search for your wireless card and there is your driver, then use rmmod to unload that one