noobs icon indicating copy to clipboard operation
noobs copied to clipboard

README.md: Add instructions on enabling headless SSH

Open ProactiveServices opened this issue 6 years ago • 6 comments

ProactiveServices avatar Jul 03 '19 00:07 ProactiveServices

Doesn't just dropping an ssh file onto the recovery partition work?

XECDesign avatar Jul 03 '19 12:07 XECDesign

On the pre-installed NOOBS SD card that I received, no. I presumed that the pre-installation environment didn't support it as it wasn't a full operating system. Once I'd made the changes to have NOOBS auto-install the OS, the ssh file successfully caused the system to start the SSHd.

ProactiveServices avatar Jul 03 '19 15:07 ProactiveServices

I'm pretty sure dropping the ssh file into the recovery partition worked last time I installed Raspbian with PINN, post-pi4, so it should have worked in NOOBS too.

procount avatar Jul 03 '19 17:07 procount

Ah wait a minute, was Raspbian already PRE-INSTALLED? I'm which case it wouldn't work unless you reinstall Raspbian cos it only copies the file on installation using the partition setup script.

procount avatar Jul 03 '19 17:07 procount

Sorry for any confusion. Raspbian wasn't pre-installed, NOOBS was. I have since made changes to start using the Pi but will be able to test this as I have an image of the original data.

ProactiveServices avatar Jul 05 '19 03:07 ProactiveServices

Neither the steps in this PR or dropping the ssh file would help if Raspbian isn't installed afterwards.

Given that partitions_setup.sh already has a way of handling ssh and wpa_supplicant.conf files, I wouldn't recommend modifying it.

https://github.com/RPi-Distro/pi-gen/blob/master/export-noobs/00-release/files/partition_setup.sh#L23

XECDesign avatar Jul 08 '19 11:07 XECDesign