I use OpenWRT snapshot (NanoPi R76S with 6.18 kernel). Wake on lan stopped working suddenly, I tried wakeonlan and etherwake, multiple options (interface either br-lan or eth0, broadcast either checked or unchecked...), but it doesnt work. It used to work for years before this week. OpenWRT all wake on lan attempts see as successfully completed. I have two different computers, they both turn on using phisical switch. Did any recent changes in OpenWRT and/or wake on lan cause some incompatibilites/errors?
"Suddenly"?
- Did you upgrade recently?
- If so, do you know your previous version?
- Please provide the output of
ubus call system board
Previous upgrade was on Sunday. Wake on lan stopped working sometime between last Friday and today. I performed another update today, wake on lan still not working. I do weekly snapshot upgrades, so last known good configuration was from approximatelly 12 days ago.
"kernel": "6.18.35",
"hostname": "SecretEye",
"system": "ARMv8 Processor rev 4",
"model": "FriendlyElec NanoPi R76S",
"board_name": "friendlyarm,nanopi-r76s",
"rootfs_type": "ext4",
"release": {
"distribution": "OpenWrt",
"version": "SNAPSHOT",
"firmware_url": "https://downloads.openwrt.org/",
"revision": "r34975-581134305e",
"target": "rockchip/armv8",
"description": "OpenWrt SNAPSHOT r34975-581134305e",
"builddate": "1781785959"
}
That's helpful information.
Did you just upgrade to a newer snapshot image?
Or did you alter configurations too?
I just upgraded to the latest snapshot and packages, no change to configuration was made. Additionally, I tried different wol settings, but they do not work either.
Snapshots are betas, why not simply run stable?
I've been running snapshots for years, more or less without problems. Now I need to determine what is causing this, it might not even be an OpenWRT router. It is a bit unfortunate because I can only access my home network via VPN, because I am not at home, so my troubleshooting options are limited. I just wanted to check if there is some OpenWRT bug in wol service also noticed by other users. But I Guess, the answer is not.
I just tested it on a Master Snapshot from yesterday with the following script using etherwake:
#!/bin/sh
wu="$1"
[[ -z "$wu" ]] && wu="60:CF:84:33:AA:BB:F5"
logger -p user.info -t "etherwake" "Sending Wake up to $wu"
etherwake -D -b -i br-lan "$wu"
And that worked without a problem
Power outage probably caused it. When I returned home, I manually turned on both computers and shut down them. Afterwards, the WOL started working again. So I can confirm, no OpenWRT bugs were present this time!