gWakeOnLan

In the Operating System

View project on GitHub

Introduction

After enabling the Wake on LAN in the BIOS the operating system must be informed to enable it before the shutdown otherwise the machine will not turn on even if everything else is done properly.

GNU/Linux

To check if the network card supports the Wake On LAN then the following command can be used:

# ethtool eth0
Settings for eth0:
    ....
    Supports Wake-on: pumbg
    Wake-on: d
    .....

If the Supports Wake-on field contains g then the Wake On LAN by magic-packet can be used:

# ethtool -s eth0 wol g
# ethtool eth0
Settings for eth0:
    ....
    Wake-on: g
    ....

The command must be performed before the machine shutdown.

Apple OS X

In the Apple OS X systems the Wake On LAN setting can be found in the System Preferences under the section Energy Saver.

Apple OS X 1

Microsoft Windows

On major Microsoft Windows OS the Wake On LAN is enabled by default so generally nothing to be done is needed. If the machine still doesn't turn itself on then you should check if the operating system has the Wake On LAN enabled with the magic-packet.

The following specifications can be different, they depends from the used driver.

Microsoft Windows XP

Windows XP 1 Windows XP 2

Microsoft Windows 2000/2003 Server

Windows 2000 1

Microsoft Windows Vista/7/8/2008 Server

Windows Vista 1 Windows Vista 2

Windows Vista 3 Windows Vista 4

Windows Vista 5 Windows Vista 6

Windows Vista 7