I'm trying to get my pi4 to ssh, and since I don't have a micro HDMI to HDMI cable using a display isn't an option. I've tried a few different ways but I recently tried to get it to work by setting everything up on my pi2 and then moving the SD card back to my pi4. I got everything to work on the pi2, it can connect to the internet, but when I move the SD card back to the pi4 and check the ifconfig that it ran while it was running it shows the pi4 didn't connect to a network.
What am I doing wrong?
Should I not swap sd cards between pis? (previously I tried editing the wpa_supplicant and enabling ssh before I plugged the sd card in for the first time and it still didn't work)
I have some log files, but I'm not sure which ones to look at. I tried installing bootlogd but it came back with the response "(Nothing has been logged yet. If you're still seeing this message your current init system might not write bootup messages to the system console at all.)"
Edit: My bad, I forgot to say I'm using the latest version of raspbian from the rpi website. Thanks for reminding me Dougie!