Not sure why you aren't taking the advice that has been given, and only repeating yourself over and over.? Your default gateway is NOT set properly on the hamclock pi.? That is why you can only ping the router directly, but nothing else connected to it.? I saw 2 responses last night to you that showed how to troubleshoot and fix that, and it appears you just ignored them completely.
Get
On Dec 7, 2023, at 12:56, Michael WA7SKG <
wa7skg@...> wrote:
toggle quoted message
Show quoted text
TSC-60 Man Washington:
Issue Recap:
On the local network are two RPis, hamclock-pi () and
trailer-pi() (along with many other things on the network).
Both RPis pretty much the same. The hamclock-pi has been running over a
year and I would ssh into it as needed, last time over six months ago.
Otherwise, not touched. If I wanted to do anything with hamclock, I
would access it via the built-in web interface, no problems.
Recently, I tried to ssh into hamclock-pi with No Route to Host error.
Tried to ping hamclock-pi, Destination Unreachable error. Tried from
trailer-pi and other computers, same results. Tried to access hamclock
via web interface (), unable to connect.
Connected keyboard and mouse to hamclock-pi and opened terminal.
Compared ip addr, route, iptables, etc with trailer-pi. All settings
basically identical with proper ip addresses. HamClock running on
hamclock-pi and connecting to hamclock servers. Open browser on
hamclock-pi and can surf the web. I can ping the router() no
problem, cannot ping anything else on local network.
hamclock-pi $ ssh [email protected] connects to itself without issue
hamclock-pi $ ssh <anything else on network> No Route To Host
Hamclock-pi has been rebooted several times, no change. Hamclock-pi
connected to network via Wi-Fi, gets address etc from DHCP on router.
Again, had been working fine for over a year, not touched in any way for
over six months, now does not work. No config settings or anything else
has been changed.
BTW, I used to maintain TSC-60 40 years ago. Nice system. Would be a
dream to have one.
Michael WA7SKG
TSC-60 Man Washington via wrote on 12/7/23 10:04 AM:
Please define ¡°it can ssh to itself.¡± ?That statement makes no sense to me.
From where, to where, via what route? ?Please be painfully specific.
Can you successfully ping the HamClock Pi from any other computer? ?If
not, then you need to fix that problem first and it¡¯s a network problem.
You¡¯ve been given some good advice to check so far.
You can ping the router from the HamClock Pi but can¡¯t reach any other
computer past it. ?That sounds like the gateway IP has not been
configured (or has changed) on the Pi.
Have you run ifconfig on the HamClock Pi and shown the results here?
?(Sorry, I¡¯ve not been tracking this closely)
What is:
* The IP address of the Pi
* The subnet mask address entered in the Pi
* The gateway IP address entered in the Pi
* Connection to gateway (cat or Wi-Fi)
* Gateway running DHCP or Static addressing
* The IP address range allowed by the gateway
* The ports allowed settings in the gateway
* The contents of the sshd.conf file
This is a problem that needs more data. ?Get the answers and listings
from above and perhaps someone can help further.
Asa ?Jay
Sent via radio waves
On Dec 7, 2023, at 09:41, Michael WA7SKG <wa7skg@...> wrote:
?Yes, it is enabled. It can ssh to itself, just nowhere else. It was
working fine six months or so ago and hasn't been touched since until now.
Michael WA7SKG
Patrick Ouellette wrote on 12/5/23 3:55 PM:
I'd ssh enabled in rpi config? The pi has to be listening for
connections from the network.
On Tue, Dec 5, 2023, 5:32?PM Michael WA7SKG <wa7skg@...
<mailto:wa7skg@...>> wrote:
???I've got a Raspberry Pi that just runs HamClock (for now). It accesses
???the internet without problem. However, I cannot access it from my
???normal
???desktop or any other computer. It shows up as a connected device in my
???router, and I have the correct IP address. From the RPi, I can
ping the
???router fine, but anything else in the network comes back as
Destination
???Unreachable. It can ssh to itself, but trying to ssh to anything else
???returns No Route To Host. When I try to ssh or ping it from any other
???computer on the network, I get the same results. It has been maybe six
???months or more since I tried to ssh into it and it worked fine then.
???Nothing has changed, it basically hasn't been touched for months.
???Any ideas?
???-- ????73,
???Michael WA7SKG
???"Any day you do not learn one new thing is a wasted day."