[vdr] Wakeup On LAN
vdr at bjusystems.de
Sat Mar 3 16:22:07 CET 2007
> 1) Make sure that your Interface does not get down, when Linux shuts down. Control this behavior, with the Links on your Switch or maybe there are also light that must not turn off on your interface. The rc_down_interface is perfect for this
> 2) Have you set wake on lan with ethtools? -> I do it every boot: /usr/sbin/ethtool -s eth0 wol g
Ethtool currently doesn't support the tulip on board LAN. But the BIOS
should enable WOL. echo -n PCI0 > /proc/acpi/wakeup reenables PCI
wakeup, which is required for WOL. And the interface is confugured to
not going down on shutdown.
> 3) The magic packet must be sent to the broadcast address, since ARP requests do not work! -> my /sbin/wol-htpc script
> wol --ipaddr=192.168.0.255 00:13:d4:1e:94:73
Now I'm using etherwake and the packets are right.
Now I've patched my kernel with suspend2. Now after hibernating to
suspend-to-ram or ACPI S4 WOL is working perfectly. Hibernating to
the poweroff mode disables WOL again. Is WOL never possible if the
PC is soft powered off?
Another problem: I would like to use alarm ACPI wakeup for booting
the PC before the next recording starts. I've not tried this with
hibernate, but with poweroff this also doesn't work. Is this the
Some strange effect is also:
# echo "2007-03-03 12:00:00" > /proc/acpi/alarm
# cat /proc/acpi/alarm
Thanks for another idea,
More information about the vdr