Page 1 of 1

Wake on Lan with Widget Designer & Spark

PostPosted: Tue Feb 24, 2009 12:32 pm
by Julia Foest
Hi all,

if you want to automatically wake up a computer / server in the network, you can do this either using the PB Widget Designer or PB Spark.

Precondition is that the ethernet adapter of the computer you want to wake up supports WakeonLan with Magic Packet. Please have a look to the ethernet cards properties in the device manager (click on Start and then control panel --> system. In the system properties window, click on the hardware tab, there on the device manager button).

You will need the physically MAC address of the computer.
You find it here: Click on Start and then Run... Type "cmd" into the textbox and press OK. A command prompt window opens. Type "ipconfig /all", press ENTER. Have a look under your connected Ethernet Adapter - the 12-digit physical address is the same as MAC address (e.g. 00-15-AF-6F-49-97)


Using the Widget Designer:
Create a custom skript button. In his Item Properties choose the Macro Script Command: WakeOnLan,MacAddress, click ADD, and instead of "MacAddress" type in the computers Mac address, including the hyphens --> WakeOnLan,00-15-AF-6F-49-97. Press APPLY. By clicking this edited custom script button you will start the corresponding computer.
wd_wakeonlan.jpg

Using Spark
In order that Spark wakes up another computer, it will need a TCP-, UDP- or RS232-message. First of all set the TCP/UDP/RS232 port you want to listen to in Spark.
The command you have to send to Spark (e.g. from a serial link device in Pandoras Box) is "(WakeOnLan,MacAdress)". Instead of "MacAddress" type in the computers Mac address, including the hyphens --> "(WakeOnLan,00-15-AF-6F-49-97)".

Best regards!
Julia