Posts

Showing posts from April, 2021

starting up a PC over the internet that has been in shutdown state

 how to start a PC that has been shutdown from a mobile phone from anywhere on the internet? 1. On the PC  Go to Device Manager>Network Adapters Right Click the Network adapter that is connected to LAN and select Properties Go to Power Management tab and check the boxes, Allow this device to wake the computer and Only Allow a magic packet to wake the computer. Go to Advanced tab and ensure Wake on Magic Packet/Wake on Pattern Match are enabled. Note thew MAC address of the PC by going to Start>Settings>Network and Internet>Ethernet>Properties>Physical address (MAC)  2. On the PI Connect a Raspberry PI to the same network that has the PC's that need to be restarted. Enable remote desktop on the pi Install a package in terminal using command sudo apt-get install etherwake Test waking up the PC by using the command : sudo etherwake -i eth0 MAC:ADDRESS Create a script [wol.sh] and make it executable. Install xrdp using : sudo apt-get install xrdp Install zer