How to issue an "ifup broadband" when this is logged
Russ Westrem
lspwaterproofing at gmail.com
Tue Feb 7 20:03:19 UTC 2017
Ping scripts which I'm not very fond of. I dont want a ifup broadband
going for every time a low priority packet gets dropped. Also it could
take almost 10 to 15 seconds before a connection is reestablished. If i
can somehow just get the ifup broadband only when the following is logged
it could be instantaneous.
daemon.info [1035]: <info> Modem /org/freedesktop/ModemManager1/Modem/0:
state changed (connected -> registered)
On Feb 7, 2017 1:55 PM, "Aleksander Morgado" <aleksander at aleksander.es>
wrote:
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20170207/13aa33d8/attachment.html>
More information about the ModemManager-devel
mailing list