dhclient failed on MC7354
Chen, Jing
Jing.Chen at spirent.com
Wed Feb 8 23:55:40 UTC 2017
It works well after I set to 802-3. Thank you so much!
Jenny
-----Original Message-----
From: Aleksander Morgado [mailto:aleksander at aleksander.es]
Sent: Wednesday, February 08, 2017 2:31 AM
To: Chen, Jing
Cc: libqmi-devel at lists.freedesktop.org
Subject: Re: dhclient failed on MC7354
On Wed, Feb 8, 2017 at 3:26 AM, Chen, Jing <Jing.Chen at 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 at osU1404:/dev#
>
> root at osU1404:/dev#
>
> root at 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 at osU1404:/dev# ifconfig wwan0 up
>
> root at 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 at 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
Spirent Communications e-mail confidentiality.
------------------------------------------------------------------------
This e-mail contains confidential and / or privileged information belonging to Spirent Communications plc, its affiliates and / or subsidiaries. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution and / or the taking of any action based upon reliance on the contents of this transmission is strictly forbidden. If you have received this message in error please notify the sender by return e-mail and delete it from your system.
Spirent Communications plc
Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, United Kingdom.
Tel No. +44 (0) 1293 767676
Fax No. +44 (0) 1293 767677
Registered in England Number 470893
Registered at Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, United Kingdom.
Or if within the US,
Spirent Communications,
27349 Agoura Road, Calabasas, CA, 91301, USA.
Tel No. 1-818-676- 2300
More information about the libqmi-devel
mailing list