<div dir="ltr">Thanks a lot. I expanded on that an built a netctl version: <a href="https://aur.archlinux.org/packages/libqmi-qmi-over-mbim-netctl/">https://aur.archlinux.org/packages/libqmi-qmi-over-mbim-netctl/</a><div><br></div><div>I had to patch qmi-network to support fcc auth, mbim and static IPs (for my x260).</div><div><span style="font-size:12.8px">Aleksander you might be interested in some of those: <a href="https://github.com/spahl/libqmi/commits/qmi-over-mbim">https://github.com/spahl/libqmi/commits/qmi-over-mbim</a>. I think it would be cleaner to do the shell style output and the cdir calculation in the lib in C. Let me know if you are interested and I can do it.</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 23, 2016 at 11:56 AM, Joshua Deare <span dir="ltr"><<a href="mailto:josh@compose.io" target="_blank">josh@compose.io</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, May 22, 2016 at 11:53 PM, Seb <<a href="mailto:sebastien.pahl@gmail.com">sebastien.pahl@gmail.com</a>> wrote:<br>
> Joshua Deare <josh@...> writes:<br>
><br>
>><br>
>> On Wed, Apr 20, 2016 at 10:10 AM,<br>
> Aleksander Morgado<br>
>> <aleksander <at> <a href="http://aleksander.es" rel="noreferrer" target="_blank">aleksander.es</a>> wrote:<br>
>> > On Wed, Apr 20, 2016 at 7:06 PM,<br>
> Joshua Deare <josh <at> <a href="http://compose.io" rel="noreferrer" target="_blank">compose.io</a>> wrote:<br>
>> >> Thanks for the clarification there. I<br>
> don't use NetworkManager, I've<br>
>> >> had bad experiences in the past so I<br>
> just use netctl for all my<br>
>> >> things. But I found my issue. I was<br>
> falling back to use the /24 net<br>
>> >> prefix I'm used to on a typical home<br>
> network rather that the /29<br>
>> >> prefix. So I was calculating my<br>
> broadcast address incorrectly.<br>
>> >> Realizing this and changing to use<br>
> the proper broadcast address got me<br>
>> >> pinging out just great! I'll just<br>
> script together something to scrape<br>
>> >> the mmcli output and configure the<br>
> iface.<br>
>> ><br>
>> > Please share your script once you have<br>
> it, more people may be interested in it.<br>
>> ><br>
>> >> I know this isn't the<br>
>> >> libmbim mailing list, but do you know<br>
> if there would be interested in<br>
>> >> a patch against the mbim-network<br>
> script to allow for iface management?<br>
>> ><br>
>> > You mean to setup the static IP<br>
> configuration instead of DHCP? If so,<br>
>> > yes yes yes ;)<br>
>><br>
>> Yep! That's the plan. I figured it would<br>
> be pretty useful to some folks.<br>
>><br>
><br>
> Did you ever succeed in making it work?<br>
> Happy to help polish unfinished<br>
> versions:-)<br>
<br>
I haven't gotten around to working on the mbim-network. But I have<br>
what I use for the static configuration using mmcli. It's really<br>
rough, but I've attached it.<br>
Usage: ./modem.sh MODEM_NUMBER BEARER_NUMBER<br>
Note: depends on iproute2 and ipcalc being installed. And currently<br>
only works with ipv4<br>
Also note: my wwan iface is hardcoded in this script, so you'll want<br>
to change it to whatever your iface is.<br>
<br>
><br>
> __________________________________________<br>
> _____<br>
>> ModemManager-devel mailing list<br>
>> ModemManager-devel <at><br>
> <a href="http://lists.freedesktop.org" rel="noreferrer" target="_blank">lists.freedesktop.org</a><br>
>><br>
> <a href="https://lists.freedesktop.org/mailman/list" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/list</a><br>
> info/modemmanager-devel<br>
>><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> ModemManager-devel mailing list<br>
> <a href="mailto:ModemManager-devel@lists.freedesktop.org">ModemManager-devel@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel</a><br>
</blockquote></div><br></div>