Platform information:
o Hardware: Amlogic S905X3 Quad Core 4x ARM-A55 @ 1.9GHz (64bit) GPU Mali-G31 MP2 12nm / 4Gb ddr3 ram / 32gb eMMC
o OS: ARMBIAN linux Ubuntu 19.10 (Eoan Ermine) arm64
o Java Runtime Environment: 8 version
o openHAB version: 2.5.1
Wol binding can’t wake up my pc after shut down 10-15 minutes later, but my router with wol functiun button always wake up my pc.
I click shut down button in win10, my pc turn off. After I say Alexa, turn on my pc, my pc turning on, but after 10-15 minutes can’t wake up my pc.
I have a router with wake on lan function button, this button always wake up my pc, but openhab wol binding can’t.
Wol.itemes
Switch networkPC "Computer" Switchable (network, gOGBuero) { wol="192.168.10.255#00-DE-AD-BE-EF-00" }
I logged lan wol packets with wireshark: (Logged with “destination pc” with wireshark, pussh router wol function button and activate openhab wol binding)
- Openhab magic package type: IPv4 (0x0800) / Destination: AsusTek_4e:o7:98 (my pc mac address)
- Router magic package type: Wake On Lan (0x0042) / Destination: Broadcast (ff:ff:ff:ff:ff:ff)
UPDATE
SOLUTION:
- setup static ip on router
- setup static ip on “destination pc”
- NIC config: Enabel wol, magic package
Disable energy saving, deep sleep - BIOS config: Enable wol
- NIC config: Enabel wol, magic package
- add static ip to the linux server ARP table
arp -s IP MACaddress
(After shut down destination pc the linux server arp cache cleared 10-15 mins later.)