daemon that manages network connections
Show connection status
nmcli general status
List connections
nmcli connection show
Connect to WiFi
nmcli device wifi connect "[SSID]" password "[password]"
Show WiFi networks
nmcli device wifi list
Bring up connection
nmcli connection up [connection_name]
Create static connection
nmcli connection add type ethernet con-name [myeth] ifname [eth0] ip4 [192.168.1.10/24] gw4 [192.168.1.1]
NetworkManager [options]
--debug
Debug mode.
--log-level level
Logging level.
--log-domains domains
Logging domains.
--pid-file file
PID file location.
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.
nmcli device # List devices
nmcli connection # List connections
nmcli connection modify ... # Modify connection
nmcli networking off # Disable networking/etc/NetworkManager/
├── NetworkManager.conf
├── system-connections/
└── conf.d/
May conflict with other network tools. Connections stored in /etc/NetworkManager/. Some systems use alternatives.
NetworkManager was developed by Red Hat starting in 2004 to simplify network configuration on Linux desktops.
nmcli(1), nmtui(1), systemd-networkd(8), netctl(1)