Skip to content

It’s the hail Mary of wake on lan commands for my raspberry pi / pi zero

Notifications You must be signed in to change notification settings

techno-tim/pi-wol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pi-wol

It’s the hail Mary of wake on lan commands for my raspberry pi / pi zero.

I use this to ping my servers and wake them up if they are off. They should never be.

install

sudo apt-get install etherwake

sudo apt-get install wakeonlan

cron job

crontab -e

@hourly bash /home/pi/power-on-server.sh > power-on-server.log (will run at reboot and will pipe out logs)

Requires etherwake and wakeonlan (apt-get).

Installed etherwake and wakeonlan beacuse I had some issues with one or the other between updates, so I added both so that I don't have to worry when updating.

Credits

Created by Techno Tim with 💛

🔔 Social Media 🔔

► Twitch https://www.twitch.tv/TechnoTim

► Twitter https://twitter.com/TechnoTimLive

► Discord https://l.technotim.live/discord

► Instagram https://www.instagram.com/techno.tim/

► Facebook https://www.facebook.com/TechnoTimLive/

► GitHub https://github.com/timothystewart6

Releases

No releases published

Packages

No packages published

Languages