The follow problem has been occurring for 2 weeks with my Pi 3 (Pi, SD card, power supply are all brand new).

After configuring, I boot up my Pi (stretch), it connects to the internet, I am able to ping and SSH in, everything is great. I am feeding multiple ads-b sites automatically.

After a certain amount of time (varies between 3 days to 4 hours) the Pi will be unreachable via ping or SSH. The strange thing is that it keeps feeding to the ADS-B sites. So I know it's online and transmitting data.

I've tried certain scripts that attempt to detect if wlan0 is up/down and reconnect but I later learned ifup was deprecated, invalidating those attempts (I haven't been able to find a new suitable script) that doesn't force a reboot.


  • when you do reboot, check the system logs for any clue as to what is happening – Jaromanda X Dec 22 '19 at 23:27
  • Have you used /etc/network/interaces to configure your network? If so, do you configure dhcpcd accordingly? – Ingo Dec 23 '19 at 10:22
  • It could simply be the IP address changing after a while if it's dynamically assigned by DHCP. Not clear if we are talking about local or WAN IP address. Are you pinging/SSHing from your ocal network or remotely ? – Anonymous Dec 25 '19 at 21:10
  • @JaromandaX what am I looking for specifically in the logs? I'm currently looking using dmesg and /var/log/messages I just had a pretty good run of 10 days uptime, I just noticed if I SSH into the Pi and leave my connection by closing my laptop or just letting it sit overnight, the session drops at some point -- that is when I lose the ability to connect back or find it on my network (even though it is still feeding). – sn4ke Jan 2 '20 at 22:07
  • I'd be looking at other log files in /var/log - looking for anything that may provide a clue to what is happening – Jaromanda X Jan 3 '20 at 1:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.