nmcli-general, nmcli-networking: add page (#8264)

* nmcli-general: add page

* nmcli-networking: add page
pull/1/head
marchersimon 2022-07-30 14:23:57 +02:00 committed by GitHub
parent 1dc747127b
commit 236c68f8a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 55 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# nmcli agent
> Run nmcli as a NetworkManager secret agent or polkit agent.
> See also: `nmcli radio`.
> This subcommand can also be called with `nmcli a`.
> More information: <https://networkmanager.dev/docs/api/latest/nmcli.html>.
- Register nmcli as a secret agent and listen for secret requests:

View File

@ -1,6 +1,7 @@
# nmcli connection
> Connection management with NetworkManager.
> This subcommand can also be called with `nmcli c`.
> More information: <https://networkmanager.dev/docs/api/latest/nmcli.html>.
- List all NetworkManager connections (shows name, UUID, type and device):

View File

@ -1,6 +1,7 @@
# nmcli device
> Hardware device management with NetworkManager.
> This subcommand can also be called with `nmcli d`.
> More information: <https://networkmanager.dev/docs/api/latest/nmcli.html>.
- Print the statuses of all network interfaces:

View File

@ -0,0 +1,29 @@
# nmcli general
> Manage general settings of NetworkManager.
> This subcommand can also be called with `nmcli g`.
> More information: <https://networkmanager.dev/docs/api/latest/nmcli.html>.
- Show the general status of NetworkManager:
`nmcli general`
- Show the hostname of the current device:
`nmcli general hostname`
- Change the hostname of the current device:
`sudo nmcli general hostname {{new_hostname}}`
- Show the permissions of NetworkManager:
`nmcli general permissions`
- Show the current logging level and domains:
`nmcli general logging`
- Set the logging level and/or domains (see `man NetworkManager.conf` for all available domains):
`nmcli general logging level {{INFO|OFF|ERR|WARN|DEBUG|TRACE}} domain {{domain_1,domain_2,...}}`

View File

@ -1,6 +1,7 @@
# nmcli monitor
> Monitor changes to the NetworkManager connection status.
> This subcommand can also be called with `nmcli m`.
> More information: <https://networkmanager.dev/docs/api/latest/nmcli.html>.
- Start monitoring NetworkManager changes:

View File

@ -0,0 +1,21 @@
# nmcli networking
> Manage the networking status of NetworkManager.
> This subcommand can also be called with `nmcli n`.
> More information: <https://networkmanager.dev/docs/api/latest/nmcli.html>.
- Show the networking status of NetworkManager:
`nmcli networking`
- Enable or disable networking and all interfaces managed by NetworkManager:
`nmcli networking {{on|off}}`
- Show the last known connectivity state:
`nmcli networking connectivity`
- Show the current connectivity state:
`nmcli networking connectivity check`

View File

@ -1,7 +1,7 @@
# nmcli radio
> Show radio switches status or enable and disable switches.
> See also: `nmcli agent`.
> This subcommand can also be called with `nmcli r`.
> More information: <https://networkmanager.dev/docs/api/latest/nmcli.html>.
- Show status of Wi-Fi in NetworkManager: