Docs / Wake-on-LAN

Wake a PC on your local network.

With Wake-on-LAN, NodalDesk turns on a PC that is off by sending it a signal over the network. For it to work, the machine's network card and motherboard must have it enabled: here's how. The signal travels inside the local network: from outside, another machine of yours that is on in that network sends it for you.

How it works

The magic packet.

The actual power-on is done with a Wake-on-LAN UDP packet: six FF bytes followed by the machine's MAC address repeated sixteen times. NodalDesk computes the MAC and the broadcast address of the primary interface when it can, and sends that packet over UDP broadcast to the standard port 9.

If you ask to wake a machine while you're away, your account looks for another NodalDesk machine of yours that is on in the same local network and asks it to send the magic packet for you. Without that machine on in the network, there's nobody to send it.

01

Enable it in BIOS or UEFI

Look for a board option like Wake-on-LAN, PCIe wake, Power on by LAN or similar. The name varies by manufacturer. Without it, the system may shut the network card down entirely.

02

Allow waking from the system

The operating system can also block the wake. On Linux it depends on the interface and the power settings. On laptops, some deep-sleep modes don't keep the network ready to receive packets.

03

Use wired networking if you can

Wake-on-LAN is far more reliable over Ethernet. Waking over Wi-Fi depends on hardware, drivers and power saving, and on many machines it simply doesn't stay listening.

04

Keep the host's MAC

NodalDesk publishes the MAC when the host can detect it. If the client has no stored MAC, it can't build the magic packet for that machine.

Android

Waking from your phone.

The Android app includes Wake-on-LAN sending. Before sending the packet, it checks that the phone is on Wi-Fi; then it sends the broadcast to 255.255.255.255:9, waits a few seconds and checks whether the host responds. It also uses Wi-Fi and multicast locks to reduce cases where Android cuts the broadcast.

If you're away from home, you need something inside the network able to send the local packet: another NodalDesk machine of yours that is on in that network.