<div dir="ltr">Thanks! With patch script update, it's working fine as expected. <div><br></div><div>Thanks once again. </div><div><br></div><div>Regards,</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 6, 2015 at 4:45 PM, Aleksander Morgado <span dir="ltr"><<a href="mailto:aleksander@aleksander.es" target="_blank">aleksander@aleksander.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey,<br>
<div><div class="h5"><br>
On Thu, Aug 6, 2015 at 10:50 PM, Kavula Suresh <<a href="mailto:kavulas@gmail.com">kavulas@gmail.com</a>> wrote:<br>
> I have a problem with the Sierra MC7354 Modem and libqmi drivers. I can<br>
> establish connection with qmicli commands. After connecting network, I don’t<br>
> get ip from service provider (with dhclient wwan0) and disconnects network<br>
> after 1 or 2 minutes. Here is the command summary used:<br>
><br>
> # qmicli -d /dev/cdc-wdm0 --wds-start-network=VZWINTERNET<br>
> --client-no-release-cid --wds-follow-network<br>
> [/dev/cdc-wdm0] Network started<br>
> Packet data handle: '1137907944'<br>
><br>
> Ctrl+C will stop the network<br>
> [/dev/cdc-wdm0] Connection status: 'connected'<br>
> [/dev/cdc-wdm0] Connection status: 'connected'<br>
> [/dev/cdc-wdm0] Connection status: 'connected'<br>
> [/dev/cdc-wdm0] Connection status: 'connected'<br>
> [/dev/cdc-wdm0] Connection status: 'connected'<br>
> [/dev/cdc-wdm0] Connection status: 'connected'<br>
> [/dev/cdc-wdm0] Connection status: 'disconnected'<br>
> [/dev/cdc-wdm0] Stopping after detecting disconnection<br>
> Network cancelled... releasing resources<br>
> error: couldn't stop network: QMI protocol error (26): 'NoEffect'<br>
> [/dev/cdc-wdm0] Client ID not released:<br>
> Service: 'wds'<br>
> CID: '9'<br>
><br>
><br>
><br>
> After issuing command:<br>
><br>
> ifconfig -a<br>
><br>
> wwan0 Link encap:Ethernet HWaddr 3A:65:0F:F1:01:E3<br>
> inet6 addr: fe80::3865:fff:fef1:1e3/64 Scope:Link<br>
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br>
> TX packets:104 errors:0 dropped:0 overruns:0 carrier:0<br>
> collisions:0 txqueuelen:1000<br>
> RX bytes:0 (0.0 B) TX bytes:32124 (31.3 KiB)<br>
><br>
> and<br>
><br>
> # dhclient -d -4 wwan0<br>
> Internet Systems Consortium DHCP Client 4.1-ESV-R8<br>
> Copyright 2004-2013 Internet Systems Consortium.<br>
> All rights reserved.<br>
> For info, please visit <a href="https://www.isc.org/software/dhcp/" rel="noreferrer" target="_blank">https://www.isc.org/software/dhcp/</a><br>
><br>
> Listening on LPF/wwan0/3a:65:0f:f1:01:e3<br>
> Sending on LPF/wwan0/3a:65:0f:f1:01:e3<br>
> Sending on Socket/fallback<br>
> DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 3<br>
> DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 5<br>
> DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 7<br>
> DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 8<br>
> DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 13<br>
> DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 8<br>
> DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 14<br>
> DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 3<br>
> No DHCPOFFERS received.<br>
> No working leases in persistent database - sleeping.<br>
><br>
> Any suggestions would be help to make wwan0 broadband connection in forever<br>
> mode.<br>
><br>
<br>
</div></div>Assuming you're not using libqmi git master, go apply this patch here<br>
and retry ,please:<br>
<br>
<a href="http://cgit.freedesktop.org/libqmi/commit/?id=4a82bb9be84861e5098d1c1482b16f60b2b3e449" rel="noreferrer" target="_blank">http://cgit.freedesktop.org/libqmi/commit/?id=4a82bb9be84861e5098d1c1482b16f60b2b3e449</a><br>
<br>
The MC7354 shows up with 2 pairs of QMI+WWAN pairs; one of them is by<br>
default set to raw-ip; the other one is set to 802.3.The kernel driver<br>
expects it to be 802.3, so you'll need to either choose the QMI+WWAN<br>
pair which is already in 802.3, or otherwise, unconditionally switch<br>
to 802.3 before connecting (with that patch).<br>
<br>
Without more info that's what I would suggest to do for now.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Aleksander<br>
<a href="https://aleksander.es" rel="noreferrer" target="_blank">https://aleksander.es</a><br>
</font></span></blockquote></div><br></div>