5 ms·
Reverse proxy on the Pi? If a request comes in for the server and x minutes have elapsed since last activity/WoL, send a new WoL. I'm a little out of my wheelh
by JesusLovesEwe 4y ago
Reverse proxy on the Pi? If a request comes in for the server and x minutes have elapsed since last activity/WoL, send a new WoL.
I'm a little out of my wheelhouse though. Maybe that would only work for HTTP which will not cover Time Machine?
Does Time Machine run on a schedule? Add a cron job (whatever the Mac equivalent is) to send a WoL ~1min beforehand?
- deadbeeves 4y ago>Does Time Machine run on a schedule? Add a cron job (whatever the Mac equivalent is) to send a WoL ~1min beforehand? I believe on x86 the BIOS supports setting a timer for self-wakeup. The OS can tell the BIOS "I'm going to sleep. Pull me out of sleep if the RTC passes this datetime."
- dicknuckle 4y agoOf all the x86 type BIOS and EFI, I've never seen one that didn't support that. Even thinclients and things you'd expect to leave that feature out.
- Zardoz84 4y agoI see BIOS not supporting it back in the 90's
- paranoidrobot 4y agoReverse proxy means that your pi now has to handle all the traffic for Plex and any other services. It could also make other things difficult like CIFS/whatever else you're hosting. Depending on what Pi you're using, it's networking is over USB, and so is quite performance constrained.
- lttlrck 4y agoMaybe use local DNS with a very low TTL. Send WOL on DNS request.
- paranoidrobot 4y agoIf we're talking about Plex, then local DNS is probably not going to help. The traffic could be coming in via your WAN connection and your router is just going to forward it to an IP.
- charcircuit 4y agoYou could use DSR (Direct Server Return) so that the pi only handles the initial connection. All the video traffic goes directly from the server to you without passing through the pi.
- aembleton 4y agoPi is perfectly capable of running Plex. Maybe run it on there with some cached data on the Pi and then the main content stored on the server. Then when accessing Plex, it will have all of the content showing what is available but in the background will be starting up the main server with the main content. I guess you could just attach an external HDD to the Pi. Thats worked for me before.