Wake on LAN from the command-line with mc-wol
Waking a machine up through a LAN connection can be very useful to turn on a computer if the power button is a pain to get to; say if you have a computer under your desk. It is also handy if you want to turn on a group of computers.
There are a number of Magic Packet senders that will wake a computer up over a LAN connection, but these are usually stand alone programs that need to be opened up and have data entered into them before they work. I wanted a more customizable solution.
Mc-wol is a command line utility that enables you to wake up a machine on your local area network. Being a command line utility, it is easy to utilize in a shortcut on your desktop, place into a batch file, or use it in a scheduled task.
Don’t let the command line scare you. The syntax is really simple. To launch a computer, type mc-wol followed by the mac/ethernet address. i.e.:
mc-wol 91:34:eb:de:45:32

Wake on LAN software only works on computers which are in standby or hibernate modes.
Mc-wol is free and available from Matcode.com. You will also find a bunch of useful information on the page about simple settings you will need to check before WOL will work.
This is a great tool, I used it when troubleshooting why I couldn’t get WoL to work through Microsoft’s System Center Configuration Manager 2007.
http://thebackroomtech.com/2008/07/14/manually-testing-wake-on-lan/
-Julie
Leave a Comment