From cbfe325cb1ec1221e5d16fcf9c9da5cc27a3d408 Mon Sep 17 00:00:00 2001 From: git-em <56173216+git-em@users.noreply.github.com> Date: Wed, 9 Mar 2022 19:48:13 -0300 Subject: [PATCH] nmcli-agent, nmcli-radio: add page (#7863) --- pages/linux/nmcli-agent.md | 17 +++++++++++++++++ pages/linux/nmcli-radio.md | 29 +++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 pages/linux/nmcli-agent.md create mode 100644 pages/linux/nmcli-radio.md diff --git a/pages/linux/nmcli-agent.md b/pages/linux/nmcli-agent.md new file mode 100644 index 0000000000..c0f221b6fa --- /dev/null +++ b/pages/linux/nmcli-agent.md @@ -0,0 +1,17 @@ +# nmcli agent + +> Run nmcli as a NetworkManager secret agent or polkit agent. +> See also: `nmcli radio`. +> More information: . + +- Register nmcli as a secret agent and listen for secret requests: + +`nmcli agent secret` + +- Register nmcli as a polkit agent and listen for authorization requests: + +`nmcli agent polkit` + +- Register nmcli as a secret agent and a polkit agent: + +`nmcli agent all` diff --git a/pages/linux/nmcli-radio.md b/pages/linux/nmcli-radio.md new file mode 100644 index 0000000000..e3f16a2e43 --- /dev/null +++ b/pages/linux/nmcli-radio.md @@ -0,0 +1,29 @@ +# nmcli radio + +> Show radio switches status or enable and disable switches. +> See also: `nmcli agent`. +> More information: . + +- Show status of Wi-Fi in NetworkManager: + +`nmcli radio wifi` + +- Turn Wi-Fi on or off in NetworkManager: + +`nmcli radio wifi {{on|off}}` + +- Show status of WWAN in NetworkManager: + +`nmcli radio wwan` + +- Turn WWAN on or off in NetworkManager: + +`nmcli radio wwan {{on|off}}` + +- Show status of both switches in NetworkManager: + +`nmcli radio all` + +- Turn both switches on or off in NetworkManager: + +`nmcli radio all {{on|off}}`