How to issue an "ifup broadband" when this is logged

Aleksander Morgado aleksander at aleksander.es
Tue Feb 7 19:55:17 UTC 2017


On Tue, Feb 7, 2017 at 5:02 PM, Russ Westrem <lspwaterproofing at gmail.com> wrote:
> I asked this in someone else's e-mail but maybe i should have made my own so
> here it is.
> My goal is to issue an ifup broadband in LEDE whenever this line is logged
> from modemmanager.
>
> daemon.info [1035]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0:
> state changed (connected -> registered)
>
> My problem is when my band changes or i change cell towers or i drop the
> signal for a split second the modem will re-register with modemmanager with
> a new public IP and the only way to bring it back is with an "ifup
> broadband"
>
> Does anyone know the most efficient way to issue ifup broadband when that
> log entry is logged?

How do the other 3g/4g support programs manage reconnections in
OpenWRT? Not sure I saw anything in the protocol handler
implementations I used as reference.

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list