I connect fine but always get disconnected exactly after 120 seconds

Hector Lopez helopez at gmail.com
Tue Dec 8 08:57:43 PST 2015


This is the whole verbose log of the connection, hope it is not too long:

root at black:~# /usr/local/qmi/bin/qmicli -vd /dev/cdc-wdm1
--client-no-release-cid --wds-start-network=fast.t-mobile.com
--wds-follow-network
[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Opening device with
flags 'none'...
[08 Dec 2015, 12:26:49] [Debug] QMI Device at '/dev/cdc-wdm1' ready
[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Assuming service 'wds'
is supported...
[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Allocating new client ID...
[08 Dec 2015, 12:26:49] [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

[08 Dec 2015, 12:26:49] [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

[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Received message...
>>>>>> RAW:
>>>>>>   length = 12
>>>>>>   data   = 01:0B:00:80:00:00:02:00:27:00:00:00

[08 Dec 2015, 12:26:49] [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)

[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Sync indication received
[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Received message...
>>>>>> RAW:
>>>>>>   length = 12
>>>>>>   data   = 01:0B:00:80:00:00:02:00:27:00:00:00

[08 Dec 2015, 12:26:49] [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)

[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Sync indication received
[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Received message...
>>>>>> RAW:
>>>>>>   length = 12
>>>>>>   data   = 01:0B:00:80:00:00:02:00:27:00:00:00

[08 Dec 2015, 12:26:49] [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)

[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Sync indication received
[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Received message...
>>>>>> RAW:
>>>>>>   length = 12
>>>>>>   data   = 01:0B:00:80:00:00:02:00:27:00:00:00

[08 Dec 2015, 12:26:49] [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)

[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Sync indication received
[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Received message...
>>>>>> RAW:
>>>>>>   length = 12
>>>>>>   data   = 01:0B:00:80:00:00:02:00:27:00:00:00

[08 Dec 2015, 12:26:49] [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)

[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Sync indication received
[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Received message...
>>>>>> RAW:
>>>>>>   length = 12
>>>>>>   data   = 01:0B:00:80:00:00:02:00:27:00:00:00

[08 Dec 2015, 12:26:49] [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)

[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Sync indication received
[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Received message...
>>>>>> RAW:
>>>>>>   length = 12
>>>>>>   data   = 01:0B:00:80:00:00:02:00:27:00:00:00

[08 Dec 2015, 12:26:49] [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)

[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Sync indication received
[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Received message...
>>>>>> RAW:
>>>>>>   length = 12
>>>>>>   data   = 01:0B:00:80:00:00:02:00:27:00:00:00

[08 Dec 2015, 12:26:49] [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)

[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Sync indication received
[08 Dec 2015, 12:26:49] [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:00:01:02:00:01:01

[08 Dec 2015, 12:26:49] [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:01
>>>>>>   translated = [ service = 'wds' cid = '1' ]

[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Registered 'wds'
(version unknown) client with ID '1'
[08 Dec 2015, 12:26:49] [Debug] Asynchronously starting network...
[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Sent message...
<<<<<< RAW:
<<<<<<   length = 33
<<<<<<   data   =
01:20:00:00:01:01:00:01:00:20:00:14:00:14:11:00:66:61:73:74:2E:74:2D:6D:6F:62:69:6C:65:2E:63:6F:6D

[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Sent message (translated)...
<<<<<< QMUX:
<<<<<<   length  = 32
<<<<<<   flags   = 0x00
<<<<<<   service = "wds"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 1
<<<<<<   tlv_length  = 20
<<<<<<   message     = "Start Network" (0x0020)
<<<<<< TLV:
<<<<<<   type       = "APN" (0x14)
<<<<<<   length     = 17
<<<<<<   value      = 66:61:73:74:2E:74:2D:6D:6F:62:69:6C:65:2E:63:6F:6D
<<<<<<   translated = fast.t-mobile.com

[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Received message...
>>>>>> RAW:
>>>>>>   length = 27
>>>>>>   data   = 01:1A:00:80:01:01:02:01:00:20:00:0E:00:02:04:00:00:00:00:00:01:04:00:D0:49:4F:02

[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Received message (translated)...
>>>>>> QMUX:
>>>>>>   length  = 26
>>>>>>   flags   = 0x80
>>>>>>   service = "wds"
>>>>>>   client  = 1
>>>>>> 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      = D0:49:4F:02
>>>>>>   translated = 38750672

[/dev/cdc-wdm1] Network started
        Packet data handle: '38750672'

Ctrl+C will stop the network
[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Received message...
>>>>>> RAW:
>>>>>>   length = 22
>>>>>>   data   = 01:15:00:80:01:FF:04:00:00:22:00:09:00:01:02:00:02:00:12:01:00:06

[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Received message (translated)...
>>>>>> QMUX:
>>>>>>   length  = 21
>>>>>>   flags   = 0x80
>>>>>>   service = "wds"
>>>>>>   client  = 255
>>>>>> QMI:
>>>>>>   flags       = "indication"
>>>>>>   transaction = 0
>>>>>>   tlv_length  = 9
>>>>>>   message     = (0x0022)
>>>>>> TLV:
>>>>>>   type   = 0x01
>>>>>>   length = 2
>>>>>>   value  = 02:00
>>>>>> TLV:
>>>>>>   type   = 0x12
>>>>>>   length = 1
>>>>>>   value  = 06

[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Received message...
>>>>>> RAW:
>>>>>>   length = 22
>>>>>>   data   = 01:15:00:80:01:FF:04:00:00:22:00:09:00:01:02:00:02:00:12:01:00:04

[08 Dec 2015, 12:26:49] [Debug] [/dev/cdc-wdm1] Received message (translated)...
>>>>>> QMUX:
>>>>>>   length  = 21
>>>>>>   flags   = 0x80
>>>>>>   service = "wds"
>>>>>>   client  = 255
>>>>>> QMI:
>>>>>>   flags       = "indication"
>>>>>>   transaction = 0
>>>>>>   tlv_length  = 9
>>>>>>   message     = (0x0022)
>>>>>> TLV:
>>>>>>   type   = 0x01
>>>>>>   length = 2
>>>>>>   value  = 02:00
>>>>>> TLV:
>>>>>>   type   = 0x12
>>>>>>   length = 1
>>>>>>   value  = 04

[08 Dec 2015, 12:27:09] [Debug] [/dev/cdc-wdm1] Sent message...
<<<<<< RAW:
<<<<<<   length = 13
<<<<<<   data   = 01:0C:00:00:01:01:00:02:00:22:00:00:00

[08 Dec 2015, 12:27:09] [Debug] [/dev/cdc-wdm1] Sent message (translated)...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "wds"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 2
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Get Packet Service Status" (0x0022)

[08 Dec 2015, 12:27:09] [Debug] [/dev/cdc-wdm1] Received message...
>>>>>> RAW:
>>>>>>   length = 36
>>>>>>   data   = 01:23:00:80:01:01:02:02:00:22:00:17:00:02:04:00:00:00:00:00:01:01:00:02:12:01:00:04:01:01:00:02:12:01:00:06

[08 Dec 2015, 12:27:09] [Debug] [/dev/cdc-wdm1] Received message (translated)...
>>>>>> QMUX:
>>>>>>   length  = 35
>>>>>>   flags   = 0x80
>>>>>>   service = "wds"
>>>>>>   client  = 1
>>>>>> QMI:
>>>>>>   flags       = "response"
>>>>>>   transaction = 2
>>>>>>   tlv_length  = 23
>>>>>>   message     = "Get Packet Service Status" (0x0022)
>>>>>> TLV:
>>>>>>   type       = "Result" (0x02)
>>>>>>   length     = 4
>>>>>>   value      = 00:00:00:00
>>>>>>   translated = SUCCESS
>>>>>> TLV:
>>>>>>   type       = "Connection Status" (0x01)
>>>>>>   length     = 1
>>>>>>   value      = 02
>>>>>>   translated = connected
>>>>>> TLV:
>>>>>>   type   = 0x12
>>>>>>   length = 1
>>>>>>   value  = 04
>>>>>> TLV:
>>>>>>   type       = "Connection Status" (0x01)
>>>>>>   length     = 1
>>>>>>   value      = 02
>>>>>>   translated = connected
>>>>>> TLV:
>>>>>>   type   = 0x12
>>>>>>   length = 1
>>>>>>   value  = 06

[/dev/cdc-wdm1] Connection status: 'connected'
[08 Dec 2015, 12:27:29] [Debug] [/dev/cdc-wdm1] Sent message...
<<<<<< RAW:
<<<<<<   length = 13
<<<<<<   data   = 01:0C:00:00:01:01:00:03:00:22:00:00:00

[08 Dec 2015, 12:27:29] [Debug] [/dev/cdc-wdm1] Sent message (translated)...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "wds"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 3
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Get Packet Service Status" (0x0022)

[08 Dec 2015, 12:27:29] [Debug] [/dev/cdc-wdm1] Received message...
>>>>>> RAW:
>>>>>>   length = 36
>>>>>>   data   = 01:23:00:80:01:01:02:03:00:22:00:17:00:02:04:00:00:00:00:00:01:01:00:02:12:01:00:04:01:01:00:02:12:01:00:06

[08 Dec 2015, 12:27:29] [Debug] [/dev/cdc-wdm1] Received message (translated)...
>>>>>> QMUX:
>>>>>>   length  = 35
>>>>>>   flags   = 0x80
>>>>>>   service = "wds"
>>>>>>   client  = 1
>>>>>> QMI:
>>>>>>   flags       = "response"
>>>>>>   transaction = 3
>>>>>>   tlv_length  = 23
>>>>>>   message     = "Get Packet Service Status" (0x0022)
>>>>>> TLV:
>>>>>>   type       = "Result" (0x02)
>>>>>>   length     = 4
>>>>>>   value      = 00:00:00:00
>>>>>>   translated = SUCCESS
>>>>>> TLV:
>>>>>>   type       = "Connection Status" (0x01)
>>>>>>   length     = 1
>>>>>>   value      = 02
>>>>>>   translated = connected
>>>>>> TLV:
>>>>>>   type   = 0x12
>>>>>>   length = 1
>>>>>>   value  = 04
>>>>>> TLV:
>>>>>>   type       = "Connection Status" (0x01)
>>>>>>   length     = 1
>>>>>>   value      = 02
>>>>>>   translated = connected
>>>>>> TLV:
>>>>>>   type   = 0x12
>>>>>>   length = 1
>>>>>>   value  = 06

[/dev/cdc-wdm1] Connection status: 'connected'
[08 Dec 2015, 12:27:49] [Debug] [/dev/cdc-wdm1] Sent message...
<<<<<< RAW:
<<<<<<   length = 13
<<<<<<   data   = 01:0C:00:00:01:01:00:04:00:22:00:00:00

[08 Dec 2015, 12:27:49] [Debug] [/dev/cdc-wdm1] Sent message (translated)...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "wds"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 4
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Get Packet Service Status" (0x0022)

[08 Dec 2015, 12:27:49] [Debug] [/dev/cdc-wdm1] Received message...
>>>>>> RAW:
>>>>>>   length = 36
>>>>>>   data   = 01:23:00:80:01:01:02:04:00:22:00:17:00:02:04:00:00:00:00:00:01:01:00:02:12:01:00:04:01:01:00:02:12:01:00:06

[08 Dec 2015, 12:27:49] [Debug] [/dev/cdc-wdm1] Received message (translated)...
>>>>>> QMUX:
>>>>>>   length  = 35
>>>>>>   flags   = 0x80
>>>>>>   service = "wds"
>>>>>>   client  = 1
>>>>>> QMI:
>>>>>>   flags       = "response"
>>>>>>   transaction = 4
>>>>>>   tlv_length  = 23
>>>>>>   message     = "Get Packet Service Status" (0x0022)
>>>>>> TLV:
>>>>>>   type       = "Result" (0x02)
>>>>>>   length     = 4
>>>>>>   value      = 00:00:00:00
>>>>>>   translated = SUCCESS
>>>>>> TLV:
>>>>>>   type       = "Connection Status" (0x01)
>>>>>>   length     = 1
>>>>>>   value      = 02
>>>>>>   translated = connected
>>>>>> TLV:
>>>>>>   type   = 0x12
>>>>>>   length = 1
>>>>>>   value  = 04
>>>>>> TLV:
>>>>>>   type       = "Connection Status" (0x01)
>>>>>>   length     = 1
>>>>>>   value      = 02
>>>>>>   translated = connected
>>>>>> TLV:
>>>>>>   type   = 0x12
>>>>>>   length = 1
>>>>>>   value  = 06

[/dev/cdc-wdm1] Connection status: 'connected'
[08 Dec 2015, 12:28:09] [Debug] [/dev/cdc-wdm1] Sent message...
<<<<<< RAW:
<<<<<<   length = 13
<<<<<<   data   = 01:0C:00:00:01:01:00:05:00:22:00:00:00

[08 Dec 2015, 12:28:09] [Debug] [/dev/cdc-wdm1] Sent message (translated)...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "wds"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 5
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Get Packet Service Status" (0x0022)

[08 Dec 2015, 12:28:09] [Debug] [/dev/cdc-wdm1] Received message...
>>>>>> RAW:
>>>>>>   length = 36
>>>>>>   data   = 01:23:00:80:01:01:02:05:00:22:00:17:00:02:04:00:00:00:00:00:01:01:00:02:12:01:00:04:01:01:00:02:12:01:00:06

[08 Dec 2015, 12:28:09] [Debug] [/dev/cdc-wdm1] Received message (translated)...
>>>>>> QMUX:
>>>>>>   length  = 35
>>>>>>   flags   = 0x80
>>>>>>   service = "wds"
>>>>>>   client  = 1
>>>>>> QMI:
>>>>>>   flags       = "response"
>>>>>>   transaction = 5
>>>>>>   tlv_length  = 23
>>>>>>   message     = "Get Packet Service Status" (0x0022)
>>>>>> TLV:
>>>>>>   type       = "Result" (0x02)
>>>>>>   length     = 4
>>>>>>   value      = 00:00:00:00
>>>>>>   translated = SUCCESS
>>>>>> TLV:
>>>>>>   type       = "Connection Status" (0x01)
>>>>>>   length     = 1
>>>>>>   value      = 02
>>>>>>   translated = connected
>>>>>> TLV:
>>>>>>   type   = 0x12
>>>>>>   length = 1
>>>>>>   value  = 04
>>>>>> TLV:
>>>>>>   type       = "Connection Status" (0x01)
>>>>>>   length     = 1
>>>>>>   value      = 02
>>>>>>   translated = connected
>>>>>> TLV:
>>>>>>   type   = 0x12
>>>>>>   length = 1
>>>>>>   value  = 06

[/dev/cdc-wdm1] Connection status: 'connected'
[08 Dec 2015, 12:28:29] [Debug] [/dev/cdc-wdm1] Sent message...
<<<<<< RAW:
<<<<<<   length = 13
<<<<<<   data   = 01:0C:00:00:01:01:00:06:00:22:00:00:00

[08 Dec 2015, 12:28:29] [Debug] [/dev/cdc-wdm1] Sent message (translated)...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "wds"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 6
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Get Packet Service Status" (0x0022)

[08 Dec 2015, 12:28:29] [Debug] [/dev/cdc-wdm1] Received message...
>>>>>> RAW:
>>>>>>   length = 36
>>>>>>   data   = 01:23:00:80:01:01:02:06:00:22:00:17:00:02:04:00:00:00:00:00:01:01:00:02:12:01:00:04:01:01:00:02:12:01:00:06

[08 Dec 2015, 12:28:29] [Debug] [/dev/cdc-wdm1] Received message (translated)...
>>>>>> QMUX:
>>>>>>   length  = 35
>>>>>>   flags   = 0x80
>>>>>>   service = "wds"
>>>>>>   client  = 1
>>>>>> QMI:
>>>>>>   flags       = "response"
>>>>>>   transaction = 6
>>>>>>   tlv_length  = 23
>>>>>>   message     = "Get Packet Service Status" (0x0022)
>>>>>> TLV:
>>>>>>   type       = "Result" (0x02)
>>>>>>   length     = 4
>>>>>>   value      = 00:00:00:00
>>>>>>   translated = SUCCESS
>>>>>> TLV:
>>>>>>   type       = "Connection Status" (0x01)
>>>>>>   length     = 1
>>>>>>   value      = 02
>>>>>>   translated = connected
>>>>>> TLV:
>>>>>>   type   = 0x12
>>>>>>   length = 1
>>>>>>   value  = 04
>>>>>> TLV:
>>>>>>   type       = "Connection Status" (0x01)
>>>>>>   length     = 1
>>>>>>   value      = 02
>>>>>>   translated = connected
>>>>>> TLV:
>>>>>>   type   = 0x12
>>>>>>   length = 1
>>>>>>   value  = 06

[/dev/cdc-wdm1] Connection status: 'connected'
[08 Dec 2015, 12:28:49] [Debug] [/dev/cdc-wdm1] Sent message...
<<<<<< RAW:
<<<<<<   length = 13
<<<<<<   data   = 01:0C:00:00:01:01:00:07:00:22:00:00:00

[08 Dec 2015, 12:28:49] [Debug] [/dev/cdc-wdm1] Sent message (translated)...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "wds"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 7
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Get Packet Service Status" (0x0022)

[08 Dec 2015, 12:28:49] [Debug] [/dev/cdc-wdm1] Received message...
>>>>>> RAW:
>>>>>>   length = 36
>>>>>>   data   = 01:23:00:80:01:01:02:07:00:22:00:17:00:02:04:00:00:00:00:00:01:01:00:02:12:01:00:04:01:01:00:02:12:01:00:06

[08 Dec 2015, 12:28:49] [Debug] [/dev/cdc-wdm1] Received message (translated)...
>>>>>> QMUX:
>>>>>>   length  = 35
>>>>>>   flags   = 0x80
>>>>>>   service = "wds"
>>>>>>   client  = 1
>>>>>> QMI:
>>>>>>   flags       = "response"
>>>>>>   transaction = 7
>>>>>>   tlv_length  = 23
>>>>>>   message     = "Get Packet Service Status" (0x0022)
>>>>>> TLV:
>>>>>>   type       = "Result" (0x02)
>>>>>>   length     = 4
>>>>>>   value      = 00:00:00:00
>>>>>>   translated = SUCCESS
>>>>>> TLV:
>>>>>>   type       = "Connection Status" (0x01)
>>>>>>   length     = 1
>>>>>>   value      = 02
>>>>>>   translated = connected
>>>>>> TLV:
>>>>>>   type   = 0x12
>>>>>>   length = 1
>>>>>>   value  = 04
>>>>>> TLV:
>>>>>>   type       = "Connection Status" (0x01)
>>>>>>   length     = 1
>>>>>>   value      = 02
>>>>>>   translated = connected
>>>>>> TLV:
>>>>>>   type   = 0x12
>>>>>>   length = 1
>>>>>>   value  = 06

[/dev/cdc-wdm1] Connection status: 'connected'
[08 Dec 2015, 12:28:49] [Debug] [/dev/cdc-wdm1] Received message...
>>>>>> RAW:
>>>>>>   length = 34
>>>>>>   data   = 01:21:00:80:01:FF:04:00:00:22:00:15:00:01:02:00:01:00:10:02:00:02:00:11:04:00:03:00:D0:07:12:01:00:06

[08 Dec 2015, 12:28:49] [Debug] [/dev/cdc-wdm1] Received message (translated)...
>>>>>> QMUX:
>>>>>>   length  = 33
>>>>>>   flags   = 0x80
>>>>>>   service = "wds"
>>>>>>   client  = 255
>>>>>> QMI:
>>>>>>   flags       = "indication"
>>>>>>   transaction = 0
>>>>>>   tlv_length  = 21
>>>>>>   message     = (0x0022)
>>>>>> TLV:
>>>>>>   type   = 0x01
>>>>>>   length = 2
>>>>>>   value  = 01:00
>>>>>> TLV:
>>>>>>   type   = 0x10
>>>>>>   length = 2
>>>>>>   value  = 02:00
>>>>>> TLV:
>>>>>>   type   = 0x11
>>>>>>   length = 4
>>>>>>   value  = 03:00:D0:07
>>>>>> TLV:
>>>>>>   type   = 0x12
>>>>>>   length = 1
>>>>>>   value  = 06

[08 Dec 2015, 12:28:49] [Debug] [/dev/cdc-wdm1] Received message...
>>>>>> RAW:
>>>>>>   length = 34
>>>>>>   data   = 01:21:00:80:01:FF:04:00:00:22:00:15:00:01:02:00:01:00:10:02:00:F0:03:11:04:00:06:00:24:00:12:01:00:04

[08 Dec 2015, 12:28:49] [Debug] [/dev/cdc-wdm1] Received message (translated)...
>>>>>> QMUX:
>>>>>>   length  = 33
>>>>>>   flags   = 0x80
>>>>>>   service = "wds"
>>>>>>   client  = 255
>>>>>> QMI:
>>>>>>   flags       = "indication"
>>>>>>   transaction = 0
>>>>>>   tlv_length  = 21
>>>>>>   message     = (0x0022)
>>>>>> TLV:
>>>>>>   type   = 0x01
>>>>>>   length = 2
>>>>>>   value  = 01:00
>>>>>> TLV:
>>>>>>   type   = 0x10
>>>>>>   length = 2
>>>>>>   value  = F0:03
>>>>>> TLV:
>>>>>>   type   = 0x11
>>>>>>   length = 4
>>>>>>   value  = 06:00:24:00
>>>>>> TLV:
>>>>>>   type   = 0x12
>>>>>>   length = 1
>>>>>>   value  = 04

[08 Dec 2015, 12:29:09] [Debug] [/dev/cdc-wdm1] Sent message...
<<<<<< RAW:
<<<<<<   length = 13
<<<<<<   data   = 01:0C:00:00:01:01:00:08:00:22:00:00:00

[08 Dec 2015, 12:29:09] [Debug] [/dev/cdc-wdm1] Sent message (translated)...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "wds"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 8
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Get Packet Service Status" (0x0022)

[08 Dec 2015, 12:29:09] [Debug] [/dev/cdc-wdm1] Received message...
>>>>>> RAW:
>>>>>>   length = 24
>>>>>>   data   = 01:17:00:80:01:01:02:08:00:22:00:0B:00:02:04:00:00:00:00:00:01:01:00:01

[08 Dec 2015, 12:29:09] [Debug] [/dev/cdc-wdm1] Received message (translated)...
>>>>>> QMUX:
>>>>>>   length  = 23
>>>>>>   flags   = 0x80
>>>>>>   service = "wds"
>>>>>>   client  = 1
>>>>>> QMI:
>>>>>>   flags       = "response"
>>>>>>   transaction = 8
>>>>>>   tlv_length  = 11
>>>>>>   message     = "Get Packet Service Status" (0x0022)
>>>>>> TLV:
>>>>>>   type       = "Result" (0x02)
>>>>>>   length     = 4
>>>>>>   value      = 00:00:00:00
>>>>>>   translated = SUCCESS
>>>>>> TLV:
>>>>>>   type       = "Connection Status" (0x01)
>>>>>>   length     = 1
>>>>>>   value      = 01
>>>>>>   translated = disconnected

[/dev/cdc-wdm1] Connection status: 'disconnected'
[/dev/cdc-wdm1] Stopping after detecting disconnection
Network cancelled... releasing resources
[08 Dec 2015, 12:29:09] [Debug] [/dev/cdc-wdm1] Sent message...
<<<<<< RAW:
<<<<<<   length = 20
<<<<<<   data   = 01:13:00:00:01:01:00:09:00:21:00:07:00:01:04:00:D0:49:4F:02

[08 Dec 2015, 12:29:09] [Debug] [/dev/cdc-wdm1] Sent message (translated)...
<<<<<< QMUX:
<<<<<<   length  = 19
<<<<<<   flags   = 0x00
<<<<<<   service = "wds"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 9
<<<<<<   tlv_length  = 7
<<<<<<   message     = "Stop Network" (0x0021)
<<<<<< TLV:
<<<<<<   type       = "Packet Data Handle" (0x01)
<<<<<<   length     = 4
<<<<<<   value      = D0:49:4F:02
<<<<<<   translated = 38750672

[08 Dec 2015, 12:29:09] [Debug] [/dev/cdc-wdm1] Received message...
>>>>>> RAW:
>>>>>>   length = 20
>>>>>>   data   = 01:13:00:80:01:01:02:09:00:21:00:07:00:02:04:00:01:00:1A:00

[08 Dec 2015, 12:29:09] [Debug] [/dev/cdc-wdm1] Received message (translated)...
>>>>>> QMUX:
>>>>>>   length  = 19
>>>>>>   flags   = 0x80
>>>>>>   service = "wds"
>>>>>>   client  = 1
>>>>>> QMI:
>>>>>>   flags       = "response"
>>>>>>   transaction = 9
>>>>>>   tlv_length  = 7
>>>>>>   message     = "Stop Network" (0x0021)
>>>>>> TLV:
>>>>>>   type       = "Result" (0x02)
>>>>>>   length     = 4
>>>>>>   value      = 01:00:1A:00
>>>>>>   translated = FAILURE: NoEffect

error: couldn't stop network: QMI protocol error (26): 'NoEffect'
[/dev/cdc-wdm1] Client ID not released:
        Service: 'wds'
            CID: '1'
[08 Dec 2015, 12:29:09] [Debug] [/dev/cdc-wdm1] Releasing 'wds' client
with flags 'none'...
[08 Dec 2015, 12:29:09] [Debug] [/dev/cdc-wdm1] Unregistered 'wds'
client with ID '1'
[08 Dec 2015, 12:29:09] [Debug] Client released

On Tue, Dec 8, 2015 at 12:52 PM, Aleksander Morgado
<aleksander at aleksander.es> wrote:
> On Tue, Dec 8, 2015 at 5:32 PM, Hector Lopez <helopez at gmail.com> wrote:
>> I am able to connect to my provider and request an IP address using
>> DHCP. After exactly 120 seconds, my Huawei E397 and my Sierra 340u
>> disconnects from the network. The command I use to stablish the
>> connection is:
>>
>> qmicli -vd /dev/cdc-wdm1 --client-no-release-cid
>> --wds-start-network=fast.t-mobile.com --wds-follow-network
>>
>> I have been fighting with this for a long time. I am using Debian 8.2
>> and even compiled the latest stable version of libqmi. I also read
>> this thread <http://lists.freedesktop.org/archives/libqmi-devel/2015-November/001394.html>
>> which is a similar problem but I am obtaining the IP using dhclient
>> not in a static way.
>>
>> Can someone bring me light with this problem?
>
> Is there any QMI message received notifying of the disconnection?
>
> --
> Aleksander
> https://aleksander.es


More information about the libqmi-devel mailing list