<div dir="ltr"><div>Hello,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 5, 2024 at 9:06 AM khvalera <<a href="mailto:khvalera@ukr.net">khvalera@ukr.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div>
<span lang="en"><span><span>I am developing a web interface for managing an
mbim modem and ran into a problem while executing the script:</span></span><span><span> </span></span> <span><span><br>
</span></span></span>
<p><span lang="en"><span><span></span></span></span> </p>
<p><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><i> <b>mbim-network
/dev/cdc-wdm0 start</b></i></span></span></p>
<p><span lang="en"><span><span>the Internet starts working.</span></span> <br>
</span></p>
<p><span lang="en"><span><span>But if you try to get any data from the
modem, for example: </span></span></span></p>
<p><span lang="en"><span><span><font face="monospace"> <i><b> /bin/mbimcli
--device=/dev/cdc-wdm0 --query-signal-state </b></i></font></span></span></span></p>
<p><span lang="en"><span><span>the Internet disappears.</span></span> <span><span>How can such a
problem be solved?</span></span></span></p></div></blockquote><div><br></div><div>It is very likely that you may be hijacking the MBIM session with your additional mbimcli command.</div><div><br></div><div>Try to use "PROXY=yes" in the mbim-network configuration, and then add "-p" to all your additional mbimcli commands. By doing this, you will run all MBIM operations through the mbim-proxy, which is the process that would take full control of the MBIM session.</div><div><br></div></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Aleksander</div></div></div></div>