MQTT wake-on-lan daemon

Nathaniel Roach f2d3325169 Indent all code using java style 1 year ago
Makefile b68663f642 Initial Commit 4 years ago
README b68663f642 Initial Commit 4 years ago
ValgrindOut.xml a4c4050725 Update to allow specifying the IP address of the target, meaning 1 year ago
main.c f2d3325169 Indent all code using java style 1 year ago
main.h a4c4050725 Update to allow specifying the IP address of the target, meaning 1 year ago
mqtt.c f2d3325169 Indent all code using java style 1 year ago
mqtt.h a4c4050725 Update to allow specifying the IP address of the target, meaning 1 year ago
types.h a4c4050725 Update to allow specifying the IP address of the target, meaning 1 year ago
wol.c f2d3325169 Indent all code using java style 1 year ago
wol.h a4c4050725 Update to allow specifying the IP address of the target, meaning 1 year ago
wold.cbp a4c4050725 Update to allow specifying the IP address of the target, meaning 1 year ago
wold.depend a4c4050725 Update to allow specifying the IP address of the target, meaning 1 year ago
wold.layout a4c4050725 Update to allow specifying the IP address of the target, meaning 1 year ago

README

## WOLD
Wake On LAN Daemon

Connects to an MQTT server, watches for a message and sends a UDP broadcast with a Wake On LAN payload.

Because if the machine is off for a while, a targeted message will fail because the switch won't be able to find the host.
A broadcast works, but Linux won't forward the message when acting as a router.
MQTT works across subnets, so run something that watches the server to send the wake up message.

Run WOLD on a host that exists on the same subnet as the machine you want to wake up.

Run like
wold -h -p

Use like
mosquitto_pub -h -t /com/wold/target -m

## License
GNU GPLv2