Hey Peter,
Sorry to hear you had to move off of MM. I am trying to solve the problem
myself with this hotplug script which seems to be working for me as of today,
though it certainly feels hackey maybe it could mature with experience. I’ve
yet to drive around, but did test loss of signal with an attenuator, and based
on your input about the Sierra handling tower switching (iirc I saw the same
thing the documentation) that should mean that the only thing we need to be
aware of from the MM/OpenWrt side of things is the state of the modem and
whether the link is down, and then it’s just a matter of running ifdown to
clear out the old routes and bearers then ifup.
I’m checking the modem’s state by (brace yourself) parsing mmcli output, and
checking link connectivity by pinging over the modem interface. The repo is
here if you want to check it out:
https://gitlab.freedesktop.org/mips171/modem-manager-keepalive/blob/master/13-keepalive_modemmanager
<https://gitlab.freedesktop.org/mips171/modem-manager-keepalive/blob/master/13-keepalive_modemmanager>
Best,
Nicholas
_______________________________________________
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel