Le Wednesday 25 July 2007 01:46:03 Raj Kiran Grandhi, vous avez écrit :
> Hi,
>
> 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.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to