ssh access on first boot
I’m using my rPI headless. Meaning no monitor, mouse and keyboard. Just an ethernet connection.
And that is great, but then you need to have ssh access.. and by default that is not running.
There are some small steps to have ssh running on boot, these are the steps
(assumption is that your network has a DHCP service running)
- insert SD card into your Windows / MacOS / Linux system
- create a file named ‘ssh’ on the root partition.
- Insert the SD card into the rPI
- boot the rPI
- check your DHCP service log for a new created IP lease
- SSH to the IP found in the previous step
Default username: pi, password: raspberry
Yes, I’ve stept into the realm of raspberry pi.
Adding this to my homelab setup.
For now I’ll just scribble some stuff I need to remember. Later on I’ll write detailed blogs about the setup of my homelab.
rPI’s are getting hot. Especially the rpi 4B+.
To check it’s core temp you can run the following command
root@raspberrypi:~# /opt/vc/bin/vcgencmd measure_temp
To make life easier I created a small script called ‘temp’ and placed it in /usr/local/bin.
Also make sure it is executable.
chmod +x /usr/local/bin/temp
Now you can check the temp by running the command temp.