Wake on LAN

From LinuxMCE
Revision as of 07:02, 14 September 2010 by Sambuca (Talk | contribs)

(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Normal use

From any orbiter, you can select the MD to control, click on Power and "Power on MD". This will send a wake up packet to the MD in question.

Alternative method

You can also do this from the command line. LinuxMCE provides a script which allows you to use the device id of the MD.

   /usr/pluto/bin/WakeMD.sh --dev 30

Will wake the MD with device id 30. You can also use the --mac parameter if you prefer entering mac addresses to device ids.


For debugging purposes, you can also run the etherwake command directly.

From the command line type;

   etherwake <mac-address of device> or even moonID (for MD/PC's)

try;

  man etherwake

for more info. This will send a 'magic packet' to the device targeted and as long as that device has the bios & Network interface options to do WOL then you're in business. Obviously you could build some scripts to make this work more slickly and also trigger those scripts based on other events or even time of day etc etc.

Remember that etherwake will use eth0 by default which might not be your internal network. To use for example eth1 type

   etherwake -i eth1 <mac-address of device>

Taken from the forum [1].