Wake On LAN

Goverlan provides a Wake On LAN feature which uses the Magic Packet™ technology designed by AMD®. The Magic Packet™ technology is used to remotely wake up a sleeping or powered off PC on the network. You can access the Wake On LAN feature by clicking on the icon in the Goverlan Tools section. The Wake On LAN feature is also accessible from the Controls section and the context sensitive menu of any computer object.

Using the Wake On LAN dialog, enter the remote PC's IP address, subnet mask and Media Access Control (MAC) address in their respective fields, and click on the Wake button. To have Goverlan wait for a successful connection after the Wake On LAN call has been placed, check the 'Wait for connectivity after call...' check box.

In order to execute a Wake On LAN call, both the remote PC's IP address and MAC address must be known. However, Goverlan will attempt to fill in these fields for you. If the MAC Address field is blank, you can click on the Get MAC Address button. The Get MAC Address function first looks in the Goverlan WOL Cache for the MAC address of the specified IP address. If it is not found there, Goverlan queries the information directly from the remote machine and upon retrieval, Goverlan stores this information in the cache for future use.

Since the remote PC is in a sleep state when you need to execute the Wake On LAN call, and since the MAC address cannot be queried from a remote PC in a sleep state, an IP Address to MAC Address resolution cache has been implemented. This cache will register every IP address to MAC address resolution executed through Goverlan so that they can be used by the Wake On LAN feature.

Wake On LAN Cache Manager

The Wake On LAN Cache Manager allows you to view, update and modify the IP to MAC address resolutions currently cached in Goverlan. The manager can be started by clicking on the Wake On LAN Cache Manager link in the Wake On LAN feature or in the Administration & Diagnostic category of the Options window.

Default port number

This is the port number Goverlan uses to send the Wake On LAN broadcast call. Most of the time, any port number will work. However, if the remote machine is behind a firewall/router which only allows traffic on specific ports, you will need to adjust this field to an appropriate port number.

Updating one or more entries

To manually modify an entry from the list, double click on it. The Cache Entry property window will appear allowing you to modify the IP, MAC or host name manually for that entry. Note: The information you enter is not validated.

You can also have Goverlan update the information for one or more entries. Select one or more cache items from the list by pressing the CTRL key and clicking on the desired items. Then click on the Update button. The Update action re-queries the MAC address and host name of the selected IP addresses. Note: If Goverlan fails to query a piece of information, it simply leaves the current information.

Removing one or more entries

Select one or more cache items from the list by pressing the CTRL key and clicking on the desired items. Then click on the Remove button.

Resetting the Cache

If a large network infrastructure change has been made in your environment, or IP addresses have been reassigned, you may need to reset the cache. To reset all entries in the cache, click on the Reset Cache button.

Auto-Discovering IP to MAC Resolutions

If you intend on using the Wake On LAN feature, the best way to have a consistent IP to MAC address cache is to activate the Auto-Discovery option. When activated, Goverlan automatically queries the MAC address of every machine that you are currently viewing in the Computers view of the Administration & Diagnostic feature, even if you are not using the Wake On LAN feature. As you are moving through the different Active Directory computer browsers, the WOL cache is automatically updated.

The Wake On LAN Cache Auto-Discovery option can be configured both in the Administration & Diagnostic category of the Options window and in the Wake On LAN Cache Manager itself. To activate, check the 'Auto discover IP & MAC addresses when browsing container'. This option is disabled by default.

Manually discovering new IP to MAC Resolutions

You can have Goverlan scan a range of IP addresses and discover new IP to MAC resolutions for that range.

  1. Click on the Discover button.

  2. Enter the IP range to scan using the From and To IP fields.

  3. Click on Scan.

As Goverlan is scanning the selected range, it will display all IPs which lead to a successful MAC resolution in the results list. The current IP being scanned is also displayed above the result list. At any time, you can click on the Stop Scan to abort the process.

For more information, see IP Scanner.

The Wake On LAN Resolution Data File

Goverlan maintains the Wake On LAN IP to MAC resolution cache in a plain text file called GovWOLcache.dat. The file is located in the Goverlan Application Data directory of your profile. For example: C:\Documents and Settings\yourUsername\Application Data\Goverlan

The GovWOLcache.dat contains all entries as follows:

#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::#

#:::::::::: GOVERLAN WAKE ON LAN CACHE FILE :::::::::::::::::#

#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::#

#   This file contains the mappings of IP addresses to MAC   #

#   Address. A MAC address is required by the Magic Packet   #

#   technologies in order to trigger a Wake On LAN call.     #

#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::#

# IP Address   Physical Address   Hostname

192.168.1.20   00:B0:D0:D3:29:8F  mac1.dom1.pjtec.com

192.168.1.10   00:40:F4:1B:EB:98  mac32.dom1.pjtec.com

192.168.1.1    00:09:5B:C9:2F:32  **unknown**

192.168.1.33   00:0B:5D:06:0A:B9  mac101.dom3.pjtec.com

192.168.1.231  00:09:5B:ED:97:7C  192.168.1.231

192.168.1.110  00:90:96:57:F5:BB  mac9.dom1.pjtec.com

...

You can modify the entries or add a set of new entries directly from this file. Since the hostname information is not mandatory, you may leave this column blank. However, you must have a TAB inserted in between any two columns and each entry must be on its own line.

Note: Make sure that Goverlan is not running if you intend on modifying this file manually.

References