Thursday, 5 October 2017

Remotely turn on a Windows PC from Ubuntu/Linux

If you want to turn on a Windows PC from Ubuntu/Linux machine, you are required to first prepare the target machine to capable on wake on LAN.

Prerequisite:-

1. A target Windows machine configured to wake on lan.
2. A updated Linux/Ubuntu Machine.
3. MAC address of traget machine.
4. A LAN, that connect both machines.


How to configure a Windows PC to wake on LAN ? Read this blog.

After making your target PC to wake on LAN, you need a Ubuntu/Linux machine from where you can turn on your machine. As well as you also required a Linux/Ubuntu package to turn on a machine through a LAN.

There are many tools are available for Linux/Ubuntu to turn on any PC on wake on LAN. Some are -

1. etherwake
2. wakeonlan
3. powerwake

As well as a GTK tool is also available

gWakeOnLan

I have used wakeonlan on Ubuntu 16.04 and 14.04.

Open your terminal and type

wakeonlan <mac address of your target machine>

like

wakeonlan 00:00:cc:dd:cc:aa


After running above command your traget PC will be turned on successfully, if it is configured properely.

No comments:

Post a Comment

Change image source dynamically on hyperlink

 Changing image source dynamically using JQuery. Here in this example I have created there hyperlink and stored all images in the same folde...