Automatic Reconnect

Lynx de Cat lynx.light0 at gmail.com
Tue Nov 1 10:40:58 UTC 2022


I am using ModemManager version 1.18.6 on OpenWrt 22.03.2 with my
RG502Q-EA Quectel modem. My 4G ISP disconnects any connection after
exactly 48 hours, in relation to which ModemManager reports:

Mon Oct 31 17:37:46 2022 daemon.info [2719]: <info>  [modem0/bearer1]
verbose call end reason (6,36): [3gpp] regular-deactivation

and just leaves things disconnected. So I lose internet connectivity,
and, worse still, netifd / ifstatus wan still seems to think the
connection is active.

This seems related to this:

https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/775

In any question, my question is: why is the default behaviour not to
automatically reconnect, and how can I ensure that ModemManager will
reconnect upon:

Mon Oct 31 17:37:46 2022 daemon.info [2719]: <info>  [modem0/bearer1]
verbose call end reason (6,36): [3gpp] regular-deactivation

So that I retain internet connectivity?


More information about the ModemManager-devel mailing list