nmcli-networking
controls the overall networking state managed by NetworkManager
TLDR
Show the networking status of NetworkManager
SYNOPSIS
nmcli networking [command]
DESCRIPTION
nmcli networking controls the overall networking state managed by NetworkManager. It provides a master switch to enable or disable all network interfaces at once.
The connectivity states are:
- full: Connected with full internet access
- limited: Connected to a network but no internet (captive portal, firewall)
- portal: Behind a captive portal requiring login
- none: No network connection
The connectivity check actively probes connectivity by accessing a known URL, while without "check" it reports the cached state from the last probe.
PARAMETERS
on
Enable networking and all NetworkManager-managed interfacesoff
Disable networking and deactivate all connectionsconnectivity
Show connectivity state without performing a checkconnectivity check
Perform a connectivity check and show the result
CAVEATS
Disabling networking affects all NetworkManager-managed connections but not interfaces managed by other tools. The connectivity check depends on network accessibility to connectivity check servers (configurable in NetworkManager.conf). Some networks block these probes.
SEE ALSO
nmcli(1), nmcli-general(1), nmcli-radio(1), NetworkManager(8)
