brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: rfkill list shows whether Wi-Fi or Bluetooth is blocked by software or hardware

Hardware
~/tips/tip-hardware-rfkill-blocked-radio

rfkill list

Find out why a radio refuses to turn on.

Wi-Fi is configured, the driver is loaded, and still nothing happens. Before digging further, check whether the radio is simply blocked.

rfkill list

Each radio is listed with two flags. A soft block was set by software, such as an airplane mode toggle, and you can lift it. A hard block comes from a physical switch or the firmware.

Lift a soft block by type:

sudo rfkill unblock wifi
sudo rfkill unblock bluetooth
rfkill list

The reverse works too, which is a tidy way to switch off a radio you never use:

sudo rfkill block bluetooth

all is accepted as well, and so are the numbers from the list. On a Raspberry Pi or a mini PC that serves over a cable, I would block what is not needed.

Careful with that over SSH: blocking wifi on a machine you reached through Wi-Fi ends your session, and you need a keyboard to get it back.

Unblocking cannot override a hardware block. The man page says such a device stays unavailable even though it is now soft unblocked, so look for a switch, a function key combination or a setting in the firmware. An empty list means the kernel does not see any radio at all, which points at a driver or the card itself.

Further reading: rfkill man page

More Hardware tips disable_poe_fan=1 sudo dmidecode -s bios-version sudo lshw -short udevadm monitor Get-CimInstance Win32_BIOS | Select-Object Manufacturer, SMBIOSBIOSVersion, ReleaseDate, SerialNumber All Hardware tips (8) All topics

Link