Hi,
I have a Raspbyerr Pi 4 running Dietpi. I am occationally unable to ssh into the pi outside my network, even if I was able to just a few minutes prior.
I set up a script a few days ago to see if I was able to ping google. When I ran into problems again, I noted the time. During this time, the Pi was still able to reach the outside network, despite me not being able to ssh into it.
Does anyone happen to know why this might be the case?
I appreciate any help!
Losing occational remote access to raspberry pi
-
- Posts: 7
- Joined: Wed Jul 29, 2020 3:17 am
Re: Losing occational remote access to raspberry pi
Hi,
what do you mean by unable to ssh into the pi outside my network. Are you trying to connect to your system using VPN from internet?
what do you mean by unable to ssh into the pi outside my network. Are you trying to connect to your system using VPN from internet?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: Losing occational remote access to raspberry pi
One possible explanation is the periodic change of dynamic IP.
A cycle of the wan interface usually takes not more than 5", usually 1" is enough for a down/up.
So the ping from the lan to google will barely be affected. However the change of IP takes longer to be updated in dyndns, so the SSH would take longer.
A cycle of the wan interface usually takes not more than 5", usually 1" is enough for a down/up.
So the ping from the lan to google will barely be affected. However the change of IP takes longer to be updated in dyndns, so the SSH would take longer.