← Guides

Guide

Wake your gaming PC for Moonlight or Steam Link from your iPhone

Your gaming PC sleeps at home, and Moonlight or Steam Link on your iPhone needs it awake. Moonlight's own wake often does nothing on an iPhone, or works one day and not the next. Here is why, how to set the PC up once, and how to wake it, see that it is ready to stream, and open Moonlight in one tap.

1. Why the wake from Moonlight fails on an iPhone

A sleeping PC listens for one message, the Magic Packet: six FF bytes, then its network card's MAC address 16 times. The packet usually goes to every device on the network at once (a broadcast), and only the card with that MAC address wakes its PC.

Moonlight sends the packet to the address 255.255.255.255 and to the PC's own addresses. On an iPhone, iOS refuses the first unless the app holds a permission that Apple grants on request (the multicast networking entitlement). The second works only while your iPhone still remembers the sleeping PC, for about 20 minutes. That is the wake that worked yesterday and not today.

Radien holds that permission. It sends the packet to your network's own broadcast address, which needs no memory of the PC, and then watches the PC to see whether it woke.

2. Set the PC up once

Radien's help sheet has these steps for Windows, a Mac, Linux and a NAS (in Wake on LAN, tap the ⓘ button). For a Windows gaming PC:

To wake it from shut down too, turn off ErP or EuP in the BIOS or UEFI (on some computers, Deep Sleep): it cuts the network card's power when the PC is off. And keep it plugged in: on a switched-off power strip, the card cannot listen.

Its MAC address: in Command Prompt, ipconfig /all shows a Physical Address for each card. Use the card that has the cable.

3. Wake it, and see that it woke

In Radien, open Wake on LAN and tap Add Device. Type a Name, such as Gaming PC, its MAC Address, and its Address, the fixed one from your router. Without an address, Radien sends the packet but cannot watch the PC wake.

With Radien Pro, set Also Check to Moonlight (47989) or Steam (27036). A PC can answer ping before Sunshine or Steam is ready to stream, so with one of them chosen, Radien waits for that port. Sunshine and Apollo use port 47989 for Moonlight by default.

Radien's New Device form: Name Gaming PC, a MAC address, the address 192.168.0.174, and Also Check set to Moonlight (47989)
Add the PC once. Also Check can wait for Moonlight's port (Radien Pro).
Radien's wake screen: Gaming PC is awake. Moonlight (47989) answered 10 s after the packet, and not before. Ping answered at 9 s.
A real wake: the PC answered on Moonlight's port after the packet, and not before.

Tap Wake. Radien checks first, sends the packet, then watches for up to 2 minutes. The first time, iOS asks whether Radien may find and connect to devices on your local network: allow it. Then you see one of these:

All four follow one rule from the help sheet: "Sent is not awake. Only an answer from the computer shows that it woke."

4. One tap: wake, then open Moonlight

Radien's Wake Device action for Shortcuts runs the same wake with a 20-second watch, and gives a result the next action can check: Answered, No Answer, Sent, Not Watched or Not Sent. It is free for your first device.

  1. Open Shortcuts and tap +. If it offers "Describe a shortcut", tap Edit instead: a described shortcut does not use Radien's actions.
  2. Search for Wake Device and tap it. Tap Device and choose your PC.
  3. Add If, and set it to read If Wake Device is Answered (tap Choose to pick it).
  4. Add Open App. It lands after End If: touch and hold it, and drag it up between If and Otherwise. Tap App and choose Moonlight or Steam Link.
  5. Tap the arrow beside your PC's name, and turn off Show When Run. While it is on, as iOS sets it, the shortcut stops on Radien's answer until you tap Done.
  6. Tap the shortcut's name at the top, then Rename, and call it Play on PC, for example. Run it from its tile, put it on your Home Screen (Add to Home Screen in the same menu) or on the Action button (Settings, Action Button, Shortcut), or ask Siri: "Play on PC".
The Play on PC shortcut: Wake Gaming PC with Show When Run off, If Wake Device is Answered, Open Moonlight, Otherwise, End If
The whole shortcut: wake, check the answer, open Moonlight.
Settings, Action Button, set to Shortcut with Play on PC chosen
On the Action button: press and hold it to run Play on PC.

Answered means the PC answered. With Moonlight in Also Check, Radien waits for its port within those 20 seconds; if only ping answered by then, the result is still Answered, and Moonlight may need a few seconds more to find the PC. A PC that was already awake is Answered too.

With Radien Pro, Radien's own control wakes the PC from Control Center or the Lock Screen too. It opens Radien on the PC's wake screen; the shortcut is the way on to Moonlight.

5. Away from home

Wake on LAN works inside your home network. From outside, the packet needs a way in. Radien Pro has two, and each has a limit.

6. What Radien cannot do

What you now know

Why Moonlight's wake fails on an iPhone: iOS refuses its broadcast and soon forgets a sleeping PC. What the PC needs once: Wake on LAN in the BIOS and on the card, Fast startup off, a cable, a fixed address, and sleep rather than shut down. And the difference between sent and awake: Radien sends the packet, then tells you whether the PC answered, and with Radien Pro whether Moonlight's or Steam's port did.

Wake on LAN is free in Radien for one computer, with Siri and Shortcuts. Radien Pro is a one-time purchase, no subscription.

Download on the App Store