Hi,
I've been using the OS-WOL plug-in on OPNsense, with a daily cron job to wake my server from sleep for the last 2 years.
This has worked flawlessly from 24.7 all the way to 26.1.6.
The cron job started failing ever since I upgraded to 26.1.7 on the 1st of May 2026.
I can still wake my server up from the GUI Services - WOL. However the cron job fails. When I check the logs under system - log files - backend I get a "wol wake 192.168.50.255 xx:xx:xx:xx:xx:xx] returned Error (1) message.
I find this strange as I haven't made any changes to the WOL Cron Job in over 2 years and it now fails every time.
Just so its clear the parameters for the cron job were :- 192.168.50.255 MAC_ADDRESS
Any help on this would be greatly appreciated.
Please update to the latest hotfix.
Cheers,
Franco
Thank you for your reply.
I've already updated to the latest hotfix 26.1.7_3 but the behaviour seems unchanged.
Aha, I see it now. You need to put each parameter on a separate line since 26.1.7. Right now it pushes "192.168.50.255 MAC_ADDRESS" because it's a single line.
This was changed to allow empty parameters and parameters with whitespaces plus longer parameters.
Cheers,
Franco