News for hackers. Stuff that matters.
Re:Saving Energy: Home Server That Automatically Suspends to... by JesusLovesEwe on Tuesday February 14, 2023 @08:37PM (#34798928)
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?

Re:Saving Energy: Home Server That Automatically Suspends to... by deadbeeves on Tuesday February 14, 2023 @09:05PM (#34799126)
>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."

Re:Saving Energy: Home Server That Automatically Suspends to... by dicknuckle on Tuesday February 14, 2023 @09:50PM (#34799402)
Of 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.
Re:Saving Energy: Home Server That Automatically Suspends to... by Zardoz84 on Wednesday February 15, 2023 @02:35AM (#34801084)
I see BIOS not supporting it back in the 90's
Re:Saving Energy: Home Server That Automatically Suspends to... by paranoidrobot on Tuesday February 14, 2023 @09:36PM (#34799317)
Reverse 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.

Re:Saving Energy: Home Server That Automatically Suspends to... by lttlrck on Tuesday February 14, 2023 @11:32PM (#34800128)
Maybe use local DNS with a very low TTL. Send WOL on DNS request.
Re:Saving Energy: Home Server That Automatically Suspends to... by paranoidrobot on Wednesday February 15, 2023 @12:31AM (#34800463)
If 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.

Re:Saving Energy: Home Server That Automatically Suspends to... by charcircuit on Wednesday February 15, 2023 @12:52AM (#34800571)
You 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.
Re:Saving Energy: Home Server That Automatically Suspends to... by aembleton on Wednesday February 15, 2023 @05:42AM (#34802151)
Pi 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.