<div dir="ltr">Hello Dan<div><br></div><div>Many thanks for this. I'll give it a test and let you know how I get on.</div><div><br></div><div>Regards</div><div><br></div><div>Mark</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, 4 Jul 2025 at 18:18, Dan Williams <<a href="mailto:dan@ioncontrol.co">dan@ioncontrol.co</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">On Fri, 2025-07-04 at 11:57 -0500, Dan Williams wrote:<br>
> Hi,<br>
> <br>
> > On Jul 1, 2025, at 10:21 AM, Mark Corbin <<a href="mailto:mcorbin@lunarenergy.com" target="_blank">mcorbin@lunarenergy.com</a>><br>
> > wrote:<br>
> > <br>
> > Hello<br>
> > <br>
> > I'm trying to configure a Quectel EG916Q for ECM mode so that it<br>
> > will work under NetworkManager (v1.46.0) as an Ethernet device.<br>
> > <br>
> > ModemManager (v1.22.0) reports the following:<br>
> > >              drivers: option, cdc_ether <br>
> > >               plugin: quectel <br>
> > >         primary port: ttyUSB2 <br>
> > >                ports: enu1i4 (net), ttyUSB2 (at), ttyUSB3 (at)<br>
> > <br>
> > but I guess that I need the primary port to be 'enu1i4'? Currently<br>
> > NetworkManager can only see ttyUSB2 as a device (nmcli d).<br>
> > <br>
> > The debug output of ModemManager shows:<br>
> > ModemManager[4247]: <inf> [modem0] net/enu1i4: net (data)<br>
> > ModemManager[4247]: <dbg> [modem0] net ports available but ignored<br>
> > <br>
> > Is there a way to configure this modem so that it will work in ECM<br>
> > mode?<br>
> <br>
> I did<br>
> <a href="https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1277" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1277</a><br>
>  for the EG915Q and EG915N. The 916Q shares an AT command document<br>
> with the 915Q so I’d expect it to work with that branch too.<br>
<br>
I updated and rebased the MR to the ModemManager 1.24.x branch.<br>
Hopefully that's easier to test than based off git main (which requires<br>
very recent libqmi and libmbim).<br>
<br>
Dan<br>
<br>
> <br>
> It’s still Draft because I had some issues with the 915Q’s DHCP not<br>
> consistently handing out IPv4 addresses on bearer activations after<br>
> the first one; it just wouldn’t reply. CFUN=0 or rebooting the module<br>
> would make it work again. I also couldn’t get dual-stack working<br>
> reliably. See<br>
> <a href="https://forums.quectel.com/t/eg915q-dual-stack-ecm-only-works-reliably-for-ipv6/40267" rel="noreferrer" target="_blank">https://forums.quectel.com/t/eg915q-dual-stack-ecm-only-works-reliably-for-ipv6/40267</a><br>
>  for more details.<br>
> <br>
> But if you’re able to grab that branch, build, and test it, I’m very<br>
> curious if it works for you. If you have questions about it, also<br>
> happy to answer and help you work through it.<br>
> <br>
> Dan<br>
> <br>
> > <br>
> > Thanks<br>
> > <br>
> > Mark<br>
> > -- <br>
> > <br>
> > Mark Corbin <br>
> > Senior Software Engineer  |  <a href="http://lunarenergy.com" rel="noreferrer" target="_blank">lunarenergy.com</a>  |  LinkedIn  | <br>
> > Instagram<br>
> > <br>
> > C2:Restricted unless otherwise stated.<br>
> > <br>
> > Lunar Energy Limited is a company registered in England and Wales,<br>
> > authorised and regulated by the Financial Conduct Authority under<br>
> > reference number 767876. Company registration number: 05631091.<br>
> > Registered office: 55 Baker Street, London, England, W1U 7EU<br>
> <br>
> <br>
> <br>
<br>
</blockquote></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div><div><br><span style="color:rgb(38,77,116);line-height:1.6;font-size:10pt;font-family:"IBM Plex Sans",sans-serif"><strong>Mark Corbin </strong></span><br><span style="color:rgb(38,77,116);line-height:1.4;font-size:10pt;font-family:"IBM Plex Sans",sans-serif">Senior Software Engineer  |  <a href="https://www.lunarenergy.com" target="_blank">lunarenergy.com</a>  |  <a href="https://www.linkedin.com/company/lunarenergyinc/" target="_blank">LinkedIn</a>  |  <a href="https://www.instagram.com/lunarenergyinc/" target="_blank">Instagram</a><br></span><img style="padding-top: 5px;" src="https://storage.googleapis.com/lunarenergy/email-sigs/lunarenergy-logo.png" alt="Lunar Energy Logo" width="100"></div></div></div>

<br>
<font size="1">C2:Restricted unless otherwise stated.</font><br>
<br>






<p><font size="1">Lunar Energy Limited is a company registered in England and Wales, authorised and regulated by the Financial Conduct Authority under reference number 767876. Company registration number: 05631091. Registered office: 55 Baker Street, London, England, W1U 7EU</font><br></p>