Skip to main content

Posts

Showing posts from November, 2018

How to Connect Wi-Fi from Linux Terminal Using Nmcli Command

There are several command-line tools for managing a wireless network interface in Linux systems. A number of these can be used to simply view the wireless network interface status (whether it is up or down , or if it is connected to any network), such as iw , iwlist , ip , ifconfig and others. And some are used to connect to a wireless network, and these include: nmcli , is a command-line tool used to create, show, edit, delete, enable, and disable network connections, as well as control and display network device status. First start by checking the name of your network device using the following command. From the output of this command, the device name/interface is wlp1s0 as shown. $ iw dev phy#0 Interface wlp1s0 ifindex 3 wdev 0x1 addr 38:b1:db:7c:78:c7 type managed     Next, check the Wi-Fi device connection status using the following command.   $ iw wlp2s0 link Not connected. From the output above the device is not connected to any network, run the

Random Posts