<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    On 19/08/2020 2:13 am, Aleksander Morgado wrote:<br>
    <blockquote type="cite"
cite="mid:CAAP7uc+w9uL1hZKLXQ9Jn8C0BpRC0GeQzp2W6FnUakdcwmqMyw@mail.gmail.com">
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">This may be a known issue with QMI modems where the internal network
registration attempt is done with "QMI NAS Register In Network"; this
command not only registers in network, it also makes the access tech
preference fallback to "any", and MM doesn't consider that in its API.

There is a recent patch to avoid this, by avoiding the use of "NAS
Register in Network" and use "NAS Set System Selection Preference"
instead: <a class="moz-txt-link-freetext" href="https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/commit/c70b3557184fdf1472ff0cb36e9fd937cc7f9024">https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/commit/c70b3557184fdf1472ff0cb36e9fd937cc7f9024</a>

That patch is not yet in any release, though, not even in 1.14.0. I'll
backport it to the 1.14.x branch so that it gets into 1.14.2.


So the 64 million dollar question is when is 1.14.2 likely to be released ?

</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
Sometime in the next few weeks I'd say.</pre>
    </blockquote>
    <font color="#663300"><br>
      So it's been a while, but I now have MM 1.14.2 installed on my
      embedded system via Debian Buster Backports repo.<br>
      <br>
      I can successfully set the allowed mode to "3G" and get a UMTS
      connection.<br>
      <br>
      <font face="monospace"><b>    mmcli -m 0 --set-allowed-modes="3G"</b></font><br>
    </font><font color="#663300"><br>
    </font><font color="#663300">However, if I try to lock to 4G the
      connection never succeeds.</font><br>
    <font color="#663300"><font face="monospace"><b><font
            color="#663300"><font face="monospace"><b><br>
                    mmcli -m 0 --set-allowed-modes="4G"</b></font></font></b></font></font><br>
    <font color="#663300"><font color="#663300"><br>
        The only way I can get an LTE connection is with the following.</font></font><br>
    <font color="#663300"><font face="monospace"><b><font
            color="#663300"><font face="monospace"><b><br>
                    mmcli -m 0 --set-allowed-modes="3G|4G"
                --set-preferred-mode=4G</b></font></font></b></font></font><br>
    <font color="#663300"><font color="#663300"><br>
        <b>I presume this is a bug?  But maybe there is something else
          going on</b><b>?</b></font></font><b><br>
    </b><font color="#663300"><font color="#663300"><b>Any ideas or
          suggestions to get an LTE connection with setting 4G as the
          only allowed mode?</b><br>
        <br>
        Also, I've just noticed that 1.14.6 has just hit the Buster
        Backport repo.  I'm not sure if that will help or not, but I
        don't see anything in the NEWS file that would suggest a change
        in this area.<br>
        <br>
           
        <a class="moz-txt-link-freetext" href="https://github.com/freedesktop/ModemManager/blob/mm-1-14/NEWS">https://github.com/freedesktop/ModemManager/blob/mm-1-14/NEWS</a><br>
        <br>
      </font></font><font color="#663300"><font color="#663300">Thanks,
        Brendan.</font></font>
    <p><font color="#663300"><font face="monospace"><b><font
              color="#663300"><font face="monospace"><b> </b></font></font></b></font></font><font
        color="#663300"> </font></p>
  </body>
</html>