On Tue, Dec 29, 2020 at 06:50:49PM +1100, Jupiter wrote:
I am running 4G LTE managed by ofono version 1.30 and connman
1.37, it works well most of the time, but occasionally, the 4G modem
is connected, there is no IP address so I have to run systemctl
restart connman to bring the IP address back. As it is intermittent
and random, it is hard to debug, any insight advice what I could be
missing, why couldn't connman pick up the 4G LTE IP reliably?
ConnMan continues to do send out DHCP Request until it has a valid DHCP
lease. It's hard to tell anything from your description. One thing I
would try is to enable ConnMan's debug log but limit it to the
interesting parts, e.g.
CONNMAN_DHCP_DEBUG=1 connmand -n -d src/dhcp.c:src/network.c