Skip to content

Instantly share code, notes, and snippets.

@robertolos
Created December 21, 2023 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robertolos/236c9edd603c716f35d9e4cfe2bb37fb to your computer and use it in GitHub Desktop.
Save robertolos/236c9edd603c716f35d9e4cfe2bb37fb to your computer and use it in GitHub Desktop.
Headless setup raspberry using Raspberry PI Manager from Mac
1. Write Raspberry PI OS to an SD card using Raspberry PI Manager.
2. Create a file named user userconf (or userconf.txt) containing the following:
Code:
`pi:$6$c70VpvPsVNCG0YR5$l5vWWLsLko9Kj65gcQ8qvMkuOoRkEagI90qi3F/Y7rm8eNYZHW8CY6BOIKwMH7a3YYzZYL90zf304cAHLFaZE0`
3. Place userconf (or userconf.txt) plus an empty file named ssh (or ssh.txt) in the BOOT (FAT32) partition of the SD card.
4. Insert the SD card in the Raspberry Pi and it should boot with access to user 'pi' (password : raspberry) via SSH.
5. Change user and password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment