Wake-on-LAN works, then stops
Updated
If Wake-on-LAN worked in a quick test and fails later, the timing is the clue. Failing after minutes from outside points at your router. Failing after hours asleep points at a deeper power state. Failing after a shutdown, or only sometimes, is a different case again.
After minutes to a couple of hours, from outside
The wake works right after the computer falls asleep, then stops an hour or two later. It still works at home and fails from mobile data. That pattern points at the router.
ARP is the router's map from a local address to a device's hardware address. While a computer sleeps, the router can forget that map. A packet forwarded to the computer's own address then has nowhere to go. The Moonlight Wake-on-LAN wiki warns that this forward works for only about two hours. An expiring ARP entry is the usual reason.
- Forward UDP port 7 or 9 to the network's broadcast address. A broadcast reaches every device, so no ARP entry is needed. Steps are in the router forwarding guide.
- If your router offers a static ARP entry, add one that ties the computer's local address to its hardware address.
- Use an awake relay, a second computer at home that stays awake and sends the packet from inside the network. The guide to waking from outside your network compares this route with forwarding.
After hours asleep
A wake that works after a short sleep and fails after hours points at a deeper power state. Microsoft describes the Windows Hibernate after timer this way: when it expires, the system wakes from sleep and enters hibernation to save power. Whether the adapter keeps listening in hibernation depends on the hardware.
Microsoft lists Wake-on-LAN as supported from sleep and from hibernation. Supported does not mean armed on your machine. The adapter, its driver and the firmware decide whether it can still hear a magic packet in hibernation.
- Open Control Panel, then Power Options, then your power plan's advanced settings. Open Sleep, then Hibernate after, and note the plugged-in time.
- For a test, set it much longer, or to Never. Sleep the computer and try a wake after your usual failure time.
- If the wake works now, hibernation was the boundary. Set the timer to a length you can live with.
- If it still fails, put the timer back and check the sections below.
After a shutdown or a power cut
Sleep and shutdown are different states. WakeBeacon's Windows setup says to test with sleep first, because waking from a full shutdown depends on the motherboard and is often off by default. Microsoft agrees: Wake-on-LAN is supported from sleep and hibernation, and not from the soft-off shutdown state or Fast Startup. Some BIOS firmware can still arm the adapter there.
Fast Startup deserves its own check. With it on, Shut down saves the kernel session to disk so the next start is faster. Microsoft's driver documentation states that the system network driver disables the adapter's wake capabilities on a Fast Startup shutdown, and not on a wake from hibernation.
Firmware power-saving options can have the same effect. They are often named ErP, EuP or Deep Sleep. Check your motherboard manual for whether one affects wake from shutdown before you change it.
- Confirm the computer still wakes from sleep. If not, work through the Windows guide first.
- In BIOS or UEFI settings, confirm the wake option is on. Look for Wake on LAN, Power on by PCI-E, or Resume by LAN.
- Turn Fast Startup off for a test, shut down, and try the wake. If it works, Fast Startup was the blocker.
- Check for ErP, EuP or Deep Sleep. If your manual says it affects wake from shutdown, set it as the manual directs and test again.
- After a power cut, treat the computer as shut down. It needs mains power back first.
Only sometimes, or only on Wi-Fi
Intermittent failures often trace back to the adapter and its driver. WakeBeacon calls Ethernet the most reliable connection for waking. Wi-Fi is the choice only when that is how the computer is connected. The Moonlight wiki calls Wake-on-LAN over Wi-Fi usually unstable.
In Windows, the adapter's properties hold the wake settings: Wake on Magic Packet on the Advanced tab, and Allow this device to wake the computer with Only allow a magic packet to wake the computer on the Power Management tab. If a tab is missing, update the driver from the manufacturer.
Laptops add two variables. Keep a laptop plugged in while you test, because power saving on battery can stop the adapter listening. WakeBeacon's Mac guidance notes that most Macs on battery will not wake for network traffic, and that Wi-Fi wake and a closed lid behave differently across models.
- Connect by Ethernet if you can, sleep the computer, and test. A wired pass with a wireless failure points at Wi-Fi wake on your hardware.
- On a laptop, test plugged in with the lid open. Then test in the state you leave it.
- Recheck the adapter settings in the Windows guide or the Mac guide.
- If the pattern changed after an update, reinstall the adapter driver from the manufacturer and test again.
When an address changed
A wake stops when it is aimed at an address the computer no longer holds. The local address can change when its lease renews. A forward or saved target pointing at the old address then misses. A DHCP reservation keeps the same local address assigned. It does not keep the ARP map in place.
The home's public address can change too. WakeBeacon's router route sends to the last public IPv4 address the desktop agent reported. The agent keeps network details current while the computer is awake. If the public address changes while it sleeps, the stored address goes stale. WakeBeacon calls a local relay the more dependable option in that case.
- Compare the computer's current local address with the address your forward uses.
- Add a DHCP reservation for the computer, so its local address stays the same across renewals.
- Put the computer to sleep and wake it from outside within a few minutes. Then test again after a longer sleep.
- If your public address changes often, use an awake relay as the main route and keep forwarding as a backup.
Work out which one you have
Test in an order that separates the causes. Each step rules a section of this guide in or out.
- Wake the sleeping computer from the same Wi-Fi. If this fails, the problem is setup, the adapter, Wi-Fi or the power state.
- Test from outside on mobile data a few minutes after sleep. Test again after two hours asleep. A pass, then a failure, points at ARP expiry or a changed address.
- Test after a longer sleep, overnight if you can. A failure only then points at hibernation or a deeper power state.
- Test from shutdown separately, only if you need wake from shutdown. A shutdown failure with a sleep pass is a firmware question.
| When it fails | Likely cause |
|---|---|
| Minutes to two hours after sleep, from outside | ARP expiry, or a changed address |
| After hours asleep | Hibernation or a deeper power state |
| After shutdown or a power cut | Firmware wake setting, Fast Startup, or a power-saving option |
| Only sometimes, or only on Wi-Fi | Adapter, driver, battery or lid state |
Judge each test by the check-in, not by the send. A WakeBeacon relay wake moves through Requested, Claimed, Packet sent, and Checked in. Whatever the route, only the check-in confirms the computer woke. The desktop agent offers in-app Wake setup checks for your adapter. You then choose Wake-on-LAN or opt in to automatic checks on supported hardware. Automatic checks wait until the next check succeeds. They are not an immediate wake.
Questions
Why does Wake-on-LAN work for a few minutes and then stop?
From outside, the usual cause is ARP expiry. The router forgets the sleeping computer's hardware address, so a forwarded packet has nowhere to go. Forward to the broadcast address, add a static ARP entry, or use an awake relay. Forwarding needs a reachable public IPv4 address.
Why does it wake from sleep but not after shutdown?
They are different power states. Waking from a full shutdown depends on the motherboard and is often off by default. Microsoft states that Wake-on-LAN is not supported from the soft-off shutdown state or from Fast Startup, although some BIOS firmware can arm the adapter there.
How do I know the computer actually woke?
Wait for the check-in. A packet sent is not proof of a wake. In WakeBeacon, only the Checked in stage counts as a confirmed wake.