thats a good idea, although wifi is not reliable enough for me. Although I found this guide which shows how to add an ethernet port to a PI zero w so hopefully I can use that. Or maybe I should just use a ESP32.
Comment on Options for remote Wake-on-lan. Or I guess wake on WAN.
cmnybo@discuss.tchncs.de 3 weeks ago
You could use a very low power computer that’s always on like a Raspberry PI Zero W to send the WoL packet to the backup computer. It only uses about 1 watt. Some routers have the ability to send a WoL packet as well.
pineapple@lemmy.ml 2 weeks ago
artyom@piefed.social 3 weeks ago
And how do you communicate with the Pi0?
BCsven@lemmy.ca 3 weeks ago
Wireguard between you and remote device like a pi. Set pi to portfowarding and masquerading on. It will then let you be on say a 10.x.x x network remotely but will send info on the remote LAN like it came from that pi local IP
cmnybo@discuss.tchncs.de 3 weeks ago
Use SSH. Ether open a port in the firewall or connect it to a VPN. If the backups are done on a schedule, you could also setup a cron job on the Pi to send the WoL packet a few minutes ahead of time.
AtariDump@lemmy.world 3 weeks ago
Use a VPN; don’t open up SSH to the internet.
cecilkorik@piefed.ca 3 weeks ago
Or just be cautious, thoughtful and sensible if you do. Only a Sith deals in absolutes.
Creat@discuss.tchncs.de 3 weeks ago
Ssh over Internet is fine as long as it’s properly setup (no password auth, root not allowed, etc.).
JustEnoughDucks@feddit.nl 2 weeks ago
You can even use an ESP32 or similar since it just has to perform 1 tiny function.
Getting an WT32-ETH01 knockoff dev board for 15€ or PoE for 25€ and uses <300mW with the wireless modem off. You could even just use a WiFi module for 8€ if you don’t want something wired.
registry.platformio.org/libraries/…/WakeOnLan
There is already an wakeonlan library to generate a packet very easily.
You can even do it in pseudocode with ESPHome if you have HomeAssistant
community.home-assistant.io/t/…/617595
WhyJiffie@sh.itjust.works 2 weeks ago
this sounds like it requires another computer already turned on
JustEnoughDucks@feddit.nl 2 weeks ago
Sure, but you can’t access your home network anyway if your router is turned off…
I have yet to encounter a router made in the last decade that couldn’t. Asus routers, even my 15 year old tplink archer A7 could, ubiquiti always can, openwrt, pretty sure at work we did testing with a dlink router and it also had that option.
Pretty much if you don’t use a Linksys 100Mbps router from 2005, you can at least do openvpn if not wireguard.
WhyJiffie@sh.itjust.works 2 weeks ago
of course but most routers won’t do anything like this. and by router I mean the all in one devices people have, not enterprise gear.
with factory firmware?
faercol@lemmy.blahaj.zone 2 weeks ago
Depends on your hardware. My routers can serve as a Wireguard serveur, so no need for a computer for that part
WhyJiffie@sh.itjust.works 2 weeks ago
the only router firmware I have seen be able to do that is openwrt, and maybe mikrotik. none of these are common though, but if you can do this then yes this is a pretty efficient solution