No Connection After Upgrade to
Dan Williams
dcbw at redhat.com
Wed Mar 22 16:06:30 UTC 2017
On Wed, 2017-03-22 at 11:59 -0400, Adam Sherman wrote:
> On 2017-03-22 11:55 AM, Dan Williams wrote:
> > On Wed, 2017-03-22 at 10:49 -0400, Adam Sherman wrote:
> > > I just upgraded using the Debian packages for Xenial, but I can
> > > no
> > > longer connect.
> > >
> >
> > So you're getting a PolicyMismatch error; which as far as we can
> > tell
> > is related to IPv4 vs. IPv6 support. Could be that MM is
> > requesting an
> > IPv6 connection but your device doesn't have a profile to support
> > that?
> > You can pass the "ip-type" parameter to MM that would select IPv4
> > only; maybe that would help?
> >
> > mmcli -m 0 --simple-connect="ip-type=ipv4,apn=foo.com"
>
> Just gave that a try:
>
> $ mmcli -m 0 --simple-connect="ip-type=ipv4,apn=LTEMOBILE.APN"
> error: couldn't connect the modem:
> 'GDBus.Error:org.freedesktop.libqmi.Error.Protocol.PolicyMismatch:
> QMI
> protocol error (79): 'PolicyMismatch''
>
> Could that error mean something else?
One more thing to check; stop MM, then use the TTY port of the modem
and use minicom or some other terminal program (eg, minicom -D
/dev/ttyUSB0) and run:
AT+CGDCONT=?
AT+CGDCONT?
Ctrl+A, then Z, then "yes" to quit minicom if you're using it.
Then:
qmicli -d /dev/cdc-wdm0 --wds-get-profile-list=3gpp
(that might require a fairly new libqmi/qmicli though, hopefully you
have that).
Dan
More information about the libqmi-devel
mailing list