Is any thing change with this configuration. my working WOL system stop since last week. i have not changed anything. in past WOL working fine. i just gave “apt-get update” “apt-get upgrade” commands also installed & uninstall docker cli & docker-compose via dietpi-software. this setup working fine before but now with this computer is not wakeup via WOL. my system is working headless so no change in BIOS etc.
only update system via standard commands “apt-get update” “apt-get upgrade” & i have install docker & docker compose & then uninstall it. is any linux command verify the WOL system or needed packages working /available or not?
root@DietPi:/etc/network# networkctl list
WARNING: systemd-networkd is not running, output will be incomplete.
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback n/a unmanaged
2 eth0 ether n/a unmanaged
3 wlan0 wlan n/a unmanaged
Ok no output at all, I would take this as “it worked”?!
This command basically activated WOL mode g on eth0, like it was already before. I just wanted to get sure…
You can reboot the machine and try if it works no, but I think not since we didn’t change anything.
Hm this looks all fine, my only idea left is to check the LAN cable / physical connections.
I reboot many time, i have another raspberry running homeassistant & in that i created switch for wol for my server. shell_command: turn_off_server: "ssh -i /home/homeassistant/.ssh/id_rsa homeassistant@192.168.1.90 'sudo systemctl hibernate'" & it is working fine for hibernate. the wol start thing fail to wake up machine. it was working before. even i tried to send wol magic data through wrt router & android app. but system is not wake up by any method. i have to click the hard start button to boot the machine.
Thanks Joulinar & Jappe, after giving all these commands & with your expert guidance i confirm that dietpi/operating system wise every thing working. then i did brainstorming & check each component backward. i checked router port, UFW ports etc. & then in last i check my NUC BIOS setting. then i found the reason for why wol was not working. the reason was my NUC is old & may be the battery on motherboard exhausted. last week there may be power outage for some time & my nuc forget its settings & start using default setting with WOL disable. I reconfigure my motherboard settings & WOL again start working. so i confirm WOL works on dietpi nuc. thanks