as you can probably tell from my stupid question I am a rank beginner with the raspberry pi. I am very keen however as I am the proud owner of 5 raspberry pi 4's and 4 Rapsberry pi 5's (I am yet to track down the 27W ps the 5 requires I am in australia and not only do things take a while to get here, but the suppliers tend to keep stock levels low). All 9 pi's are 8GB.
Why so many Pi's? I thought they each could only run a couple of things on each. I didnt know about docker, or for that matter kubernetes!!
THe state of play.
I figured the best way to learn about stuff is from the youtubes. I am a bit of a Network chuck and Jeff geering fanboy (although I do worry about how much damn coffee Chuck drinks). So far I have managed to flash the OS, update and upgrade the OS. I have worked out how to login without using a password using public and private keys get a static address and I have managed to install docker. I have manage to pull a couple of images. I have not managed to install docker compose. I did manage to boot from an ssd drive.
I run the raspberry Pis on a headless setup in command line in powershell
All this work was done in an rpi4. I thought I would try one of my RPi5's and and although I flashed the OS with a different local host (JohnsLab2), it came up with the same local host as the RPi4 (JohnsLab1) and although I took care to put in the password for RPi5, it would not let me log in.
If you are still with me, my question is.... I want to set up another static address for my RPi5 as it is also destined to be a server. How do I do this? is this a question of configuring the RPi5 to use a different ethernet port?
foo.local
hosts and use Avahi, an mDNS implementation; it runs by default (systemctl status avahi-daemon
,lsof -i UDP:5353
) and corresponding software is also default on most other devices/smartphones/laptops etc.