Connection instability

Aleksander Morgado aleksander at aleksander.es
Sun Feb 5 19:52:28 UTC 2017


Hey,

On Sat, Feb 4, 2017 at 3:27 PM, Mark Wahlert <mark.wahlert at gmail.com> wrote:
> LEDE kernel 4.4.42
> mmcli 1.7.0
> mc7455
> tp-link archer c7
>
> config interface 'wwan'
> option device   '/sys/devices/platform/ehci-platform.1/usb2/2-1'
> option proto    'modemmanager'
> option apn      'x.xxxxx'
> option lowpower '0'
>
> MM debug log
>
> I have a script running every 30 seconds to see if google.com is reachable,
> if it is "ok" is logged, if it is not "crap" is logged and I turn the
> interface down and bring it back up.  The connection is re-established on a
> new bearer.  I ran the test overnight and had just two disconnects.  But I
> do not see anything telling in the MM debug log.
>
> Most interesting is that this AM the moment I started to leverage the
> connection - it started dropping again after very few disconnects overnight.
>
> # cat reconn.sh
> #!/bin/bash
>
> while :
> do
>
> wget --spider http://www.google.com || (logger "crap"; ifdown wwan; sleep 5;
> ifup wwan)
>
> logger "ok"
>
> sleep 30
>
> done
>
>
> connection monitor log
>
> Summary of disconnect events:
>
> cat log | grep -i crap
> Sat Feb  4 03:29:35 2017 user.notice root: crap
> Sat Feb  4 05:01:46 2017 user.notice root: crap
> Sat Feb  4 08:30:55 2017 user.notice root: crap
> Sat Feb  4 08:32:30 2017 user.notice root: crap
> Sat Feb  4 08:34:06 2017 user.notice root: crap
> Sat Feb  4 08:46:18 2017 user.notice root: crap
> Sat Feb  4 08:46:58 2017 user.notice root: crap
>
> Any help is always appreciated.
>

What exact version of ModemManager is this? i.e. 1.7.0 is built from
git, so from which commit id? I'd like to know if this very recent
commit was included in your build or not:
https://cgit.freedesktop.org/ModemManager/ModemManager/commit/?id=4e5d8d7e8c0ce16e31d3c98710361eed1cf9f87c

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list