Comments on: How to Connect Wi-Fi from Linux Terminal Using Nmcli Command https://www.tecmint.com/nmcli-connect-wi-fi-from-linux-terminal/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Mon, 17 Jun 2024 06:59:00 +0000 hourly 1 By: Ravi Saive https://www.tecmint.com/nmcli-connect-wi-fi-from-linux-terminal/comment-page-1/#comment-2181195 Mon, 17 Jun 2024 06:59:00 +0000 https://www.tecmint.com/?p=29047#comment-2181195 In reply to Laks Nallamothu.

@Laks,

I’m glad you found the tutorial helpful!

It seems like the issue you’re encountering with nmcli could be related to the network manager not recognizing your WiFi device properly. Even though you can see the WiFi interface wlp3s0 and scan for networks using sudo iw wlp1s0 scan, nmcli might not be detecting it correctly.

Here are a few steps you can try to resolve this issue:

sudo systemctl restart NetworkManager
systemctl status NetworkManager
nmcli device
sudo dpkg-reconfigure NetworkManager
sudo lshw -C network
]]>
By: Laks Nallamothu https://www.tecmint.com/nmcli-connect-wi-fi-from-linux-terminal/comment-page-1/#comment-2180381 Fri, 14 Jun 2024 13:14:40 +0000 https://www.tecmint.com/?p=29047#comment-2180381 It is a well-presented tutorial. I am currently running CentOS on a desktop. I noticed that my system shows a WiFi interface wlp3s0, and I was able to scan for WiFi networks that I can connect to.

However, the last step using nmcli to connect to my WiFi network is failing with the error message “Error: No Wi-Fi device found“.

If there is no WiFi device, how was I able to complete all the other steps as you mentioned? I even used the command sudo iw wlp1s0 scan which listed all the WiFi networks and their related status information.

The desktop originally had WiFi when it was running Windows, but it was removed when Windows 7 became outdated and CentOS v7 was installed.

]]>
By: cristian torres https://www.tecmint.com/nmcli-connect-wi-fi-from-linux-terminal/comment-page-1/#comment-1400704 Sun, 13 Dec 2020 15:42:41 +0000 https://www.tecmint.com/?p=29047#comment-1400704 If after running:

$ iw dev

your interface is wlp1s0

Why in the holy world are you using:

$ iw wlp2s0 link
]]>
By: Aaron Kili https://www.tecmint.com/nmcli-connect-wi-fi-from-linux-terminal/comment-page-1/#comment-1138405 Tue, 23 Apr 2019 17:19:47 +0000 https://www.tecmint.com/?p=29047#comment-1138405 In reply to Bilal.

@Bilal

Oh, great! Many thanks for the wonderful words of encouragement. Do not forget to share this article.

]]>
By: Bilal https://www.tecmint.com/nmcli-connect-wi-fi-from-linux-terminal/comment-page-1/#comment-1138119 Tue, 23 Apr 2019 04:46:57 +0000 https://www.tecmint.com/?p=29047#comment-1138119 This is the BEST tutorial, quickest possible way to connect WiFi.THANKS A LOT for putting this together Aaron Kili – you rock !

]]>