Wake-on-LAN (WOL) is an Ethernet computer networking standard that allows a computer to be turned on – or woken up – by a network message.
WOL is implemented at the hardware level by the motherboard of a computer (BIOS) and the network interface (firmware). Consequently, it is independent of the Operating System (and NIC drivers) running on the hardware, so it works on Windows, OS X, and Linux machines. Some operating systems can control Wake-on-LAN behavior via hardware drivers. The WOL message must be sent on the local network. To wake up machines from an external network (Wake-on-WAN), WOL Gateways must be configured to receive WOL packets from outside networks, and forward them to the local network.
Fing is able to send WOL magic packets to wake local or remote computers that have the WOL feature enabled. The feature works with devices that are in your connected local network, but you may also send remote WOL signals outside your local network to hosts/routers configured to be WOL gateway services by specifying the host address and port.
The syntax is very simple:
Each target must have the following syntax:
• On docker, to send WOL to MAC 010203040506 in current LAN
fing --wol 010203040506
• On OS X, to send WOL to MAC 010203040506 and 112233445566 in current LAN, silently:
sudo fing --wol 010203040506 112233445566 –silent
• On Raspberry Pi, to send WOL to MAC 01:02:03:04:05:06 in network 192.168.0.1/24
sudo fing --wol 01:02:03:04:05:firstname.lastname@example.org/24
• On Linux, to send a remote WOL for MAC 01:02:03:04:05:06 to the host myremoterouter.com configured on UDP port number 9
sudo fing --wol email@example.com:9