QMICLI IPV6 problem on MC7354
Dan Williams
dcbw at redhat.com
Thu Aug 18 15:22:22 UTC 2016
On Thu, 2016-08-18 at 10:11 -0500, Dan Williams wrote:
> On Wed, 2016-08-17 at 22:17 +0000, Tang Nguyen wrote:
> >
> >
> > Thanks Alessander. Yes, I tried tour command and successfuly got
> > new
> > CID and packet handler number. Looks like modem has connected to
> > network with 2 CID, but I am not able to get ipv6 address. From
> > modem, I can see both ipv6 and ipv4 assigned to modem, but "qmicli
> > -d
> > /dev/cdc-wdm0 --wds-get-current-settings" just shows me ipv4 only.
> Maybe this was mentioned already, but you need to pass the correct
> WDS
> Client ID for the IPv6 instance to get the IPv6 settings. For a
> dual-
> stack connection, there will be *two* WDS clients created: one for
> IPv4
> and one for IPv6. So when you've created each client you'll see:
>
> [/dev/cdc-wdm1] Client ID not released:
> Service: 'wds'
> CID: '8'
>
> And you need to pass that CID with --client-cid to the --wds-get-
> current-settings to distinguish between the IPv4 and IPv6 clients.
>
> I noticed that qmicli doesn't support an explicit IP Type for --wds-
> start-network though, so I just added support for that in this
> commit:
>
> https://cgit.freedesktop.org/libqmi/commit/?id=81c213791e794311a01f3f
> 69e763eb9b10c84f4d
And somehow I forgot about --wds-set-ip-family. So now I'm wondering
what the interaction between that
and qmi_message_wds_start_network_input_set_ip_family_preference()
really is, and whether the Start Network TLV just sets the ip family
behind the scenes too. Revert that commit? Leave it?
Dan
> which should help in the future. At this point I'm not sure you can
> reliably get the IPv6 address without it, since there's no way to
> specify which IP family the WDS Start Network request should be for.
>
> Dan
>
> >
> > ****Send AT command to modem and got both ipv4 and ipv6:
> > at+cgcontrdp
> > +CGCONTRDP: 1,5,vzwims,172.22.1.100,FC01:ABAB:CDCD:EFE0:0:0:0:1,
> > FE80:0:0:0:290:B8FF:FE01:FFF1,172.22.1.201
> > FC01:CAFE:0:0:0:0:0:1,,FCB1:ABAB:CDCD:6FEE:0:0:0:1
> >
> > OK
> >
> >
> >
> > *****qmicli commands only shows IPv4********
> >
> > root at rx1500-lns-33:~# qmicli -d /dev/cdc-wdm1 --wds-get-current-
> > settings
> > [/dev/cdc-wdm1] Current settings retrieved:
> > IP Family: IPv4
> > IPv4 address: 172.22.1.101
> > IPv4 subnet mask: 255.255.255.252
> > IPv4 gateway address: 172.22.1.102
> > IPv4 primary DNS: 172.22.1.201
> > MTU: 1428
> > Domains: none
> > root at rx1500-lns-33:~# qmicli -d /dev/cdc-wdm1 --wds-get-default-
> > settings=3gpp
> > Default settings retrieved:
> > APN: 'vzwinternet'
> > PDP type: 'ipv4-or-ipv6'
> > Username: ''
> > Password: ''
> > Auth: 'none'
> >
> > Tracing
> >
> > ***First call return SUCCESS***
> >
> > root at rx1500-lns-33:~# qmicli -d /dev/cdc-wdm1 --wds-start-
> > network=vzwinternet --client-no-release-cid -v
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Opening device with
> > flags 'none'...
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Received message...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > RAW:
> > > > > > > > length = 12
> > > > > > > > data = 01:0B:00:80:00:00:02:00:27:00:00:00
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Received message
> > (translated)...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > QMUX:
> > > > > > > > length = 11
> > > > > > > > flags = 0x80
> > > > > > > > service = "ctl"
> > > > > > > > client = 0
> > > > > > > > QMI:
> > > > > > > > flags = "indication"
> > > > > > > > transaction = 0
> > > > > > > > tlv_length = 0
> > > > > > > > message = "Sync" (0x0027)
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Received message...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > RAW:
> > > > > > > > length = 12
> > > > > > > > data = 01:0B:00:80:00:00:02:00:27:00:00:00
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Received message
> > (translated)...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > QMUX:
> > > > > > > > length = 11
> > > > > > > > flags = 0x80
> > > > > > > > service = "ctl"
> > > > > > > > client = 0
> > > > > > > > QMI:
> > > > > > > > flags = "indication"
> > > > > > > > transaction = 0
> > > > > > > > tlv_length = 0
> > > > > > > > message = "Sync" (0x0027)
> > [17 Aug 2016, 17:57:26] [Debug] QMI Device at '/dev/cdc-wdm1' ready
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Assuming service
> > 'wds' is supported...
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Allocating new
> > client
> > ID...
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Sent message...
> > <<<<<< RAW:
> > <<<<<< length = 16
> > <<<<<< data = 01:0F:00:00:00:00:00:01:22:00:04:00:01:01:00:01
> >
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Sent message
> > (translated)...
> > <<<<<< QMUX:
> > <<<<<< length = 15
> > <<<<<< flags = 0x00
> > <<<<<< service = "ctl"
> > <<<<<< client = 0
> > <<<<<< QMI:
> >
> > <<<<<< flags = "none"
> > <<<<<< transaction = 1
> > <<<<<< tlv_length = 4
> > <<<<<< message = "Allocate CID" (0x0022)
> > <<<<<< TLV:
> > <<<<<< type = "Service" (0x01)
> > <<<<<< length = 1
> > <<<<<< value = 01
> > <<<<<< translated = wds
> >
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Received message...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > RAW:
> > > > > > > > length = 12
> > > > > > > > data = 01:0B:00:80:00:00:02:00:27:00:00:00
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Received message
> > (translated)...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > QMUX:
> > > > > > > > length = 11
> > > > > > > > flags = 0x80
> > > > > > > > service = "ctl"
> > > > > > > > client = 0
> > > > > > > > QMI:
> > > > > > > > flags = "indication"
> > > > > > > > transaction = 0
> > > > > > > > tlv_length = 0
> > > > > > > > message = "Sync" (0x0027)
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Received message...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > RAW:
> > > > > > > > length = 12
> > > > > > > > data = 01:0B:00:80:00:00:02:00:27:00:00:00
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Received message
> > (translated)...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > QMUX:
> > > > > > > > length = 11
> > > > > > > > flags = 0x80
> > > > > > > > service = "ctl"
> > > > > > > > client = 0
> > > > > > > > QMI:
> > > > > > > > flags = "indication"
> > > > > > > > transaction = 0
> > > > > > > > tlv_length = 0
> > > > > > > > message = "Sync" (0x0027)
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Received message...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > RAW:
> > > > > > > > length = 12
> > > > > > > > data = 01:0B:00:80:00:00:02:00:27:00:00:00
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Received message
> > (translated)...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > QMUX:
> > > > > > > > length = 11
> > > > > > > > flags = 0x80
> > > > > > > > service = "ctl"
> > > > > > > > client = 0
> > > > > > > > QMI:
> > > > > > > > flags = "indication"
> > > > > > > > transaction = 0
> > > > > > > > tlv_length = 0
> > > > > > > > message = "Sync" (0x0027)
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Received message...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > RAW:
> > > > > > > > length = 12
> > > > > > > > data = 01:0B:00:80:00:00:02:00:27:00:00:00
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Received message
> > (translated)...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > QMUX:
> > > > > > > > length = 11
> > > > > > > > flags = 0x80
> > > > > > > > service = "ctl"
> > > > > > > > client = 0
> > > > > > > > QMI:
> > > > > > > > flags = "indication"
> > > > > > > > transaction = 0
> > > > > > > > tlv_length = 0
> > > > > > > > message = "Sync" (0x0027)
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Sync indication
> > received
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Sync indication
> > received
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Sync indication
> > received
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Sync indication
> > received
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Sync indication
> > received
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Sync indication
> > received
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Received message...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > RAW:
> > > > > > > > length = 12
> > > > > > > > data = 01:0B:00:80:00:00:02:00:27:00:00:00
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Received message
> > (translated)...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > QMUX:
> > > > > > > > length = 11
> > > > > > > > flags = 0x80
> > > > > > > > service = "ctl"
> > > > > > > > client = 0
> > > > > > > > QMI:
> > > > > > > > flags = "indication"
> > > > > > > > transaction = 0
> > > > > > > > tlv_length = 0
> > > > > > > > message = "Sync" (0x0027)
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Sync indication
> > received
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Received message...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > RAW:
> > > > > > > > length = 12
> > > > > > > > data = 01:0B:00:80:00:00:02:00:27:00:00:00
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Received message
> > (translated)...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > QMUX:
> > > > > > > > length = 11
> > > > > > > > flags = 0x80
> > > > > > > > service = "ctl"
> > > > > > > > client = 0
> > > > > > > > QMI:
> > > > > > > > flags = "indication"
> > > > > > > > transaction = 0
> > > > > > > > tlv_length = 0
> > > > > > > > message = "Sync" (0x0027)
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Sync indication
> > received
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Received message...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > RAW:
> > > > > > > > length = 24
> > > > > > > > data =
> > > > > > > > 01:17:00:80:00:00:01:01:22:00:0C:00:02:04:00:00:00:00:0
> > > > > > > > 0:
> > > > > > > > 01:02:00:01:08
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Received message
> > (translated)...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > QMUX:
> > > > > > > > length = 23
> > > > > > > > flags = 0x80
> > > > > > > > service = "ctl"
> > > > > > > > client = 0
> > > > > > > > QMI:
> > > > > > > > flags = "response"
> > > > > > > > transaction = 1
> > > > > > > > tlv_length = 12
> > > > > > > > message = "Allocate CID" (0x0022)
> > > > > > > > TLV:
> > > > > > > > type = "Result" (0x02)
> > > > > > > > length = 4
> > > > > > > > value = 00:00:00:00
> > > > > > > > translated = SUCCESS
> > > > > > > > TLV:
> > > > > > > > type = "Allocation Info" (0x01)
> > > > > > > > length = 2
> > > > > > > > value = 01:08
> > > > > > > > translated = [ service = 'wds' cid = '8' ]
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Registered 'wds'
> > (version unknown) client with ID '8'
> > [17 Aug 2016, 17:57:26] [Debug] Network start parameters set (apn:
> > 'vzwinternet', 3gpp_profile: '0', 3gpp2_profile: '0', auth:
> > 'unspecified', username: 'unspecified', password: 'unspecified',
> > autoconnect: 'unspecified')
> > [17 Aug 2016, 17:57:26] [Debug] Asynchronously starting network...
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Sent message...
> > <<<<<< RAW:
> > <<<<<< length = 27
> > <<<<<< data =
> > 01:1A:00:00:01:08:00:01:00:20:00:0E:00:14:0B:00:76:7A:77:69:6E:74:6
> > 5:
> > 72:6E:65:74
> >
> > [17 Aug 2016, 17:57:26] [Debug] [/dev/cdc-wdm1] Sent message
> > (translated)...
> > <<<<<< QMUX:
> > <<<<<< length = 26
> > <<<<<< flags = 0x00
> > <<<<<< service = "wds"
> > <<<<<< client = 8
> > <<<<<< QMI:
> > <<<<<< flags = "none"
> > <<<<<< transaction = 1
> > <<<<<< tlv_length = 14
> > <<<<<< message = "Start Network" (0x0020)
> > <<<<<< TLV:
> > <<<<<< type = "APN" (0x14)
> > <<<<<< length = 11
> > <<<<<< value = 76:7A:77:69:6E:74:65:72:6E:65:74
> > <<<<<< translated = vzwinternet
> >
> > [17 Aug 2016, 17:57:27] [Debug] [/dev/cdc-wdm1] Received message...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > RAW:
> > > > > > > > length = 27
> > > > > > > > data =
> > > > > > > > 01:1A:00:80:01:08:02:01:00:20:00:0E:00:02:04:00:00:00:0
> > > > > > > > 0:
> > > > > > > > 00:01:04:00:28:2E:DB:47
> > [17 Aug 2016, 17:57:27] [Debug] [/dev/cdc-wdm1] Received message
> > (translated)...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > QMUX:
> > > > > > > > length = 26
> > > > > > > > flags = 0x80
> > > > > > > > service = "wds"
> > > > > > > > client = 8
> > > > > > > > QMI:
> > > > > > > > flags = "response"
> > > > > > > > transaction = 1
> > > > > > > > tlv_length = 14
> > > > > > > > message = "Start Network" (0x0020)
> > > > > > > > TLV:
> > > > > > > > type = "Result" (0x02)
> > > > > > > > length = 4
> > > > > > > > value = 00:00:00:00
> > > > > > > > translated = SUCCESS
> > > > > > > > TLV:
> > > > > > > > type = "Packet Data Handle" (0x01)
> > > > > > > > length = 4
> > > > > > > > value = 28:2E:DB:47
> > > > > > > > translated = 1205546536
> > [/dev/cdc-wdm1] Network started
> > Packet data handle: '1205546536'
> > [/dev/cdc-wdm1] Client ID not released:
> > Service: 'wds'
> > CID: '8'
> > [17 Aug 2016, 17:57:27] [Debug] [/dev/cdc-wdm1] Releasing 'wds'
> > client with flags 'none'...
> > [17 Aug 2016, 17:57:27] [Debug] [/dev/cdc-wdm1] Unregistered 'wds'
> > client with ID '8'
> > [17 Aug 2016, 17:57:27] [Debug] Client released
> >
> >
> >
> > **** Second Call also returns SUCCESS*******
> > root at rx1500-lns-33:~# qmicli -d /dev/cdc-wdm1 --wds-start-
> > network=vzwinternet --client-no-release-cid -v
> > [17 Aug 2016, 17:58:02] [Debug] [/dev/cdc-wdm1] Opening device with
> > flags 'none'...
> > [17 Aug 2016, 17:58:02] [Debug] [/dev/cdc-wdm1] Received message...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > RAW:
> > > > > > > > length = 27
> > > > > > > > data =
> > > > > > > > 01:1A:00:80:01:08:04:00:00:22:00:0E:00:01:02:00:02:00:1
> > > > > > > > 2:
> > > > > > > > 01:00:04:13:02:00:80:88
> > [17 Aug 2016, 17:58:02] [Debug] [/dev/cdc-wdm1] Received message
> > (translated)...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > QMUX:
> > > > > > > > length = 26
> > > > > > > > flags = 0x80
> > > > > > > > service = "wds"
> > > > > > > > client = 8
> > > > > > > > QMI:
> > > > > > > > flags = "indication"
> > > > > > > > transaction = 0
> > > > > > > > tlv_length = 14
> > > > > > > > message = "Packet Service Status" (0x0022)
> > > > > > > > TLV:
> > > > > > > > type = "Connection Status" (0x01)
> > > > > > > > length = 2
> > > > > > > > value = 02:00
> > > > > > > > translated = [ status = 'connected'
> > > > > > > > reconfiguration_required = 'no' ]
> > > > > > > > TLV:
> > > > > > > > type = "IP Family" (0x12)
> > > > > > > > length = 1
> > > > > > > > value = 04
> > > > > > > > translated = ipv4
> > > > > > > > TLV:
> > > > > > > > type = 0x13
> > > > > > > > length = 2
> > > > > > > > value = 80:88
> > [17 Aug 2016, 17:58:02] [Debug] QMI Device at '/dev/cdc-wdm1' ready
> > [17 Aug 2016, 17:58:02] [Debug] [/dev/cdc-wdm1] Assuming service
> > 'wds' is supported...
> > [17 Aug 2016, 17:58:02] [Debug] [/dev/cdc-wdm1] Allocating new
> > client
> > ID...
> > [17 Aug 2016, 17:58:02] [Debug] [/dev/cdc-wdm1] Sent message...
> > <<<<<< RAW:
> > <<<<<< length = 16
> > <<<<<< data = 01:0F:00:00:00:00:00:01:22:00:04:00:01:01:00:01
> >
> > [17 Aug 2016, 17:58:02] [Debug] [/dev/cdc-wdm1] Sent message
> > (translated)...
> > <<<<<< QMUX:
> > <<<<<< length = 15
> > <<<<<< flags = 0x00
> > <<<<<< service = "ctl"
> > <<<<<< client = 0
> > <<<<<< QMI:
> > <<<<<< flags = "none"
> > <<<<<< transaction = 1
> > <<<<<< tlv_length = 4
> > <<<<<< message = "Allocate CID" (0x0022)
> > <<<<<< TLV:
> > <<<<<< type = "Service" (0x01)
> > <<<<<< length = 1
> > <<<<<< value = 01
> > <<<<<< translated = wds
> >
> > [17 Aug 2016, 17:58:02] [Debug] [/dev/cdc-wdm1] Received message...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > RAW:
> > > > > > > > length = 24
> > > > > > > > data =
> > > > > > > > 01:17:00:80:00:00:01:01:22:00:0C:00:02:04:00:00:00:00:0
> > > > > > > > 0:
> > > > > > > > 01:02:00:01:09
> > [17 Aug 2016, 17:58:02] [Debug] [/dev/cdc-wdm1] Received message
> > (translated)...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > QMUX:
> > > > > > > > length = 23
> > > > > > > > flags = 0x80
> > > > > > > > service = "ctl"
> > > > > > > > client = 0
> > > > > > > > QMI:
> > > > > > > > flags = "response"
> > > > > > > > transaction = 1
> > > > > > > > tlv_length = 12
> > > > > > > > message = "Allocate CID" (0x0022)
> > > > > > > > TLV:
> > > > > > > > type = "Result" (0x02)
> > > > > > > > length = 4
> > > > > > > > value = 00:00:00:00
> > > > > > > > translated = SUCCESS
> > > > > > > > TLV:
> > > > > > > > type = "Allocation Info" (0x01)
> > > > > > > > length = 2
> > > > > > > > value = 01:09
> > > > > > > > translated = [ service = 'wds' cid = '9' ]
> > [17 Aug 2016, 17:58:02] [Debug] [/dev/cdc-wdm1] Registered 'wds'
> > (version unknown) client with ID '9'
> > [17 Aug 2016, 17:58:02] [Debug] Network start parameters set (apn:
> > 'vzwinternet', 3gpp_profile: '0', 3gpp2_profile: '0', auth:
> > 'unspecified', username: 'unspecified', password: 'unspecified',
> > autoconnect: 'unspecified')
> > [17 Aug 2016, 17:58:02] [Debug] Asynchronously starting network...
> > [17 Aug 2016, 17:58:02] [Debug] [/dev/cdc-wdm1] Sent message...
> > <<<<<< RAW:
> > <<<<<< length = 27
> > <<<<<< data =
> > 01:1A:00:00:01:09:00:01:00:20:00:0E:00:14:0B:00:76:7A:77:69:6E:74:6
> > 5:
> > 72:6E:65:74
> >
> > [17 Aug 2016, 17:58:02] [Debug] [/dev/cdc-wdm1] Sent message
> > (translated)...
> > <<<<<< QMUX:
> > <<<<<< length = 26
> > <<<<<< flags = 0x00
> > <<<<<< service = "wds"
> > <<<<<< client = 9
> > <<<<<< QMI:
> > <<<<<< flags = "none"
> > <<<<<< transaction = 1
> > <<<<<< tlv_length = 14
> > <<<<<< message = "Start Network" (0x0020)
> > <<<<<< TLV:
> > <<<<<< type = "APN" (0x14)
> > <<<<<< length = 11
> > <<<<<< value = 76:7A:77:69:6E:74:65:72:6E:65:74
> > <<<<<< translated = vzwinternet
> >
> > [17 Aug 2016, 17:58:02] [Debug] [/dev/cdc-wdm1] Received message...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > RAW:
> > > > > > > > length = 27
> > > > > > > > data =
> > > > > > > > 01:1A:00:80:01:09:02:01:00:20:00:0E:00:02:04:00:00:00:0
> > > > > > > > 0:
> > > > > > > > 00:01:04:00:00:61:DC:47
> > [17 Aug 2016, 17:58:02] [Debug] [/dev/cdc-wdm1] Received message
> > (translated)...
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > QMUX:
> > > > > > > > length = 26
> > > > > > > > flags = 0x80
> > > > > > > > service = "wds"
> > > > > > > > client = 9
> > > > > > > > QMI:
> > > > > > > > flags = "response"
> > > > > > > > transaction = 1
> > > > > > > > tlv_length = 14
> > > > > > > > message = "Start Network" (0x0020)
> > > > > > > > TLV:
> > > > > > > > type = "Result" (0x02)
> > > > > > > > length = 4
> > > > > > > > value = 00:00:00:00
> > > > > > > > translated = SUCCESS
> > > > > > > > TLV:
> > > > > > > > type = "Packet Data Handle" (0x01)
> > > > > > > > length = 4
> > > > > > > > value = 00:61:DC:47
> > > > > > > > translated = 1205625088
> > [/dev/cdc-wdm1] Network started
> > Packet data handle: '1205625088'
> > [/dev/cdc-wdm1] Client ID not released:
> > Service: 'wds'
> > CID: '9'
> > [17 Aug 2016, 17:58:02] [Debug] [/dev/cdc-wdm1] Releasing 'wds'
> > client with flags 'none'...
> > [17 Aug 2016, 17:58:02] [Debug] [/dev/cdc-wdm1] Unregistered 'wds'
> > client with ID '9'
> > [17 Aug 2016, 17:58:02] [Debug] Client released
> >
> > I am using version 14.2
> >
> >
> > Any hint is much appreciated.
> >
> >
> > Tang
> >
> >
> > On Sunday, July 31, 2016 11:59 AM, Aleksander Morgado <aleksander at a
> > le
> > ksander.es> wrote:
> > On Fri, Jul 29, 2016 at 10:37 PM, Tang Nguyen <tang_nguyen at yahoo.co
> > m>
> > wrote:
> >
> >
> >
> > >
> > >
> > >
> > >
> > > I have problem with getting ipv6 address from modem on MC7354 as
> > > described in above thread. Bjon mentioned we should need to
> > > connect 2 WDS clients for dual stack. Would anyone please let me
> > > know how to open a second WDS client ?
> > Every time you run qmicli without using --client-cid=[CID] you're
> > creating a new WDS client. E.g.
> >
> > $ qmicli -d /dev/cdc-wdm3 --wds-noop --client-no-release-cid
> > [/dev/cdc-wdm3] Client ID not released:
> > Service: 'wds'
> > CID: '10'
> > (creates a WDS client and doesn't release it, to use it, run WDS
> > commands with "--client-cid=10 --client-no-release-cid")
> >
> > $ qmicli -d /dev/cdc-wdm3 --wds-noop --client-no-release-cid
> > Service: 'wds'
> > CID: '11'
> > (creates a WDS client and doesn't release it, to use it, run WDS
> > commands with "--client-cid=11 --client-no-release-cid")
> >
> _______________________________________________
> libqmi-devel mailing list
> libqmi-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libqmi-devel
More information about the libqmi-devel
mailing list