LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

NetworkManager

daemon that manages network connections

TLDR

Show connection status
$ nmcli general status
copy
List connections
$ nmcli connection show
copy
Connect to WiFi
$ nmcli device wifi connect "[SSID]" password "[password]"
copy
Show WiFi networks
$ nmcli device wifi list
copy
Bring up connection
$ nmcli connection up [connection_name]
copy
Create static connection
$ nmcli connection add type ethernet con-name [myeth] ifname [eth0] ip4 [192.168.1.10/24] gw4 [192.168.1.1]
copy

SYNOPSIS

NetworkManager [options]

DESCRIPTION

NetworkManager is a daemon that manages network connections. It provides automatic network detection and configuration, handling wired, wireless, mobile broadband, and VPN connections.NetworkManager is controlled via nmcli, nmtui, or GUI applets.

PARAMETERS

--debug

Debug mode.
--log-level level
Logging level.
--log-domains domains
Logging domains.
--pid-file file
PID file location.

CONFIGURATION

$ /etc/NetworkManager/
├── NetworkManager.conf
├── system-connections/
└── conf.d/
copy

CLI TOOL (nmcli)

$ nmcli device                    # List devices
nmcli connection                # List connections
nmcli connection modify ...     # Modify connection
nmcli networking off            # Disable networking
copy

INSTALL

sudo apt install network-manager
copy
sudo dnf install NetworkManager
copy
sudo pacman -S networkmanager
copy
sudo apk add networkmanager
copy
sudo zypper install NetworkManager
copy
nix profile install nixpkgs#networkmanager
copy

CAVEATS

May conflict with other network tools. Connections stored in /etc/NetworkManager/. Some systems use alternatives.

HISTORY

NetworkManager was developed by Red Hat starting in 2004 to simplify network configuration on Linux desktops.

SEE ALSO

nmcli(1), nmtui(1), netctl(1)

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