Some devices come with a
hard switch that lets you kill different types of RF radios: 802.11 /
Bluetooth. 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.
To get the current rfkill status, use rfkill list:
To get the current rfkill status, use rfkill list:
Note that an index (3) is assigned for wireless LAN interface.
To turn off the interface, use the command rfkill block <index> and to turn on the interface again, use rfkill unblock <index>
No comments:
Post a Comment