dhclient failed on MC7354

Aleksander Morgado aleksander at aleksander.es
Wed Feb 8 08:31:25 UTC 2017


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


More information about the libqmi-devel mailing list