- I wanted to be able to Wake-On-Lan my stuff over tailscale, so run this on a small SBC
- Wake-On-LAN relay
- Shutdown/WOL on a schedule
./wolay --help
Usage: wolay [OPTIONS]
Options:
-a, --listen-addrs <LISTEN_ADDRS>... Define multiple addresses for wolay to listen on (e.g. 127.0.0.1:6789)
-l, --listen-addr <LISTEN_ADDR> Define IP for wolay to listen on [default: 127.0.0.1]
-p, --listen-port <LISTEN_PORT> Define port for wolay to listen on [default: 6789]
-h, --help Print help
-
Run wolay as above
-
Make a web request to
ip:port/api/wake/<mac>- e.g. with
curlcurl raspberrypi.internal:6789/api/wake/aaaaaaaaaaaa
- e.g. with
-
The formatting of the MAC address is case-insensitive, and can include or omit
:characters
- Clone repo
git clone https://github.com/NoSpawnn/wolay.git
cd wolay- Build
-
For your current system
nix build # or cargo build -
Cross compile
nix build .#armv7-unknown-linux-musleabihf