mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:02:18 +02:00
nmcli-agent, nmcli-radio: add page (#7863)
This commit is contained in:
parent
42831a9be8
commit
cbfe325cb1
2 changed files with 46 additions and 0 deletions
17
pages/linux/nmcli-agent.md
Normal file
17
pages/linux/nmcli-agent.md
Normal file
|
@ -0,0 +1,17 @@
|
|||
# nmcli agent
|
||||
|
||||
> Run nmcli as a NetworkManager secret agent or polkit agent.
|
||||
> See also: `nmcli radio`.
|
||||
> More information: <https://networkmanager.dev/docs/api/latest/nmcli.html>.
|
||||
|
||||
- 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`
|
29
pages/linux/nmcli-radio.md
Normal file
29
pages/linux/nmcli-radio.md
Normal file
|
@ -0,0 +1,29 @@
|
|||
# nmcli radio
|
||||
|
||||
> Show radio switches status or enable and disable switches.
|
||||
> See also: `nmcli agent`.
|
||||
> More information: <https://networkmanager.dev/docs/api/latest/nmcli.html>.
|
||||
|
||||
- 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}}`
|
Loading…
Add table
Reference in a new issue