diff options
| author | Michael Biebl <biebl@debian.org> | 2019-03-26 23:25:23 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2019-03-26 23:25:23 +0100 |
| commit | 9a6dcbf895f9da01768e64b73cec88c16157d91e (patch) | |
| tree | a359958930d731e9f1b59344642e10754419fe84 /docs/api/html/nm-settings.html | |
| parent | 964ae8cc391520440cf5aa13e2b9cc34850ea6c2 (diff) | |
New upstream version 1.16.0 upstream/1.16.0
Diffstat (limited to 'docs/api/html/nm-settings.html')
| -rw-r--r-- | docs/api/html/nm-settings.html | 156 |
1 files changed, 141 insertions, 15 deletions
diff --git a/docs/api/html/nm-settings.html b/docs/api/html/nm-settings.html index 9293e903..57ffab77 100644 --- a/docs/api/html/nm-settings.html +++ b/docs/api/html/nm-settings.html @@ -241,7 +241,7 @@ <a name="nm-settings.property.connection.stable-id"></a>stable-id</td> <td align="left">string</td> <td align="left"> </td> -<td>This represents the identity of the connection used for various purposes. It allows to configure multiple profiles to share the identity. Also, the stable-id can contain placeholders that are substituted dynamically and deterministically depending on the context. The stable-id is used for generating IPv6 stable private addresses with ipv6.addr-gen-mode=stable-privacy. It is also used to seed the generated cloned MAC address for ethernet.cloned-mac-address=stable and wifi.cloned-mac-address=stable. It is also used as DHCP client identifier with ipv4.dhcp-client-id=stable and to derive the DHCP DUID with ipv6.dhcp-duid=stable-[llt,ll,uuid]. Note that depending on the context where it is used, other parameters are also seeded into the generation algorithm. For example, a per-host key is commonly also included, so that different systems end up generating different IDs. Or with ipv6.addr-gen-mode=stable-privacy, also the device's name is included, so that different interfaces yield different addresses. The '$' character is treated special to perform dynamic substitutions at runtime. Currently supported are "${CONNECTION}", "${DEVICE}", "${MAC}", "${BOOT}", "${RANDOM}". These effectively create unique IDs per-connection, per-device, per-boot, or every time. Note that "${DEVICE}" corresponds the the interface name of the device and "${MAC}" is the permanent MAC address of the device. Any unrecognized patterns following '$' are treated verbatim, however are reserved for future use. You are thus advised to avoid '$' or escape it as "$$". For example, set it to "${CONNECTION}-${BOOT}-${DEVICE}" to create a unique id for this connection that changes with every reboot and differs depending on the interface where the profile activates. If the value is unset, a global connection default is consulted. If the value is still unset, the default is similar to "${CONNECTION}" and uses a unique, fixed ID for the connection.</td> +<td>This represents the identity of the connection used for various purposes. It allows to configure multiple profiles to share the identity. Also, the stable-id can contain placeholders that are substituted dynamically and deterministically depending on the context. The stable-id is used for generating IPv6 stable private addresses with ipv6.addr-gen-mode=stable-privacy. It is also used to seed the generated cloned MAC address for ethernet.cloned-mac-address=stable and wifi.cloned-mac-address=stable. It is also used as DHCP client identifier with ipv4.dhcp-client-id=stable and to derive the DHCP DUID with ipv6.dhcp-duid=stable-[llt,ll,uuid]. Note that depending on the context where it is used, other parameters are also seeded into the generation algorithm. For example, a per-host key is commonly also included, so that different systems end up generating different IDs. Or with ipv6.addr-gen-mode=stable-privacy, also the device's name is included, so that different interfaces yield different addresses. The '$' character is treated special to perform dynamic substitutions at runtime. Currently supported are "${CONNECTION}", "${DEVICE}", "${MAC}", "${BOOT}", "${RANDOM}". These effectively create unique IDs per-connection, per-device, per-boot, or every time. Note that "${DEVICE}" corresponds to the interface name of the device and "${MAC}" is the permanent MAC address of the device. Any unrecognized patterns following '$' are treated verbatim, however are reserved for future use. You are thus advised to avoid '$' or escape it as "$$". For example, set it to "${CONNECTION}-${BOOT}-${DEVICE}" to create a unique id for this connection that changes with every reboot and differs depending on the interface where the profile activates. If the value is unset, a global connection default is consulted. If the value is still unset, the default is similar to "${CONNECTION}" and uses a unique, fixed ID for the connection.</td> </tr> <tr> <td align="left"> @@ -1202,7 +1202,7 @@ <a name="nm-settings.property.gsm.number"></a>number</td> <td align="left">string</td> <td align="left"> </td> -<td>Number to dial when establishing a PPP data session with the GSM-based mobile broadband network. Many modems do not require PPP for connections to the mobile network and thus this property should be left blank, which allows NetworkManager to select the appropriate settings automatically.</td> +<td>Legacy setting that used to help establishing PPP data sessions for GSM-based modems. Deprecated: 1</td> </tr> <tr> <td align="left"> @@ -1405,7 +1405,7 @@ <a name="nm-settings.property.ipv4.dns-priority"></a>dns-priority</td> <td align="left">int32</td> <td align="left">0</td> -<td>DNS servers priority. The relative priority for DNS servers specified by this setting. A lower value is better (higher priority). Zero selects the default value, which is 50 for VPNs and 100 for other connections. Note that the priority is to order DNS settings for multiple active connections. It does not disambiguate multiple DNS servers within the same connection profile. When using dns=default, servers with higher priority will be on top of resolv.conf. To prioritize a given server over another one within the same connection, just specify them in the desired order. When multiple devices have configurations with the same priority, the one with an active default route will be preferred. Negative values have the special effect of excluding other configurations with a greater priority value; so in presence of at least a negative priority, only DNS servers from connections with the lowest priority value will be used. When using a DNS resolver that supports split-DNS as dns=dnsmasq or dns=systemd-resolved, each connection is used to query domains in its search list. Queries for domains not present in any search list are routed through connections having the '~.' special wildcard domain, which is added automatically to connections with the default route (or can be added manually). When multiple connections specify the same domain, the one with the highest priority (lowest numerical value) wins. If a connection specifies a domain which is subdomain of another domain with a negative DNS priority value, the subdomain is ignored.</td> +<td>DNS servers priority. The relative priority for DNS servers specified by this setting. A lower value is better (higher priority). Zero selects a globally configured default value. If the latter is missing or zero too, it defaults to 50 for VPNs and 100 for other connections. Note that the priority is to order DNS settings for multiple active connections. It does not disambiguate multiple DNS servers within the same connection profile. When using dns=default, servers with higher priority will be on top of resolv.conf. To prioritize a given server over another one within the same connection, just specify them in the desired order. When multiple devices have configurations with the same priority, the one with an active default route will be preferred. Negative values have the special effect of excluding other configurations with a greater priority value; so in presence of at least a negative priority, only DNS servers from connections with the lowest priority value will be used. When using a DNS resolver that supports split-DNS as dns=dnsmasq or dns=systemd-resolved, each connection is used to query domains in its search list. Queries for domains not present in any search list are routed through connections having the '~.' special wildcard domain, which is added automatically to connections with the default route (or can be added manually). When multiple connections specify the same domain, the one with the highest priority (lowest numerical value) wins. If a connection specifies a domain which is subdomain of another domain with a negative DNS priority value, the subdomain is ignored.</td> </tr> <tr> <td align="left"> @@ -1580,7 +1580,7 @@ <a name="nm-settings.property.ipv6.dns-priority"></a>dns-priority</td> <td align="left">int32</td> <td align="left">0</td> -<td>DNS servers priority. The relative priority for DNS servers specified by this setting. A lower value is better (higher priority). Zero selects the default value, which is 50 for VPNs and 100 for other connections. Note that the priority is to order DNS settings for multiple active connections. It does not disambiguate multiple DNS servers within the same connection profile. When using dns=default, servers with higher priority will be on top of resolv.conf. To prioritize a given server over another one within the same connection, just specify them in the desired order. When multiple devices have configurations with the same priority, the one with an active default route will be preferred. Negative values have the special effect of excluding other configurations with a greater priority value; so in presence of at least a negative priority, only DNS servers from connections with the lowest priority value will be used. When using a DNS resolver that supports split-DNS as dns=dnsmasq or dns=systemd-resolved, each connection is used to query domains in its search list. Queries for domains not present in any search list are routed through connections having the '~.' special wildcard domain, which is added automatically to connections with the default route (or can be added manually). When multiple connections specify the same domain, the one with the highest priority (lowest numerical value) wins. If a connection specifies a domain which is subdomain of another domain with a negative DNS priority value, the subdomain is ignored.</td> +<td>DNS servers priority. The relative priority for DNS servers specified by this setting. A lower value is better (higher priority). Zero selects a globally configured default value. If the latter is missing or zero too, it defaults to 50 for VPNs and 100 for other connections. Note that the priority is to order DNS settings for multiple active connections. It does not disambiguate multiple DNS servers within the same connection profile. When using dns=default, servers with higher priority will be on top of resolv.conf. To prioritize a given server over another one within the same connection, just specify them in the desired order. When multiple devices have configurations with the same priority, the one with an active default route will be preferred. Negative values have the special effect of excluding other configurations with a greater priority value; so in presence of at least a negative priority, only DNS servers from connections with the lowest priority value will be used. When using a DNS resolver that supports split-DNS as dns=dnsmasq or dns=systemd-resolved, each connection is used to query domains in its search list. Queries for domains not present in any search list are routed through connections having the '~.' special wildcard domain, which is added automatically to connections with the default route (or can be added manually). When multiple connections specify the same domain, the one with the highest priority (lowest numerical value) wins. If a connection specifies a domain which is subdomain of another domain with a negative DNS priority value, the subdomain is ignored.</td> </tr> <tr> <td align="left"> @@ -2575,7 +2575,7 @@ <a name="nm-settings.property.team.link-watchers"></a>link-watchers</td> <td align="left">array of vardict</td> <td align="left">[]</td> -<td>Link watchers configuration for the connection: each link watcher is defined by a dictionary, whose keys depend upon the selected link watcher. Available link watchers are 'ethtool', 'nsna_ping' and 'arp_ping' and it is specified in the dictionary with the key 'name'. Available keys are: ethtool: 'delay-up', 'delay-down', 'init-wait'; nsna_ping: 'init-wait', 'interval', 'missed-max', 'target-host'; arp_ping: all the ones in nsna_ping and 'source-host', 'validate-active', 'validate-incative', 'send-always'. See teamd.conf man for more details.</td> +<td>Link watchers configuration for the connection: each link watcher is defined by a dictionary, whose keys depend upon the selected link watcher. Available link watchers are 'ethtool', 'nsna_ping' and 'arp_ping' and it is specified in the dictionary with the key 'name'. Available keys are: ethtool: 'delay-up', 'delay-down', 'init-wait'; nsna_ping: 'init-wait', 'interval', 'missed-max', 'target-host'; arp_ping: all the ones in nsna_ping and 'source-host', 'validate-active', 'validate-inactive', 'send-always'. See teamd.conf man for more details.</td> </tr> <tr> <td align="left"> @@ -2722,7 +2722,7 @@ <a name="nm-settings.property.team-port.link-watchers"></a>link-watchers</td> <td align="left">array of vardict</td> <td align="left">[]</td> -<td>Link watchers configuration for the connection: each link watcher is defined by a dictionary, whose keys depend upon the selected link watcher. Available link watchers are 'ethtool', 'nsna_ping' and 'arp_ping' and it is specified in the dictionary with the key 'name'. Available keys are: ethtool: 'delay-up', 'delay-down', 'init-wait'; nsna_ping: 'init-wait', 'interval', 'missed-max', 'target-host'; arp_ping: all the ones in nsna_ping and 'source-host', 'validate-active', 'validate-incative', 'send-always'. See teamd.conf man for more details.</td> +<td>Link watchers configuration for the connection: each link watcher is defined by a dictionary, whose keys depend upon the selected link watcher. Available link watchers are 'ethtool', 'nsna_ping' and 'arp_ping' and it is specified in the dictionary with the key 'name'. Available keys are: ethtool: 'delay-up', 'delay-down', 'init-wait'; nsna_ping: 'init-wait', 'interval', 'missed-max', 'target-host'; arp_ping: all the ones in nsna_ping and 'source-host', 'validate-active', 'validate-inactive', 'send-always'. See teamd.conf man for more details.</td> </tr> <tr> <td align="left"> @@ -3098,7 +3098,49 @@ </div> <hr> <div class="refsect2"> -<a name="id-1.2.7.4.42"></a><h3>wimax setting</h3> +<a name="id-1.2.7.4.42"></a><h3>wifi-p2p setting</h3> +<p>Wi-Fi P2P Settings.</p> +<div class="informaltable"><table class="informaltable" border="1"> +<colgroup> +<col> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th>Key Name</th> +<th>Value Type</th> +<th>Default Value</th> +<th>Value Description</th> +</tr></thead> +<tbody> +<tr> +<td align="left"> +<a name="nm-settings.property.wifi-p2p.peer"></a>peer</td> +<td align="left">string</td> +<td align="left"> </td> +<td>The P2P device that should be connected to. Currently this is the only way to create or join a group.</td> +</tr> +<tr> +<td align="left"> +<a name="nm-settings.property.wifi-p2p.wfd-ies"></a>wfd-ies</td> +<td align="left">byte array</td> +<td align="left"> </td> +<td>The Wi-Fi Display (WFD) Information Elements (IEs) to set. Wi-Fi Display requires a protocol specific information element to be set in certain Wi-Fi frames. These can be specified here for the purpose of establishing a connection. This setting is only useful when implementing a Wi-Fi Display client.</td> +</tr> +<tr> +<td align="left"> +<a name="nm-settings.property.wifi-p2p.wps-method"></a>wps-method</td> +<td align="left">uint32</td> +<td align="left">0</td> +<td>Flags indicating which mode of WPS is to be used. There's little point in changing the default setting as NetworkManager will automatically determine the best method to use.</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2"> +<a name="id-1.2.7.4.43"></a><h3>wimax setting</h3> <p>WiMax Settings.</p> <div class="informaltable"><table class="informaltable" border="1"> <colgroup> @@ -3133,7 +3175,7 @@ </div> <hr> <div class="refsect2"> -<a name="id-1.2.7.4.43"></a><h3>802-3-ethernet setting</h3> +<a name="id-1.2.7.4.44"></a><h3>802-3-ethernet setting</h3> <p>Wired Ethernet Settings.</p> <div class="informaltable"><table class="informaltable" border="1"> <colgroup> @@ -3154,7 +3196,7 @@ <a name="nm-settings.property.802-3-ethernet.assigned-mac-address"></a>assigned-mac-address</td> <td align="left">string</td> <td align="left"> </td> -<td>The new field for the cloned MAC address. It can be either a hardware address in ASCII representation, or one of the special values "preserve", "permanent", "random" or "stable". This field replaces the deprecated "cloned-mac-address" on D-Bus, which can only contain explict hardware addresses. Note that this property only exists in D-Bus API. libnm and nmcli continue to call this property "cloned-mac-address".</td> +<td>The new field for the cloned MAC address. It can be either a hardware address in ASCII representation, or one of the special values "preserve", "permanent", "random" or "stable". This field replaces the deprecated "cloned-mac-address" on D-Bus, which can only contain explicit hardware addresses. Note that this property only exists in D-Bus API. libnm and nmcli continue to call this property "cloned-mac-address".</td> </tr> <tr> <td align="left"> @@ -3259,7 +3301,77 @@ </div> <hr> <div class="refsect2"> -<a name="id-1.2.7.4.44"></a><h3>802-11-wireless setting</h3> +<a name="id-1.2.7.4.45"></a><h3>wireguard setting</h3> +<p>WireGuard Ethernet Settings.</p> +<div class="informaltable"><table class="informaltable" border="1"> +<colgroup> +<col> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th>Key Name</th> +<th>Value Type</th> +<th>Default Value</th> +<th>Value Description</th> +</tr></thead> +<tbody> +<tr> +<td align="left"> +<a name="nm-settings.property.wireguard.fwmark"></a>fwmark</td> +<td align="left">uint32</td> +<td align="left">0</td> +<td>The use of fwmark is optional and is by default off. Setting it to 0 disables it. Otherwise it is a 32-bit fwmark for outgoing packets.</td> +</tr> +<tr> +<td align="left"> +<a name="nm-settings.property.wireguard.listen-port"></a>listen-port</td> +<td align="left">uint32</td> +<td align="left">0</td> +<td>The listen-port. If listen-port is not specified, the port will be chosen randomly when the interface comes up.</td> +</tr> +<tr> +<td align="left"> +<a name="nm-settings.property.wireguard.mtu"></a>mtu</td> +<td align="left">uint32</td> +<td align="left">0</td> +<td>If non-zero, only transmit packets of the specified size or smaller, breaking larger packets up into multiple fragments. If zero a default MTU is used. Note that contrary to wg-quick's MTU setting, this does not take into account the current routes at the time of activation.</td> +</tr> +<tr> +<td align="left"> +<a name="nm-settings.property.wireguard.peer-routes"></a>peer-routes</td> +<td align="left">boolean</td> +<td align="left">TRUE</td> +<td>Whether to automatically add routes for the AllowedIPs ranges of the peers. If TRUE (the default), NetworkManager will automatically add routes in the routing tables according to ipv4.route-table and ipv6.route-table. If FALSE, no such routes are added automatically. In this case, the user may want to configure static routes in ipv4.routes and ipv6.routes, respectively.</td> +</tr> +<tr> +<td align="left"> +<a name="nm-settings.property.wireguard.peers"></a>peers</td> +<td align="left">array of 'a{sv}'</td> +<td align="left"> </td> +<td>Array of dictionaries for the WireGuard peers.</td> +</tr> +<tr> +<td align="left"> +<a name="nm-settings.property.wireguard.private-key"></a>private-key</td> +<td align="left">string</td> +<td align="left"> </td> +<td>The 256 bit private-key in base64 encoding.</td> +</tr> +<tr> +<td align="left"> +<a name="nm-settings.property.wireguard.private-key-flags"></a>private-key-flags</td> +<td align="left">NMSettingSecretFlags (uint32)</td> +<td align="left"> </td> +<td>Flags indicating how to handle the "private-key" property. (see <a class="xref" href="nm-settings.html#secrets-flags" title="Secret flag types:">the section called “Secret flag types:”</a> for flag values)</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2"> +<a name="id-1.2.7.4.46"></a><h3>802-11-wireless setting</h3> <p>Wi-Fi Settings.</p> <div class="informaltable"><table class="informaltable" border="1"> <colgroup> @@ -3280,7 +3392,7 @@ <a name="nm-settings.property.802-11-wireless.assigned-mac-address"></a>assigned-mac-address</td> <td align="left">string</td> <td align="left"> </td> -<td>The new field for the cloned MAC address. It can be either a hardware address in ASCII representation, or one of the special values "preserve", "permanent", "random" or "stable". This field replaces the deprecated "cloned-mac-address" on D-Bus, which can only contain explict hardware addresses. Note that this property only exists in D-Bus API. libnm and nmcli continue to call this property "cloned-mac-address".</td> +<td>The new field for the cloned MAC address. It can be either a hardware address in ASCII representation, or one of the special values "preserve", "permanent", "random" or "stable". This field replaces the deprecated "cloned-mac-address" on D-Bus, which can only contain explicit hardware addresses. Note that this property only exists in D-Bus API. libnm and nmcli continue to call this property "cloned-mac-address".</td> </tr> <tr> <td align="left"> @@ -3413,7 +3525,7 @@ </div> <hr> <div class="refsect2"> -<a name="id-1.2.7.4.45"></a><h3>802-11-wireless-security setting</h3> +<a name="id-1.2.7.4.47"></a><h3>802-11-wireless-security setting</h3> <p>Wi-Fi Security Settings.</p> <div class="informaltable"><table class="informaltable" border="1"> <colgroup> @@ -3455,7 +3567,7 @@ <a name="nm-settings.property.802-11-wireless-security.key-mgmt"></a>key-mgmt</td> <td align="left">string</td> <td align="left"> </td> -<td>Key management used for the connection. One of "none" (WEP), "ieee8021x" (Dynamic WEP), "wpa-none" (Ad-Hoc WPA-PSK), "wpa-psk" (infrastructure WPA-PSK), or "wpa-eap" (WPA-Enterprise). This property must be set for any Wi-Fi connection that uses security.</td> +<td>Key management used for the connection. One of "none" (WEP), "ieee8021x" (Dynamic WEP), "wpa-none" (Ad-Hoc WPA-PSK), "wpa-psk" (infrastructure WPA-PSK), "sae" (SAE) or "wpa-eap" (WPA-Enterprise). This property must be set for any Wi-Fi connection that uses security.</td> </tr> <tr> <td align="left"> @@ -3504,7 +3616,7 @@ <a name="nm-settings.property.802-11-wireless-security.psk"></a>psk</td> <td align="left">string</td> <td align="left"> </td> -<td>Pre-Shared-Key for WPA networks. If the key is 64-characters long, it must contain only hexadecimal characters and is interpreted as a hexadecimal WPA key. Otherwise, the key must be between 8 and 63 ASCII characters (as specified in the 802.11i standard) and is interpreted as a WPA passphrase, and is hashed to derive the actual WPA-PSK used when connecting to the Wi-Fi network.</td> +<td>Pre-Shared-Key for WPA networks. For WPA-PSK, it's either an ASCII passphrase of 8 to 63 characters that is (as specified in the 802.11i standard) hashed to derive the actual key, or the key in form of 64 hexadecimal character. The WPA3-Personal networks use a passphrase of any length for SAE authentication.</td> </tr> <tr> <td align="left"> @@ -3574,7 +3686,7 @@ </div> <hr> <div class="refsect2"> -<a name="id-1.2.7.4.46"></a><h3>wpan setting</h3> +<a name="id-1.2.7.4.48"></a><h3>wpan setting</h3> <p>IEEE 802.15.4 (WPAN) MAC Settings.</p> <div class="informaltable"><table class="informaltable" border="1"> <colgroup> @@ -3592,6 +3704,13 @@ <tbody> <tr> <td align="left"> +<a name="nm-settings.property.wpan.channel"></a>channel</td> +<td align="left">int32</td> +<td align="left">-1</td> +<td>IEEE 802.15.4 channel. A positive integer or -1, meaning "do not set, use whatever the device is already set to".</td> +</tr> +<tr> +<td align="left"> <a name="nm-settings.property.wpan.mac-address"></a>mac-address</td> <td align="left">string</td> <td align="left"> </td> @@ -3599,6 +3718,13 @@ </tr> <tr> <td align="left"> +<a name="nm-settings.property.wpan.page"></a>page</td> +<td align="left">int32</td> +<td align="left">-1</td> +<td>IEEE 802.15.4 channel page. A positive integer or -1, meaning "do not set, use whatever the device is already set to".</td> +</tr> +<tr> +<td align="left"> <a name="nm-settings.property.wpan.pan-id"></a>pan-id</td> <td align="left">uint32</td> <td align="left">65535</td> |