2023 EDIT: As of Feb 2023, V3 is out of Beta and has been promoted to the main branch. Links updated below.
Back in 2013, I first released instructions and code to build a Remote Wake/Sleep-On-LAN server powered by a Raspberry Pi. To my surprise, this project ended up becoming my most starred project on GitHub, and has evolved several times over the last 8 years. I still use this project frequently when I want to Remote-Desktop into my home machine, which I normally put to sleep when not otherwise in use.
During COVID-19 lockdown, I’m doing a lot less traveling than I normally would, so I’ve been using some of the extra time to revamp some older projects (in addition to building smart exercise equipment). One thing that’s been on my list for a while was cleaning up this Remote Wake/Sleep-On-LAN server (RWSOLS) with properly signed HTTPS certificates, and an automatic setup script. Now, I’ve done exactly that, and it’s in a state that’s ready to share. Here are some of the changes:
- Adds an automated installer script that takes out all of the guesswork.
- Tested and working on the latest versions of Raspberry Pi OS Lite, Apache, and PHP.
- Adds full support for signed, Let’s Encrypt SSL certificates with automatic setup.
- Improves security of password hashing approach.
- Simplifies configuration of dynamic DNS updating functionality and supports ddclient installed on the same Raspberry Pi.
So, if you’re up for it (especially if you already use the previous version of my RWSOLS software) consider heading over to the
v3_beta branch main branch on my GitHub repo, try out the new installer script, and let me know what you think by opening a GitHub issue for any problems you find! The GitHub wiki provides updated instructions for new installation flow.
Been using this for years on Pi and Intel systems – Raspian and Ubuntu. Just stopped working for reasons unknown. Anyway tried the Docker version of your latest and back in business. Thanks.
An arm32 docker version would be great. I alreay have a pi setup as NGINXPM and wireguard server on the pi in docker and this would make securing via letsencrypt easy on host ports other than 80
Since daylight savings time commenced on the weekend my RWSOLS logs are one hour ahead. The Raspberry clock time on panel is correct. Is there something I can adjust to align the RWSOLS log times to Raspberry Pi clock?
Comments from my friend that worked out the issue.
“I think I fixed the time issue. I set the time zone in the php.ini file and then rebooted the Pi, and it looks to be using the correct time now (the time in the RWSOLS log file matches the system time).”
Great that this project is still alive! Using it for many years and it’s really one of a kind. Thank you so much.
Freshly imaged buster lite on my Pi 3b
I get an error running python setup.py
File “setup.py”, line 609
print ($APPROVED_HASH = \” + pw_hash + ‘\’;’ , end=”\n”)
Syntax error: invalid syntax