[systemd-devel] Configuring wakeup-online at runtime with networkctl

2022-02-02 Thread Francis Moreau
Hello,

I would like to know if it's possible to configure an interface at
runtime to enable wol without rebooting my machine.

I tried to create a link file that has WakeOnLan=magic and did
'networkctl reconfigure ens0' but it doesn't work.

Also is it possible to display the status of wakeup online with
'networkctl status' ?

Thank you.
-- 
Francis


Re: [systemd-devel] network config breaks when starting a nspawn container

2022-02-02 Thread Francis Moreau
On Thu, Jan 27, 2022 at 7:26 AM Francis Moreau  wrote:
>
> Hi,
>
> systemd-networkd creates a bridge 'br0':
>
> $ cat /etc/systemd/network/30-br0.network
> [Match]
> Name=br0
>
> [Network]
> DHCP=ipv4
> Domains=~.
>
> The bridge has one slave 'bond0' by default. The bond device is used
> to
> aggregate my ethernet card and my wifi card (configured by NM).
>
> systemd-resolved is also used.
>
> Every thing works until I start a container 'c1' which should connect
> to br0:
>

Interestingly this only happens when the active interface in the bond
device is the wifi interface.