Odd MM Bearer behavior

Christopher Penney mrpher at gmail.com
Tue May 18 10:47:42 UTC 2021


Wow, it worked!  Thank you VERY VERY much.  Turns out the problem was
exactly that; the default profile was incompatible with IoTDataWorks
default APN.
You really saved the day (week, months really) thanks again.

I'll let the Balena team know about the default versions and the fix in
case others run into the same problem.

Meantime, one more favor to ask - is there a programmatic way to clear that
default profile at boot rather than have to do it manually on each new
device we provision?

On Tue, May 18, 2021 at 5:36 AM Aleksander Morgado <aleksander at aleksander.es>
wrote:

> Hey,
>
> > Current specs:
> > mmcli 1.14.2
> > qmicli 1.26.0
>
> You should probably ping balena OS to upgrade those, at least to the
> latest stable updates on those release branches.
>
> > Quectel EG25G, firmware EG25GGBR07A08M2G. * Note, I also tested this
> with four other modems of varying models (i.e EC25A) with the same issue.
> >
> > root at 325da06:~# qmicli -d /dev/cdc-wdm0 -p --wds-get-profile-list=3gpp
> > Profile list retrieved:
> >         [1] 3gpp -
> >                 APN: 'fast.t-mobile.com'
> >                 PDP type: 'ipv4-or-ipv6'
> >                 PDP context number: '1'
> >                 Username: ''
> >                 Password: ''
> >                 Auth: 'none'
> >                 No roaming: 'no'
> >                 APN disabled: 'no'
> >         [2] 3gpp -
> >                 APN: 'ims'
> >                 PDP type: 'ipv4-or-ipv6'
> >                 PDP context number: '2'
> >                 Username: ''
> >                 Password: ''
> >                 Auth: 'none'
> >                 No roaming: 'no'
> >                 APN disabled: 'no'
> >         [3] 3gpp -
> >                 APN: 'sos'
> >                 PDP type: 'ipv4-or-ipv6'
> >                 PDP context number: '3'
> >                 Username: ''
> >                 Password: ''
> >                 Auth: 'none'
> >                 No roaming: 'no'
> >                 APN disabled: 'no'
> >         [4] 3gpp -
> >                 APN: 'tmus'
> >                 PDP type: 'ipv4-or-ipv6'
> >                 PDP context number: '4'
> >                 Username: ''
> >                 Password: ''
> >                 Auth: 'none'
> >                 No roaming: 'no'
> >                 APN disabled: 'no'
> >
> > root at 325da06:~# qmicli -d /dev/cdc-wdm0 -p
> --wds-get-lte-attach-parameters
> > error: Unknown option --wds-get-lte-attach-parameters
> >
> > root at 325da06:~# qmicli -d /dev/cdc-wdm0 -p --wds-get-lte-attach-pdn-list
> > error: Unknown option --wds-get-lte-attach-pdn-list
> >
> > Above errors unfortunately are a bit out of my control, considering the
> ModemManager version is controlled by Balena's OS which means upgrading
> would presumably require a release on their side.
> > I'm wondering if perhaps the IoTDataWorks default APN of `m2mglobal`
> should be changed to 'fast.t-mobile.com' to test?
>
> The profile being used for initial attach is probably the #1 above.
> How about you clear that one, so that no explicit APN is requested
> during the attach operation? Try:
> $ sudo qmicli -d /dev/cdc-wdm0 -p
> --wds-modify-profile="3gpp,1,apn=,pdp-type=ipv4v6"
>
> And then make sure it reregisters, e.g. by reseting the device:
> $ sudo qmicli -d /dev/cdc-wdm0 -p --dms-set-operating-mode=offline
> $ sudo qmicli -d /dev/cdc-wdm0 -p --dms-set-operating-mode=reset
>
> --
> Aleksander
> https://aleksander.es
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20210518/6df5af8f/attachment.htm>


More information about the ModemManager-devel mailing list