![]() This feature is useful to control devices remotely. If there is another device(usually another PC, raspberry pi, or even a router which supports running script/app) that is running 7x24, we can use that device to broadcast the Wake on Magic Packet to the LAN, the Target boots up when it sees the Wake on Magic Packet. Which means that a host(Target) is in power off, sleep, or hibernated state. Wake-on-LAN (WOL) is an Ethernet or Token Ring computer networking standard that allows a computer to be turned on or awakened by a network message. In this case, we'll install Ubuntu 20.04. The Windows Subsystem for Linux(WSL) lets developers run a GNU/Linux environment - including most command-line tools, utilities, and applications - directly on Windows, unmodified, without the overhead of a traditional virtual machine or dualboot setup. Tested on Windows 10/2019(WSL will be installed on this host), the WOL target's OS doesn't matter, it only depends on the NIC's BIOS supporting WOL feature, and of course, the target machine's power cord needs to be plugged in. Then we can use Attune to SSH connect to the WSL(same as a Linux physical machine, or virtual machine), and run the python script there. Before running the WOL python script, we need to install WSL on a Windows host, and setup the WSL to allow SSH connection. ![]() This blueprint is used to boot another host in the LAN, through Wake on Lan. In the above example, the user has set the value of attribute WakeOnLan to LANOnly as shown when done dir.Using Attune to install and configure WSL on Win10/Win2019, then running Wake on Lan python script via the newly installed WSL ![]() The user can set any of the attribute values as shown in the sample screenshot below:
0 Comments
Leave a Reply. |