Nmcli

From DWIKI
Revision as of 12:40, 3 October 2023 by Tony (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Examples

Show connection names

nmcli connection show

First field is connection name, eg "System eth0"


Links


Set nameservers

nmcli con mod ens01 ipv4.dns "127.0.0.1 192.168.12.6 62.212.131.101"


Disable ipv6

For example when getting errors about do-add-ip6-address

nmcli device modify eth0 ipv6.method "disabled"