Wireless Daemon for Linux
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: Donald <sirspudd@gmail.com>, iwd@lists.linux.dev
Subject: Re: systemd-networkd managed wireless networks
Date: Tue, 4 Mar 2025 08:54:35 -0600	[thread overview]
Message-ID: <44b67fe3-d5e1-405a-9198-18b3d6b81d14@gmail.com> (raw)
In-Reply-To: <CAOVeLGQuNx5Cr0WVcNQDJpPZk1bWKcmQ-+YeTxdruiAODBGxBw@mail.gmail.com>

Hi Donald,

On 2/28/25 4:55 PM, Donald wrote:
> Top of the morning,
> 
> Do the iwd dev team strongly recommend having iwd manage the wireless
> interface with:

This greatly depends on your use case.  If you are integrating iwd with another 
network manager that doesn't support iwd's NetworkConfigurationAgent APIs 
(ConnMan, systemd-networkd), then using EnableNetworkConfiguration=true is not 
what you want.  Recent versions of NetworkManager do support this feature and 
are thus able to let iwd figure out the network configuration details and apply 
the settings to the system.

> 
> [General]
> EnableNetworkConfiguration=true
> 
> I am asking as I am using iwd in conjunction with systemd-networkd,
> and was caught by surprise that disconnecting from my ap in iwd:
> 
> iwctl station wlan0 disconnect
> 
> does not result in the associated networkd instance from being degraded:
> 

That may be a question for systemd-networkd folks.  'station disconnect' should 
result in iwd bringing the interface down.  I don't see why it would continue 
having addresses assigned.

>                     Link File: n/a
>                  Network File: /etc/systemd/network/wireless.network
>                         State: routable (configured)
>                  Online state: online
>                          Type: wlan
>                          MTU: 1500 (min: 68, max: 1500)
>                         QDisc: pfifo_fast
> IPv6 Address Generation Mode: eui64
>            Wi-Fi access point: (null) (00:00:00:00:00:00)
>      Number of Queues (Tx/Rx): 1/1
>                       Address: 192.168.50.153 (DHCPv4 via 192.168.50.1)
>                                fe80::ea4f:25ff:fe44:f60b
>                       Gateway: 192.168.50.1
>                           DNS: 192.168.50.240
>                                1.1.1.1
>                                192.168.50.1
>                                2600:1700:7c10:d0ff::1
>                           NTP: 192.168.50.1
> 
> It is interesting to me that networkd has enough insight to know the
> ap's name, but still does not change the state off of: routable
> (configured) or adjust the online state.
> 

Perhaps it has to do with some roaming hacks that systemd-networkd introduced 
recently?

Regards,
-Denis

  parent reply	other threads:[~2025-03-04 14:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-28 22:55 systemd-networkd managed wireless networks Donald
2025-03-03 22:46 ` James Prestwood
2025-03-04 14:54 ` Denis Kenzior [this message]
2025-03-04 22:00   ` Donald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44b67fe3-d5e1-405a-9198-18b3d6b81d14@gmail.com \
    --to=denkenz@gmail.com \
    --cc=iwd@lists.linux.dev \
    --cc=sirspudd@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox