LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

nmcli-networking

controls the overall networking state managed by NetworkManager

TLDR

Show the networking status of NetworkManager
$ nmcli networking
copy
Enable or disable networking and all interfaces managed by NetworkManager
$ nmcli networking [on|off]
copy
Show the last known connectivity state
$ nmcli networking connectivity
copy
Show the current connectivity state (performs a check)
$ nmcli networking connectivity check
copy

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 connectionThe 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 interfaces
off
Disable networking and deactivate all connections
connectivity
Show connectivity state without performing a check
connectivity check
Perform a connectivity check and show the result

INSTALL

sudo apt install network-manager
copy
sudo apk add networkmanager-cli
copy

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

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid