Linux command
nmcli-radio 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
nmcli radio wifi
Example
nmcli radio wifi [on|off]
Example
nmcli radio wwan
Example
nmcli radio wwan [on|off]
Example
nmcli radio
Example
nmcli radio all [on|off]
说明
nmcli radio controls the software radio switches for wireless interfaces managed by NetworkManager. This is equivalent to airplane mode functionality, allowing Wi-Fi and mobile broadband radios to be enabled or disabled independently. Disabling a radio switch turns off the corresponding hardware transmitter, preventing any wireless communication. This is different from just disconnecting—the radio itself is turned off. Without an on/off argument, the command displays the current state of the specified radio(s).
参数
- wifi, w
- Control or show Wi-Fi radio status
- wwan, ww
- Control or show WWAN (mobile broadband) radio status
- all, a
- Control all radio switches simultaneously
- on
- Enable the specified radio
- off
- Disable the specified radio
FAQ
What is the nmcli-radio command used for?
nmcli radio controls the software radio switches for wireless interfaces managed by NetworkManager. This is equivalent to airplane mode functionality, allowing Wi-Fi and mobile broadband radios to be enabled or disabled independently. Disabling a radio switch turns off the corresponding hardware transmitter, preventing any wireless communication. This is different from just disconnecting—the radio itself is turned off. Without an on/off argument, the command displays the current state of the specified radio(s).
How do I run a basic nmcli-radio example?
Run `nmcli radio wifi` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does wifi, w do in nmcli-radio?
Control or show Wi-Fi radio status