Skip to content

kei-g/wol

wol githuhb license docker

wol - Wake-On-LAN Client

CI Status

Workflow Name Status
Build GitHub CI (Build)
CodeQL GitHub CI (CodeQL)
MinGW GitHub CI (MinGW)

How to use

docker run --rm snowstep/wol 00:00:5e:00:53:00

How to build

Install packages to build

To build with clang, on linux 🐧,

apt-get install automake clang make

or, to build with gcc, on linux 🐧,

apt-get install automake gcc make

Pre-configure

aclocal
autoheader
automake -a -c
autoconf

with default cc

./configure --disable-dependency-tracking && make

with clang

./configure --disable-dependency-tracking CC=clang LD=clang && make

without symbols for debug

./configure --disable-dependency-tracking CC=clang LD=clang LDFLAGS="-Wl,-s" && make

with optimizations

./configure --disable-dependency-tracking CC=clang CFLAGS="-Oz -march=native" LD=clang LDFLAGS="-Wl,-s" && make

How to install

make install

Usage

wol 00:00:5e:00:53:00

or binding specific NIC,

wol --bind=203.0.113.193 00:00:5e:00:53:00

License

The source codes and documentation in this project are released under the BSD-3-Clause License.

Contributions

Contributions are welcome! See Contributor's Guide.

Code of Conduct

👏 Be nice. See our code of conduct.