
If you want to enable or disable the entire WiFi access in your Linux system, simply turn your wireless radio ON or OFF like below: $ nmcli radio wifi on $ nmcli radio wifi off

In the above examples, we have activated and deactivated a specific Wireless network connection and interface. Wired connection 1 410f30c5-b1ca-3e7c-9083-2b59c73be34a ethernet -Īctivate and deactivate wireless connection from commandline with Nmcli The above command will list all saved network connections (both wired and wireless) in your Linux machine: NAME UUID TYPE DEVICE Nmcli comes pre-installed with all GNOME based Linux desktops.įirst, let us view the list of saved network connections and the wireless device name in your Linux system using command: $ nmcli connection

All from commandline! No need to use any other GUI clients to configure wired or wireless network connections in Linux. Using nmcli, we can create, display, edit, delete, activate, and deactivate network connections, as well as control and display network device status. Nmcli is a commandline interface used to control NetworkManager and report network status in Linux.

Connect and disconnect WiFi from commandline with Nmcli in Linux
