You are not logged in.

#1 2025-03-18 17:00:17

level_9
Member
From: South 24 P, WestBengal, India
Registered: 2023-09-13
Posts: 9

Network Manager taking too long time to update access points

I've trying to make a shell application (like a top-bar) that uses network manager api written in PyGObject to show, connect and disconnect from an access point. However it takes too much time to update access points list. So I checked with nmcli and nmtui and the issue was infact with network manager itself. It takes like 30-100 seconds to update access points. The official network manager website link posted in Arch Wiki also doesn't work. Is there any way to reduce this scan interval?

-------Info-------
Card: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
Kernel: 6.13.6-arch1-1

Offline

#2 2025-03-18 21:27:06

seth
Member
Registered: 2012-09-03
Posts: 62,873

Re: Network Manager taking too long time to update access points

The official network manager website link posted in Arch Wiki also doesn't work.

What does that mean?

Is there any way to reduce this scan interval?

No, but you can recan manually whenver you want and I suspect that's also what you want to do?
https://man.archlinux.org/man/extra/net … nmcli.1.en
"nmcli wifi list --rescan"
https://gitlab.freedesktop.org/NetworkM … ks.py#L167

Howver, why in all 33 gods names would you do this?
NM scans every 2 minutes, what's already kinda excessive and interferes w/ the regular wifi traffic.

Offline

#3 2025-03-18 22:21:57

level_9
Member
From: South 24 P, WestBengal, India
Registered: 2023-09-13
Posts: 9

Re: Network Manager taking too long time to update access points

seth wrote:

What does that mean?

Sorry, the server was down so I thought the link was invalid. I was talking about https://networkmanager.dev/

seth wrote:

Howver, why in all 33 gods names would you do this?

I wasn't familiar with wifi traffic interference and expected the scan interval to be the same as of my mobile wifi. Also since I'm using it's PyGObject API for my top-bar I thought it would be great to get updated access points list faster

Last edited by level_9 (2025-03-18 22:23:13)

Offline

#4 2025-03-19 06:20:11

seth
Member
Registered: 2012-09-03
Posts: 62,873

Re: Network Manager taking too long time to update access points

it would be great to get updated access points list faster

Again: why?
In some UI where you're looking for an AP, yeah sure, you want to explcitly scan when opening that.
The signal strength, sure. But that's not the same.
Other than that, how fast does the AP structure around you change? And why would you even care if your neighbour restarts there router.

There's typically 1-2 APs of actual interest and the rest is just noise.
Once connected to those, why would you care about the surrounding noise?

Offline

Board footer

Powered by FluxBB