Hi Lennart,

>> Is there any way to tell systemd-networkd to use one .network file or
>> another depending on which SSID the Wi-Fi interface is connected to?
> 
> This does not currently exist, but it was always the intention to add
> this. So far nobody did the work though.
> 
> Most likely this would require some minimal wifi netlink hookup so
> that we can properly watch the configured SSID for the interfaces we
> watch. Would love to review such a patch.

actually this is the wrong approach. You are not getting the full state 
information back from the netlink interface. You need to talk to a proper WiFi 
daemon like iwd that has a full understanding of the WiFi state.

And frankly IP configuration needs to move into the network technology daemons 
like iwd for example. Doing that at the level of networkd or NetworkManager is 
not working out long term. Each technology has a lot of interlinking between 
the IP configuration and its network technology. There needs to be a split 
between configuring the network interface and setting up routing and other 
relationships. The pure IP configuration has to be done by iwd (and soon it 
will be).

Regards

Marcel

_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to