Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3567

System and Network configuration • Network does not show without "nmcli dev wifi" first

$
0
0
I just got a travel router (GL.iNET 750S), a very nifty little thing.
[..]
I found out I must first do below, and _then_ I see the network in my network manager menu.

Code:

nmcli dev wifi
Any idea why this is, or how to do it such that it sees the network immediately? I'm guessing it's not listing the wifi since it's a network that doesn't have internet (yet)?
According to the manual page [1], the command nmcli device wifi:
[..]
wifi [list [--rescan | auto | no | yes] [ifname ifname] [bssid BSSID]]
List available Wi-Fi access points. The ifname and bssid options can be used to list APs for a particular
interface or with a specific BSSID, respectively.

By default, nmcli ensures that the access point list is no older than 30 seconds and triggers a network scan
if necessary
. The --rescan can be used to either force or disable the scan regardless of how fresh the access
point list is.
[..]
As you can see, the command triggers a network scan.

That's why the wireless network name generated by the router is recognised by Debian's network manager as soon as you run the command.

--
[1] NMCLI(1) - General Commands Manual

Statistics: Posted by Aki — 2024-07-07 09:00 — Replies 1 — Views 44



Viewing all articles
Browse latest Browse all 3567

Trending Articles