man: update NetworkManager.conf.5

Mention that no-auto-default can take interface names now, and mention
$nmrundir/no-auto-default.state.
This commit is contained in:
Dan Winship 2013-03-26 13:54:24 -04:00
parent a2308fcab8
commit 1ca4745394

View file

@ -43,7 +43,11 @@ lines are considered comments. Sections are started by a header line containing
the section enclosed in '[' and ']', and ended implicitly by the start of
the next section or the end of the file. Each key-value pair must be contained
in a section.
.br
.P
For keys that take a list of devices as their value, you can specify
devices by their MAC addresses or interface names, or "*" to specify
all devices.
.P
Minimal system settings configuration file looks like this:
.P
.nf
@ -109,22 +113,21 @@ This key sets up what DHCP client NetworkManager will use. Presently
be available on your system too. If this key is missing, available DHCP clients
are looked for in this order: dhclient, dhcpcd.
.TP
.B no-auto-default=\fI<hwaddr>\fP,\fI<hwaddr>\fP,... | \fI*\fP
.B no-auto-default=\fI<device>\fP,\fI<device>\fP,... | \fI*\fP
Set devices for which NetworkManager shouldn't create default wired connection
(Auto eth0). NetworkManager creates a default wired connection for any wired
(Auto eth0). NetworkManager creates a default wired connection for any Ethernet
device that is managed and doesn't have a connection configured. List a device
in this option to inhibit creating the default connection for the device.
.br
When the default wired connection is deleted or saved to a new persistent connection
by a plugin, the MAC address of the wired device is automatically added to this list
by a plugin, the device is added to a list in the file
\fI<LOCALSTATEDIR>\fP/run/NetworkManager/no-auto-default.state
to prevent creating the default connection for that device again.
Devices are specified by their MAC addresses, in lowercase. Multiple
entries are separated by commas. You can use the glob character \fI*\fP instead
of listing addresses to specify all devices.
.br
Examples:
.nf
no-auto-default=00:22:68:5c:5d:c4,00:1e:65:ff:aa:ee
no-auto-default=eth0,eth1
no-auto-default=*
.fi
.TP