blob: 3ce8dc17266fa6b67afadbe55ce458ebce074cf4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
**wolff**
send [Wake-on-LAN](#wol-wake-on-lan) packets.
wolff sends WoL packets using the UDP protocol with a configurable port number,
but defaults to a port of 9 which is a defacto standard.
### Arguments
**`mac=<addr>`**
specify the MAC address of the system you want to wake up
**`host=<ip>`**
IP address to send the magic bytes to via UDP. Defaults to `255.255.255.255`
which is the "this network" broadcast address.
**`port=<port>`**
port number the UDP packet is sent to. Defaults to port 9, which is a defacto
standard when sending WoL magic packets.
[broadcast-wikipedia]: https://en.wikipedia.org/wiki/Broadcast_address#IP_networking
### WoL *(Wake-on-Lan)*
referencing its wikipedia article: [wikipedia.org/Wake-on-Lan](https://en.wikipedia.org/wiki/Wake-on-LAN#Magic_packet)
The Magic Packet needs only to contain specific bytes within it's payload.
It does not need to be any specific protocol or use any specific port. As long
as WoL is enabled, so the NIC keeps power when the computer is asleep, it will
be looking for a run of six `FF` bytes followed by the MAC Address of the system
you want to wake, repeated sixteen times.
|