📜 ⬆️ ⬇️

WOL: Adventures of the "Magic Package"

image
1. You ran out of the house in the morning forgetting to turn on the computer to maintain the Torrent rating?
2. You once again ran out of the house, and when you came to work you remembered that the necessary files were left on your home PC? or vice versa.
3. Have you turned off the lights and PC, Server, etc ... turned off? but do you need them in working condition?
4. Any other critical incident that hits you on the road.
This article will discuss how using Wake On LAN, which has been present in almost all BIOSes since 2002, will turn on your computer via a network or via the Internet.
From another PC, or mobile device.


What you need to have



And,
AMD Magic Packet , for Windows;
PocketLAN for Windows Mobile;
Wake On Lan for Android;
Maemowol for Nokia N800 / 900 Maemo;
image
Power On or ( NetScan thanks Tuxozaur ) for iPhone / iPod Touch;
image

Network Card Configuration


To work WOL, it is necessary that after turning off the PC, the network card was in the " Standby " mode, as evidenced by the flashing lights on the network card. If you are okay with this, you can skip the following text.
')
If the lights are off, do the following:
Start - Control Panel - Network Connections , Select the active network card, go to its properties, then " Configure ".
- If there is an item NDIS Version, - Select “NDIS X” (by default it can be Auto), where X is the version of the Network Driver Interface that corresponds to your operating system;
- Here also enable the Wake on Magic Packet (Awakening Special Magic Package)
image
Save the changes, restart the PC, then turn off and check whether the lights on the Network Card are lit.

Remote work with PC


In order to enable and work remotely with a PC, you need to know the IP and MAC address. This will help the command line: ipconfig.exe /all
You can also try to find the MAC from another computer if you are on the local network by running the “ping” command and then output the ARP table (where the correspondences between IP and MAC will be displayed):
ping.exe IP_address
arp.exe -a


If you are using a router, you must configure the forwarding of broadcast messages on any port to your computer.
WakeOnLan Broadcast
Enable: yes
IP Address: your internal broadcast address
Protocol: UDP
Private Port: 9
Public Port: 9
Schedule: Always


If you are not using a router , it is enough to know your external (dedicated IP), in port 9 open the firewall. and use WOL from any device, for example, from an iPhone, after specifying the data of the included PC.

UPD: lately I don’t have Mac at hand, and I can’t personally check everything myself, so those who need WOL info for MAC OSX, read here

UPD2: Setting Up the Wireless Bridge For Wake On LAN Capability

Source: https://habr.com/ru/post/77191/


All Articles