* Raj Kiran Grandhi (2007-07-26): >> > I am trying to get "wake on lan" to work in Etch. I have a motherboard >> > with an onboard NIC which supports wake-on-lan. I have enabled >> > wake-on-lan in the bios. When I poweroff the computer during POST, I am >> > able to remotely wake it, but if I shut it down from Etch, power to the >> > NIC is also being turned off and wake-on-lan does not work. I have >> > edited '/etc/init.d/halt' and removed the '-i' option from the 'halt' >> > command, but the NIC is still being powered down. >> >> Try to add this line in your /etc/network/interfaces : >> post-down ethtool -s eth0 wol g >> >> It tells your nic to prepare to be woken up, so perhaps it will not power >> off. >> >> Install ethtool if you don't have it. >> > ethtool did the trick! Thanks a lot. Only, I had to add that line as a > script in the /etc/network/if-up.d directory.
It turned out to be 3d hit in google "linux wake on lan". While it's gentoo wiki, hardware<->kernel thing is the same: there's nothing interesting in bios?kernel?acpi?userspace dance. Anyway beware of acpi reboot/poweroff problems and how they are awkward. <http://mid.gmane.org/[EMAIL PROTECTED]> <http://mid.gmane.org/[EMAIL PROTECTED]> Also some drivers are not wol ready in 2.6.18: <http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=e3173832d7be8f62a181a1888a65f0a3dc58c2e0> ____ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]