NetworkManager/src/nmcli
Fernando Fernandez Mancera bd38a19832 connection: add support to down-on-poweroff
The new option at NMSettingConnection allow the user to specify if the
connection needs to be down when powering off the system. This is useful
for IP address removal prior powering off. In order to accomplish that,
we listen on "Shutdown" systemd DBus signal.

The option is set to FALSE by default, it can be specified globally on
configuration file or per profile.
2024-03-04 18:16:54 +00:00
..
agent.c nmcli: replace all uses of g_print()/g_printerr() with nmc_print()/nmc_printerr() 2023-02-08 10:11:18 +01:00
common.c libnmc: allow user input in ECHO mode for 2FA challenges 2024-02-15 09:45:44 +00:00
common.h cli: Implement display of global metered state in nmcli general 2024-02-05 20:54:28 +01:00
connections.c libnm: add generic.device-handler property 2024-02-21 11:16:01 +01:00
connections.h nmcli/trivial: rename monitor functions in internal header file 2023-02-08 10:11:15 +01:00
devices.c cli: sort nmcli device output by active-connection first 2023-11-15 09:34:47 +01:00
devices.h nmcli/trivial: rename monitor functions in internal header file 2023-02-08 10:11:15 +01:00
gen-metadata-nm-settings-nmcli.c wifi: add "wifi.cloned-mac-address=stable-ssid" 2023-11-16 13:07:54 +01:00
gen-metadata-nm-settings-nmcli.xml.in connection: add support to down-on-poweroff 2024-03-04 18:16:54 +00:00
general.c cli: Implement display of global metered state in nmcli general 2024-02-05 20:54:28 +01:00
meson.build nmcli: rename "generate-docs-nm-settings-nmcli" to "gen-metadata-nm-settings-nmcli" 2022-10-31 09:11:30 +01:00
nmcli-completion nmcli-completion: fix support for embedded quote characters 2022-08-04 08:59:01 +02:00
nmcli.c cli: honor CLICOLOR_FORCE= variable to enable colors with nmcli 2023-09-25 09:02:17 +00:00
nmcli.h nmcli: move offline flag from NmCli to NmcConfig struct 2023-07-17 12:56:03 +02:00
polkit-agent.c nmcli: replace all uses of g_print()/g_printerr() with nmc_print()/nmc_printerr() 2023-02-08 10:11:18 +01:00
polkit-agent.h cli: move from "clients/cli/" to "src/nmcli/" 2021-03-15 17:10:54 +01:00
README.md all: add some README.md files describing the purpose of our sources 2021-08-19 17:51:11 +02:00
settings.c all: use the new NMSettingConnection Controller property 2024-01-11 00:19:14 +01:00
settings.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
utils.c all: use nm_strv_empty_new() helper 2023-11-30 15:53:21 +01:00
utils.h cli: Implement display of global metered state in nmcli general 2024-02-05 20:54:28 +01:00

nmcli

The command line user interface of NetworkManager. It uses the D-Bus API of NetworkManager (via libnm).

See:

  • man 1 nmcli ([www])
  • man 7 nmcli-examples ([www])
  • man 5 nm-settings-nmcli ([www])

Try also with bash-completion!