Operating System - Linux
1820411 Members
3103 Online
109624 Solutions
New Discussion юеВ

Wake on LAN with DL380 G1

 
Fog-Watch
Advisor

Wake on LAN with DL380 G1

I would like to wake up my Proliant DL380 G1 (Linux) remotely. This is what I have done to attempt this:

1 With the System Utilitites Partition I have enabled the on-board wake-on LAN.
2 I have determined what my MAC address is with ifconfig.
3 The latest firmware is installed and the network is operational to the card with the "MAC address".
4 Then I use http://ahh.sourceforge.net/wol/ from a computer on the network to send the "Magic Packet" to the "MAC address".
5 Checked all of the above.

No, Miss "MAC address" doesn't wake up when asked. I have used this type of setup for other computers.

Any clues why not?

Regards

Fog_Watch.
9 REPLIES 9
Steven E. Protter
Exalted Contributor

Re: Wake on LAN with DL380 G1

Shalom,

Not every server supports this.

Two factors are required:
1) Server/hardware support. You will see a flash message at boot.
2) Sofware that supports waking up the OS.

You say Linux but not which Linux. Not every distribution supports this. I believe most DL class servers support wake up on supported distributions.

Happen to have the doc cd for the server handy? If not I suggest a download and read.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Fog-Watch
Advisor

Re: Wake on LAN with DL380 G1

Steven

G'Day from Australia.

Compaq ProLiant DL380 Setup and Installation Guide, Second Edition (December 1999), Part Number 120133-002,
and other documentation suggests that my DL380 G1 is WOL compliant. The machine certainly has the NC3163 adapter. The flash message from the NIC does not mention WOL.

I haven't seen a "doc CD" as such. I have several of the documents at http://h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?contentType=SupportManualтМй=en&cc=us&docIndexId=179911&taskId=101&prodTypeId=15351&prodSeriesId=254889.
Those documents say that the machine is WOL-cabable, but that is about all. The most explanatory I have seen is how WOL needs to be enabled with the System Utilities Partition.

"Linux" - yes I get a bit sheepish here. I am using Gentoo. I have installed hpasm based on "ftp://ftp.compaq.com/pub/products/servers/supportsoftware/linux/hpasm-7.4.0-56.rhel4.i386.rpm". HP management CLI for Linux (v1.0) shows the following:
hpasmcli> show wol
Wake-On-Lan is currently enabled.

Oh, Automatic Server Recovery is off. I don't know if that has anything to do with it.

Regards

Fog_Watch.
Ryan Goh
Frequent Advisor

Re: Wake on LAN with DL380 G1

Automatic Server Recovery means if the driver cannot perform an update, it indicates that the system is not functioning due to a critical hardware or software error. When this occurs, Automatic Server Recovery resets your system and brings it back on line.
Fog-Watch
Advisor

Re: Wake on LAN with DL380 G1

I cancelled ASR using the startup utility because I found that it was rebooting the system at the specified frequency. I suspected that the cause of this was the hardened Gentoo kernel or SELinux. I don't know though and finding out was too much like hard work, so I just turned it off.

Thanks for the reply.

Regards

Fog_Watch.
Ryan Goh
Frequent Advisor

Re: Wake on LAN with DL380 G1

If I not wrong, Magic Packet technology is come from AMD and IBM technology. I think your DL380 G1 is not support Magic Packet because this model of server is using intel CPU. DL385 is the one you should look for.



Fog-Watch
Advisor

Re: Wake on LAN with DL380 G1

The adapter on my DL380 is an NC3163. The webpage says that the card is WOL capable: http://h18000.www1.hp.com/products/quickspecs/11813_div/11813_div.html.

The other documentation about the machine referred to above says that the DL380 G1 is WOL capable, as does the setup utility.

This wealth of documentation suggests to me that the machine is WOL capable. I am not so sure about how to wake it up. Other than "Magic Packet" is there another way to wake the machine up?

Regards

Fog_Watch.

PS. Don't anyone out there say something funny like, "Press the on/off switch".
Ryan Goh
Frequent Advisor

Re: Wake on LAN with DL380 G1

You need to make sure the server is ready for Wake on LAN by doing the steps below.

Using System Configuration Utility to configure:

1. Press the F10 key during system POST to run the System Configuration Utility.
2. At the HP logo screen, press any key to continue.
3. At the Main Menu screen, press the CTRL+A keys to enable the advanced mode.
4. Select System Configuration, and press the Enter key.
5. Select Hardware Configuration, and press the Enter key.
6. Press the Enter key to continue through the Configuration Changes screen.
7. Select Review or modify hardware settings, and press the Enter key.
8. Select Step 3: View or edit details, and press the Enter key.
9. Select Wake On LAN in the Advanced Settings section, and press the Enter key.
10. Modify the setting as appropriate using the up or down arrow keys, and press the Enterkey.
11. Press the F10 key to exit this screen.
12. Select Step 5: Save and exit, and press the Enter key.
13. Select Save the configuration and restart the computer, and press the Enter key.

So far, I know Novell ZENworks can wake up your server. You can try to use iLO to power on your server through the web.

Regards
Ryan Goh
George Georgiev
Occasional Advisor

Re: Wake on LAN with DL380 G1

You can refer to this nice wiki about WoL and linux: http://gentoo-wiki.com/Wake_on_lan

Basically it comes to two commands for shutting down the server:

ethtool -s eth0 wol g
halt -hdp

If you do not shut down the server in this way no magic packets will be able to wake it up.


cheers!
George
Fog-Watch
Advisor

Re: Wake on LAN with DL380 G1

George

So this what I do, right.

I change my driver over to e100. It was on that eepro100 thing. I don't know why.

After that I was able to ethtool -s eth0 wol g && halt -hdp. Interestingly the NIC didn't accept any other wol settings. I then rechecked the wol setting in the setup utility.

Aaannnnnndd. Nothing happened. I'm stumped. Note that after halt -hdp the light on the NIC goes out, whereas the NIC on riser-board stays on. Don't ask me why. No, there is not a WOL plug on the riser board, just a spot where it could go.

"If you do not shut down the server in this way no magic packets will be able to wake it up." Yes, I'd forgotten that.


Ryan

Novell ZENworks must do something very fancy.

iLO: I'll think about that.


Thanks both for your work.

Regards

Fog_Watch.