mirror of https://github.com/CrimsonTome/tldr.git
nmcli-general, nmcli-networking: add page (#8264)
* nmcli-general: add page * nmcli-networking: add pagepull/1/head
parent
1dc747127b
commit
236c68f8a8
|
@ -1,7 +1,7 @@
|
||||||
# nmcli agent
|
# nmcli agent
|
||||||
|
|
||||||
> Run nmcli as a NetworkManager secret agent or polkit 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>.
|
> More information: <https://networkmanager.dev/docs/api/latest/nmcli.html>.
|
||||||
|
|
||||||
- Register nmcli as a secret agent and listen for secret requests:
|
- Register nmcli as a secret agent and listen for secret requests:
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# nmcli connection
|
# nmcli connection
|
||||||
|
|
||||||
> Connection management with NetworkManager.
|
> Connection management with NetworkManager.
|
||||||
|
> This subcommand can also be called with `nmcli c`.
|
||||||
> More information: <https://networkmanager.dev/docs/api/latest/nmcli.html>.
|
> More information: <https://networkmanager.dev/docs/api/latest/nmcli.html>.
|
||||||
|
|
||||||
- List all NetworkManager connections (shows name, UUID, type and device):
|
- List all NetworkManager connections (shows name, UUID, type and device):
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# nmcli device
|
# nmcli device
|
||||||
|
|
||||||
> Hardware device management with NetworkManager.
|
> Hardware device management with NetworkManager.
|
||||||
|
> This subcommand can also be called with `nmcli d`.
|
||||||
> More information: <https://networkmanager.dev/docs/api/latest/nmcli.html>.
|
> More information: <https://networkmanager.dev/docs/api/latest/nmcli.html>.
|
||||||
|
|
||||||
- Print the statuses of all network interfaces:
|
- Print the statuses of all network interfaces:
|
||||||
|
|
|
@ -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,...}}`
|
|
@ -1,6 +1,7 @@
|
||||||
# nmcli monitor
|
# nmcli monitor
|
||||||
|
|
||||||
> Monitor changes to the NetworkManager connection status.
|
> 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>.
|
> More information: <https://networkmanager.dev/docs/api/latest/nmcli.html>.
|
||||||
|
|
||||||
- Start monitoring NetworkManager changes:
|
- Start monitoring NetworkManager changes:
|
||||||
|
|
|
@ -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`
|
|
@ -1,7 +1,7 @@
|
||||||
# nmcli radio
|
# nmcli radio
|
||||||
|
|
||||||
> Show radio switches status or enable and disable switches.
|
> 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>.
|
> More information: <https://networkmanager.dev/docs/api/latest/nmcli.html>.
|
||||||
|
|
||||||
- Show status of Wi-Fi in NetworkManager:
|
- Show status of Wi-Fi in NetworkManager:
|
||||||
|
|
Loading…
Reference in New Issue