Contents
About rfkill
rfkill is a small tool to query the state of the rfkill switches, buttons and subsystem interfaces.
Getting rfkill
Release tarballs of rfkill are available from http://wireless.kernel.org/download/rfkill/.
Alternatively, you can download rfkill from git: http://git.sipsolutions.net/rfkill.git/, the web interface can also create tarballs for arbitrary revisions.
Help
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
Use
rfkill list
to get the rfkill index, then use
rfkill block <index>|<type>
or
rfkill unblock <index>|<type>