Re: iwd not honoring AutoConnect=false

Alexander Huemer <[email protected]> Mon, 2 Mar 2026 14:20:56 +0000
Newsgroups dev.linux.lists.iwd
Message-ID <3cn36gcnqnqvraluesq3tuw2rtmtg554dac7oxopofhmuig3zi@45jbdmaujces>
On Thu, Feb 26, 2026 at 08:22:41PM -0600, Denis Kenzior wrote:
> On 2/26/26 4:12 AM, Alexander Huemer wrote:
> > I am using iwd 3.8 with systemd-networkd 257.9 on Debian stable (trixie)
> > on an amd64 machine.
> > There is a wireless network with a PreSharedKey with a .conf file in
> > /etc/iwd that I do not want iwd to connect to automatically if the
> > signal strength becomes better than an alternative.
> > The manpage iwd.network advises to use
> 
> You talk about iwd.network manpage, but also about /etc/iwd.  Note that iwd
> network configuration details are typically stored in /var/lib/iwd.  The
> manpage mentions this explicitly.

Yes, that was the relevant clue.
What I found in /etc were leftovers from an attempt to migrate network 
definitions from a different wireless network manager.
After putting the option in the correct file in /var/lib/iwd I got the 
expected behavior.

Thanks,
-Alex