- wake on lan
- with password support
- customizable broadcast ip address and port
Usage:
wakeonlan {Command} [Option] MAC_ADDRESS
Command:
-h : show help
-v : show version
Option:
-pw <Password> : set magic packet password
-a <IP> : set broadcast IP
-p <Port> : set udp port
Example:
1) wakeonlan 1A-2B-3C-4D-5E-6F
2) wakeonlan -pw AA-BB-CC-DD-EE-FF -a 192.168.1.255 -p 9 1A-2B-3C-4D-5E-6F
3) wakeonlan -h
4) wakeonlan -v
git clone https://github.com/gek64/WakeOnLAN.git
cd WakeOnLAN
export CGO_ENABLED=0
go build -v -trimpath -ldflags "-s -w"
git clone https://github.com/gek64/WakeOnLAN.git
cd WakeOnLAN
export GOOS=linux
export GOARCH=mipsle
export GOMIPS=softfloat
export CGO_ENABLED=0
go build -v -trimpath -ldflags "-s -w"
GPL-3.0 License
See LICENSE
for details