man: NetworkManager.conf.5 fixes and updates
The [main] section is not mandatory. Clarify in several places that the keyfile plugin is always used for fallback, and that the [keyfile] section is normally only used if you aren't using any other plugin. Fix some erroneous references to "keyfile" and "ifdown" in the ifupdown section. Update the ifcfg-rh docs to list all currently-supported connection types. Swap the order of ifcfg-suse and ifupdown to make them alphabetical. (Note that ifnet is currently missing.) https://bugzilla.gnome.org/show_bug.cgi?id=720841
This commit is contained in:
@@ -81,20 +81,35 @@ Copyright (C) 2010 - 2013 Red Hat, Inc.
|
|||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1>
|
<refsect1>
|
||||||
<title><literal>main</literal> section (mandatory)</title>
|
<title><literal>main</literal> section</title>
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><varname>plugins</varname></term>
|
<term><varname>plugins</varname></term>
|
||||||
<listitem><para>List system settings plugin names separated
|
<listitem>
|
||||||
by ','. These plugins are used to read/write system-wide
|
<para>
|
||||||
connection. When more plugins are specified, the connections
|
Lists system settings plugin names separated by ','. These
|
||||||
are read from all listed plugins. When writing connections,
|
plugins are used to read and write system-wide
|
||||||
the plugins will be asked to save the connection in the
|
connections. When multiple plugins are specified, the
|
||||||
order listed here. If the first plugin cannot write out that
|
connections are read from all listed plugins. When writing
|
||||||
connection type, or can't write out any connections, the
|
connections, the plugins will be asked to save the
|
||||||
next plugin is tried. If none of the plugins can save the
|
connection in the order listed here; if the first plugin
|
||||||
connection, the error is returned to the user. See below
|
cannot write out that connection type (or can't write out
|
||||||
for available plugins.</para></listitem>
|
any connections) the next plugin is tried, etc. If none of
|
||||||
|
the plugins can save the connection, an error is returned
|
||||||
|
to the user.
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
If NetworkManager defines a distro-specific
|
||||||
|
network-configuration plugin for your system, then that
|
||||||
|
will normally be listed here. (See below for the available
|
||||||
|
plugins.) Note that the <literal>keyfile</literal> plugin
|
||||||
|
is always appended to the end of this list (if it doesn't
|
||||||
|
already appear earlier in the list), so if there is no
|
||||||
|
distro-specific plugin for your system then you can leave
|
||||||
|
this key unset and NetworkManager will default to using
|
||||||
|
<literal>keyfile</literal>.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><varname>monitor-connection-files</varname></term>
|
<term><varname>monitor-connection-files</varname></term>
|
||||||
@@ -197,7 +212,9 @@ Copyright (C) 2010 - 2013 Red Hat, Inc.
|
|||||||
|
|
||||||
<refsect1>
|
<refsect1>
|
||||||
<title><literal>keyfile</literal> section</title>
|
<title><literal>keyfile</literal> section</title>
|
||||||
<para>This section contains keyfile-specific options and thus only has effect when using the <literal>keyfile</literal> plugin.</para>
|
<para>This section contains keyfile-plugin-specific options, and
|
||||||
|
is normally only used when you are not using any other
|
||||||
|
distro-specific plugin.</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
<variablelist>
|
<variablelist>
|
||||||
@@ -234,8 +251,8 @@ unmanaged-devices=mac:00:22:68:1c:59:b1;mac:00:1E:65:30:D1:C4;interface-name:eth
|
|||||||
|
|
||||||
<refsect1>
|
<refsect1>
|
||||||
<title><literal>ifupdown</literal> section</title>
|
<title><literal>ifupdown</literal> section</title>
|
||||||
<para>This section contains keyfile-specific options and thus only
|
<para>This section contains ifupdown-specific options and thus only
|
||||||
has effect when using the <literal>ifdown</literal> plugin.</para>
|
has effect when using the <literal>ifupdown</literal> plugin.</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
<variablelist>
|
<variablelist>
|
||||||
@@ -390,49 +407,70 @@ unmanaged-devices=mac:00:22:68:1c:59:b1;mac:00:1E:65:30:D1:C4;interface-name:eth
|
|||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><varname>keyfile</varname></term>
|
<term><varname>keyfile</varname></term>
|
||||||
<listitem><para>plugin is the generic plugin that supports
|
<listitem>
|
||||||
all the connection types and capabilities that
|
<para>
|
||||||
NetworkManager has. It writes files out in an .ini-style
|
The <literal>keyfile</literal> plugin is the generic
|
||||||
format in /etc/NetworkManager/system-connections. For
|
plugin that supports all the connection types and
|
||||||
security, it will ignore files that are readable or
|
capabilities that NetworkManager has. It writes files out
|
||||||
writeable by any user or group other than root since
|
in an .ini-style format in
|
||||||
private keys and passphrases may be stored in plaintext
|
/etc/NetworkManager/system-connections.
|
||||||
inside the file. </para></listitem>
|
</para>
|
||||||
|
<para>
|
||||||
|
The stored connection file may contain passwords and
|
||||||
|
private keys, so it will be made readable only to root,
|
||||||
|
and the plugin will ignore files that are readable or
|
||||||
|
writeable by any user or group other than root.
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
This plugin is always active, and will automatically be
|
||||||
|
used to store any connections that aren't supported by any
|
||||||
|
other active plugin.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><varname>ifcfg-rh</varname></term>
|
<term><varname>ifcfg-rh</varname></term>
|
||||||
<listitem><para>This plugin is used on the Fedora and Red
|
<listitem>
|
||||||
Hat Enterprise Linux distributions to read and write
|
<para>
|
||||||
configuration from the standard
|
This plugin is used on the Fedora and Red Hat Enterprise
|
||||||
<filename>/etc/sysconfig/network-scripts/ifcfg-*</filename>
|
Linux distributions to read and write configuration from
|
||||||
files. It currently supports reading wired, WiFi, and
|
the standard
|
||||||
802.1x connections, but does not yet support reading or
|
<filename>/etc/sysconfig/network-scripts/ifcfg-*</filename>
|
||||||
writing mobile broadband, PPPoE, or VPN connections. To
|
files. It currently supports reading Ethernet, Wi-Fi,
|
||||||
allow reading and writing of these add <literal>keyfile</literal>
|
InfiniBand, VLAN, Bond, Bridge, and Team connections.
|
||||||
plugin to your configuration as well.</para></listitem>
|
</para>
|
||||||
</varlistentry>
|
</listitem>
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term><varname>ifupdown</varname></term>
|
|
||||||
<listitem><para>This plugin is used on the Debian and Ubuntu
|
|
||||||
distributions, and reads connections from
|
|
||||||
<filename>/etc/network/interfaces</filename>. Since it cannot
|
|
||||||
write connections out (that support isn't planned), it is
|
|
||||||
usually paired with the <literal>keyfile</literal> plugin to
|
|
||||||
enable saving and editing of new connections. The
|
|
||||||
<literal>ifupdown</literal> plugin supports basic wired and
|
|
||||||
WiFi connections, including WPA-PSK.</para></listitem>
|
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><varname>ifcfg-suse</varname></term>
|
<term><varname>ifcfg-suse</varname></term>
|
||||||
<listitem><para>This plugin is only provided for simple
|
<listitem>
|
||||||
backward compatibility with SUSE and OpenSUSE
|
<para>
|
||||||
configuration. Most setups should be using the
|
This plugin is only provided for simple backward
|
||||||
<literal>keyfile</literal> plugin instead. The
|
compatibility with SUSE and OpenSUSE configuration. Most
|
||||||
<literal>ifcfg-suse</literal> plugin supports reading
|
setups should be using the <literal>keyfile</literal>
|
||||||
wired and WiFi connections, but does not support saving
|
plugin instead. The <literal>ifcfg-suse</literal> plugin
|
||||||
any connection types.</para></listitem>
|
supports reading Ethernet and Wi-Fi connections, but does
|
||||||
|
not support saving any connection types.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term><varname>ifupdown</varname></term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
This plugin is used on the Debian and Ubuntu
|
||||||
|
distributions, and reads Ethernet and Wi-Fi connections
|
||||||
|
from <filename>/etc/network/interfaces</filename>.
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
This plugin is read-only; any connections (of any type)
|
||||||
|
added from within NetworkManager when you are using this
|
||||||
|
plugin will be saved using the <literal>keyfile</literal>
|
||||||
|
plugin instead.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
Reference in New Issue
Block a user