Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

unix755/WakeOnLAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

81 Commits

Repository files navigation

Wake-on-LAN

  • wake on lan
  • with password support
  • customizable broadcast ip address and port

Usage

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 

Compile

git clone https://github.com/unix755/WakeOnLAN.git
cd WakeOnLAN
export CGO_ENABLED=0
go build -v -trimpath -ldflags "-s -w"

For openwrt on mipsle router

git clone https://github.com/unix755/WakeOnLAN.git
cd WakeOnLAN
export GOOS=linux
export GOARCH=mipsle
export GOMIPS=softfloat
export CGO_ENABLED=0
go build -v -trimpath -ldflags "-s -w"

License

GPL-3.0 License

See LICENSE for details

About

Wake-on-LAN (WOL) with password support

Topics

Resources

License

Stars

Watchers

Forks

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /