3 ms·
My "cheap trick" to do this with my own home server is to use a Raspberry Pi which stays always on and is wired into same LAN as my homelab server. Then, I have
by pixelmonkey 4y ago
My "cheap trick" to do this with my own home server is to use a Raspberry Pi which stays always on and is wired into same LAN as my homelab server. Then, I have a small shell script that uses the etherwake Linux CLI tool to send a Wake-on-LAN magic packet to wake my server when it's sleeping. For full server reboots, I have the server on a remote-accessible power switch that can be cycled from the same Raspberry Pi. I network all the devices together using ZeroTier.
I have to admit, though, that the idea of the computer being inside the server box (similar to a Dell iDRAC in a colo environment) is appealing, and also opens up the opportunity for things like "direct KVM" keyboard/display access. That said, for my homelab use cases, the ability to reboot the server, suspend/unsuspend, and bastion SSH through the Raspberry Pi has been good enough.
- gibspaulding 4y agoIt would be pretty easy to model and 3d print an adapter to fit a Pi into a 3.5HDD bay. You'd have to run the power and Ethernet connection out the back of the PC through a water cooler grommet or PCI slot, but it would give the pi a safe home with good air flow! I considered doing this once for a file server I was hosting on a pi (since it would provide a home for a storage drive as well), but ended up going a different route.
- drewzero1 4y agoEven better in a floppy/media card/5.25 bay so there could be an OLED IP/info readout on the front of the PC. I love this idea, really getting my gears turning.
- toast0 4y ago> . Then, I have a small shell script that uses the etherwake Linux CLI tool to send a Wake-on-LAN magic packet to wake my server when it's sleeping. For full server reboots, I have the server on a remote-accessible power switch that can be cycled from the same Raspberry Pi. A long time ago, Facebook wired wake-on-lan to do a system reset. (With selected ethernet cards that could customize the wake-on-lan packet). They abandoned that in favor of OpenBMC, but it's an interesting idea for low spec control.