Skip to content

Latest commit

 

History

History
76 lines (60 loc) · 1.15 KB

nmcli.md

File metadata and controls

76 lines (60 loc) · 1.15 KB

NMCLI

Getting help

  • Getting help:
nmcli help
  • Getting help on the general section:
nmcli general help

Connections

  • Turn on wifi
nmcli radio wifi on
  • Turn off wifi
nmcli radio wifi off
  • Show all connections:
nmcli connection show
  • Show all active connections:
nmcli connection show --active
  • Delete a network configuration:
nmcli connection delete UUID
  • Activate a connection
nmcli connection up UUID

Devices

  • List all the devices
nmcli device

How to connect to a wifi access point

  • List all the available access point:
nmcli device wifi
  • Rescan for available access points:
nmcli device wifi rescan
  • Connect to a wifi access point specified by a SSID (EEE)
nmcli device wifi connect EEE password '123456...'
  • Eg
nmcli device wifi connect "Vodafone Free WiFi"

Resources