Comment on Selfhosting Sunday! What's up?
Jason2357@lemmy.ca 1 week agoMost motherboards support wake packets sent over Ethernet. They only work on your lan, but they will start a machine or wake it from sleep. Sending a packet from another machine is fairly simple, it’s old tech. I’ve seen simple web servers that have a “send wake” button, but you could probably trigger it from a variety of things
AtariDump@lemmy.world 1 week ago
The WoL part I’ve got.
It’s the NAS with ~10 second boot time that can house enough drives for 80TB of data that I’m more interested in.
Jason2357@lemmy.ca 1 week ago
Alpine Linux can boot in a few seconds. Stick to something extremely simple like nfs or samba and nothing else in the boot. Or use suspend to ram with your regular OS.
AtariDump@lemmy.world 1 week ago
Last question; how would I get it to wake when someone’s trying to access a file on it?
tofu@lemmy.nocturnal.garden 1 week ago
Maybe you could just spin down/turn off the disks? That will reduce power consumption a lot and they’ll get up once requested.
Jason2357@lemmy.ca 1 week ago
You would have to script something based on whatever service is actually being used, or maybe node red? In the past, way back, I used something like this that is just a simple web page that the user has to click a button to start the machine - there are a bunch of these github.com/Trugamr/wol - the web server is on the lan with the NAS so can send the magic packet, but the page can obviously be served over the internet.