[Disclaimer This is not a question about WOL]

I have a simple setup where I would like to use the Raspberry as a wake on lan unit. I use the Raspberry to stream the mac addresses of the relevant PC from a REST service using curl. Then I've written a small script using etherwake to send a magic WOL package to all the mac addresses I got from the service. The scripts runs as a service, so when the raspberry starts the magic takes off.

The idea is that the raspberry is turned on and off with the light, so when the light goes on the PCs starts, and when the light goes off the PCs turn off correct. This is achieved with a simple ping function to the Raspberry, when it misses 10 ping request the PC turns off.

So my question(s) is:

  • How stable is the Raspberry, when I take the power each day?
  • Is there something I should be aware of?
  • What about writing/reading to the sd-card, can it malfunction?

The system is reliable that the Raspberry starts, or else the WOL packages are not send :)

  • possible duplicate of How do I enable Wake On LAN?
    – rob
    Apr 24, 2015 at 10:42
  • I am not asking about WOL - please read before commenting :) I am asking about the Pis stability when I take the power from it every day. The WOL is a description of my setup
    – DNRN
    Apr 24, 2015 at 10:54

1 Answer 1


If by "take the power from it" you mean simply disconnecting power without shutting down, you do run the risk of corrupting the SD card. Ideally, you should do an orderly shutdown before removing power. This will require something more than a simple on/off switch with the light.

  • Yes exactly! The ideal is to shut it down nice, but do you have any experiences with just taking the power?
    – DNRN
    Apr 24, 2015 at 12:25
  • @DNRN you can minimise the risk of damage by making as few writes to the SD card as possible, preferably none.
    – joan
    Apr 24, 2015 at 13:32
  • Bobstro is correct; although pulling the plug is not a guarantee of problems, there's a right way and a wrong way. If you are saying, "I really want to do this the wrong way because the right way involves too much effort, is that okay?", then that's your question to answer. Just do it. Presumably no one is going to die or suffer because of this. If the pi isn't doing much, chances are it will usually be fine. I believe there may be an unpredictable element with the pi hardware itself, because some people seem to have much more problems with this than others.
    – goldilocks
    Apr 24, 2015 at 13:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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