Rpi-imager: Add ssh and WiFi settings for Raspbian

Created on 6 Mar 2020  ·  4Comments  ·  Source: raspberrypi/rpi-imager

For the official raspbian images, it would be a helpful feature and a time saver to add two buttons that perform post-writing operations: one adds an empty ssh file and the other prompts WiFi credentials and writes a corresponding wpa_supplicant.conf file.

Most helpful comment

Thanks for the suggestion. I understand the technical implications and inconsistencies are reasons enough to dismiss this.

However, I do not agree on the "first time beginner" argument. Now, I don't know if many first time beginners make headless setups, but this software supports the no-desktop image. One could argue a first time beginner would even be more lost if they decided to try this out and WiFi wasn't working because they haven't learned about wpa_supplicant yet.

My 2 cents. Thanks for releasing a great simple tool for all!

All 4 comments

Problem here is, when you finish writing to the SD card you finalize the card (writing the MBR and partition headers) then eject it.

To have this functionality the user would have to remove it and then re-insert the card before they could continue.

If you don't eject / un-mount it, then (on operating systems which don't flush out mass storage devices), it's possible people could remove the SD card when they see the final screen thinking it's OK to remove the device.

So it makes it more difficult to use for a first time beginner...

Also this would only work with Raspbian (although I'm sure there are other random OSes which support the idea of putting the ssh file into the root partition) which again would be inconsistent.

Finally there is software that already does this, it's PiBakery, I'd suggest you use that.

Thanks for the suggestion. I understand the technical implications and inconsistencies are reasons enough to dismiss this.

However, I do not agree on the "first time beginner" argument. Now, I don't know if many first time beginners make headless setups, but this software supports the no-desktop image. One could argue a first time beginner would even be more lost if they decided to try this out and WiFi wasn't working because they haven't learned about wpa_supplicant yet.

My 2 cents. Thanks for releasing a great simple tool for all!

Finally there is software that already does this, it's PiBakery, I'd suggest you use that.

How does that software achieve this feat, then? Could we do the same here?

Would be great to have a feature like this. I think ejecting and reinserting the card is not a big problem.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DeeJay picture DeeJay  ·  11Comments

danielktdoranie picture danielktdoranie  ·  9Comments

guysoft picture guysoft  ·  16Comments

Timmmm picture Timmmm  ·  19Comments

JRHeaton picture JRHeaton  ·  12Comments