Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8013

Networking and servers • Re: Pi 4 on 5 Ghz WiFi can't connect to Pi 1 on 2.4 Ghz

$
0
0
Now, this is driving me nuts. I thought I had this solved, but the problem persists.

Here's the line of code that is failing:

Code:

pi@raspsky:~/webcam $ /usr/bin/scp -p pi@rasp2:$rjpeg/*.jpg $ipath
That copies an entire directory of JPEGs from a Pi 1 (rasp2 - wireless) to a Pi 4 (raspsky - wired). It has been working just fine, as is, for several years.

Here are the variables:

Code:

pi@raspsky:~/webcam $ rhome=/home/pi/webcampi@raspsky:~/webcam $ rjpeg=$rhome/archpi@raspsky:~/webcam $ ipath="$home/koratkam/arch"
Here's the error message:

Code:

Mon Jun 16 05:02:00 +07 2025 Copy KoratKam JPEGsssh: connect to host rasp2 port 22: No route to host
Here's what happens when I run that exact line of code from the command line:

Code:

pi@raspsky:~/webcam $ /usr/bin/scp -p pi@rasp2:$rjpeg/*.jpg $ipathimage_000.jpg                                 100%  163KB   1.8MB/s   00:00image_001.jpg                                 100%  165KB   1.9MB/s   00:00image_002.jpg                                 100%  123KB   2.3MB/s   00:00image_003.jpg                                 100%  118KB   2.3MB/s   00:00<snip>
And this:

Code:

pi@raspsky:~/webcam $ ping -c 3 rasp2PING rasp2 (192.168.0.62) 56(84) bytes of data.64 bytes from rasp2 (192.168.0.62): icmp_seq=1 ttl=64 time=1.63 ms64 bytes from rasp2 (192.168.0.62): icmp_seq=2 ttl=64 time=1.64 ms64 bytes from rasp2 (192.168.0.62): icmp_seq=3 ttl=64 time=5.87 ms--- rasp2 ping statistics ---3 packets transmitted, 3 received, 0% packet loss, time 6msrtt min/avg/max/mdev = 1.627/3.045/5.871/1.998 ms

It all works perfectly. What am I missing here and how can I find out what's going wrong?

Statistics: Posted by Ratsima — Wed Jun 18, 2025 7:00 am



Viewing all articles
Browse latest Browse all 8013

Trending Articles