[solved] Rasppi online but seems offline

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

[solved] Rasppi online but seems offline

Postby anadyr » Sun Dec 25, 2022 6:59 pm

Hi, merry Christman everybody! New to this forum, but not new to Arch linux or Raspberry Pi.

My Raspberry Pi 3 gets a static IP from the DHCP server, and netctl is configured accordingly. The raspberry pi has 1 main task: to measure temperatures every 5 minutes (via a cron job) and write it to a Google sheets file. It does this very well; I can see new temperature readings every 5 minutes appear in my file.

However, from time to time the raspberry pi "disappears" from the local network. When this happens there is no access via SSH, ping gives no results, and the raspberry also does not appear in a Fing network scan. So it looks powered down. However, it is not powered down because the temperature readings keep coming in! This is the case right now, but it seems to happen about once a month.

I can wait for the next day for the device to be responsive and online (a different cronjob reboots it every night), or I can remove the power and plug it in again for a forced restart. But I'd rather fix it properly... Any ideas what this can be? Or any ideas where to start troubleshooting? Any help is appreciated.
Last edited by anadyr on Wed Jan 04, 2023 10:22 pm, edited 1 time in total.
anadyr
 
Posts: 2
Joined: Sun Dec 25, 2022 6:42 pm

Re: Rasppi online but seems offline

Postby lategoodbye » Tue Dec 27, 2022 1:07 pm

Hi Anadyr,
please provide more information:
Which interface is affected (Ethernet or Wifi)?
Can you estimate the time how long it takes to get into this state?
Which kernel / version do you use?

Best regards
lategoodbye
 
Posts: 124
Joined: Sat Dec 29, 2018 1:24 am

Re: Rasppi online but seems offline

Postby robg » Tue Dec 27, 2022 7:59 pm

Also, to quote from `man sshd`,
$this->bbcode_second_pass_code('', ' -d Debug mode. The server sends verbose debug output to standard
error, and does not put itself in the background. The server
also will not fork(2) and will only process one connection. This
option is only intended for debugging for the server. Multiple
-d options increase the debugging level. Maximum is 3.')

Moreover, it would be beneficial to have a `dmesg` output that covers the downtime and any logs of your network manager of choice.
robg
 
Posts: 194
Joined: Tue Jan 05, 2021 8:22 am

[solved] Re: Rasppi online but seems offline

Postby anadyr » Wed Jan 04, 2023 10:05 pm

So it turned out to be an error on the side of the router. I wasnt able to ping the raspberry pi from other devices on the network but it was possible to ping it from within the diagnostics page, in the router config menu. So thats when I realized theres nothing wrong with the raspberry pi. I rebooted the router and the raspberry pi was online again, and pingable from all other devices on the network
anadyr
 
Posts: 2
Joined: Sun Dec 25, 2022 6:42 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 24 guests