最終更新:2024-12-10 (火) 12:05:48 (202d)  

rfkill
Top / rfkill

システム上の RFKill 対応のデバイスをクエリして変更できるコマンドラインツール

http://wireless.kernel.org/en/users/Documentation/rfkill

https://www.kernel.org/doc/Documentation/rfkill.txt

Ubuntu/パッケージ

ソースパッケージ

ソースコード

概要

  • 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: IEEE 802.11 / Bluetooth / NFC / UWB / WAN / WiMAX / FM?.

メモ

sysfs

help

  • Usage:
     rfkill [options] command [identifier ...]
    
    Tool for enabling and disabling wireless devices.
    
    Options:
     -J, --json             use JSON output format
     -n, --noheadings       don't print headings
     -o, --output <list>    define which output columns to use
         --output-all       output all columns
     -r, --raw              use the raw output format
    
     -h, --help             display this help
     -V, --version          display version
    
    Available output columns:
     DEVICE      kernel device name
     ID          device identifier value
     TYPE        device type name that can be used as identifier
     TYPE-DESC   device type description
     SOFT        status of software block
     HARD        status of hardware block
    
    Commands:
     help
     event
     list   [identifier]
     block   identifier
     unblock identifier
    
    For more details see rfkill(8).