wakeonlan icon indicating copy to clipboard operation
wakeonlan copied to clipboard

wakeonlan fails on debian 13

Open EricV opened this issue 5 months ago • 5 comments

I use for years a script that does "wakeonlan 'NAS ethernet Mac Adress'" to wake up my nas.

I discovered that somewhere after mid July it was not working any more. But android apps were still working fine. So the culprit was on the client side not the NAS side.

Tested etherwake using "etherwake 'NAS ethernet Mac Adress'" and this worked as expected.

So basically in Debian 13 (Trixie) this program is uselless.

Note I tested via the debian package version but also git sutream up-to-date version : failed both.

EricV avatar Aug 31 '25 14:08 EricV

Sorry to hear that it stopped working for you on Debian but unfortunately I can not provide much help as the Debian package maintainers have patched the wakeonlan script in the past and afaik haven't opened any merge requests against this project to upstream their changes.

The only thing I can recommend is for you to try to use the script using the MAC address of your NAS. Something like:

wakeonlan 01:02:03:04:05:06

If the above line works (i.e. you are able to work your NAS) that's for sure a problem with the forked version of wakeonlan being packaged by Debian and you will have to file bug report on the Debian project.

jpoliv avatar Sep 06 '25 18:09 jpoliv

I can not provide much help as the Debian package maintainers have patched the wakeonlan script

If you read my comment entirely:

  1. I has been working using wakeonlan 'NAS ethernet Mac Adress'" for years so the syntax is correct and the ethernet mac is also,
  2. replacing only wakeonlan by etherwake in the script keeping the mac address works, so the mac address is correct,
  3. I also explained I tested the debian version but also the upstream git current version that does not work either,

So forget about debian version, the upstream git version does not work on debian 13 (well I have also part of testing/unstable on top).

Note that since etherwake works, it is more to make you aware something is broken with current perl packages Version: 5.40.1-6 ...

EricV avatar Sep 07 '25 09:09 EricV

Just to let you know, an unidentified, unrelated change on my system fixed it. So this is not the script itself but its execution environment (perl and perl packages comes first in mind).

You can probably close this bug or use it as a warning for a transitional bug.

EricV2 avatar Dec 15 '25 15:12 EricV2

As the report in https://bugs.debian.org/1112642 mentioned the 6.12.44 kernel version see https://bugs.debian.org/1112642#47 which was a kernel regression reported at https://lore.kernel.org/regressions/[email protected]/

If for @EricV2 this worked after updating to 6.12.45 this was likely the cause.

carnil avatar Dec 27 '25 19:12 carnil

Thanks for the info. That probably mean Etherwake and Wakeonlan use different ways to send WOL ethernet packet. That confused me.

EricV2 avatar Dec 28 '25 10:12 EricV2