2

I'm working on getting a pi connected to my wifi network (my first attempt failed). I don't have ethernet access, nor do I have a monitor and keyboard.

When pulling the plug, I'm corrupting the filesystem such that I can't mount it to make edits on my laptop.

Is there a safe way to shut it down? Do I need to use a serial console? I don't want to have to re-image it every time I mess up.

2
  • 1
    Does this help Shutdown Button Dec 8, 2017 at 14:44
  • Just pulling the plug is not recommended, but it should not cause you problems every time you do it. Better to shutdown properly, but sometimes you just have to pull the plug.
    – Brick
    Dec 8, 2017 at 16:10

1 Answer 1

1

It is possible to connect a pushbutton to Pi to safely shutdown.

I use a button connected to pins 39, 40 in conjunction with the following script when I am without keyboard or ssh access to safely shutdown.

How to safely switch off the Raspberry Pi?

Your Answer

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

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