-
Notifications
You must be signed in to change notification settings - Fork 17
Wake On Lan
The Wake On Lan functionality allows to turn on (Wake Up) a network machine or device from router console or GUI.
The Wake On Lan functionality must be enabled on the related devices (generally can be setup on BIOS menu or Ethernet menu) and its MAC Address must be known.
Some Docs:
Ether-Wake (see ether-wake section)
The Wake on lan magic packet can be sent through the ether-wake busybox applet with a syntax as follows:
ether-wake [-b] [-i iface] [-p aa:bb:cc:dd[:ee:ff]] MAC
Send a magic packet to wake up sleeping machines. MAC must be a station address (00:11:22:33:44:55) or a hostname with a known 'ethers' entry.
Options:
-b Send wake-up packet to the broadcast address
-i iface Interface to use (default eth0)
-p pass Append four or six byte password PW to the packet
To wake up a network device with a known Mac Address type:
ether-wake -b -i $(anc nvram rget lan_if) (-p <4/6_bytes_password_if_needed>) <mac_address>
Note that $(anc nvram rget lan_if)
is mostly group1
and -p <4/6_bytes_password_if_needed>
parameter option can be almost always omitted.
To fetch the device mac address easily, it may come in help the mac address dhcp reservation list
including device name if any and reserved ip address.
Selecting one of the device on the list the related mac address will be pasted in the next MAC address box. The password
, if needed, must be inserted manually.
Click then: Apply
to send the magic packet to the device.
If the MAC Address of the device to turn on is not present on the above list, it can be typed manually in this box in the form: 00:11:22:33:44:55
(see the man help documentation above).
Some network devices may need a password to be woken up.
In this case, insert the 4 bytes or 6 bytes password in the form: aa:bb:cc:dd
or aa:bb:cc:dd:ee:ff
(see the man help documentation above).
Click then: Apply
to send the magic packet to the device.