I've been using a RPI0W as a server for a while now, but an upgrade was getting necessary. So... I bought another RPi4 (Because the PI1 and PI2 that I still had laying around weren't much of an upgrade), plugged it straight into my switch (because this is another advantage: I don't have to connect my server over wifi anymore), and plugged in the power. According to what I read on google, there should be no issues when moving an SD card from one Pi to another (as long as the OS is recent enough to support the Pi's CPU).
At first it didn't work, but I quickly figured out because my static IP was still set on the wlan0 instead of eth0. Changed that, still doesn't work. Let's disable the static IP altogether and try again? Still nothing...
I put the card back in to the 0W and it still works. I took a different SD card and flashed a fresh raspbian on it. The only thing I changed was place an
ssh file in the boot-partition.
When plugging it it, I can see it getting an IP in the lease-table of my router (always 192.168.88.205). However, nmap doesn't detect it. Also pinging to this IP gets no response. Neither does SSH work.
I also tried wireless but this worked even less: didn't get an IP.
Maybe I got a DoA? Luckily I still had some Pi4`s laying around from work. I swapped the Pi, and it still doesn't work...
So... the problem is not in the image, the problem is not in the settings, the problem is not in the SD-card, the problem is not in the network. That leaves only one option: the problem is in the user! (A classic PEBCAK problem)
I'm doing something wrong here. Anyone who can guide me in the right direction?