My first thought was to simply start broadcasting WOL magic packets over the network, but my Raspberry Pi is not waking up. So I'm assuming it either doesn't support WOL, or I haven't properly configured it.

What do I have to do to enable Wake-on-LAN?

  • 3
    I wonder though, how on Earth did you manage to have power attached and not having your Pi turned on? – Tibor Jun 14 '12 at 16:23
  • 6
    @Tibor: I only have an imaginary one, that's how. – Der Hochstapler Jun 14 '12 at 18:10
  • 19
    @OliverSalzburg: Then imagine it's waking up. – David Schwartz Jul 20 '12 at 23:00
  • 2
    While I wouldn't be suprised if the pi's operating consumption is comparable to many desktop's waiting-for-wake-on-lan consumption, it would be an interesting question if there is enough public information available about the SOC to do clock throttling and achieve a lower power idle state. – Chris Stratton Aug 3 '12 at 0:01
  • 3
    I am using RampBMC on my Pi and I can tell you this. Using the xbmc remote app on the iPhone has a shut down feature. When I tell it to shut down it does. IT DOESN'T REBOOT. The screen goes blank and the only thing lit up on the Pi is the red power lite. Thats it. It may have power to it but it is not running XBMC. I am also interested in a WOL option. I want to be able to put a piece of double sided tape on my Pi and stick on the back of my TV and never have to touch it. The XBMC iPhone app also has WOL option by the way. – user13657 Mar 22 '14 at 14:53
up vote 39 down vote accepted

It doesn't support WoL.

Considering the device draws so little power, the benefits of shutting it of and waking it with WoL are few and far between. Just leave it on!

  • 3
    @AlexChamberlain Yes, but once the OS is halted you can't get it back without rebooting. – Jivings Aug 3 '12 at 9:37
  • 2
    @Jivings Can you reboot using the WoL support in the LAN chip? – Alex Chamberlain Aug 3 '12 at 9:38
  • 12
    Its not just the Pi, going to sleep also puts external HDDs to sleep which can mean significant power savings or simply prolong the life of HDD. – Mrchief Dec 29 '12 at 4:10
  • 2
    Ok, so the new RaspBmc spins down external HDD after 20 minutes of inactivity - sweet! You can also configure the time period to anything like. So I guess WOL takes a back seat for now! :) – Mrchief Jan 1 '13 at 4:16
  • 4
    I think what people fail to realize is that the Raspi does not have an 'ON' button, so this would come in handy to turn on a Raspi has been turned 'off' – puk Oct 10 '13 at 1:14

I beg to differ. If you dig a bit deeper you find out the LAN micro chip, which incidentally is also the 2 port USB hub.

The manufacturer of the LAN microchip clearly says in their specifications the there is WoL on the LAN module.

Ethernet features: 10/100 Ethernet controller supports numerous power management wakeup features, including Magic Packet™, Wake-on LAN (WOL) and Link Status Change.

Now how you use it is another question. End of the day as long as there is power connected to Raspberry Pi (even if it off state or sleeping), you can use the WoL with out problem.

I know the other answers say you cannot shut down or sleep the Raspberry Pi (maybe with existing OS's), but the answer is still there is WoL in the LAN Module and that is a fact.


One thing to cry about if the fact that PoE has been omitted, but luckily Raspberrians questioned this fact and it turns out.. they just forgot about it.. oops.

Is power over Ethernet (PoE) possible?

Not in the base device, but it’s been a very commonly requested feature, so we’re examining options for later releases.

Somewhere on their blog they admitted to forgetting about it.. cannot find it now.

The RPi doesn't need Wake On Lan.

If it's connected to the power supply then it's on. There is no suspend or hibernation.

If it's not connected to the power supply, then it's definitely not going to turn on.

  • 3
    What happens if you shutdown the OS? – Alex Chamberlain Aug 3 '12 at 8:28
  • 1
    @AlexChamberlain It says "System Halted" and then you unplug it. – Jivings Aug 3 '12 at 9:35
  • Let's go to chat... – Alex Chamberlain Aug 3 '12 at 9:37
  • @Jivings : how to boot after it has been halted ? – user1648 Sep 27 '12 at 8:32
  • 5
    You are wrong. Just issue a 'poweroff' command from the console while power is attached and it will turn off. Now it is connected to the power supply, but it is not on. There's plenty of software that turns the device off through a similar soft-off method. WoL would then theoretically turn it back on. – Octopus Dec 3 '14 at 18:36

I'm facing the same issue for a long time. But I use a trick to WOL my Raspberry Pi's (I use several RPi's in the museum where I work). I tackled the issue using an inexpensive ethernet power relay.

Here is my trick: I connect an ETH002 board (from Devantech) to the network. Power of the RPi is connected through the output NC (Normally Closed) of a relay. As the relay is normally closed, when main power is switched ON, both systems start up.

When I send a "sudo halt" command to the RPi, this goes off. To wake it again, I send the following command to the relays board (assuming the Relay 1 is in use):

//deactivate relay 1

PacketSender\PacketSender.exe -txw 500 IPaddress 17494 "21 01 00"

// wait some seconds...

//reactivate relay 1

PacketSender\PacketSender.exe -txw 500 IPaddress 17494 "20 01 00"

where IPaddress is the IP address of the relays board and port 17494 by default.

-- PacketSender is a very good freeware, Thanks to the developer --

Doing so, I completely switch off the RPi and power it on again. e.g when there is an evening event in the museum. Looks like WOL.

That 's it! Et voila!

Regards to all,

Yvan.

You can use PoE with the pi, use a PoE switch and a PoE splitter at the pi end. Works well and with a smarter, yet more expensive switch, you can reset the port to power cycle the pi.

It would be nice to use WOL on the pi, but not seeing any input on anyone getting that to work, even though the nic chip will "support" it.

RPi gets power from a normal phone charger like a old PC AT power supply where you need to manually power on and off. For this reason pi cannot power cycle itself and functions like WoL cannot work.

I'm no expert, but if the ethernet chip is also the controller for the USB ports, the answer may be to get power via the main USB ports for the PI via a USB hub that support power back-feed.

if u want to wake on lan something, a bios must exist in the system, because u need a clock to wake it....the RPI doesnt have any bios inside. Thats all

  • So why would one have to have a BIOS just to have a clock? Lots of stuff have clocks, and even RTCs without BIOS... And why would one need a clock to WOL? All it would take to WOL: Logic to short 2 pins when the ETH firmware detects WOL packages. If the ethernet controller firmware could run in a low power state, and had access to both GPIO 5 and 6, then it would be no problem... raspberrypi.stackexchange.com/a/19754/24295 – svin83 Jul 12 at 19:01

protected by Ghanima Mar 18 '17 at 11:59

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.