Skip to content

krzysdabro/wakeonlan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wakeonlan

Simple Wake-on-LAN utility

Usage

wakeonlan aa:bb:cc:dd:ee:ff

# or specify interface
wakeonlan -i eth0 aa:bb:cc:dd:ee:ff

Building on ARM

apt-get install gcc-arm-linux-gnueabi byacc flex libpcap-dev

pushd /tmp
export PCAPV=1.8.1
wget http://www.tcpdump.org/release/libpcap-$PCAPV.tar.gz
tar xvf libpcap-$PCAPV.tar.gz
cd libpcap-$PCAPV
export CC=arm-linux-gnueabi-gcc
./configure --host=arm-linux --with-pcap=linux
make
popd

CC=arm-linux-gnueabi-gcc CGO_ENABLED=1 CGO_LDFLAGS="-L/tmp/libpcap-$PCAPV -static" GOOS=linux GOARCH=arm go build .

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages