Edit: I’ve got a mini computer that could wake up the big one.
https://dgross.ca/blog/linux-home-server-auto-sleep did the rounds lately.
But you’ll need another system to always be on to handle this.
In many cases, you can “fake” this in other means. For example, I had Remmina configured to run a script to send a WOL packet and wait before connecting via remote desktop to a computer.
For a while I just had a widget on my phone where I could just tap an icon to send a magic packet to the desired MAC.
Well, you can in theory enable WOL without Magic Packet, but that means any network activity will wake it up, even a random ping, so you might find your PC waking up randomly.
Would that be multicast or broadcast activity? Or unicast?
The Wake-on values define what activity triggers wake up: d (disabled), p (PHY activity), u (unicast activity), m (multicast activity), b (broadcast activity), a (ARP activity), and g (magic packet activity).
Looks like you can choose which one you want
Yeah, I just don’t know what those terms mean lol
I was asking which one I need to choose to wake my server io whenever I try sending packets to it
Oh. Sorry I’m not well versed in networking to know either lol.
I’d suggest querying which modes your card supports with the command listed, and enable them all except “g” which is magic packet, then give it a test.
Some motherboards explicitly enable wake on LAN as a BIOS option. If not in the BIOS it’s going to be a bit harder, but the software option recommended, (the Archlinux forum link) looks interesting.
I’ve been looking into PiKVM this week, to allow me to administrate certain systems over IP. It also allows for remotely powering on and off a system, if you use an additional expansion module. It isn’t an entirely cheap option, though.
If your computer boots when plugged in (not only by pushing the power button) it would be feasible via a connected plug, but you’d still need a small computer, e.g HomeAssistant on a RaspberryPi, to convert the HTTP request to ZigBee, or a WiFi plug but I’m not sure which one would handle an HTTP request, if any.
You can accomplish this using your router. The router can send the magic package to the computer. You can do this remotely from over the internet and even through a VPN connection to your router (preferred). If your router doesnt support the functionality out-of-the-box, OpenWRT does!