NM-SETTINGS-KEYFILE(5) NM-SETTINGS-KEYFILE(5) (NAME) nm-settings-keyfile - keyfile (DESCRIPTION) NetworkManager ( nm-settings-nmcli(5) ). . NetworkManager . NetworkManager.conf(5) . keyfile NetworkManager . .ini /etc/NetworkManager/system-connections/ /usr/lib/NetworkManager/system-connections/ /run/NetworkManager/system-connections/ . . 'root' . (FILE FORMAT) keyfile .ini . () - . keyfile key file GLib[1] ( '#' ; ). (nm-settings-nmcli(5)) . / . keyfile . keyfile . . IP "1.2.3.4/12 1.2.3.254" . ( addresses routes routing-rules) - ( address1 address2 ...). keyfile . NetworkManager ( nmcli con (re)load). keyfile. (ethernet): [connection] id=Main eth0 uuid=27afa607-ee36-43f0-b8c3-9d245cdc4bb3 type=802-3-ethernet autoconnect=true [ipv4] method=auto [802-3-ethernet] mac-address=00:23:5a:47:1f:71 WPA-EAP ( PEAP MSCHAPv2) (always-ask secret): [connection] id=CompanyWIFI uuid=cdac6154-a33b-4b15-9904-666772cfa5ee type=wifi autoconnect=false [wifi] ssid=CorpWLAN mode=infrastructure security=802-11-wireless-security [wifi-security] key-mgmt=wpa-eap [ipv4] method=auto [ipv6] method=auto [802-1x] eap=peap; identity=joe ca-cert=/home/joe/.cert/corp.crt phase1-peapver=1 phase2-auth=mschapv2 password-flags=2 openvpn: [connection] id=RedHat-openvpn uuid=7f9b3356-b210-4c0e-8123-bd116c9c280f type=vpn timestamp=1385401165 [vpn] service-type=org.freedesktop.NetworkManager.openvpn connection-type=password password-flags=3 remote=ovpn.my-company.com cipher=AES-256-CBC reneg-seconds=0 port=443 username=joe ca=/etc/openvpn/ISCA.pem tls-remote=ovpn.my-company.com [ipv6] method=auto [ipv4] method=auto ignore-auto-dns=true never-default=true (bridge) (bridge port): [connection] [connection] id=MainBridge id=br-port-1 uuid=171ae855-a0ab-42b6-bd0c-60f5812eea9d uuid=d6e8ae98-71f8-4b3d-9d2d-2e26048fe794 interface-name=MainBridge interface-name=em1 type=bridge type=ethernet controller=MainBridge [bridge] port-type=bridge interface-name=MainBridge VLAN: [connection] id=VLAN for building 4A uuid=8ce1c9e0-ce7a-4d2c-aa28-077dda09dd7e interface-name=VLAN-4A type=vlan [vlan] interface-name=VLAN-4A parent=eth0 id=4 (DETAILS) keyfile NetworkManager . NetworkManager keyfile . keyfile . keyfile . nm-settings-nmcli(5) . (Aliases). NetworkManager . keyfile . setting name keyfile alias 802-3-ethernet = ethernet 802-11-wireless = wifi 802-11-wireless-security = wifi-security . () 802-11-wireless +----------------------+-----------------+--------------------------------------------+-----------------------------------------+ | | | | | |(Property) | Keyfile | | | +----------------------+-----------------+--------------------------------------------+-----------------------------------------+ |ssid | | string ( | SSID | | | | - | Wi-Fi. | | | | ) | : ssid=Quick Net | +----------------------+-----------------+--------------------------------------------+-----------------------------------------+ |mac-address | | | MAC | | | | | | | | | | | | | | | ( | | | | | 00:22:68:12:79:A2) | | | | | | | | | | | | | | | | | | | | () ( | | | | | 0;34;104;18;121;162). | +----------------------+-----------------+--------------------------------------------+-----------------------------------------+ |cloned-mac-address | | | MAC | | | | | | | | | | | | | | | | | | | | | | | | | ( | | | | | 00:22:68:12:79:B2) | | | | | | | | | | | | | | | | | | | | () ( | | | | | 0;34;104;18;121;178). | +----------------------+-----------------+--------------------------------------------+-----------------------------------------+ |mac-address-blacklist | | | | | | | MAC ( | MAC. | | | | ) | : mac-address-blacklist= | | | | | 00:22:68:12:79:A6;00:22:68:12:79:78 | +----------------------+-----------------+--------------------------------------------+-----------------------------------------+ |mac-address-denylist | | | (denylist) | | | | MAC ( | MAC. | | | | ) | : mac-address-denylist= | | | | | 00:22:68:12:79:A6;00:22:68:12:79:78 | +----------------------+-----------------+--------------------------------------------+-----------------------------------------+ . () 802-3-ethernet +----------------------+-----------------+--------------------------------------------+-----------------------------------------+ | | | | | |(Property) | Keyfile | | | +----------------------+-----------------+--------------------------------------------+-----------------------------------------+ |mac-address | | | MAC | | | | | | | | | | | | | | | ( | | | | | 00:22:68:12:79:A2) | | | | | | | | | | | | | | | | | | | | () ( | | | | | 0;34;104;18;121;162) | +----------------------+-----------------+--------------------------------------------+-----------------------------------------+ |cloned-mac-address | | | MAC | | | | | | | | | | | | | | | | | | | | | | | | | ( | | | | | 00:22:68:12:79:B2) | | | | | | | | | | | | | | | | | | | | () ( | | | | | 0;34;104;18;121;178). | +----------------------+-----------------+--------------------------------------------+-----------------------------------------+ |mac-address-blacklist | | | | | | | MAC ( | MAC. | | | | ) | : mac-address-blacklist= | | | | | 00:22:68:12:79:A6;00:22:68:12:79:78 | +----------------------+-----------------+--------------------------------------------+-----------------------------------------+ |mac-address-denylist | | | (denylist) | | | | MAC ( | MAC. | | | | ) | : mac-address-denylist= | | | | | 00:22:68:12:79:A6;00:22:68:12:79:78 | +----------------------+-----------------+--------------------------------------------+-----------------------------------------+ . () bridge +----------------+-----------------+--------------------------------------------+-----------------------------------+ | | | | | |(Property) | Keyfile | | | +----------------+-----------------+--------------------------------------------+-----------------------------------+ |mac-address | | | MAC | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | () : | | | | | mac-address=00:22:68:12:79:A2 | | | | | mac-address=0;34;104;18;121;162; | +----------------+-----------------+--------------------------------------------+-----------------------------------+ . () connection +----------------+-----------------+--------------+-------------------------------------------+ | | | | | |(Property) | Keyfile | | | +----------------+-----------------+--------------+-------------------------------------------+ |uuid | uuid | | UUID | | | | | | | | | | . | | | | | | | | | | NetworkManager | | | | | ( | | | | | ) | | | | | UUID | | | | | . | | | | | : | | | | | uuid=7bdbe39a-126c-3f94-ac5e-8f156ed38383 | +----------------+-----------------+--------------+-------------------------------------------+ . () infiniband +----------------+-----------------+--------------------------------------------+-------------------------------------------------------------+ | | | | | |(Property) | Keyfile | | | +----------------+-----------------+--------------------------------------------+-------------------------------------------------------------+ |mac-address | | | MAC | | | | | | | | | | | | | | | | | | | | () | | | | | : mac-address= | | | | | 80:00:00:6d:fe:80:00:00:00:00:00:00:00:02:55:00:70:33:cf:01 | +----------------+-----------------+--------------------------------------------+-------------------------------------------------------------+ . () ipv4 +----------------+-----------------+---------------------------------+-----------------------------------------------+ | | | | | |(Property) | Keyfile | | | +----------------+-----------------+---------------------------------+-----------------------------------------------+ |dns | dns | | DNS. | | | | IP | : dns=1.2.3.4;8.8.8.8;8.8.4.4; | | | | | | +----------------+-----------------+---------------------------------+-----------------------------------------------+ |addresses | address1, | address/prefix-length[,gateway] | | | | address2, ... | | IPv4 | | | | | | | | | | . | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "gateway" | | | | | . | | | | | : address1=192.168.100.100/24 | | | | | address2=10.1.1.5/16 | | | | | address1=192.168.100.100/24,192.168.100.1 | +----------------+-----------------+---------------------------------+-----------------------------------------------+ |gateway | gateway | string | IP | | | | | . | | | | | | | | | | | | | | | "address1" | | | | | "address2" | | | | | | | | | | | | | | | | | | | | ( | | | | | "address1=192.168.100.1/24,192.168.100.254"). | | | | | "gateway" | | | | | | | | | | | | | | | "address*" | | | | | . | | | | | : gateway=192.168.100.254 | +----------------+-----------------+---------------------------------+-----------------------------------------------+ |routes | route1, route2, | route/plen[,gateway,metric] | IP. | | | ... | | : route1=8.8.8.0/24,10.1.1.1,77 | | | | | route2=7.7.0.0/16 | +----------------+-----------------+---------------------------------+-----------------------------------------------+ |routes | route1_options, | key=val[,key=val...] | | |(attributes) | route2_options, | | | | | ... | | | | | | | . | | | | | | | | | | ipv4.routes `man | | | | | nm-settings-nmcli` | | | | | . | | | | | : | | | | | route1_options=mtu=1000,onlink=true | +----------------+-----------------+---------------------------------+-----------------------------------------------+ |routing-rules | routing-rule1, | routing rule string | | | | routing-rule2, | | `ip rule | | | ... | | add` | | | | | . | | | | | "lookup" | | | | | "table" | | | | | | | | | | | | | | | . | | | | | : routing-rule1=priority 5 from | | | | | 192.167.4.0/24 table 45 | +----------------+-----------------+---------------------------------+-----------------------------------------------+ . () ipv6 +----------------+-----------------+-----------------------------+--------------------------------------------------------------+ | | | | | |(Property) | Keyfile | | | +----------------+-----------------+-----------------------------+--------------------------------------------------------------+ |dns | | | DNS. : | | | | IP | dns=2001:4860:4860::8888;2001:4860:4860::8844; | | | | | | +----------------+-----------------+-----------------------------+--------------------------------------------------------------+ |addresses | address1, | address/plen[,gateway] | IPv6 | | | address2, ... | | | | | | | . | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "gateway" | | | | | . : | | | | | address1=abbe::cafe/96 address2=2001::1234/56 | | | | | address1=fd01::2000/64;fd01::1 | +----------------+-----------------+-----------------------------+--------------------------------------------------------------+ |gateway | gateway | string | IP | | | | | . | | | | | | | | | | "address1" "address2" | | | | | | | | | | | | | | | | | | | | ( | | | | | "address1=fd01::2000/64;fd01::1"). | | | | | "gateway" | | | | | | | | | | "address*" | | | | | . : gateway=abbe::1 | +----------------+-----------------+-----------------------------+--------------------------------------------------------------+ |routes | route1, route2, | route/plen[,gateway,metric] | IP. : | | | ... | | route1=2001:4860:4860::/64,2620:52:0:2219:222:68ff:fe11:5403 | +----------------+-----------------+-----------------------------+--------------------------------------------------------------+ |routes | route1_options, | key=val[,key=val...] | | |(attributes) | route2_options, | | | | | ... | | . | | | | | | | | | | ipv6.routes `man nm-settings-nmcli` | | | | | . : | | | | | route1_options=mtu=1000,onlink=true | +----------------+-----------------+-----------------------------+--------------------------------------------------------------+ |routing-rules | routing-rule1, | routing rule string | | | | routing-rule2, | | `ip rule add` | | | ... | | . | | | | | : routing-rule1=priority 5 from | | | | | 2001:4860:4860::/64 table 45 | +----------------+-----------------+-----------------------------+--------------------------------------------------------------+ . () serial +----------------+-----------------+---------------+---------------------------+ | | | | | |(Property) | Keyfile | | | +----------------+-----------------+---------------+---------------------------+ |parity | | 'e' 'o' | | | | | 'n' | | | | | | (even) | | | | | (odd) | | | | | | | | | | (none). | | | | | | | | | | | | | | | | | | | | | | | | | NetworkManager | | | | | | | | | | | | | | | | | | | | | | | | | : | | | | | 69 ('E') | | | | | 111 ('o') | | | | | | | | | | 110 ('n') | | | | | | | | | | . | | | | | : parity=n | +----------------+-----------------+---------------+---------------------------+ . () vpn +----------------+--------------------------+--------------+--------------------------+ | | Keyfile | | | |(Property) | | | | +----------------+--------------------------+--------------+--------------------------+ |data | | | | | | | | | | | | | data | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [vpn] | | | | | | | | | | . | | | | | : | | | | | remote=ovpn.corp.com | | | | | cipher=AES-256-CBC | | | | | username=joe | +----------------+--------------------------+--------------+--------------------------+ |secrets | | | | | | | | | | | | | secrets | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [vpn-secrets] | | | | | | | | | | . | | | | | : | | | | | password=Popocatepetl | +----------------+--------------------------+--------------+--------------------------+ . () wifi-p2p +----------------+-----------------+--------------------------------------------+-----------------------------------+ | | | | | |(Property) | Keyfile | | | +----------------+-----------------+--------------------------------------------+-----------------------------------+ |peer | | | MAC | | | | | | | | | | | | | | | | | | | | | | | | | ( | | | | | 00:22:68:12:79:A2) | | | | | | | | | | | | | | | | | | | | | | | | | () | | | | | ( | | | | | 0;34;104;18;121;162). | +----------------+-----------------+--------------------------------------------+-----------------------------------+ . () wpan +----------------+-----------------+--------------------------------------------+--------------------------------+ | | | | | |(Property) | Keyfile | | | +----------------+-----------------+--------------------------------------------+--------------------------------+ |mac-address | | | MAC | | | | | | | | | | | | | | | | | | | | ( | | | | | 76:d8:9b:87:66:60:84:ee). | +----------------+-----------------+--------------------------------------------+--------------------------------+ (Secret flags) (secret) NetworkManager flags . keyfile -flags ( - ) : o 0 - ( NM) - . o 1 - ( / agent-owned) - . o 2 - ( / not-saved) - . o 4 - ( / not-required) - . . (FILES) /etc/NetworkManager/system-connections/* (SEE ALSO) nm-settings-nmcli(5), nm-settings-ifcfg-rh(5), NetworkManager(8), NetworkManager.conf(5), nmcli(1), nmcli-examples(7) (NOTES) 1. key file GLib https://developer.gnome.org/glib/stable/glib-Key-value-file- parser.html#glib-Key-value-file-parser.description NetworkManager 1.58.1 NM-SETTINGS-KEYFILE(5)