<div dir="ltr"><div dir="ltr">On Thu, Feb 3, 2022 at 9:45 AM Francis Moreau <<a href="mailto:francis.moro@gmail.com">francis.moro@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I would like to know if it's possible to configure an interface at<br>
runtime to enable wol without rebooting my machine.<br>
<br>
I tried to create a link file that has WakeOnLan=magic and did<br>
'networkctl reconfigure ens0' but it doesn't work.<br></blockquote><div><br></div><div>I don't think networkd ever looks at .link files – they are generally processed only through udev rules, when the interface is created.</div><div><br></div><div>Try `udevadm trigger [-c add] /sys/class/net/ens0` though.</div><div><br></div><div>If that doesn't help, do it manually via `ethtool -s wol g ens0`.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Also is it possible to display the status of wakeup online with<br>
'networkctl status' ?<br></blockquote><div><br></div><div>I'd say open a RFE on GitHub issues, although personally I think `networkctl status` is already a bit overloaded...</div><div><br></div></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Mantas Mikulėnas</div></div></div>