3 releases (stable)
1.0.1 | Sep 13, 2020 |
---|---|
0.1.0 | Sep 13, 2020 |
#1844 in Command line utilities
6KB
116 lines
Hatty
A little wake-on-lan utility.
Usage
> hatty --mac 18-C0-4D-42-2D-EA
sent
> echo $?
0
> hatty --mac 18-C0-4D-42-2D-EA --to 192.168.0.101
sent
> echo $?
0
> hatty --mac 18-C0-4D-42-2D-XX
error
> echo $?
1
Debugging
> sudo netcat -ul 9
> cargo run -- --mac 18-C0-4D-42-2D-EA --to 127.0.0.1
Then you should see something from netcat
.
The Name
wake-on-lan -> wol -> wooly -> wooly bully -> HATTY TOLD MATTY
Resources & Inspiration
Thanks to Jacob Rothstein for coaching me through this!
Dependencies
~3MB
~51K SLoC