Docs

Features

Wake-on-LAN

Wake a computer that's asleep or off from anywhere, through another of your devices on its network.

Wake-on-LAN turns on a computer that's asleep or shut down, from anywhere: press Wake in the dashboard, on your phone or at a terminal, and a minute later it's online. Wake your gaming PC from your phone on the way home, or a homelab server before you SSH in.

How it works

A sleeping computer can't hear anything over the internet, but its network card can still hear a "wake up" packet (a magic packet) from its own local network. So Underpass asks another of your devices that's online on the same network to send it:

  1. While it's on, each computer tells Underpass its network cards and the networks they're on. Underpass keeps that while it sleeps.
  2. When you press Wake, Underpass picks up to three online devices on the same network (the computer owner's own devices first), and they send the packet.
  3. The computer starts and connects as usual.

The device that sends it can be any computer, or a phone on the home Wi-Fi: phones running Underpass can wake the computers on their network. Phones themselves can't be woken.

What you need

Something on the same network that stays on

This is the part people miss: Underpass can't wake a computer from the internet on its own. The wake-up packet only works inside the computer's own network, so another device on that network has to be on and connected to Underpass when you press Wake. That's true of every remote wake tool, not just Underpass.

If you want to wake it…Leave this on, on the same network
From homeYour phone on the home Wi-Fi with the Underpass app connected
From anywhere, any timeAn always-on device: a Raspberry Pi, a NAS or home server, or another computer that doesn't sleep
At the officeAny office computer that stays on, or a small always-on device

A Raspberry Pi is the usual answer at home: it uses a few watts, and once it's on Underpass it can wake every computer in the house from anywhere. See Raspberry Pi.

Your phone only works while it's on that Wi-Fi: once you leave home, it's no longer on the computer's network and can't wake it.

The rest

  • Underpass 0.8.7 or later on the computer to wake, and it has been online once since updating, so Underpass knows its network card.
  • The device that sends the packet also has 0.8.7 or later, and is on the same Wi-Fi or wired network: same building, same router.
  • Wake-on-LAN turned on in the computer's firmware and network card (below).
  • Your workspace hasn't turned it off: it's on unless an owner or admin turns it off in Settings → Devices.

Wired Ethernet is the most reliable. Waking over Wi-Fi rarely works: most Wi-Fi cards switch off when the computer sleeps.

Turn on Wake-on-LAN

In the BIOS or UEFI

Restart the computer into its setup screen (usually Del, F2 or F10 while it starts) and turn on the setting. Its name depends on the maker: Wake on LAN, Power On By PCI-E, Resume by LAN or similar. Some computers also need ErP or Deep Sleep turned off, which otherwise cuts power to the network card.

Windows

  1. Open Device Manager, expand Network adapters, and open your Ethernet adapter.
  2. On Advanced, set Wake on Magic Packet to Enabled.
  3. On Power Management, tick Allow this device to wake the computer and Only allow a magic packet to wake the computer.
  4. Turn off Fast Startup: Control Panel → Power Options → Choose what the power buttons do → Change settings that are currently unavailable, then untick Turn on fast startup. With it on, a PC that's shut down often can't be woken.

Linux

Check and turn it on with ethtool (use your card's name from ip link):

bash
sudo ethtool eth0 | grep Wake-on   # "g" means it's on
sudo ethtool -s eth0 wol g

That lasts until the next restart. To make it stick with NetworkManager:

bash
sudo nmcli connection modify "Wired connection 1" 802-3-ethernet.wake-on-lan magic

Without NetworkManager, run the ethtool command at every start, for example from a systemd unit or your distribution's network configuration.

macOS

In System Settings → Battery (or Energy), turn on Wake for network access.

Wake a computer

Anywhere you see the computer offline:

  • The dashboard: Wake on the computer's page. It shows which devices are sending the packet, or in plain words why none can.

  • The command line, on another of your devices:

    bash
    underpass wake desktop

    It prints Waking desktop through laptop. It's usually online within a minute; check with underpass status.

  • The Underpass app on Windows and macOS: Wake on an offline device.

  • The phone apps: Wake on an offline device.

Who can wake what

WhoWhat
Owners and adminsAny computer in the workspace, from the dashboard
MembersTheir own computers
The command line and the appsThe computers of the person signed in

Every wake shows in the audit log as machine.wake. Turning waking on or off in Settings → Devices shows as workspace.wake.

Troubleshooting

What it saysFix
We don't know <machine>'s network card yetUpdate the computer to 0.8.7 or later, and have it online once after updating
Nothing on <machine>'s network is online to send the wake-upNothing on that network is on and connected to Underpass right now. Leave a device there on: your phone on that Wi-Fi, another computer, or an always-on device like a Raspberry Pi. See Something on the same network that stays on
<device> is on <machine>'s network but needs Underpass 0.8.7 or laterUpdate that device, then try again
Phones can't be woken.Only computers can be woken
Waking machines is off in this workspaceAn owner or admin turns it on in Settings → Devices

The packet was sent, but the computer stays off:

  • Check Wake-on-LAN is on in the BIOS or UEFI and for the network card (above). Both are needed.
  • On Windows, turn off Fast Startup.
  • Use a cable. Wi-Fi wake rarely works.
  • Some computers can only be woken from sleep, not from shut down, or only while plugged into power.
  • After a power cut, many computers can't be woken until they've been turned on once by hand.

See also Troubleshooting.