On 2025-12-15 15:37:00 +0100, Eric Valette wrote:
> On 12/15/25 15:04, Vincent Lefevre wrote:
> 
> > FYI, the wakeonlan script hasn't changed since at least bookworm
> > (and this may be much more longer, as the script says 2005, though
> > I'm wondering whether this is up-to-date).
> 
> The script itself surely not, but perl, perl packages, kernel, ... So this
> is not a sufficient reason.

The script does some output:

        print "Sending magic packet to $ipaddr:$port with $hwaddr\n";

and you can check that this is correct. So this would be a major
bug somewhere in basic networking, not in the script itself.

> Both machine are connected via a non managed switch no router in meddle and
> almost no traffic (as I use it before starting transfer to my nas) . And
> again this was systematic : at a certain period of time wakeonlan did not
> send the magic packet or a corrupted version of it (did not run wireshark to
> see exactly). No error as program return code. And etherwake was
> systematically working. I did maybe ten of each and tried wakeonlan upstream
> version also.

You can still check whether there are differences, even if this
is working. For instance, perhaps the default broadcast address
is different in wakeonlan and etherwake (this might matter in
some cases).

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Reply via email to