Quectel-CM stuck on mbim_ip_config stage

Hi. I’m using EC25 module on Nano Pi platform with quectel-CM of 1.6.3.2 version

Linux bao30 4.14.69-sunxi #217 SMP Wed Sep 12 10:43:24 CEST 2018 armv7l armv7l armv7l GNU/Linux.

Here is output:

root@bao30:/opt/LTE_configurator/Quectel_QConnectManager_Linux_V1.6.3.2# ./quectel-CM &
[1] 3714
[08-06_19:11:27:293] QConnectManager_Linux_V1.6.3.2
[08-06_19:11:27:296] Find /sys/bus/usb/devices/2-1 idVendor=0x2c7c idProduct=0x125, bus=0x002, dev=0x008
[08-06_19:11:27:297] Auto find qmichannel = /dev/cdc-wdm0
[08-06_19:11:27:297] Auto find usbnet_adapter = wwan0
[08-06_19:11:27:298] netcard driver = cdc_mbim, driver version = 22-Aug-2005
[08-06_19:11:27:298] Modem works in MBIM mode
root@bao30:/opt/LTE_configurator/Quectel_QConnectManager_Linux_V1.6.3.2# [08-06_19:11:27:320] cdc_wdm_fd = 7
[08-06_19:11:27:320] mbim_open_device()
[08-06_19:11:28:114] mbim_device_caps_query()
[08-06_19:11:28:146] DeviceId: 867624063941172
[08-06_19:11:28:146] FirmwareInfo: EC25EFAR06A10M4G
[08-06_19:11:28:146] HardwareInfo: QUECTEL Mobile Broadband Modul
[08-06_19:11:28:146] mbim_device_services_query()
[08-06_19:11:28:178] mbim_set_radio_state( 1 )
[08-06_19:11:28:209] HwRadioState: 1, SwRadioState: 1
[08-06_19:11:28:209] mbim_subscriber_status_query()
[08-06_19:11:28:274] SubscriberId: 250028775511540
[08-06_19:11:28:274] SimIccId: 897010287755115409FF
[08-06_19:11:28:274] SubscriberReadyState NotInitialized → Initialized
[08-06_19:11:28:274] mbim_register_state_query()
[08-06_19:11:28:305] RegisterState Unknown → Home
[08-06_19:11:28:306] mbim_packet_service_query()
[08-06_19:11:28:337] PacketServiceState Unknown → Attached
[08-06_19:11:28:337] mbim_query_connect(sessionID=0)
[08-06_19:11:28:369] ActivationState Unknown → Deactivated
[08-06_19:11:28:370] ifconfig wwan0 0.0.0.0
[08-06_19:11:28:386] ifconfig wwan0 down
[08-06_19:11:28:405] mbim_set_connect(onoff=1, sessionID=0)
[08-06_19:11:28:465] ActivationState Deactivated → Activated
[08-06_19:11:28:465] mbim_ip_config(sessionID=0)
[08-06_19:11:28:529] mbim_ip_config(sessionID=0)
[08-06_19:11:28:562] ifconfig wwan0 up
[08-06_19:11:43:601] mbim_ip_config(sessionID=0)
[08-06_19:11:58:674] mbim_ip_config(sessionID=0)

and output of cdc_mbim.txt:

root@bao30:/opt/LTE_configurator/Quectel_QConnectManager_Linux_V1.6.3.2/log# cat cdc_mbim.txt
root@ZhuoTK:/# dmesg
[ 788.920000] usb 1-1.3: new high-speed USB device number 4 using ehci-platform
[ 789.160000] cdc_mbim 1-1.3:1.4: cdc-wdm0: USB WDM device
[ 789.170000] cdc_mbim 1-1.3:1.4 wwan0: register ‘cdc_mbim’ at usb-101c0000.ehci-1.3, CDC MBIM, a2:58:dc:4d:dd:ca

root@ZhuoTK:/# quectel-CM -s cmnet &
[04-13_05:24:38:767] Quectel_QConnectManager_Linux_V1.6.0.25
[04-13_05:24:38:769] Find /sys/bus/usb/devices/1-1.3 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x004
[04-13_05:24:38:771] Auto find qmichannel = /dev/cdc-wdm0
[04-13_05:24:38:771] Auto find usbnet_adapter = wwan0
[04-13_05:24:38:771] netcard driver = cdc_mbim, driver version = 22-Aug-2005
[04-13_05:24:38:771] Modem works in MBIM mode
[04-13_05:24:38:779] cdc_wdm_fd = 7
[04-13_05:24:38:779] mbim_open_device()
[04-13_05:24:39:624] mbim_device_caps_query()
[04-13_05:24:39:656] DeviceId: 866758045439136
[04-13_05:24:39:656] FirmwareInfo: EC25EFAR06A11M4G
[04-13_05:24:39:656] HardwareInfo: QUECTEL Mobile Broadband Modul
[04-13_05:24:39:657] mbim_device_services_query()
[04-13_05:24:39:688] mbim_set_radio_state( 1 )
[04-13_05:24:39:721] HwRadioState: 1, SwRadioState: 1
[04-13_05:24:39:721] mbim_subscriber_status_query()
[04-13_05:24:39:784] SubscriberId: 460028563800461
[04-13_05:24:39:784] SimIccId: 89860015120716380461
[04-13_05:24:39:785] SubscriberReadyState NotInitialized → Initialized
[04-13_05:24:39:785] mbim_register_state_query()
[04-13_05:24:39:816] RegisterState Unknown → Home
[04-13_05:24:39:816] mbim_packet_service_query()
[04-13_05:24:39:848] PacketServiceState Unknown → Attached
[04-13_05:24:39:848] mbim_query_connect(sessionID=0)
[04-13_05:24:39:880] ActivationState Unknown → Deactivated
[04-13_05:24:39:881] ifconfig wwan0 0.0.0.0
[04-13_05:24:39:899] ifconfig wwan0 down
[04-13_05:24:39:913] mbim_set_connect(onoff=1, sessionID=0)
[04-13_05:24:39:976] ActivationState Deactivated → Activated
[04-13_05:24:39:977] mbim_ip_config(sessionID=0)
[04-13_05:24:40:008] < SessionId = 0
[04-13_05:24:40:008] < IPv4ConfigurationAvailable = 0xf
[04-13_05:24:40:008] < IPv6ConfigurationAvailable = 0x0
[04-13_05:24:40:008] < IPv4AddressCount = 0x1
[04-13_05:24:40:008] < IPv4AddressOffset = 0x3c
[04-13_05:24:40:009] < IPv6AddressCount = 0x0
[04-13_05:24:40:009] < IPv6AddressOffset = 0x0
[04-13_05:24:40:009] < IPv4 = 10.129.90.29/30
[04-13_05:24:40:009] < gw = 10.129.90.30
[04-13_05:24:40:009] < dns1 = 211.138.180.2
[04-13_05:24:40:009 < dns2 = 211.138.180.3
[04-13_05:24:40:009] < ipv4 mtu = 1500
[04-13_05:24:40:041] ifconfig wwan0 up
[04-13_05:24:40:063] ip -4 address flush dev wwan0
[04-13_05:24:40:073] ip -4 address add 10.129.90.29/30 dev wwan0
[04-13_05:24:40:084] ip -4 route add default via 10.129.90.30 dev wwan0

root@ZhuoTK:/# ifconfig wwan0
wwan0 Link encap:Ethernet HWaddr A2:58:DC:4D:DD:CA
inet addr:10.129.90.29 Bcast:0.0.0.0 Mask:255.255.255.252
inet6 addr: fe80::a058:dcff:fe4d:ddca/64 Scope:Link
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:380 (380.0 B)

root@ZhuoTK:/# ip ro show
default via 10.129.90.30 dev wwan0
10.129.90.28/30 dev wwan0 proto kernel scope link src 10.129.90.29
192.168.1.0/24 dev br-lan proto kernel scope link src 192.168.1.251

root@ZhuoTK:/# ping www.qq.com
PING www.qq.com (183.194.238.117): 56 data bytes
64 bytes from 183.194.238.117: seq=0 ttl=53 time=58.674 msroot@bao30:/opt/LTE_configurator/Quectel_QConnectManager_Linux_V1.6.3.2/log#

but as a result wwan interface been created but didn’t get an ip:

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.200 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::81:61ff:fea3:1ea4 prefixlen 64 scopeid 0x20
ether 02:81:61:a3:1e:a4 txqueuelen 1000 (Ethernet)
RX packets 159795 bytes 19001583 (19.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 44566 bytes 2603760 (2.6 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 34

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 38502 bytes 3388176 (3.3 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 38502 bytes 3388176 (3.3 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wwan0: flags=4291<UP,BROADCAST,RUNNING,NOARP,MULTICAST> mtu 1500
inet6 fe80::8841:c4ff:fed7:8e1c prefixlen 64 scopeid 0x20
ether 8a:41:c4:d7:8e:1c txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 55 bytes 3080 (3.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

what reasons for that can be? i see the discrepancy between program output, log and mmm reality)

Hi @ivanych
Has the problem been solved? If not, please give me your email address and I will send you the latest dialing tool. You can try it on the latest dialing tool.