Losing occational remote access to raspberry pi

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
gofireworks
Posts: 7
Joined: Wed Jul 29, 2020 3:17 am

Losing occational remote access to raspberry pi

Post by gofireworks »

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!
User avatar
Joulinar
Posts: 4124
Joined: Sat Nov 16, 2019 12:49 am

Re: Losing occational remote access to raspberry pi

Post by Joulinar »

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?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
trendy
Posts: 281
Joined: Tue Feb 25, 2020 2:54 pm

Re: Losing occational remote access to raspberry pi

Post by trendy »

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.
Post Reply