hippy
Posts: 5326
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: Any success using WOL on a RPi

Thu Jan 12, 2017 5:13 pm

As suggested earlier, you will need to add additional hardware which can itself detect a WoL packet and generate a signal which either resets or powers-up the PI.

The on-board LAN 9514 does have a WoL output pin but it does not appear that the chip remains functional and can detect a WoL packet when the Pi is halted and definitely won't when the Pi is powered-off.

USB network adapters connected directly to a Pi will not work because they don't have a separate signal out which can be used to reset or power-up the Pi. They can only tell the Pi they have received a WoL packet via USB. So, even if they are able to indicate receipt of a WoL packet when the Pi is powered up and running, that's not going to happen when the Pi is halted or powered-off.

This will allow a Pi to be re-booted from a halt state -

Code: Select all

   .---.                .----------------.
   | H |---------------[|_    _       Pi |
---| U |    .--.        |_|  |_|         |<=== 5V
   | B |---[|  |----.   |_|       :::::: |
   `---'    `--'    |   `----------------'
             WoL    |        /|\ To Run
          Detector  `---------'  Header
This will allow a Pi to be re-booted from a no power state -

Code: Select all

   .---.                .----------------.
   | H |---------------[|_    _       Pi |    .--------.
---| U |    .--.        |_|  |_|         |<===| Switch |<== 5V
   | B |---[|  |----.   |_|       :::::: |    `--------'
   `---'    `--'    |   `----------------'         |
             WoL    |                              |
          Detector  `------------------------------'

Yvan-IRSNB
Posts: 1
Joined: Wed Feb 15, 2017 10:57 am

Re: Any success using WOL on a RPi

Wed Feb 15, 2017 11:11 am

Dear all,

As I posted on another site, this is the way I tackle the issue of RPi WOL.

I use a cheap ethernet power relays board like Devantech ETH002 board.
So, when my RPi is shutdown after a sudo halt command, i still can wake it up sending the following commands, using PacketSender ( a very good freeware - Thanks to the developers), to the relays board:
Let's assume the RPi is powered via relay1 of the board and a Windows computer used for this
REM to deactivate relay 1 = switches off the RPi completely
PacketSender\PacketSender.exe -txw 500 RelayIP 17494 "21 01 00"
REM wait 5 seconds...
REM Timeout /T 5
REM reactivate relay 1 = power ON the RPi
PacketSender\PacketSender.exe -txw 500 RelayIP 17494 "20 01 00"

Where RelayIP is the IP address of the relays board and port 17494 used by the board by default.
This is my trick and it works an several RPi used in the museum where I work.

Best regards to all,
Yvan.

VMark
Posts: 3
Joined: Sun Feb 17, 2019 3:06 pm

Re: Any success using WOL on a RPi

Sun Feb 17, 2019 3:27 pm

Hello all,
Sorry for necroing, I just would like to keep this feature request alive.

My 2 cents:
BIOS is a piece of non-volatile memory (ROM,EPROM,EEPROM...) where a machine code is running which knows the physical layout (which bit/GPIO goes where) and some NVRAM which stores settings.
You can do anything without BIOS if hadware is capable of.
However we saw some workarounds, it would be wonderful that with a future version (eg.:Rasberry PI 4) would work out of the box.
BTW USB could wake up a system also, so this also could work if other circumstances are met.

User avatar
rpdom
Posts: 14415
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Any success using WOL on a RPi

Mon Feb 18, 2019 4:22 pm

VMark wrote:
Sun Feb 17, 2019 3:27 pm
Hello all,
Sorry for necroing, I just would like to keep this feature request alive.

My 2 cents:
BIOS is a piece of non-volatile memory (ROM,EPROM,EEPROM...) where a machine code is running which knows the physical layout (which bit/GPIO goes where) and some NVRAM which stores settings.
You can do anything without BIOS if hadware is capable of.
However we saw some workarounds, it would be wonderful that with a future version (eg.:Rasberry PI 4) would work out of the box.
BTW USB could wake up a system also, so this also could work if other circumstances are met.
No point in necroing. Pi 4 has already been designed. We don't know what it'll be like, just that it will have some interesting new stuff.
Likewise Pi 5 has been through the planning stage.

We will just have to wait and see what rabbits are pulled out of the HATs ;-)

Return to “Arch”