How to Set Up a Headless Raspberry Pi, Without Ever Attaching a Monitor

Status
Not open for further replies.
This is all great, and I was able to set up my Pi headless using these instructions, so thanks for providing this. However I can't seem to be able to set the resolution on the VNC desktop any higher than what appears to be about 640x480 - any idea how I can crank that up a little? That's so 1990's... ;]
 
Hello,
I think there is a little oversight in the "Headless Install" instructions on the Raspberry. Specifically in the "Direct Ethernet Connection" section.

It describes that the Raspberry and the PC must be connected by a network cable. But you FORGET to say that it must be a crossover cable... (or do it with 2 network cables and an intermediate switch).

It took me a couple of days and several reinstallations of the Raspian, so I leave this advice here for those who can take advantage of it.

Greetings

Translated with www.DeepL.com/Translator (free version)
 
Hello,
I followed your tutorial and its great. I use a PI 4 8Go
I installed this PI OS : 2020-08-20-raspios-buster-armhf.img
Two remarks:
One : In the Wifi properties, afetr i shared it, I activated the ssh port 22. I clicked on the parameter's button and I create a service and the name box, i give the name of my Latpo
Second: The password is pi et not raspberry.
Thanks for your tutorial,
Franck
 
Apparently in the interim the Ubuntu rPi image no longer has a "pi" user. I looked in the /home directory and saw a "ubuntu" dir there, and confirmed the login name in /etc/passwd. Password of "ubuntu" (good guess) worked, as it immediately wanted to change the default password (I had already copied in my ssh key).
 
My stumbling point:
7. Write an empty text file named "ssh" (no file extension) to the root of the directory of the card.
My Windows10 system doesn't know how to mount the SD card, presumably since it's EXT4 format (for Linux). How do the cool kids handle this step?
 
A Windows 10 PC should see two drives, a boot drive and the SDHC which it can't mount. The boot drive will have the bootup files and that's where you drop the SSH file. My problem with the article is that I plan to have the Pi on the network to my router via ethernet, not direct ethernet to my pc.
 
  • Like
Reactions: KruseLudington
hi, this worked like a charm! thanks so much!!

although the raspberry pi imager program configured the ssh and wifi automatically,

it did not properly download the OS image for me here in Ecuador, for some reason,

everything else worked great, so simple!

have agood one,

Galo
 
A Windows 10 PC should see two drives, a boot drive and the SDHC which it can't mount. The boot drive will have the bootup files and that's where you drop the SSH file. My problem with the article is that I plan to have the Pi on the network to my router via ethernet, not direct ethernet to my pc.
Thanks for this - so did you just follow the directions as given and then connected the PI afterward to your network ()instead of the PC directly)? And as per the other comment - did you have to use a crossover cable? Thx in advance for your answers!
 
I just wanted to add for anyone following this guide - the pi/raspberry user is not part of Raspberry Pi by default and the Imager does not by default set up a username/password for headless setup. You will not be able to SSH using pi/raspberry if you follow the guide exactly. In the new imager, ideally, you have to click the settings gear, go to advanced options, and specify a username/password.

I've had quite a bit of trouble with headless setup beyond that, but I'm fairly sure that's more to do with me than the imager or pi. Will be troubleshooting as soon as I can get a screen and then might update if I find anything useful.
 
Status
Not open for further replies.