HP MicroServer N40L Wiki
Advertisement

Wake-on-Lan (or WOL) is a power management feature allowing a server to be switched on or awakened from another server via a network message.

Wake-on-Lan is available on all microservers (all five base variations).

The option "Wake On LAN" only needs to be enabled in the BIOS (no firmware upgrade required).

Linux[]

On the local host:[]

To set it up on GNU/Linux operating systems, instructions can be found in the following threads:

If the above does not work, i.e. ethtool reports all should be working but still no WOL, you may also need to set some paramters for ACPI:

echo PCE6 > /proc/acpi/wakeup

Running this before shutdown should leave it enabled. For example, on Centos 6.4 (x86_64):

  • you have to copy the following lines into the /etc/init.d/wakeonlan file as root:
## Calomel.org -- Wake On LAN for Linux
## /etc/init.d/wakeonlan
#
# chkconfig: 2345 99 99
# description: Force NIC into WOL mode
#
ethtool -s eth0 wol umbg
exit
  • then, activate the script as root:
# chmod 755 /etc/init.d/wakeonlan
# chkconfig --add wakeonlan

On the client:[]

From another GNU/linux operating system server, to wake up a server via WOL, install the following package:

  • net-tools on Centos/RHEL (in this case, use the ether-wake command instead of etherwake),
  • etherwake on Debian/Ubuntu.

then run as root: # etherwake -i interface macAddress

This command sends a "magic packet" through the specified network interface with the macAddress of the server to wake up.

Windows[]

Wake-on-Lan can be enabled from the network adapter properties dialog box (after being enabled in BIOS).

To turn Wake-on-Lan on (using Windows 7):

  • Open the Network and Sharing Center by clicking the Start button and typing "network and sharing", press Enter.
  • Click the Change adapter settings link in the left pane.
  • Right click the network connection (in this case Broadcom NetXtreme Gigabit Ethernet) and click Properties.
  • Click Configure.
  • Select the Power Management tab from the ribbon menu.
  • Check the Allow this device to wake the computer checkbox.

If you would like to use a Software package to control Wake on Lan on your Windows PC, grab one of these wake-on-lan software packages (open-source & free) and install on your windows machine as needed. This will enable WOL automatically rather than you configuring manually.

Based on the TechNet Power Management article.

Advertisement