Outils pour utilisateurs

Outils du site


networkmanager

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
networkmanager [2025/09/21 12:20] lucnetworkmanager [2025/09/21 13:36] (Version actuelle) luc
Ligne 79: Ligne 79:
 <code bash> <code bash>
 nmcli connection modify "ETH static" connection.autoconnect-priority 1 nmcli connection modify "ETH static" connection.autoconnect-priority 1
-nmcli connection modify "ETH static" connection.autoconnect-retries -1 
  
 nmcli connection modify "ETH DHCP" connection.autoconnect-priority 10 nmcli connection modify "ETH DHCP" connection.autoconnect-priority 10
-nmcli connection modify "ETH DHCP" connection.autoconnect-retries 0+nmcli connection modify "ETH DHCP" connection.autoconnect-retries 
 +nmcli connection modify "ETH DHCP" ipv4.dhcp-timeout 7
 </code> </code>
 +
 +> ''connection.autoconnect-retries'': The number of times a connection should be tried when autoactivating before giving up. Zero means forever, -1 means the global default (4 times if not overridden). Setting this to 1 means to try activation only once before blocking autoconnect. Note that after a timeout, NetworkManager will try to autoconnect again.
 +
 +> ''connection.autoconnect-priority'': The autoconnect priority in range -999 to 999. If the connection is set to autoconnect (par défaut ''autoconnect=TRUE''), connections with higher priority will be preferred. The higher number means higher priority. Defaults to 0. Note that this property only matters if there are more than one candidate profile to select for autoconnect. In case of equal priority, the profile used most recently is chosen.
 +
  
 == option 2 ==  == option 2 == 
networkmanager.txt · Dernière modification : de luc