NM−ONLINE - Online Linux Manual PageSection : 1
Updated :
Source : NetworkManager 1.42.0
Note : General Commands Manual
NAMEnm-online − ask NetworkManager whether the network is connected
SYNOPSISnm−online [OPTIONS...]
DESCRIPTIONnm−online is a utility to find out whether we are online. It is done by asking NetworkManager about its status. When run, nm−online waits until NetworkManager reports an active connection, or specified timeout expires. On exit, the returned status code should be checked (see the return codes below). This tool is not very useful to call directly. It is however used by NetworkManager−wait−online.service with −−wait−for−startup argument (see NetworkManager-wait-online.service(8)). By default, connections have the ipv4.may−fail and ipv6.may−fail properties set to yes; this means that NetworkManager waits for one of the two address families to complete configuration before considering the connection activated. If you need a specific address family configured before network−online.target is reached, set the corresponding may−fail property to no.
OPTIONS−h | −−help Print help information. −q | −−quiet Don't print anything. −s | −−wait−for−startup Wait for NetworkManager startup to complete, rather than waiting for network connectivity specifically. Startup is considered complete once NetworkManager has activated (or attempted to activate) every auto−activate connection which is available given the current network state. This corresponds to the moment when NetworkManager logs "startup complete". This mode is generally only useful at boot time. After startup has completed, nm−online −s will just return immediately, regardless of the current network state. There are various ways to affect when startup complete is reached. For details see NetworkManager-wait-online.service(8). −t | −−timeout seconds Time to wait for a connection, in seconds. If the option is not provided, the environment variable NM_ONLINE_TIMEOUT is honored. The default timeout is 30 seconds. −x | −−exit Exit immediately if NetworkManager is not running or connecting.
EXIT STATUSnm−online exits with status 0 if it succeeds, a value greater than 0 is returned if an error occurs. 0 Success – already online or connection established within given timeout. 1 Offline or not online within given timeout. 2 Unknown or unspecified error.
SEE ALSOnmcli(1), NetworkManager(8), NetworkManager-wait-online.service(8). 0
Johanes Gumabo
Data Size : 10,327 byte
man-nm-online.1Build : 2024-12-29, 07:25 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 256,190
Visitor ID : :
Visitor IP : 18.225.92.251 :
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.29
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.