Wake-on-LAN (EtherWake)

Contents

Wake-on-LAN (EtherWake)#

Wake-on-LAN (WoL) is a technology that allows a powered-off or suspended device to be remotely turned on by sending a special network message called a Magic Packet to its network interface. The EtherWake package provides a simple command-line utility to send these Magic Packets and wake up devices in the local network. On NethSecurity, EtherWake is available in the official repositories but it is not installed by default.

Note

The target device must support Wake-on-LAN (WoL) and have the feature enabled in its BIOS/UEFI and network card settings. Otherwise, it will not respond to Magic Packets.

Installation#

Install the package with:

opkg update
opkg install etherwake

Note

Starting from version 8.7.2, extra packages are automatically reinstalled after system upgrade. For earlier versions and for additional information, refer to this documentation: Restore extra packages.

Usage#

To wake up a device in the LAN, you must know:

  • the MAC address of the device to be powered on

  • the NethSecurity network interface to which the device is connected (e.g. eth0)

The basic command is:

etherwake -i <interface> <MAC>

Example:

etherwake -i eth0 00:11:22:33:44:55