I just followed the instructions given here for setting up a wireless hotspot to connect to my Pi with.

However, I think I must have done something wrong.

As I am using a headless Pi, and have no screen or keyboard or ethernet, this means I can't access it anymore. I also can't edit the ext4 portion of the SD card from Windows.

Is there any way reset the WiFi behaviour so that it tries to connect to my router again, and so give me access to my Pi?

Update: In the end I realised I had a SD card with USB adapter lying around. I installed a new OS on the spare SD, and fixed my other card from there. I think the question is still valid. Since you can set the wpa_supplicant.conf file, and enable ssh by putting files on the boot partition, I would have thought you might be able to do other things.

  • Restore from your backup!
    – Milliways
    Jul 15, 2021 at 22:46

1 Answer 1


If you can do nothing, no keyboard/screen, no ethernet connection, no access to the root partition, then there is of course no possibility to modify and repair the installation. You can only reflash the Raspberry Pi from the image.

Or you decide to purchase a piece of hardware to get access to the running RasPi. For this situations the Raspberry Pi has a serial (debug) console but you need a USB to TTL serial adapter to connect to it. The good news: it costs less than 10 €. How to use it you can look at What is the correct way to connect serial console on RPi4 Model B?:

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.