<div dir="ltr"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I switched to MBIM protocol with AT#USBCFG=3, and used this script <a href="https://gist.github.com/SimonPe/0fd6ea6fa754aff88d5e" rel="noreferrer" target="_blank">https://gist.github.com/SimonPe/0fd6ea6fa754aff88d5e</a> to automatically configure wwan0 for evaluation purposes. Works like a charm :-)<br></blockquote><div><br></div><div><div class="gmail_default" style="font-family:monospace,monospace">I'm sure whoever wrote that script will like the new key-value output in mmcli!</div></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Using mbim-network is not an option, because my modem does not support DHCP. But for production, I'll write a little program to interact with libmbim API and set the wwan0 configuration accordingly.<br>
<br></blockquote><div><br></div><div><div class="gmail_default" style="font-family:monospace,monospace">If you're working with ModemManager, there is no point in using mbim-network, just let MM have the modem connected, and then manually apply the settings exposed by MM in the bearer object, which is exactly what the script above is doing.</div></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Aleksander<br><a href="https://aleksander.es" target="_blank">https://aleksander.es</a></div></div>