Hey guys, I would like to install Debian on my raspberry pi 4 model B 2gb, but I dont have a micro HDMI. I would like to install it headless. I watched a video where the guy created some files in the boot partition on the SD card to enable SSH, and I was wondering if I can do something similar with a Debian SD so I dont need to go out and buy a cable.
I couldn’t find too many tutorials for Debian on the pi, and none to install it headless.
Thanks in advance!
Edit 1: I ended up going with raspbian lite because of some other issues that came up.
I’m not sure that it can be done. Looking at https://linuxhint.com/install_debian_raspberry_pi_4/ it suggests the images on the debian site, come with a root user with no password, and SSH set to keybased auth. There isn’t even any WiFi until you login and enable it.
Ill probably boot into the SD card from my laptop and set everything up like that before even putting it on the RPi
Yeah. I think the empty ssh file and wpa_supplicant stuff that Raspbian accepts in the root of the disk, is down to the nature of people setting up headless Raspberry Pi’s frequently. Setting it up properly on a PC and then booting the Pi from it - is definitely the way to go.