Some questions
hostname -i for me only returns the local loopback address of 127.0.0.1. To get all IP addresses assigned run hostname --all-ip-addresses
How is the RPI getting an IP address? Do you configure WIFI in the set-up in PI Imager?4) I connect a keyboard and a monitor to the raspberry and get the IP address of the raspberry using hostname -i
hostname -i for me only returns the local loopback address of 127.0.0.1. To get all IP addresses assigned run hostname --all-ip-addresses
This would be as expected if they were on the same network.1) If I try to ping raspberrypi.local, then ping is successful
Have you tried disconnecting the Ethernet cable between the PC and RPI and see if SSH still works?3) If I try to ssh pi@raspberrypi.local, then it is successful, but after a few minutes the connection is interrupted
If your desire is to SSH into the RPI from the PC, without an external network connection on the RPI, then look at this article https://carbonstone.blogspot.com/2014/0 ... ernet.html. However, this assumes no direct network connection for the RPI.Thank you for reading, hope someone has the solution, since this time I'm not really able to find a way!
Statistics: Posted by DS256 — Thu Apr 11, 2024 9:25 pm