• 0

OPI zero and lite connection loss after 5 hrs


moebius
 Share

0

Question

I want to use an OPI zero (armbian 5.31) to log data from a smart meter to influxdb.

 

Everything works, but after 5 hrs i cant ssh into the pi - also, no data is written to the db.

The pi has heatsinks and the temperature is around 53°C.

 

Now i tried it without the logging and after 5 hrs, the pi was again not reachable (i dont know, if it crashed or only the connection went down).

Last try was with a pi lite which showed the same behavior. 

 

What could be the problem? 

Link to post
Share on other sites

14 answers to this question

Recommended Posts

Armbian is a community driven open source project. Do you like to contribute your code?

  • 0
5 minutes ago, Bubba said:

I have 16 zero running 24/7 the only way they stay "online" is with it set to off. Otherwise they drop off after a few hours of inactivity.

Could you tell me more about your setup? Which os, version etc, so that i can also try to setup a stable pi0?

Link to post
Share on other sites

  • 0

Interesting, my OPi crashes with power management off after a few hours. Ok, the setup is a little bit different, it get's pinged every then seconds and it sends data via mqtt every minute. Do you have the rev. 1.4 or 1.1? 

There are some claimings that rev. 1.4 improves wifi. Maybe a 'false advertising', maybe it works now better with power management on.

 

Link to post
Share on other sites

  • 0

There is 10 1.1 and 6 1.4

They all run the older kernel.

I found code on the forum which kills all but one core, and slows down the ram, made them "stable"

Not able to get to it now, only access to zeros is from the local network at the NOCs

 Will check my notes when I go back to town

 

Link to post
Share on other sites

  • 0

I've found the problem:

There is something wrong with the dhcp process between the pi and dnsmasq (on openwrt). After the initial lease, somehow the pi cant renew the ip address afterwards.

A manual "dhclient -r; dhclient" works, so as a workaround i putted the commands in a little script...

 

Uptime is now 4 days (with wifi powermanagement "on")

Thanks for the help!

 

 

Link to post
Share on other sites

Guest
This topic is now closed to further replies.
 Share

0