HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

nmcli radio — Show the status of radio switches or enable/disable them using NetworkManager. More information: <ht

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandshowstatusradiocliswitchesnmcli radio
linux

Problem

How to use the nmcli radio command: Show the status of radio switches or enable/disable them using NetworkManager. More information: <https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nmcli.html#radio>.

Solution

nmcli radio — Show the status of radio switches or enable/disable them using NetworkManager. More information: <https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nmcli.html#radio>.

Show status of Wi-Fi:
nmcli {{[r|radio]}} {{[w|wifi]}}


Turn Wi-Fi on or off:
nmcli {{[r|radio]}} {{[w|wifi]}} {{on|off}}


Show status of WWAN:
nmcli {{[r|radio]}} {{[ww|wwan]}}


Turn WWAN on or off:
nmcli {{[r|radio]}} {{[ww|wwan]}} {{on|off}}


Show status of both switches:
nmcli {{[r|radio]}}


Turn both switches on or off:
nmcli {{[r|radio]}} {{[a|all]}} {{on|off}}

Code Snippets

Show status of Wi-Fi

nmcli {{[r|radio]}} {{[w|wifi]}}

Turn Wi-Fi on or off

nmcli {{[r|radio]}} {{[w|wifi]}} {{on|off}}

Show status of WWAN

nmcli {{[r|radio]}} {{[ww|wwan]}}

Turn WWAN on or off

nmcli {{[r|radio]}} {{[ww|wwan]}} {{on|off}}

Show status of both switches

nmcli {{[r|radio]}}

Context

tldr-pages: linux/nmcli radio

Revisions (0)

No revisions yet.