<div dir="ltr"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12.8px">Probably.  My point was just that you could try to include<br></span><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12.8px">"--autoconnect", which will disable the autoconnect feature.  I am too<br></span><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12.8px">lazy to bother to write the whole command ;-)</span></blockquote><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12.8px"><br></span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12.8px">I understand :D<br><br></span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12.8px">By the way, it looks like that the handle for when-you-dont-know-what-the-handle-is is 0xFFFFFFFF<br><br></span><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12.8px"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">$ sudo uqmi -d /dev/cdc-wdm1 --stop-network 0xFFFFFFFF --autoconnect</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">$ sudo uqmi -d /dev/cdc-wdm1 --get-data-status</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">"disconnected"</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div><br></div></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 29 May 2017 at 13:54, Bjørn Mork <span dir="ltr"><<a href="mailto:bjorn@mork.no" target="_blank">bjorn@mork.no</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Carlo Lobrano <<a href="mailto:c.lobrano@gmail.com">c.lobrano@gmail.com</a>> writes:<br>
<br>
>> AFAICS, that is the expected result.  The modem is connected and you do<br>
>> not disconnect, so "start-network" has no effect.<br>
><br>
> Yes, you're right, but why am I connected in the first place? There is no<br>
> context configured<br>
<br>
</span>If autoconnect is enabled, then I believe the modem will try to connect<br>
with whatever it has. Don't know if it tries an empty APN or reuse the<br>
default bearer context in this case, but either will most likely work<br>
(depending on operator, but still..)<br>
<span class=""><br>
<br>
>> If "--set-autoconnect disabled" does not work as expected, then please<br>
>> try "--stop-network --autoconnect".<br>
><br>
> doesn't stop-network require an handle?<br>
><br>
>     $ sudo uqmi -d /dev/cdc-wdm1 --stop-network --autoconnect<br>
>     "Invalid handle"<br>
<br>
</span>Probably.  My point was just that you could try to include<br>
"--autoconnect", which will disable the autoconnect feature.  I am too<br>
lazy to bother to write the whole command ;-)<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
Bjørn<br>
</font></span></blockquote></div><br></div>