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

Mcwol

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.


Related Posts

4 Comments so far »
 

  1. Julie said, on January 14, 2009 @ 11:18 pm

    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

  2. ahmad said, on April 13, 2010 @ 6:06 pm

    I had laptob works in internet 24/7
    The problem when AC power from labtop is off i putting the laptop in standby with winxp ,how i can wake up standby automatic return from standby without press any key when Ac power on?

  3. peter said, on May 28, 2011 @ 10:16 pm

    It does not work with Eset Firewall. Any solutions?

  4. Chris Duckworth said, on June 7, 2011 @ 2:17 am

    Your firewall should have little impact on WOL. It is probably another issue. The WOL happens before the WOL is loaded. I think it may be settings in your bios preventing WOL.





Leave a Comment

Name: (Required)

E-mail: (Required but will not be published)

Website:

Comment: