hostnamectl; # tested on Icon name: computer-desktop Chassis: desktop Operating System: Debian GNU/Linux 10 (buster) Kernel: Linux 4.19.0-8-amd64 Architecture: x86-64 su - root; # become root apt update apt install rfkill rfkill list all 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no rfkill block wifi rfkill list 0: phy0: Wireless LAN Soft blocked: yes Hard blocked: no
when soft blocked, the device will be not available to network manager of gnome desktop.
Disable the device corresponding to the given index. type is one of “all”, “wifi”, “wlan”, “bluetooth”, “uwb”, “ultrawideband”, “wimax”, “wwan”, “gps” or “fm”.
Enable the device corresponding to the given index. If the device is hard-blocked, e.g. via a hardware switch, it will remain unavailable though it is now soft-unblocked.
rfkill was originally written by Johannes Berg <johannes[:at:]sipsolutions[:dot:]net> and Marcel Holtmann <marcel[:at:]holtmann[:dot:]org>.
This manual page was written by Darren Salt <linux[:at:]youmustbejoking.demon.co[:dot:]uk>, for the Debian project (and may be used by others).
liked this article?
- only together we can create a truly free world
- plz support dwaves to keep it up & running!
- (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
- really really hate advertisement
- contribute: whenever a solution was found, blog about it for others to find!
- talk about, recommend & link to this blog and articles
- thanks to all who contribute!