I have a number of devices which are deployed using Balena Cloud onto Raspberry Pi 4s. The devices obtain their connectivity via an LTE Hat. After exactly 12 hours, the devices lose connection with Balena console and therefore show “offline” and I am unable to interact with them remotely. I have performed a number of tests and exactly 12 hours is consistent. A power reboot brings them back online again, but for only 12hrs.
I am running the latest Balena OS 6.0.10+rev 2 and Supervisor 16.6.1. I’m thinking it is something to do with a DHCP lease or similar? Any one experience similar issues and able to assist in resolving this pressing issue please?
The LTE Company is one which specialises in IoT devices and connection to their network is via a single APN, however they will connect to which ever service is available and strongest in the area of operation. The SIM is provided by https://infisim.com/.
I have experienced no issues on connectivity apart from the 12hrs drop out. I have even tried a SIM which was not as provided by InfiSIM, so a straight forward Vodafone SIM and experienced the same issue.
The device is not connected via ethernet, however it does have an ethernet IP address assigned as there is an SDR connected to the Raspberry Pi via the internal ethernet port. Therefore it is not behind a Firewall.
@Tissy could you please confirm if you have tested these devices running vanilla Linux? Do you observe the same behaviour? We would like to discard if this is an issue of the LTE modem or not.
I shall do that test over the weekend. A Vanilla version of Linux may not have the same logging capabilities as Balena, so I am still interested if anything is picked up. It’s 12hr drop out has just occurred. At what stage should I be able to access the persistent logs please and where are they located?
I also tried manually resetting the 4G HAT whilst the Pi is running which made no difference, device is still offline
Whilst researching, I also came across this thread, does that have any similarities to my issue perhaps?