SYSTEMD−NETWORKD−WAIT−ONLINE​.SERVICE - Online Linux Manual PageSection : 8
Updated :
Source : systemd 253
Note : systemd-networkd-wait-online.service

NAMEsystemd-networkd-wait-online.service, systemd-networkd-wait-online@.service, systemd-networkd-wait-online − Wait for network to come online

SYNOPSISsystemd−networkd−wait−online​.service systemd−networkd−wait−online@​.service /usr/lib/systemd/systemd−networkd−wait−online

DESCRIPTIONsystemd−networkd−wait−online is a oneshot system service (see systemd.service(5)), that waits for the network to be configured​. By default, it will wait for all links it is aware of and which are managed by systemd-networkd.service(8) to be fully configured or failed, and for at least one link to be online​. Here, online means that the link's operational state is equal or higher than "degraded"​. The threshold can be configured by −−operational−state= option​. The service systemd−networkd−wait−online​.service invokes systemd−networkd−wait−online without any options​. Thus, it waits for all managed interfaces to be configured or failed, and for at least one to be online​. The service systemd−networkd−wait−online@​.service takes an interface name, and invokes systemd−networkd−wait−online with −i and the specified interface name​. Thus, wait for the specified interface to be configured and online​. For example, systemd−networkd−wait−online@eth0​.service waits for eth0 to be configured by systemd−networkd and online​.

OPTIONSThe following options are understood: −i INTERFACE[:MIN_OPERSTATE[:MAX_OPERSTATE]], −−interface=INTERFACE[:MIN_OPERSTATE[:MAX_OPERSTATE]] Network interface to wait for before deciding if the system is online​. This is useful when a system has several interfaces which will be configured, but a particular one is necessary to access some network resources​. When used, all other interfaces are ignored​. This option may be used more than once to wait for multiple network interfaces​. When this option is specified multiple times, then systemd−networkd−wait−online waits for all specified interfaces to be online​. Optionally, required minimum and maximum operational states can be specified after a colon ":"​. Please see networkctl(1) for possible operational states​. If the operational state is not specified here, then the value from RequiredForOnline= in the corresponding ​.network file is used if present, and "degraded" otherwise​. −−ignore=INTERFACE Network interfaces to be ignored when deciding if the system is online​. By default, only the loopback interface is ignored​. This option may be used more than once to ignore multiple network interfaces​. −o MIN_OPERSTATE[:MAX_OPERSTATE], −−operational−state=MIN_OPERSTATE[:MAX_OPERSTATE] Takes a minimum operational state and an optional maximum operational state​. Please see networkctl(1) for possible operational states​. If set, the specified value overrides RequiredForOnline= settings in ​.network files​. But this does not override operational states specified in −−interface= option​. −4, −−ipv4 Waiting for an IPv4 address of each network interface to be configured​. If this option is specified with −−any, then systemd−networkd−wait−online exits with success when at least one interface becomes online and has an IPv4 address​. If the required minimum operational state is below "routable", then each link (or at least one link with −−any) must have an IPv4 link−local or routable address​. If the required minimum operational state is "routable", then each link must have an IPv4 routable address​. If neither −−ipv4 nor −−ipv6 is specified, then the value from RequiredFamilyForOnline= in the corresponding ​.network file is used if present​. −6, −−ipv6 Waiting for an IPv6 address of each network interface to be configured​. If this option is specified with −−any, then systemd−networkd−wait−online exits with success when at least one interface becomes online and has an IPv6 address​. If the required minimum operational state is below "routable", then each link (or at least one link with −−any) must have an IPv6 link−local or routable address​. If the required minimum operational state is "routable", then each link must have an IPv6 routable address​. If neither −−ipv4 nor −−ipv6 is specified, then the value from RequiredFamilyForOnline= in the corresponding ​.network file is used if present​. −−any Even if several interfaces are in configuring state, systemd−networkd−wait−online exits with success when at least one interface becomes online​. When this option is specified with −−interface=, then systemd−networkd−wait−online waits for one of the specified interfaces to be online​. This option is useful when some interfaces may not have carrier on boot​. −−timeout=SECS Fail the service if the network is not online by the time the timeout elapses​. A timeout of 0 disables the timeout​. Defaults to 120 seconds​. −q, −−quiet Suppress log messages​. −h, −−help Print a short help text and exit​. −−version Print a short version string and exit​.

SEE ALSOsystemd(1), systemd.service(5), systemd-networkd.service(8), networkctl(1)
0
Johanes Gumabo
Data Size   :   17,699 byte
man-systemd-networkd-wait-online.service.8Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   4 / 186,978
Visitor ID   :     :  
Visitor IP   :   3.142.198.148   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.