1SYSTEMD-NETWORKD-WAIT-sOyNsLtIeNmEd.-SnEeRtVwIoCrEk(d8-)waSiYtS-ToEnMlDi-nNeE.TsWeOrRvKiDc-eWAIT-ONLINE.SERVICE(8)
2
3
4

NAME

6       systemd-networkd-wait-online.service, systemd-networkd-wait-online -
7       Wait for network to come online
8

SYNOPSIS

10       systemd-networkd-wait-online.service
11
12       /usr/lib/systemd/systemd-networkd-wait-online
13

DESCRIPTION

15       systemd-networkd-wait-online is a oneshot system service (see
16       systemd.service(5)), that waits for the network to be configured. By
17       default, it will wait for all links it is aware of and which are
18       managed by systemd-networkd.service(8) to be fully configured or
19       failed, and for at least one link to be online. Here, online means that
20       the link's operational state is equal or higher than "degraded". The
21       threshold can be configured by --operational-state= option.
22

OPTIONS

24       The following options are understood:
25
26       -i INTERFACE[:MIN_OPERSTATE[:MAX_OPERSTATE]],
27       --interface=INTERFACE[:MIN_OPERSTATE[:MAX_OPERSTATE]]
28           Network interface to wait for before deciding if the system is
29           online. This is useful when a system has several interfaces which
30           will be configured, but a particular one is necessary to access
31           some network resources. When used, all other interfaces are
32           ignored. This option may be used more than once to wait for
33           multiple network interfaces. When this option is specified multiple
34           times, then systemd-networkd-wait-online waits for all specified
35           interfaces to be online. Optionally, required minimum and maximum
36           operational states can be specified after a colon ":". Please see
37           networkctl(1) for possible operational states. If the operational
38           state is not specified here, then the value from RequiredForOnline=
39           in the corresponding .network file is used if present, and
40           "degraded" otherwise.
41
42       --ignore=INTERFACE
43           Network interfaces to be ignored when deciding if the system is
44           online. By default, only the loopback interface is ignored. This
45           option may be used more than once to ignore multiple network
46           interfaces.
47
48       -o MIN_OPERSTATE[:MAX_OPERSTATE],
49       --operational-state=MIN_OPERSTATE[:MAX_OPERSTATE]
50           Takes a minimum operational state and an optional maximum
51           operational state. Please see networkctl(1) for possible
52           operational states. If set, the specified value overrides
53           RequiredForOnline= settings in .network files. But this does not
54           override operational states specified in --interface= option.
55
56       -4, --ipv4
57           Waiting for an IPv4 address of each network interface to be
58           configured. If this option is specified with --any, then
59           systemd-networkd-wait-online exits with success when at least one
60           interface becomes online and has an IPv4 address. The option is
61           applied only for the operational state "degraded" or above. If
62           neither --ipv4 nor --ipv6 is specified, then the value from
63           RequiredFamilyForOnline= in the corresponding .network file is used
64           if present.
65
66       -6, --ipv6
67           Waiting for an IPv6 address of each network interface to be
68           configured. If this option is specified with --any, then
69           systemd-networkd-wait-online exits with success when at least one
70           interface becomes online and has an IPv6 address. The option is
71           applied only for the operational state "degraded" or above. If
72           neither --ipv4 nor --ipv6 is specified, then the value from
73           RequiredFamilyForOnline= in the corresponding .network file is used
74           if present.
75
76       --any
77           Even if several interfaces are in configuring state,
78           systemd-networkd-wait-online exits with success when at least one
79           interface becomes online. When this option is specified with
80           --interface=, then systemd-networkd-wait-online waits for one of
81           the specified interfaces to be online. This option is useful when
82           some interfaces may not have carrier on boot.
83
84       --timeout=SECS
85           Fail the service if the network is not online by the time the
86           timeout elapses. A timeout of 0 disables the timeout. Defaults to
87           120 seconds.
88
89       -q, --quiet
90           Suppress log messages.
91
92       -h, --help
93           Print a short help text and exit.
94
95       --version
96           Print a short version string and exit.
97

SEE ALSO

99       systemd(1), systemd.service(5), systemd-networkd.service(8),
100       networkctl(1)
101
102
103
104systemd 249                            SYSTEMD-NETWORKD-WAIT-ONLINE.SERVICE(8)
Impressum