So it appears there have been significant changes to the "New Out Of the Box Software" (NOOBS) system with version 2.1 and beyond. According to the release notes included with the package:
2016-11-25: * SSH disabled by default; can be enabled by creating a file with name "ssh" in boot partition
There has been some pretty good discussion on why there is a change.
The boot partition on a Pi should be accessible from any machine with an SD card reader, on Windows, Mac, or Linux. If you want to enable SSH, all you need to do is to put a file called ssh in the /boot/ directory. The contents of the file don’t matter: it can contain any text you like, or even nothing at all. When the Pi boots, it looks for this file; if it finds it, it enables SSH and then deletes the file. SSH can still be turned on or off from the Raspberry Pi Configuration application or raspi-config; this is simply an additional way to turn it on if you can’t easily run either of those applications.
But wait. Boot partition? Where is that? With the NOOBS system, you simply copy a few files and directories over to the SD card, then boot the card with the Raspberry Pi. There isn't an actual /boot/
directory. Clearly just adding a ssh
file to the root directory on the SD card is a fail. Ditto for adding an ssh
file to the OS directory. That failed too.
Anybody been here before? Since 11.25.2015, how does one enable a headless system accessible via SSH?
Note: A previous answer on this issue, Installing Raspbian from NOOBS without display no longer is applicable to the latest version of NOOBS. So no, this question isn't a duplicate of that one. There is no file flavours.json
. There is no file recovery.cmdline
.
And here's a file listing of the unzipped Noobs root folder:
/boot
is not a partition, it is a file path to a directory; filesystems on *nix systems are traditionally mounted at a point in a hierarchy beginning with/
(the mount point for the root fs) and commonly on Pi distros/boot
is used for the first partition. The one thing all Pi card images have in common out of necessity is that the first partition is vfat formatted and contains certain things (bootloader, os kernel, etc.). This is the "boot partition".