this post was submitted on 11 Sep 2025
17 points (94.7% liked)

Linux

60329 readers
195 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

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

all 13 comments
sorted by: hot top controversial new old
[–] koala@programming.dev 5 points 3 months ago (1 children)

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.

[–] SpaceNoodle@lemmy.world 0 points 3 months ago

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.

[–] LiveLM@lemmy.zip 3 points 3 months ago (1 children)

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.

[–] meekah@lemmy.world 1 points 3 months ago (1 children)

Would that be multicast or broadcast activity? Or unicast?

[–] LiveLM@lemmy.zip 1 points 3 months ago (1 children)

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

[–] meekah@lemmy.world 2 points 3 months ago (1 children)

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

[–] LiveLM@lemmy.zip 1 points 3 months ago

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.

[–] ZWQbpkzl@hexbear.net 2 points 3 months ago (1 children)

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 4 points 3 months ago

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

https://github.com/darksworm/go-wol-proxy

[–] full_throttle@lemmy.world 2 points 3 months ago* (last edited 3 months ago)

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!

[–] IrritableOcelot@beehaw.org 1 points 3 months ago

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.

[–] utopiah@lemmy.ml 1 points 3 months ago

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.