NOTE: this page is for archival only, see the note at the end of the page.

About rfkill

rfkill is a small userspace tool to query the state of the rfkill switches, buttons and subsystem interfaces. Some devices come with a hard switch that lets you kill different types of RF radios: 802.11 / Bluetooth / NFC / UWB / WAN / WIMAX / FM. Some times these buttons may kill more than one RF type. The Linux kernel rfkill subsystem exposes these hardware buttons and lets userspace query its status and set its status through a /dev/rfkill. Given that at times some RF devices do not have hardware rfkill buttons rfkill the Linux kernel also exposes software rfkill capabilities that allows userspace to mimic a hardware rfkill event and turn on or off RF.

Getting rfkill

Release tarballs of rfkill are available from

Alternatively, you can download rfkill from git:


Just enter

rfkill help

on your command line and it will print out the commands it supports.

Printing the current rfkill status

rfkill list

Listening to events

Just use

rfkill event

Setting/clearing a soft block


rfkill list

to get the rfkill index, then use

rfkill block <index>|<type>


rfkill unblock <index>|<type>

This is a static dump of the wiki, taken after locking it in January 2015. The new wiki is at
versions of this page: last, v8, v7, v6, v5, v4, v3, v2, v1