<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<pre wrap="">Is there any reason why qmi-network does not (at least offer to) automatically configure the network interface with the data from --wds-get-current-settings (e.g. through ifconfig/ip), without the need to get a DHCP client involved?
I recently came across a similar problem on an EM7455 where the interface would not successfully DHCP, and I solved it by screenscraping the --wds-get-current-settings output and calling ifconfig to manually set ip/netmask/getway. Any good reasons why this might be a bad idea? If not, I'll submit a patch for qmicli and qmi-network to provide automatic setup of ip, netmask and routes.
Thanks
--Alexander
</pre>
<div class="moz-cite-prefix">On 04/12/2017 12:14 PM,
<a class="moz-txt-link-abbreviated" href="mailto:libqmi-devel-request@lists.freedesktop.org">libqmi-devel-request@lists.freedesktop.org</a> wrote:<br>
</div>
<blockquote
cite="mid:mailman.7341.1492024471.31102.libqmi-devel@lists.freedesktop.org"
type="cite">
<pre wrap=""><span class="moz-txt-citetags">> </span>On 11. april 2017 5.35.24 PM Aleksander Morgado <aleksander@aleksande
<span class="moz-txt-citetags">> </span>r.es>
<span class="moz-txt-citetags">> </span>wrote:
<span class="moz-txt-citetags">> </span>
</pre>
<blockquote type="cite" style="color: #000000;">
<blockquote type="cite" style="color: #000000;">
<pre wrap=""><span class="moz-txt-citetags">> > > </span>
<span class="moz-txt-citetags">> > > </span>I use the simplest form - the modem has autoconnect enabled
<span class="moz-txt-citetags">> > > </span>(using qmicli).
<span class="moz-txt-citetags">> > > </span>No ModemManager or qmi-network to handle the connection. I'm not
<span class="moz-txt-citetags">> > > </span>listening for events, so I don't know yet if any is received.
</pre>
</blockquote>
<pre wrap=""><span class="moz-txt-citetags">> > </span>
<span class="moz-txt-citetags">> > </span>You may then want to run "--wds-get-current-settings" periodically
<span class="moz-txt-citetags">> > </span>and
<span class="moz-txt-citetags">> > </span>request a DHCP renew if the reported IP address settings change, or
<span class="moz-txt-citetags">> > </span>something like that.
<span class="moz-txt-citetags">> > </span>
<span class="moz-txt-citetags">> > </span>--
<span class="moz-txt-citetags">> > </span>Aleksander
<span class="moz-txt-citetags">> > </span><a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://aleksander.es">https://aleksander.es</a>
<span class="moz-txt-citetags">> > </span>_______________________________________________
<span class="moz-txt-citetags">> > </span>libqmi-devel mailing list
<span class="moz-txt-citetags">> > </span><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:libqmi-devel@lists.freedesktop.org">libqmi-devel@lists.freedesktop.org</a>
<span class="moz-txt-citetags">> > </span><a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/libqmi-devel">https://lists.freedesktop.org/mailman/listinfo/libqmi-devel</a>
</pre>
</blockquote>
</blockquote>
<br>
</body>
</html>