rfkill
Learn how to use rfkill to list, block, and unblock wireless devices such as Bluetooth, Wi-Fi, WWAN, NFC, and more on Linux systems
List available devices
rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
List all available options
No headings print everything in a one-liner
Block everything that is available
Block all wireless radios with rfkill
rfkill block bluetooth uwb wimax wwan gps fm nfc
Define which output columns to use
Block any module that is not builtin kernel by
echo "blacklist <module>" >> /etc/modprobe.d/blacklist.conf'
Block all wireless radios by default at boot via kernel command line
GRUB_CMDLINE_LINUX_DEFAULT="quiet rfkill.default_state=1"
Using OpenRC to disable Bluetooth
echo "rfkill block bluetooth" > /etc/local.d/disable-bluetooth.start
Disable Bluetooth at kernel level
printf '%s\n%s\n%s\n' bnep bluetooth btusb > /etc/modprobe.d/blacklist-bluetooth.conf