<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi Alekander,</div><div><br></div><div>I also encountered this issue when use MC7304 modem, the reason is same with what you mentioned. when execute command "tvu-qmicli -d /dev/cdc-wdm3 --wda-set-data-format=802-3" always fail, so always get IP via dhclient fail.</div><div><br></div><div>If I reset the modem by manual, the modem maybe can work normally.</div><div><br></div><div>Below is the log when set data format fail. how do I directly solve this issue without reset modem? my libqmi version is 1.10.2</div><div><br></div><div><div>tvupack TVUTransporter # tvu-qmicli -d /dev/cdc-wdm3 --wda-set-data-format=802-3  -v</div><div>error: couldn't create client for the 'wda' service: QMI protocol error (3): 'Internal'</div><div>[06 Apr 2017, 09:38:09] [Debug] [/dev/cdc-wdm3] Opening device with flags 'none'...</div><div>[06 Apr 2017, 09:38:09] [Debug] QMI Device at '/dev/cdc-wdm3' ready</div><div>[06 Apr 2017, 09:38:09] [Debug] [/dev/cdc-wdm3] Assuming service 'wda' is supported...</div><div>[06 Apr 2017, 09:38:09] [Debug] [/dev/cdc-wdm3] Allocating new client ID...</div><div>[06 Apr 2017, 09:38:09] [Debug] [/dev/cdc-wdm3] Sent message...</div><div><<<<<< RAW:</div><div><<<<<<   length = 16</div><div><<<<<<   data   = 01:0F:00:00:00:00:00:01:22:00:04:00:01:01:00:1A</div><div><br></div><div>[06 Apr 2017, 09:38:09] [Debug] [/dev/cdc-wdm3] Sent message (translated)...</div><div><<<<<< QMUX:</div><div><<<<<<   length  = 15</div><div><<<<<<   flags   = 0x00</div><div><<<<<<   service = "ctl"</div><div><<<<<<   client  = 0</div><div><<<<<< QMI:</div><div><<<<<<   flags       = "none"</div><div><<<<<<   transaction = 1</div><div><<<<<<   tlv_length  = 4</div><div><<<<<<   message     = "Allocate CID" (0x0022)</div><div><<<<<< TLV:</div><div><<<<<<   type       = "Service" (0x01)</div><div><<<<<<   length     = 1</div><div><<<<<<   value      = 1A</div><div><<<<<<   translated = wda</div><div><br></div><div>[06 Apr 2017, 09:38:09] [Debug] [/dev/cdc-wdm3] Received message...</div><div>>>>>>> RAW:</div><div>>>>>>>   length = 19</div><div>>>>>>>   data   = 01:12:00:80:00:00:01:01:22:00:07:00:02:04:00:01:00:03:00</div><div><br></div><div>[06 Apr 2017, 09:38:09] [Debug] [/dev/cdc-wdm3] Received message (translated)...</div><div>>>>>>> QMUX:</div><div>>>>>>>   length  = 18</div><div>>>>>>>   flags   = 0x80</div><div>>>>>>>   service = "ctl"</div><div>>>>>>>   client  = 0</div><div>>>>>>> QMI:</div><div>>>>>>>   flags       = "response"</div><div>>>>>>>   transaction = 1</div><div>>>>>>>   tlv_length  = 7</div><div>>>>>>>   message     = "Allocate CID" (0x0022)</div><div>>>>>>> TLV:</div><div>>>>>>>   type       = "Result" (0x02)</div><div>>>>>>>   length     = 4</div><div>>>>>>>   value      = 01:00:03:00</div></div><br><div style="position:relative;zoom:1">--<br><div>
<div style="FONT-SIZE: 14px">
<div align="left"><strong><font color="#0000ff"><em>Best Regards,</em></font></strong></div>
<div><strong><font color="#0000ff"><em>Dai,Lijin</em></font></strong></div></div></div><div style="clear:both"></div></div><div id="divNeteaseMailCard"></div><br><pre><br>At 2017-02-08 16:31:25, "Aleksander Morgado" <aleksander@aleksander.es> wrote:
>On Wed, Feb 8, 2017 at 3:26 AM, Chen, Jing <Jing.Chen@spirent.com> wrote:
>> After wds-start-network succeeded, there is no response to DHCPDISCOVER
>> message. I am using Ubuntu 16.04 (Linux kernel 4.8). Do I miss any package?
>> Any suggestion? Thanks!
>>
>>
>>
>> root@osU1404:/dev#
>>
>> root@osU1404:/dev#
>>
>> root@osU1404:/dev# qmicli -d /dev/cdc-wdm0 --wds-start-network=nxtgenphone
>> --client-no-release-cid
>>
>> [/dev/cdc-wdm0] Network started
>>
>>         Packet data handle: '1137832088'
>>
>> [/dev/cdc-wdm0] Client ID not released:
>>
>>         Service: 'wds'
>>
>>             CID: '9'
>>
>> root@osU1404:/dev# ifconfig wwan0 up
>>
>> root@osU1404:/dev# dhclient -v -4 wwan0
>>
>> Internet Systems Consortium DHCP Client 4.2.4
>>
>> Copyright 2004-2012 Internet Systems Consortium.
>>
>> All rights reserved.
>>
>> For info, please visit https://www.isc.org/software/dhcp/
>>
>>
>>
>> Listening on LPF/wwan0/3a:c9:95:91:8f:c7
>>
>> Sending on   LPF/wwan0/3a:c9:95:91:8f:c7
>>
>> Sending on   Socket/fallback
>>
>> DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 3 (xid=0x4060cae4)
>>
>> DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 8 (xid=0x4060cae4)
>>
>> ^C
>>
>> root@osU1404:/dev#
>
>Is the LLP for the wwan set as 802.3?
>
>i.e. did you explicity run:
>$ qmicli -d /dev/cdc-wdm0 --wda-set-data-format="802-3"
>
>You can check that with:
>$ qmicli -d /dev/cdc-wdm0 --wda-get-data-format
>
>If the interface is not in 802.3 mode, dhclient doesn't know yet how
>to manage the raw-ip network interface.
>
>-- 
>Aleksander
>https://aleksander.es
>_______________________________________________
>libqmi-devel mailing list
>libqmi-devel@lists.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/libqmi-devel
</pre></div><br><br><span title="neteasefooter"><p> </p></span>