1
0
Fork 0
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:
git-em 2022-03-09 19:48:13 -03:00 committed by GitHub
parent 42831a9be8
commit cbfe325cb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 46 additions and 0 deletions

View 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`

View 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}}`