<div dir="ltr"><div><div><div><div><div>Hi Dan,<br><br></div>Thanks a lot for the response. So I guess my firmware is old, I will try upgrading to see if it work with just QMI without needing any $NWQMICONNECT.<br><br>>>  If eHRPD is not available on the network or is not enabled in the modem, then you'll have to disconnect to move between 3G and 4G.<br><br></div>When you say "you'll have to disconnect", do you mean to say user intervention is required - should the user click "reconnect" on the modem manager etc.. ? Or will the modem firmware do that internally without any user intervention required (yes, the user might see a connection getting reset and re-established, but thats still better than user having to click "reconnect")<br><br></div>Also when in 3G mode, eventually the packet encapsulation is ppp / slip I guess - so does the firmware inside the modem initiate the ppp/slip when in 3G mode, because from linux side all we see is a wwan0 interface.<br><br></div>Rgds,<br></div>Gopa.<br><div><div><div><div><br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 16, 2014 at 11:47 AM, Dan Williams <span dir="ltr"><<a href="mailto:dcbw@redhat.com" target="_blank">dcbw@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, 2014-09-15 at 19:29 -0700, Gopakumar Choorakkot Edakkunni wrote:<br>
> Hi,<br>
><br>
> First of all I tried that modem on my Ubuntu 14.04 with the modemmanager<br>
> GUI, I ask the GUI to scan for networks and it fails all the time. But<br>
> thats ok - my real requirement was to get it running on my openwrt box.<br>
> Plugged it in, saw that the option1 driver takes control of ttyUSB[0-3] and<br>
> qmi_wwan creates a wwan0 interface. After that running a dhcp client over<br>
> wwan0 dint come back with any IP, so reading through the modemmanager code,<br>
> I found that we have to send an AT+$NWQMICONNECT over ttyUSB0. I did that<br>
> and presto!, wwan0 gets an IP (thanks modemmanager developers !).  A couple<br>
> of questions<br>
<br>
</span>The device runs optimally with QMI, but does work with $NWQMICONNECT as<br>
a fallback.  However, QMI works much better after the firmware update to<br>
1.41.<br>
<br>
$NWQMICONNECT likely just calls the QMI WDS data session functions<br>
anyway.  What you are probably missing is using qmicli or ModemManager<br>
to start the WDS data session with the QMI protocol, and *then* you can<br>
run DHCP on the network port.  You cannot just run DHCP without first<br>
starting the data session via QMI or $NWQMICONNECT.<br>
<span class=""><br>
> 1. Does anyone know "internally" what is the modem doing on getting an<br>
> AT+$NWQMICONNECT ? Does it start a ppp session if the available band is<br>
> only 3G ? Once started in 3G and later a 4G-LTE connection is available,<br>
> will the modem internally drop the ppp session and switch the IP on 4G-LTE<br>
> (and vice versa) ?<br>
<br>
</span>Handoff between 3G and 4G is kinda dicey with these first-gen<br>
Qualcomm-based Verizon devices (USB551L, Pantech UML290).  Part of the<br>
issue is eHRPD which is required for handoff between 3G and 4G.  If<br>
eHRPD is not available on the network or is not enabled in the modem,<br>
then you'll have to disconnect to move between 3G and 4G.<br>
<span class=""><br>
> 2. Other than the AT+$NWQMICONNECT, do we need to send anything else to the<br>
> modem to make it work using all available bands based on availability (3G /<br>
> 4G) or do we have to specify anything to force the modem to work in "these<br>
> specific modes" ? I dint find anything like that in the modem manager code,<br>
> just thought of asking anyways.<br>
<br>
</span>If you've left the technology preference, system selection preference,<br>
and band preferences alone, then the modem will automatically search for<br>
and connect to the best available technology (eg, LTE) and network.  But<br>
the device only supports one Verizon LTE band (eg, Band 13), so you're<br>
pretty limited on the LTE side.<br>
<span class="HOEnZb"><font color="#888888"><br>
Dan<br>
<br>
</font></span></blockquote></div><br></div>