[Networkmanager] Getting connected clients in hotspot mode

Guido Günther agx at sigxcpu.org
Mon Apr 3 16:42:13 UTC 2023

when using hotspot mode in GNOME it enables ap mode on the wifi
interface and enable dhcp via dnsmasq.  Is there a way to find whether
ther are connected clients via libnm or would you recommend looking at
dnsmasq's leases or /proc/net/arp?

The reason is that I want to be able to reenable device suspend N
minutes after the last client disconnected:


 -- Guido

More information about the Networkmanager mailing list