Hello everyone!
I am from team 9418 and this is my team’s first year in FRC. I am currently working on transferring my team’s raspberry pi 4B from the wpilib image to raspberry pi OS and have been encountering serious issues when trying to SSH into the pi. Whenever I try to SSH into the pi, it will 95% of the time throw one of many different error messages. When I do manage to connect to the pi successfully, it will work for enough time to run a few commands, and then it will freeze and sends this message: client_loop: send disconnect: connection reset
I have tried so many different things to resolve this issue and none of them worked. Here is a list:
-Tried to SSH over both wifi and ethernet
-Tried different computers
-Tried to use a spare rpi4
-Tried to connect with both ip and hostname
-Reflashed the micro SD card for the pi and tried different SD cards
-Tried to ssh through macOS
-Tried to connect through command prompt, powershell, and puTTy
-Tried to find it over wifi during one of the rare time I got connected with angry IP scanner (it did not find anything with the pi’s hostname)
-Created custom rules for the firewall to allow port 22 through
A list of error messages the computer has given me:
-connect to host <> port 22: Connection timed out
-could not resolve hostname <> No such host is known
-WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! (then it says there is possibly a man in the middle attack and that a key for a fingerprint has changed)
Some additional information:
-I have enabled SSH on the pi directly in raspberry pi etcher as I was flashing the SD card every time I reflashed the micro SD card
-The raspberry pi didn’t have any issues while on the wpilib image, and all our vision code code ran smoothly on it
-I did not modify any files on the pi. The errors occurred immediately after I flashed the micro SD card with the raspberry pi OS.
-I don’t know if this is important, but I did everything on the pi headless
I am honestly somewhat lost on what I should do right now. If anyone has any suggestions on how I could resolve this, please let me know; any help is appreciated.
Thank you!