How to enable wake on lan such that computer turns on when I try to access IP?
from illusionist@lemmy.zip to linux@lemmy.ml on 11 Sep 05:33
https://lemmy.zip/post/48396401

Edit: I’ve got a mini computer that could wake up the big one.

#linux

threaded - newest

koala@programming.dev on 11 Sep 05:43 next collapse

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.

SpaceNoodle@lemmy.world on 11 Sep 08:13 collapse

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.

ZWQbpkzl@hexbear.net on 11 Sep 05:49 next collapse

I don’t think if you can wake with an http request but after either a bios/kernel setting you can do wol mac:add:re:ss from a different computer.

The key restrictions here is not every hardware supports wake-on-lan, and one computer must be configured to “wake” the other.

interdimensionalmeme@lemmy.ml on 11 Sep 06:16 collapse

That could be a very interesting feature for a reverse proxy to have, wake-on-lan-on-demand, I guess it could show the server’s ping status with a “please wait server is starting” image and a countdown to the next retry / how long it usually takes to wake up.

I found something similar called WOL proxy

github.com/darksworm/go-wol-proxy

wesker@lemmy.sdf.org on 11 Sep 05:55 next collapse

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.

utopiah@lemmy.ml on 11 Sep 05:56 next collapse

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.

full_throttle@lemmy.world on 11 Sep 21:22 next collapse

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!

LiveLM@lemmy.zip on 11 Sep 22:19 next collapse

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.

IrritableOcelot@beehaw.org on 12 Sep 16:29 collapse

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.