Note: This test will make use of the free 3rd party application Wake on Lan Monitor/Sniffer by depicus. LANDESK does not endorse nor support any 3rd party software. Users assume all liability when working with 3rd party software.
- On the Agent machine, download the free application Wake on Lan Monitor/Sniffer.
- The program downloads as WakeOnLanMonitor.zip. Extract the files contents to find WakeOnLanMonitor.exe.
- Double click WakeOnLanMonitor.exe to initialize the application.
- The application by default is set to listen for Magic Packets on UDP port 7. LDMS by default uses UDP port 0.
- In the Wake on Lan Monitor, set the UDP port to 0.
- Click Start.
Note: In the event the Core is set to use a different port for WoL, use that port.
- Once started, the Wake On Lan Monitor will go to a 'Connected' state. It is now listening for a Magic Packet on the defined UDP port (in our example UDP port 0).
- Leave the Agent machine powered on, and logged in so the Wake On Lan Monitor remains visible.
Because the Agent is powered on, the Core will determine that there is not a reason to send a WoL command. To work around this we are going to set it to treat the agent as powered off.
- In the Console click Configure > Agent Status Options.
- In the Agent status options box, under Gather agent status, select Never, then press OK.
- In Network View, right-click the agent that has Wake On Lan Monitor running on it, and select Wake Up > Wake Up On LAN. This will broadcast the Magic Packet across the network, which has Agentinformation to identify that the Magic Packet is only intended to be acknowledged by the designated Agent.
- Provided the network correctly routes the Magic Packet, and it is not blocked along the network (i.e. firewalls, switches, routers etc), the Wake On Lan Monitor should display that it has received the Magic Packet.
Note: The successful screenshot was done using UDP Port 9 as UDP port 0 was currently blocked.
How to Verify that the Magic Packet was addressed to the specific Agent.
- In the Wake On Lan Monitor, the information received in the previous test identifies the source (console's IP), that it was a Magic Packet (denoted by packet info FF:FF:FF:FF:FF:FF), and the MAC address of the agent.
- Compare the Mac Address in the received Magic Packet against the Mac Address for the selected agent in the Console.
- In Network view, right-click the Agent, choose Inventory.
- In the Inventory window, select the Network option in the tree on the left.
- The NIC Address listed should match the Mac Addressdisplayed in the Wake On Lan Monitor. This indicates it was addressed to this Agent specifically.
Note: Because WoL/WoW broadcasts the Magic Packet across the network, it will be visible to all machines on the network. If the Wake on Lan Monitor is run on other machines, they will also pick up the Magic Packet. The packet contains the destination machines Mac Address, and should only be accepted by a machine who's Mac Address matches the packets.