this post was submitted on 22 Sep 2025
20 points (91.7% liked)

Selfhosted

61086 readers
962 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

I am trying to set up my homelab to boot whenever it is being accessed. I set up wake on LAN for unicast, and it works fine for a while after shutting down the system. It stops working after a few hours of the server being turned off, though.

From what I'm gathering online, the issue is that my router uses an ARP cache. Before that gets flushed, it still works. However, it seems like my router does not allow me to configure a static ARP entry (using a ISP provided router). I already set a static IP for my server in the router, but it still won't work a few hours.

Is there any way to make this work? I just want to allow a friend of mine to boot my server whenever they try to access a service on it.

you are viewing a single comment's thread
view the rest of the comments
[–] lorentz@feddit.it 6 points 10 months ago (1 children)

You need to send the WOL packet to the broadcast address of your network, not to the machine IP address. It this way all the machines on the network will receive it, including the ones that have been powered off for a while

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

I am talking about WoL in unicast mode, not with the magic packet.

[–] k_rol@lemmy.ca 2 points 10 months ago (1 children)

Im curious, why unicast over magic packet?

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

Because I want the server to boot when a service on said server is being accessed. Without having to manually boot it before.

[–] lorentz@feddit.it 2 points 10 months ago (1 children)

I'm not familiar with this setup. But do you want for the server to boot as soon as it receive any packet addressed to its IP?

[–] meekah@lemmy.world 1 points 10 months ago* (last edited 10 months ago)

Yup. And it works already, as long as the server was shut down in the last few hours. Then it stops working. The 4 hours mentioned here seem about right.