Am 19.04.2008 um 22:51 schrieb Paul Csanyi:
Andrei Popescu <andreimpopescu@gmail.com> writes:On Sat, Apr 19, 2008 at 09:41:14PM +0200, Paul Csanyi wrote:When I run the command wakeonlan the server box wan't not to wake up.I never used wake-on-lan, but I see from the description of the wakeonlan package that it used UDP packets in order to avoid the need for root. Maybe you should also try etherwake?Maybe I don't understand the description of wakeonlan: "You can wake up WOL compliant Computers which have been powered down to sleep mode or start WOL compliant Computers with a BIOS feature." Well, if I power down the server with "shutdown -t 1 -h now" then I can't to wake it up with wakeonlan?
Have you tried suspending (hibernating) the system and then waking it up? If I understand you correctly, you are trying to power up a system that is not in suspend-to-disk or suspend-to-ram mode, but off. I have never used a system with a NIC that actually has a special cable for Wake-on LAN (my cheap NICs were always regular PCI ones without that connection) and I haven't read the docs for wakeonlan, so I am not sure if that makes a difference, but I always thought (and verified by experiment for my hardware) that I needed to suspend the system for WOL to work; starting a machine which had simply been powered off with theshutdown command never worked. Again, maybe this is possible with certain
hardware, but it would certainly be special. -Moritz