Does enabling wakeonlan automatically work for you reliably? I tried enabling with cron, but that only works at @reboot . I tried with systemd and other tools as described in https://wiki.archlinux.org/title/Wake-on-LAN and other pages, yet I have to turn it on manually always. The target system runs ubuntu.

  • nottelling@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    23 hours ago

    WOL being unreliable is usually a question of hardware. If it works sometimes, then your configuration is probably correct and the issue les6s in your switching network, your NIC, or your motherboard.

    A lot of switches suck. Start by validating that every single wakeup packet is getting from wakeup server to client while it’s awake, and make sure the payload is intact.

    If you’re seeing occasional packet loss, modify your WOL script to spam several magic packets over a couple minutes. Won’t hurt devices that are already awake.

    If you’re not getting packets lost, put another WOL device on the same port and see if it wakes up more reliably.

  • Jeena@piefed.jeena.net
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 day ago

    Normally wake on län is a bios setting and has not much to do with your software.

    I did turn it on a Dell computer at my parents summer house and the sending the magic package from a raspberry pie worked without problems every time.

  • catloaf@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 day ago

    I have never gotten WoL to work reliably in any condition. I would just assume it’s not going to, and use other power controls.