Wake On Lan 2.4.20 & Boot scripts

From: ealgera
Date: Thu Oct 02 2003 - 09:32:45 EST



Hi everyone,

My network card (nvidia) is capable of Wake on Lan.
When I issue the following commands from the command line, the system shuts
down immediately and powers up on Wake on Lan:
pci-config -#12 -S
/sbin/halt -hdf

(pci-config from scyld.com)

However, when I put those commands in the /etc/init.d/halt.sh script, the
system won't wake up. ( I put a 'sleep 3' command in between the two others
to give pci-config the time to work)

I have APM in my kernel as follows: (ACPI disabled)

[*] Power Management support
│ │
&#9474; &#9474; <*> Advanced Power Management
BIOS support &#9474; &#9474;
&#9474; &#9474; [ ] Ignore USER SUSPEND
&#9474; &#9474;
&#9474; &#9474; [*] Enable PM at boot time
&#9474; &#9474;
&#9474; &#9474; [*] Make CPU Idle calls when
idle &#9474; &#9474;
&#9474; &#9474; [ ] Enable console blanking
using APM &#9474; &#9474;
&#9474; &#9474; [ ] RTC stores time in GMT
&#9474; &#9474;
&#9474; &#9474; [*] Allow interrupts during
APM BIOS calls &#9474; &#9474;
&#9474; &#9474; [*] Use real mode APM BIOS call
to power off


I use gentoo with the gentoo-kernel-2.4.20-r7.

Has anyone a clue why the wake on lan doesn't work from the shutdown scripts,
and does work from the commandline?

Thanks,
Elton Algera

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/