<div dir="ltr"><div>So just to update on this thread for benifit of anyone else who does a google search :). Eventually I ended up doing --nas-set-system-selection-preference='umts|lte' AND unbinding + binding qmi_wwan driver. After that looks like a --nas-get-system-selection-preference says 'umts lte' as expected. Nevertheless, the setting doesnt persist - maybe its something to do with the ac340u in specific.<br><br>Rgds,<br></div>Gopa.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 7, 2014 at 12:03 AM, Gopakumar Choorakkot Edakkunni <span dir="ltr"><<a href="mailto:gopakumar.c.e@gmail.com" target="_blank">gopakumar.c.e@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thanks for the responses. For some reason my AC340U doesnt save these settings, after plugging out + putting back in its back to square on. Will try experimenting more things.<br><br><br></div>Rgds,<br>Gopa.<br><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 4, 2014 at 2:13 AM, Aleksander Morgado <span dir="ltr"><<a href="mailto:aleksander@aleksander.es" target="_blank">aleksander@aleksander.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey,<br>
<div><div><br>
On Tue, Nov 4, 2014 at 6:55 AM, Gopakumar Choorakkot Edakkunni<br>
<<a href="mailto:gopakumar.c.e@gmail.com" target="_blank">gopakumar.c.e@gmail.com</a>> wrote:<br>
> So I wanted to disable my modem from trying to connect to 2G because I saw<br>
> some threads that says that Sierra modem firmware conks at times when they<br>
> try to connect to 2G. I have a Sierra AC314U modem.<br>
><br>
> So I said qmicli -d /dev/cdc-wdm0<br>
> --nas-set-system-selection-preference='umts|lte' - basically saying that use<br>
> only 3G and LTE. After that point the modem goes back to "Ready to connect"<br>
> state.<br>
><br>
> Now I try using - qmicli -d /dev/cdc-wdm0 --wds-start-network=broadband<br>
> --client-no-release-cid to initiate the connection (which is what I usually<br>
> use to connect and it works). But after that point the modem refuses to<br>
> connect even though the --nas-get-system-info option shows available 3G/LTE<br>
> networks.<br>
><br>
><br>
> So I suspected that its because the nas-set-system-selection-preference says<br>
> that a modem reset is needed, and I did not reset the modem. So I forced a<br>
> reset using the below pair of commands, but after theĀ  reset the umts|lte<br>
> selection I made is thrown out and its back to gsm|umts<br>
> lte. So thats a chicken and egg problem.<br>
><br>
><br>
> qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode=offline<br>
> qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode=reset<br>
><br>
> So my question is: If the "--nas-set-system-selection-preference='umts|lte'"<br>
> needs a reset and the setting is wiped out after a reset, how exactly do I<br>
> do that ? Any guidance will be appreciated!<br>
<br>
</div></div>qmicli --nas-set-system-selection-preference uses<br>
QMI_NAS_CHANGE_DURATION_PERMANENT when setting the new selection<br>
preference; which means that the modem is instructed to store it so<br>
that the setting is kept after all reboots.<br>
<br>
The offline->reset sequence, for what we know, is only required when<br>
you're e.g. switching from CDMA/EVDO-mode to GSM/UMTS/LTE-mode (in<br>
modems supporting all). That's what we do in ModemManager at least.<br>
<br>
For 2G/3G connections there's also the "WCDMA acquisition order<br>
preference" configuration which is also used in the Set System<br>
Selection preference command, *but* qmicli doesn't use it. That<br>
preference allows to say e.g. "3G preferred over 2G", but keep both in<br>
the allowed list. ModemManager and mmcli allows to play with that one,<br>
though.<br>
<span><font color="#888888"><br>
<br>
--<br>
Aleksander<br>
<a href="https://aleksander.es" target="_blank">https://aleksander.es</a><br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>