NetworkManager/src/nmcli
Íñigo Huguet f05a286df4 nmcli: ignore non-base setting names for connection type
Not all setting names are valid values for the value of the connection's "type".
However, if a shortened value is introduced, all setting names are
considered, like in:
  Error: bad connection type: 'eth' is ambiguous: ethernet, ethtool

Note that ethtool is not a valid value for "type".

Fix it by considering only "base" settings names.
2024-08-01 12:08:20 +02: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 nmcli: always clean up readline on exit 2024-06-26 14:15:16 +02:00
common.h cli: Implement display of global metered state in nmcli general 2024-02-05 20:54:28 +01:00
connections.c nmcli: ignore non-base setting names for connection type 2024-08-01 12:08:20 +02:00
connections.h nmcli/trivial: rename monitor functions in internal header file 2023-02-08 10:11:15 +01:00
devices.c nmcli/dev: use secret agent for nmcli d [wifi] connect 2024-07-10 14:40:12 +02: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 gen-metadata-nm-settings-nmcli: add missing va_end in _prop_log() after using vaargs 2024-06-19 11:10:46 +00:00
gen-metadata-nm-settings-nmcli.xml.in libnm,nmcli: add a 'wifi.channel-width' setting 2024-07-10 14:53:32 +02: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 nmcli: always clean up readline on exit 2024-06-26 14:15:16 +02: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 libnm: use nm_setting_connection_get_controller() where possible 2024-03-12 09:54:31 +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!