WP7610 connects but fails to provide data
Tom Isaacson
tom.isaacson at teknique.com
Thu Mar 25 02:11:46 UTC 2021
Still working with the Sierra Wireless WP7610. I can run the command:
$ sudo qmicli --device=/dev/cdc-wdm0 --device-open-proxy
--client-no-release-cid --wds-start-network="ip-type=4"
[/dev/cdc-wdm0] Network started
Packet data handle: '2266820176'
[/dev/cdc-wdm0] Client ID not released:
Service: 'wds'
CID: '17'
But the module doesn't provide a functioning connection and if I ssh
into it and run Sierra's "cm data info" I get:
cm data
Index: 1
APN: internet
PDP Type: IPV4V6
Connected: no
However, if I run Sierra's command it works:
# cm data connect&
Setting up profile 1
Connecting ... ok
Checking if device 'rmnet_data0' is up ... ok
Routing inet ... ok
mv: can't remove '/etc/resolv.conf': Device or resource busy
Testing connection ...
# cm data
Index: 1
APN: internet
PDP Type: IPV4V6
Connected: yes
Interface: rmnet_data0
Family[IPv4]: inet
IP[IPv4]: 100.113.164.191
Gateway[IPv4]: 100.113.164.192
Dns1[IPv4]: 210.55.111.1
Dns2[IPv4]: 122.56.237.1
~# ping -c1 google.com
PING google.com (142.250.66.174): 56 data bytes
64 bytes from 142.250.66.174: seq=0 ttl=115 time=288.185 ms
--- google.com ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 288.185/288.185/288.185 ms
Am I doing something wrong with the QMI command? I tried with verbose:
$ sudo qmicli --device=/dev/cdc-wdm0 --device-open-proxy
--client-no-release-cid --wds-start-network="ip-type=4" -v
[25 Mar 2021, 15:02:13] [Debug] [/dev/cdc-wdm0] Opening device with
flags 'proxy, auto'...
[25 Mar 2021, 15:02:13] [Debug] [/dev/cdc-wdm0] loaded driver of
cdc-wdm port: qmi_wwan
[25 Mar 2021, 15:02:13] [Debug] [/dev/cdc-wdm0] automatically selecting QMI mode
[25 Mar 2021, 15:02:13] [Debug] [/dev/cdc-wdm0] created endpoint
[25 Mar 2021, 15:02:13] [Debug] [/dev/cdc-wdm0] sent message...
<<<<<< RAW:
<<<<<< length = 28
<<<<<< data =
01:1B:00:00:00:00:00:01:00:FF:10:00:01:0D:00:2F:64:65:76:2F:63:64:63:2D:77:64:6D:30
[25 Mar 2021, 15:02:13] [Debug] [/dev/cdc-wdm0] sent generic request
(translated)...
<<<<<< QMUX:
<<<<<< length = 27
<<<<<< flags = 0x00
<<<<<< service = "ctl"
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 1
<<<<<< tlv_length = 16
<<<<<< message = "Internal Proxy Open" (0xFF00)
<<<<<< TLV:
<<<<<< type = "Device Path" (0x01)
<<<<<< length = 13
<<<<<< value = 2F:64:65:76:2F:63:64:63:2D:77:64:6D:30
<<<<<< translated = /dev/cdc-wdm0
[25 Mar 2021, 15:02:13] [Debug] [/dev/cdc-wdm0] received message...
<<<<<< RAW:
<<<<<< length = 19
<<<<<< data = 01:12:00:80:00:00:01:01:00:FF:07:00:02:04:00:00:00:00:00
[25 Mar 2021, 15:02:13] [Debug] [/dev/cdc-wdm0] received generic
response (translated)...
<<<<<< QMUX:
<<<<<< length = 18
<<<<<< flags = 0x80
<<<<<< service = "ctl"
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = "response"
<<<<<< transaction = 1
<<<<<< tlv_length = 7
<<<<<< message = "Internal Proxy Open" (0xFF00)
<<<<<< TLV:
<<<<<< type = "Result" (0x02)
<<<<<< length = 4
<<<<<< value = 00:00:00:00
<<<<<< translated = SUCCESS
[25 Mar 2021, 15:02:13] [Debug] QMI Device at '/dev/cdc-wdm0' ready
[25 Mar 2021, 15:02:13] [Debug] [/dev/cdc-wdm0] Assuming service 'wds'
is supported...
[25 Mar 2021, 15:02:13] [Debug] [/dev/cdc-wdm0] Allocating new client ID...
[25 Mar 2021, 15:02:13] [Debug] [/dev/cdc-wdm0] sent message...
<<<<<< RAW:
<<<<<< length = 16
<<<<<< data = 01:0F:00:00:00:00:00:02:22:00:04:00:01:01:00:01
[25 Mar 2021, 15:02:13] [Debug] [/dev/cdc-wdm0] sent generic request
(translated)...
<<<<<< QMUX:
<<<<<< length = 15
<<<<<< flags = 0x00
<<<<<< service = "ctl"
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 2
<<<<<< tlv_length = 4
<<<<<< message = "Allocate CID" (0x0022)
<<<<<< TLV:
<<<<<< type = "Service" (0x01)
<<<<<< length = 1
<<<<<< value = 01
<<<<<< translated = wds
[25 Mar 2021, 15:02:13] [Debug] [/dev/cdc-wdm0] received message...
<<<<<< RAW:
<<<<<< length = 24
<<<<<< data =
01:17:00:80:00:00:01:02:22:00:0C:00:02:04:00:00:00:00:00:01:02:00:01:11
[25 Mar 2021, 15:02:13] [Debug] [/dev/cdc-wdm0] received generic
response (translated)...
<<<<<< QMUX:
<<<<<< length = 23
<<<<<< flags = 0x80
<<<<<< service = "ctl"
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = "response"
<<<<<< transaction = 2
<<<<<< 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:11
<<<<<< translated = [ service = 'wds' cid = '17' ]
[25 Mar 2021, 15:02:13] [Debug] [/dev/cdc-wdm0] Registered 'wds'
(version unknown) client with ID '17'
[25 Mar 2021, 15:02:13] [Debug] Network start parameters set (apn:
'unspecified', 3gpp_profile: '0', 3gpp2_profile: '0', auth:
'unspecified', ip-type: '4', username: 'unspecified', password:
'unspecified', autoconnect: 'unspecified')
[25 Mar 2021, 15:02:13] [Debug] Asynchronously starting network...
[25 Mar 2021, 15:02:13] [Debug] [/dev/cdc-wdm0] sent message...
<<<<<< RAW:
<<<<<< length = 17
<<<<<< data = 01:10:00:00:01:11:00:01:00:20:00:04:00:19:01:00:04
[25 Mar 2021, 15:02:13] [Debug] [/dev/cdc-wdm0] sent generic request
(translated)...
<<<<<< QMUX:
<<<<<< length = 16
<<<<<< flags = 0x00
<<<<<< service = "wds"
<<<<<< client = 17
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 1
<<<<<< tlv_length = 4
<<<<<< message = "Start Network" (0x0020)
<<<<<< TLV:
<<<<<< type = "IP Family Preference" (0x19)
<<<<<< length = 1
<<<<<< value = 04
<<<<<< translated = ipv4
[25 Mar 2021, 15:02:15] [Debug] [/dev/cdc-wdm0] received message...
<<<<<< RAW:
<<<<<< length = 27
<<<<<< data =
01:1A:00:80:01:11:02:01:00:20:00:0E:00:02:04:00:00:00:00:00:01:04:00:50:EE:1C:87
[25 Mar 2021, 15:02:15] [Debug] [/dev/cdc-wdm0] received generic
response (translated)...
<<<<<< QMUX:
<<<<<< length = 26
<<<<<< flags = 0x80
<<<<<< service = "wds"
<<<<<< client = 17
<<<<<< 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 = 50:EE:1C:87
<<<<<< translated = 2266820176
[/dev/cdc-wdm0] Network started
Packet data handle: '2266820176'
[/dev/cdc-wdm0] Client ID not released:
Service: 'wds'
CID: '17'
[25 Mar 2021, 15:02:15] [Debug] [/dev/cdc-wdm0] Releasing 'wds' client
with flags 'none'...
[25 Mar 2021, 15:02:15] [Debug] [/dev/cdc-wdm0] Unregistered 'wds'
client with ID '17'
[25 Mar 2021, 15:02:15] [Debug] Client released
[25 Mar 2021, 15:02:15] [Debug] Closed
Specifying the APN doesn't make any difference. What else can I check?
Thanks.
Tom Isaacson
More information about the libqmi-devel
mailing list