Documentation ¶
Overview ¶
wake_server is an http endpoint to broadcast WOL packets.
e.g. http://localhost:8080/<comma separated mac address list>?params
Where valid params are:
via: specify the local address or device to send on remote: specify the remote address to send to (default: 255.255.255.255:9) pass: specify the wake password for all targets - 12 digit hex number
The wake server is intended to be run as a service. To do this place the following at /lib/systemd/system/wake-server.service
[Unit] Description=WOL server service [Service] Type=simple ExecStart=/usr/local/bin/wake_server [Install] WantedBy=multi-user.target
and install the binary at /usr/local/bin/wake_server. Then the usual systemd controls can be used, for example, systemctl start wake-server.
Click to show internal directories.
Click to hide internal directories.