Linux

nmcli

CautionManage NetworkManager

nmcli device status

The RHEL-family network CLI: list devices, set IPs, join Wi-Fi. 'con mod' persists settings.

Examples

  • nmcli device statusList device states
  • nmcli con mod eth0 ipv4.addresses 192.168.1.10/24Set a static IP

Syntax

nmcli [device|connection] <subcmd>

Before you run it

Changes can cut connectivity — careful over SSH.

Used when you see

Wi-Fi keeps dropping
3
On Linux review profiles and reconnect
See the whole flow →

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store