From 236c68f8a8518255b7ca43f17ebe6390430cf853 Mon Sep 17 00:00:00 2001 From: marchersimon <50295997+marchersimon@users.noreply.github.com> Date: Sat, 30 Jul 2022 14:23:57 +0200 Subject: [PATCH] nmcli-general, nmcli-networking: add page (#8264) * nmcli-general: add page * nmcli-networking: add page --- pages/linux/nmcli-agent.md | 2 +- pages/linux/nmcli-connection.md | 1 + pages/linux/nmcli-device.md | 1 + pages/linux/nmcli-general.md | 29 +++++++++++++++++++++++++++++ pages/linux/nmcli-monitor.md | 1 + pages/linux/nmcli-networking.md | 21 +++++++++++++++++++++ pages/linux/nmcli-radio.md | 2 +- 7 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 pages/linux/nmcli-general.md create mode 100644 pages/linux/nmcli-networking.md diff --git a/pages/linux/nmcli-agent.md b/pages/linux/nmcli-agent.md index c0f221b6f..228ba4860 100644 --- a/pages/linux/nmcli-agent.md +++ b/pages/linux/nmcli-agent.md @@ -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: . - Register nmcli as a secret agent and listen for secret requests: diff --git a/pages/linux/nmcli-connection.md b/pages/linux/nmcli-connection.md index 8b43446c6..84220c9f4 100644 --- a/pages/linux/nmcli-connection.md +++ b/pages/linux/nmcli-connection.md @@ -1,6 +1,7 @@ # nmcli connection > Connection management with NetworkManager. +> This subcommand can also be called with `nmcli c`. > More information: . - List all NetworkManager connections (shows name, UUID, type and device): diff --git a/pages/linux/nmcli-device.md b/pages/linux/nmcli-device.md index 5e5bbf949..16aba36d7 100644 --- a/pages/linux/nmcli-device.md +++ b/pages/linux/nmcli-device.md @@ -1,6 +1,7 @@ # nmcli device > Hardware device management with NetworkManager. +> This subcommand can also be called with `nmcli d`. > More information: . - Print the statuses of all network interfaces: diff --git a/pages/linux/nmcli-general.md b/pages/linux/nmcli-general.md new file mode 100644 index 000000000..a1612d2a5 --- /dev/null +++ b/pages/linux/nmcli-general.md @@ -0,0 +1,29 @@ +# nmcli general + +> Manage general settings of NetworkManager. +> This subcommand can also be called with `nmcli g`. +> More information: . + +- 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,...}}` diff --git a/pages/linux/nmcli-monitor.md b/pages/linux/nmcli-monitor.md index f33e00ff6..6dbcab09e 100644 --- a/pages/linux/nmcli-monitor.md +++ b/pages/linux/nmcli-monitor.md @@ -1,6 +1,7 @@ # nmcli monitor > Monitor changes to the NetworkManager connection status. +> This subcommand can also be called with `nmcli m`. > More information: . - Start monitoring NetworkManager changes: diff --git a/pages/linux/nmcli-networking.md b/pages/linux/nmcli-networking.md new file mode 100644 index 000000000..d1d49ed34 --- /dev/null +++ b/pages/linux/nmcli-networking.md @@ -0,0 +1,21 @@ +# nmcli networking + +> Manage the networking status of NetworkManager. +> This subcommand can also be called with `nmcli n`. +> More information: . + +- 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` diff --git a/pages/linux/nmcli-radio.md b/pages/linux/nmcli-radio.md index e3f16a2e4..8c5c9d96b 100644 --- a/pages/linux/nmcli-radio.md +++ b/pages/linux/nmcli-radio.md @@ -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: . - Show status of Wi-Fi in NetworkManager: