<div dir="ltr"><div class="gmail_default" style="font-family:'times new roman',serif;font-size:large">I'm more than aware what the spec does and does not offer. In fact, I was even aware it is non-standard for network interfaces to work properly with dhclient. That's why I upgraded the libmbim version so that mbimcli would return the IP address, gateway, etc. that the mobile network returned on connect so that I can enter in the values manually.</div><div class="gmail_default" style="font-family:'times new roman',serif;font-size:large"><br></div><div class="gmail_default" style="font-family:'times new roman',serif;font-size:large">Also, I don't work at a telecommunications company. The fact that you assumed it and then blasted me for it is terrible. FYI, I'm not using NetworkManager+ModemManager on my box (instead, I'm using ifcfg scripts). Right now, I'm writing scripts to parse mbimcli output, and I was hoping I could just write Python code to libmbim directly if it were possible. I'm not a good C programmer, but I'm fairly good with Python. Frankly, looking at libmbim C code confuses me.</div><div class="gmail_default" style="font-family:'times new roman',serif;font-size:large"><br></div><div class="gmail_default" style="font-family:'times new roman',serif;font-size:large">I wasn't even asking for someone to do something for me. I was asking if there was a way with libmbim to be able to pass what type of IP connection I want to have (IPv4, IPv6, or IPv4+IPv6) on the connect command in mbimcli.</div><div class="gmail_default" style="font-family:'times new roman',serif;font-size:large"><br></div><font face="yw-402608bc37fe50adb11a5899295781aeb83d248d-2e5e36dbc520a8e0072fb28a35b2d762--o" style="display: none;"></font></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 31, 2015 at 7:25 PM, Markus Gothe <span dir="ltr"><<a href="mailto:nietzsche@lysator.liu.se" target="_blank">nietzsche@lysator.liu.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I guess with von Neumann-logic there is a tristate-based truth.<div><br></div><div>I hope this give you the guts to figure out the basics yourself.</div><div><br></div><div>Seriously; if and only if you had read the specification you would find out that MBIM does NOT give you an IP-configuration based on DHCP per specification (if you got it by DHCP the vendor was very generous and implemented a DHCP-server).</div><div><br></div><div>Implement your own bindings… or ask someone at Airtel or whatever company you are doing this work for to do it. I hate when people ask about help for their office work and not trying their best or asking the best people to try doing it. There does exist commercial solutions for that, use them.</div><div><br></div><div>So better, for all of us, you tell your boss to buy a commercial solution. Goes without saying.</div><div><br></div><div>//M</div><div><br><div><div><div class="h5"><div>On 31 Jul 2015, at 23:10 , Neal Gompa <<a href="mailto:ngompa13@gmail.com" target="_blank">ngompa13@gmail.com</a>> wrote:</div><br></div></div><blockquote type="cite"><div><div class="h5"><div dir="ltr"><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">Hello,</div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large"><br></div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">I'm trying to use mbimcli to connect to the Internet using my mobile broadband card (Telit LN930) on CentOS 7.1, which has libmbim-1.5.0-3.20130815git. Using it, I was able to establish a connection, but I had no IP address information since dhclient doesn't work on the modem. So, I upgraded to 1.12 and applied the patch from this mailing list as a new custom package. After that point, I was able to connect, but I appeared to be unable to be able to connect in such a way that I could force the bearer to be IPv4, IPv6, or IPv4+IPv6. Am I missing something that would make this possible?</div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large"><br></div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">Also, are there bindings to other languages for libmbim or something that I can use to talk to mbim modems from a language that isn't C/C++ (like Python, for example)?</div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large"><br></div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">Thanks in advance,</div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">Neal</div><div><br></div>-- <br><div><div dir="ltr">真実はいつも一つ!/ Always, there's only one truth!<br></div></div>
<font face="yw-402608bc37fe50adb11a5899295781aeb83d248d-39ff91718d7574fadfba55f49d291966--o"></font></div></div></div>
_______________________________________________<br>libmbim-devel mailing list<br><a href="mailto:libmbim-devel@lists.freedesktop.org" target="_blank">libmbim-devel@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/libmbim-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libmbim-devel</a><br></blockquote></div><br><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">//Markus - The panama-hat hacker</div>
</div>
<br></div></div><br>_______________________________________________<br>
libmbim-devel mailing list<br>
<a href="mailto:libmbim-devel@lists.freedesktop.org">libmbim-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libmbim-devel" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libmbim-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">真実はいつも一つ!/ Always, there's only one truth!<br></div></div>
</div>