[CentOS] Wake On LAN

Tony Mountifield tony at softins.clara.co.uk
Mon Apr 27 13:31:55 UTC 2009


In article <3c857e1c0904270112v48abf0feh18611f66fec1175d at mail.gmail.com>,
James Bensley <jwbensley at gmail.com> wrote:
> 
> I can not work out how to get my Dell NF500 III server to use wake on
> LAN using the on board Broadcom NetExtreme II BCM5708 NIC card? I'm
> running Cent OS 5.3 final (i386).
> 
> Basically, If I had windows server 2k3 installed I know that the cards
> & mobo etc support WOL I would just have to tick a little box under
> the NIC card properties saying "allow wake on LAN" (or words to that
> affect). How can I enable WOL for my NIC card?
> 
> I have two identical servers so I have tried putting one to sleep (via
> either setting the hibernate time down to 5 mins and waiting for it to
> time out and hibernate or by running the following as root: echo
> shutdown > /sys/power/disk; echo disk > /sys/power/state) and waking
> it up with ether-wake and WOL (an rpm package) but neither worked,
> also with a windows WOL client from a windows server which I know
> works as it is regularly in use but the system didn't come up. The
> light is glowing green on the mobo just next to the two on board NIC's
> (both are the same BCM5708's); the light is on but nobodies home?
> 
> What setting might I be missing within CentOS its self to keep the
> cards alive when the power is out? Any help is greatly appreciated.

I don't know about your Dell, but on my HP ML110 servers, I had to add
a line to ifcfg-eth0 to make ethtool tell the LAN port to enable the
wake-on-lan function:

ETHTOOL_OPTS="wol g"

You will need to take the interface down and up after adding the line.

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the CentOS mailing list