Skip to content

Latest commit

 

History

History
99 lines (57 loc) · 1.98 KB

File metadata and controls

99 lines (57 loc) · 1.98 KB

TAGLINE

daemon that manages network connections

TLDR

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]

SYNOPSIS

NetworkManager [options]

PARAMETERS

--debug

Debug mode.

--log-level level

Logging level.

--log-domains domains

Logging domains.

--pid-file file

PID file location.

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.

CLI TOOL (nmcli)

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

CONFIGURATION

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

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.

INSTALL

apt: sudo apt install network-manager

dnf: sudo dnf install NetworkManager

pacman: sudo pacman -S networkmanager

apk: sudo apk add networkmanager

zypper: sudo zypper install NetworkManager

nix: nix profile install nixpkgs#networkmanager

SEE ALSO

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