# Rc7630 couldn't get IP address under ubunut Linux(RC7630)

**URL:** <https://forum.sierrawireless.com/t/rc7630-couldnt-get-ip-address-under-ubunut-linux-rc7630/33896>\
**Category:** RC76\
**Created:** [October 28, 2024, 6:01am UTC](https://forum.sierrawireless.com/t/rc7630-couldnt-get-ip-address-under-ubunut-linux-rc7630/33896 "2024-10-28T06:01:42Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![james11](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@james11](https://forum.sierrawireless.com/u/james11)\
**Post date:** [October 28, 2024, 6:01am UTC](https://forum.sierrawireless.com/t/rc7630-couldnt-get-ip-address-under-ubunut-linux-rc7630/33896/1 "2024-10-28T06:01:43Z")

</div>

RC7630 couldn’t get IP address under embedded LINUX.

Please check if my udhcpd setting is correct.

Test condition

embedded linux  
kernel : 5.10.168  
model : RC7630

======================================================

AT  
OK  
ATI  
Manufacturer: Sierra Wireless, Incorporated  
Model: RC7630  
Revision: SWI9X07H\_00.09.10.00 85890e jenkins 2023/09/25 03:16:56  
IMEI: 350867110107792  
IMEI SV: 29  
FSN: 161454504005A0  
+GCAP: +CGSM

OK  
AT!GSTATUS?  
!GSTATUS:  
Current Time: 1056 Temperature: 31  
Modem Mitigate Level: 0 ModemProc Mitigate Level: 0  
Reset Counter: 1 Mode: ONLINE  
System mode: LTE PS state: Attached  
IMS reg state: NOT REGISTERED IMS mode: Normal  
IMS Srv State: NO SMS,NO VoIP  
LTE band: B1 LTE bw: 15 MHz  
LTE Rx chan: 275 LTE Tx chan: 18275  
LTE CA state: INACTIVE  
EMM state: Registered Normal Service  
RRC state: RRC Idle

PCC RxM RSSI: -64 RSRP (dBm): -91  
PCC RxD RSSI: -95 RSRP (dBm): -125  
Tx Power: – TAC: 1904 (6404)  
RSRQ (dB): -9 Cell ID: 0013F963 (1309027)  
SINR (dB): 11.4

OK  
AT+CREG?  
+CREG: 1,5

OK  
AT+CGREG?  
+CGREG: 1,5

OK  
AT+CEREG?  
+CEREG: 1,5

OK  
AT+CGDCONT?  
+CGDCONT: 1,“IP”,“internet.swir”,“0.0.0.0”,0,0,0,0  
+CGDCONT: 2,“IPV4V6”,“ims”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0  
+CGDCONT: 3,“IPV4V6”,“sos”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,1

OK  
AT+CGPADDR=1  
+CGPADDR: 1,100.82.144.50

OK  
AT+COPS?  
+COPS: 0,0,“SKTelecom Sierra Wireless”,7

OK  
AT+CFUN=0  
OK

+CREG: 0

+CGREG: 0

+CEREG: 0  
AT+CFUN=1  
OK

+CREG: 2

+CGREG: 2

+CEREG: 2

+CREG: 5

+CGREG: 5

+CEREG: 5

AT+CGACT=1,1  
OK  
AT!BAND?  
Index, Name  
00, All bands

OK  
AT\*PSRDBS?  
\*PSRDBS: 189006479360

OK  
AT+CSQ  
+CSQ: 27,99

OK  
AT+CESQ  
+CESQ: 99,99,255,255,13,50

OK  
AT+CGATT?  
+CGATT: 1

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [October 28, 2024, 6:41am UTC](https://forum.sierrawireless.com/t/rc7630-couldnt-get-ip-address-under-ubunut-linux-rc7630/33896/2 "2024-10-28T06:41:15Z")

</div>

didn’t you already get the IP address here?

```auto

AT+CGPADDR=1
+CGPADDR: 1,100.82.144.50

OK

```

---

<div class="post-metadata">

**Author:** ![james11](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@james11](https://forum.sierrawireless.com/u/james11)\
**Post date:** [November 1, 2024, 1:18am UTC](https://forum.sierrawireless.com/t/rc7630-couldnt-get-ip-address-under-ubunut-linux-rc7630/33896/3 "2024-11-01T01:18:06Z")

</div>

i get the new SDK R41  
and i compile and run

i get a log below

please, let me get a way to prove this problem

==================================

NVTEVM login: root

NVTEVM Linux shell…

root@NVTEVM:~$

root@NVTEVM:~$

root@NVTEVM:~$ microcom -s 115200 -d 10 /dev/ttyUSB2\

> ^C

root@NVTEVM:~$ microcom -s 115200 -d 10 /dev/ttyUSB2

AT+CGDCONT=1,“IP”,“cmhk”

OK

AT+CGDCONT?

+CGDCONT: 1,“IP”,“cmhk”,“0.0.0.0”,0,0,0,0

OK

AT+CGACT=0,1

ERROR

AT+CGACT=1,1

OK

AT+CGPADDR=1

+CGPADDR: 1,10.170.81.161

OK

root@NVTEVM:/mnt/app$ ./lite-qmi-connection-managerarm

lite-qmi-connection-manager v1.0.2409.0

Open transport “/dev/cdc-wdm0” on USB device in QMI mode  
Interface id: 0x8

root@NVTEVM:$ ifconfig -a  
eth0 Link encap:Ethernet HWaddr DA:D6:87:A1:7C:E1  
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0  
inet6 addr: fe80::d8d6:87ff:fea1:7ce1/64 Scope:Link  
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1  
RX packets:34456 errors:0 dropped:1361 overruns:0 frame:0  
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:3419455 (3.2 MiB) TX bytes:946 (946.0 B)  
Interrupt:27

lo Link encap:Local Loopback  
inet addr:127.0.0.1 Mask:255.0.0.0  
inet6 addr: ::1/128 Scope:Host  
UP LOOPBACK RUNNING MTU:65536 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

sit0 Link encap:IPv6-in-IPv4  
NOARP MTU:1480 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

teql0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
-00  
NOARP MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:100  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wwan0 Link encap:Ethernet HWaddr 2E:64:27:84:1A:99  
BROADCAST MULTICAST MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@NVTEVM:/mnt/app$ ./lite-qmi-connection-managerarm

lite-qmi-connection-manager v1.0.2409.0

Open transport “/dev/cdc-wdm0” on USB device in QMI mode  
Interface id: 0x8

Transport callback is invoked, type: 1, value: 0.  
CtlService\_InitializeEx failed  
root@NVTEVM:/mnt/app$  
root@NVTEVM:/mnt/app$ ./lite-qmi-connection-managerarm

lite-qmi-connection-manager v1.0.2409.0

Open transport “/dev/cdc-wdm0” on USB device in QMI mode  
Interface id: 0x8  
Network interface: wwan0  
Device interface: RmNet  
Set uplink/downlink data aggregation protocol 5  
Model: RC7630  
Device Power Status: 0 - Online  
HomeNetwork: CMHK  
Network Selection Preference: auto  
SessionStatus (0:ipv4): Disconnected  
SessionStatus (1:ipv6): Disconnected  
SessionStatus (2:ipv4): Disconnected  
SessionStatus (3:ipv6): Disconnected  
SessionStatus (4:ipv4): Disconnected  
SessionStatus (5:ipv6): Disconnected  
SessionStatus (6:ipv4): Disconnected  
SessionStatus (7:ipv6): Disconnected  
Auto-ping check on connection: enabled  
Routing table update on connection: enabled

Please select one of the following options or press ‘q’ to exit:

```
1. start a single-PDN data session
2. Start one connection of a multi-PDN data session
3. Stop one connection
4. Stop all active connections
5. Display all profiles on the device
6. Display one profile on the device
7. Create a profile on the device
8. Modify an existing profile on the device
9. Delete a profile from the device
10. Scan available networks
11. Enable QOS Event
12. Disable QOS Event
13. Request QOS Expanded
14. Get QOS Information
15. QOS Indication Register
16. Read QOS Data Statistics (SWIQOS)
17. Read QOS Extra APN Parameters (SWIQOS)
18. Get Packet Statistics
19. Get Current Channel Rate
20. Toggle pinging on connection
21. Toggle routing table update on connection
22. Get loopback
23. Set loopback
24. Get data format
25. Set data format
26. Enable/disable WDS event report indication
27. Enable/disable keep data session alive
28. Get delegated IPv6 prefix
29. Remove delegated IPv6 prefix
(q)uit to exit: 

```

2

Please enter Network selection preference (0: Auto (default), 1: Manual) (up to  
3 Characters), or press to use default value: 0

Please enter Connect via 0: existing profile (default) or 1: explicit APN (up to  
3 Characters), or press to use default value:

ID PDPType IPAddress PrimaryDNS SecondaryDNS Auth Pro  
fileName APNName UserName IPv6PrefixDele  
\*1 0 0.0.0.0 0.0.0.0 0.0.0.0 0  
cmhk disabled

Please enter a profile id (1-42) (up to 4 Characters), or press to exit:

root@NVTEVM:/mnt/app$ ifconfig -a  
\eth0 Link encap:Ethernet HWaddr DA:D6:87:A1:7C:E1  
inet addr:192.168.37.225 Bcast:192.168.37.255 Mask:255.255.255.0  
inet6 addr: fe80::d8d6:87ff:fea1:7ce1/64 Scope:Link  
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1  
RX packets:762761 errors:0 dropped:28909 overruns:0 frame:0  
TX packets:618 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:77977011 (74.3 MiB) TX bytes:48643 (47.5 KiB)  
Interrupt:27

lo Link encap:Local Loopback  
inet addr:127.0.0.1 Mask:255.0.0.0  
inet6 addr: ::1/128 Scope:Host  
UP LOOPBACK RUNNING MTU:65536 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

qmimux0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
-00  
POINTOPOINT NOARP MULTICAST MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

qmimux1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
-00  
POINTOPOINT NOARP MULTICAST MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

qmimux2 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
-00  
POINTOPOINT NOARP MULTICAST MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

qmimux3 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
-00  
POINTOPOINT NOARP MULTICAST MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

sit0 Link encap:IPv6-in-IPv4  
NOARP MTU:1480 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

teql0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
-00  
NOARP MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:100  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wwan0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
-00  
POINTOPOINT NOARP MULTICAST MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@NVTEVM:/mnt/app$

---

<div class="post-metadata">

**Author:** ![james11](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@james11](https://forum.sierrawireless.com/u/james11)\
**Post date:** [November 1, 2024, 1:29am UTC](https://forum.sierrawireless.com/t/rc7630-couldnt-get-ip-address-under-ubunut-linux-rc7630/33896/4 "2024-11-01T01:29:28Z")

</div>

I ran lite-qmi-connection-manager.  
However, it is not actually connected to the rc7630 module.  
However, unlike when testing previously, when i run the ifconfig -a command, the log that was replied to just before is displayed.

The curious thing is that qmimux0, qmimux1, qmimux2, and qmimux3 are displayed, but no values ​​are actually assigned.

while looking for the cause, I found out that qmicli was necessary, so I compiled and used qmicli.

The result is the log below

Please tell us the meaning of the error in the log below.

error: couldn’t start network: QMI protocol error (14): ‘CallFailed’

If you have a solution please let me know

=============================

root@NVTEVM:/mnt/app$ root@NVTEVM:/mnt/app$ qmicli --verbose --device=/dev/cdc-wdm0 --dms-get-ids  
[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Opening device with flags ‘auto’  
…  
[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] created endpoint  
[01 Jan 1970, 04:45:47] [Debug] QMI Device at ‘/dev/cdc-wdm0’ ready  
[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Assuming service ‘dms’ is suppor  
ted…  
[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Allocating new client ID…  
[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Sent message…  
\<\<\<\<\<\< RAW:  
\<\<\<\<\<\< length = 16  
\<\<\<\<\<\< data = 01:0F:00:00:00:00:00:01:22:00:04:00:01:01:00:02

[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Sent generic request (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 = 02  
\<\<\<\<\<\< translated = dms

[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] 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:02:02

[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Received generic response (trans  
lated)…  
\<\<\<\<\<\< 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 = 02:02  
\<\<\<\<\<\< translated = [service = ‘dms’ cid = ‘2’]

[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Registered ‘dms’ (version unknow  
n) client with ID ‘2’  
[01 Jan 1970, 04:45:47] [Debug] Asynchronously getting IDs…  
[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Sent message…  
\<\<\<\<\<\< RAW:  
\<\<\<\<\<\< length = 13  
\<\<\<\<\<\< data = 01:0C:00:00:02:02:00:01:00:25:00:00:00

[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Sent generic request (translated  
)…  
\<\<\<\<\<\< QMUX:  
\<\<\<\<\<\< length = 12  
\<\<\<\<\<\< flags = 0x00  
\<\<\<\<\<\< service = “dms”  
\<\<\<\<\<\< client = 2  
\<\<\<\<\<\< QMI:  
\<\<\<\<\<\< flags = “none”  
\<\<\<\<\<\< transaction = 1  
\<\<\<\<\<\< tlv\_length = 0  
\<\<\<\<\<\< message = “Get IDs” (0x0025)

[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Received message…  
\<\<\<\<\<\< RAW:  
\<\<\<\<\<\< length = 47  
\<\<\<\<\<\< data = 01:2E:00:80:02:02:02:01:00:25:00:22:00:02:04:00:00:00:00:00:10  
:01:00:30:11:0F:00:33:35:30:38:36:37:31:31:30:31:30:36:36:39:35:13:02:00:31:37

[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Received generic response (trans  
lated)…  
\<\<\<\<\<\< QMUX:  
\<\<\<\<\<\< length = 46  
\<\<\<\<\<\< flags = 0x80  
\<\<\<\<\<\< service = “dms”  
\<\<\<\<\<\< client = 2  
\<\<\<\<\<\< QMI:  
\<\<\<\<\<\< flags = “response”  
\<\<\<\<\<\< transaction = 1  
\<\<\<\<\<\< tlv\_length = 34  
\<\<\<\<\<\< message = “Get IDs” (0x0025)  
\<\<\<\<\<\< TLV:  
\<\<\<\<\<\< type = “Result” (0x02)  
\<\<\<\<\<\< length = 4  
\<\<\<\<\<\< value = 00:00:00:00  
\<\<\<\<\<\< translated = SUCCESS  
\<\<\<\<\<\< TLV:  
\<\<\<\<\<\< type = “Esn” (0x10)  
\<\<\<\<\<\< length = 1  
\<\<\<\<\<\< value = 30  
\<\<\<\<\<\< translated = 0  
\<\<\<\<\<\< TLV:  
\<\<\<\<\<\< type = “Imei” (0x11)  
\<\<\<\<\<\< length = 15  
\<\<\<\<\<\< value = 33:35:30:38:36:37:31:31:30:31:30:36:36:39:35  
\<\<\<\<\<\< translated = 350867110106695  
\<\<\<\<\<\< TLV:  
\<\<\<\<\<\< type = “Imei Software Version” (0x13)  
\<\<\<\<\<\< length = 2  
\<\<\<\<\<\< value = 31:37  
\<\<\<\<\<\< translated = 17

[/dev/cdc-wdm0] Device IDs retrieved:  
ESN: ‘0’  
IMEI: ‘350867110106695’  
MEID: ‘unknown’  
IMEI SV: ‘17’  
[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Releasing ‘dms’ client with flag  
s ‘release-cid’…  
[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Unregistered ‘dms’ client with I  
D ‘2’  
[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Sent message…  
\<\<\<\<\<\< RAW:  
\<\<\<\<\<\< length = 17  
\<\<\<\<\<\< data = 01:10:00:00:00:00:00:02:23:00:05:00:01:02:00:02:02

[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Sent generic request (translated  
)…  
\<\<\<\<\<\< QMUX:  
\<\<\<\<\<\< length = 16  
\<\<\<\<\<\< flags = 0x00  
\<\<\<\<\<\< service = “ctl”  
\<\<\<\<\<\< client = 0  
\<\<\<\<\<\< QMI:  
\<\<\<\<\<\< flags = “none”  
\<\<\<\<\<\< transaction = 2  
\<\<\<\<\<\< tlv\_length = 5  
\<\<\<\<\<\< message = “Release CID” (0x0023)  
\<\<\<\<\<\< TLV:  
\<\<\<\<\<\< type = “Release Info” (0x01)  
\<\<\<\<\<\< length = 2  
\<\<\<\<\<\< value = 02:02  
\<\<\<\<\<\< translated = [service = ‘dms’ cid = ‘2’]

[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Received message…  
\<\<\<\<\<\< RAW:  
\<\<\<\<\<\< length = 24  
\<\<\<\<\<\< data = 01:17:00:80:00:00:01:02:23:00:0C:00:02:04:00:00:00:00:00:01:02  
:00:02:02

[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Received generic response (trans  
lated)…  
\<\<\<\<\<\< QMUX:  
\<\<\<\<\<\< length = 23  
\<\<\<\<\<\< flags = 0x80  
\<\<\<\<\<\< service = “ctl”  
\<\<\<\<\<\< client = 0  
\<\<\<\<\<\< QMI:  
\<\<\<\<\<\< flags = “response”  
\<\<\<\<\<\< transaction = 2  
\<\<\<\<\<\< tlv\_length = 12  
\<\<\<\<\<\< message = “Release CID” (0x0023)  
\<\<\<\<\<\< TLV:  
\<\<\<\<\<\< type = “Result” (0x02)  
\<\<\<\<\<\< length = 4  
\<\<\<\<\<\< value = 00:00:00:00  
\<\<\<\<\<\< translated = SUCCESS  
\<\<\<\<\<\< TLV:  
\<\<\<\<\<\< type = “Release Info” (0x01)  
\<\<\<\<\<\< length = 2  
\<\<\<\<\<\< value = 02:02  
\<\<\<\<\<\< translated = [service = ‘dms’ cid = ‘2’]

[01 Jan 1970, 04:45:47] [Debug] Client released  
[01 Jan 1970, 04:45:47] [Debug] Closed  
root@NVTEVM:/mnt/app$

=============================

qmicli --device=/dev/cdc-wdm0 --dms-get-operating-mode

[/dev/cdc-wdm0] Operating mode retrieved:  
Mode: ‘online’  
HW restricted: ‘no’  
root@NVTEVM:/usr/lib$

root@NVTEVM:/usr/lib$ qmicli --device=/dev/cdc-wdm0 --get-wwan-iface  
wwan0

```auto
root@NVTEVM:/usr/lib$ qmicli --device=/dev/cdc-wdm0 --wda-get-data-format

```

```auto

```

```auto
[/dev/cdc-wdm0] Successfully got data format

```

```auto
                   QoS flow header: no

```

```auto
               Link layer protocol: 'raw-ip'

```

```auto
  Uplink data aggregation protocol: 'qmap'

```

```auto
Downlink data aggregation protocol: 'qmap'

```

```auto
                     NDP signature: '0'

```

```auto
Downlink data aggregation max datagrams: '10'

```

```auto
Downlink data aggregation max size: '4096'

```

```auto
root@NVTEVM:/usr/lib$

```

root@NVTEVM:/usr/lib$ qmicli --device=/dev/cdc-wdm0 --wds-start-network=“ip-type  
=4,apn=your\_apn” --client-no-release-cid  
error: couldn’t start network: QMI protocol error (14): ‘CallFailed’  
call end reason (1018): gsm-wcdma-option-unsubscribed  
verbose call end reason (6,33): [3gpp] option-unsubscribed  
[/dev/cdc-wdm0] Client ID not released:  
Service: ‘wds’  
CID: ‘11’  
root@NVTEVM:/usr/lib$

root@NVTEVM:/usr/lib$ udhcpc -i wwan0

udhcpc: started, v1.36.0

1 Setting IP address 192.168.0.3 on wwan0

udhcpc: broadcasting discover

udhcpc: broadcasting discover

^C

root@NVTEVM:/usr/lib$

root@NVTEVM:/usr/lib$ qmicli --device=/dev/cdc-wdm0 --wds-get-packet-service-sta

tus

[/dev/cdc-wdm0] Connection status: ‘disconnected’

root@NVTEVM:/usr/lib$

root@NVTEVM:/usr/lib$

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [November 1, 2024, 3:00am UTC](https://forum.sierrawireless.com/t/rc7630-couldnt-get-ip-address-under-ubunut-linux-rc7630/33896/5 "2024-11-01T03:00:54Z")

</div>

I can run the MBPL connection manager application with RC7620:

```auto
owner@ubuntu:~/QMI/MBPL/MBPL_SDK_R30_ENG6-lite.src/MBPL_SDK_R30_ENG6-lite.src/SampleApps/lite-qmi-connection-manager$ sudo ./bin/lite-qmi-connection-managerhostx86_64 

lite-qmi-connection-manager v1.0.2211.0

Open transport "/dev/cdc-wdm0" on USB device in QMI mode
Interface id: 8
Device interface: RmNet
QMAP enabled
Model: RC7620
Device Power Status: 0 - Online
HomeNetwork: CMHK
Network Selection Preference: auto
SessionStatus (0:ipv4): Disconnected
SessionStatus (1:ipv6): Disconnected
SessionStatus (2:ipv4): Disconnected
SessionStatus (3:ipv6): Disconnected
SessionStatus (4:ipv4): Disconnected
SessionStatus (5:ipv6): Disconnected
SessionStatus (6:ipv4): Disconnected
SessionStatus (7:ipv6): Disconnected
Auto-ping check on connection: enabled
Routing table update on connection: enabled

Please select one of the following options or press 'q' to exit:

    1.	start a single-PDN data session
    2.	Start one connection of a multi-PDN data session
    3.	Stop one connection
    4.	Stop all active connections
    5.	Display all profiles on the device
    6.	Display one profile on the device
    7.	Create a profile on the device
    8.	Modify an existing profile on the device
    9.	Delete a profile from the device
    10.	Scan available networks
    11.	Lock PCI
    12.	Disable PCI locking
    13.	Get PCI locking
    14.	Enable QOS Event
    15.	Disable QOS Event
    16.	Request QOS Expanded
    17.	Get QOS Information
    18.	QOS Indication Register
    19.	Read QOS Data Statistics (SWIQOS)
    20.	Read QOS Extra APN Parameters (SWIQOS)
    21.	Get Packet Statistics
    22.	Get Current Channel Rate
    23.	Toggle pinging on connection
    24.	Toggle routing table update on connection
    27.	Enable QMAP
    28.	Disable QMAP
    29.	Enable/disable WDS event report indication
    30.	Enable/disable keep data session alive
    (q)uit to exit: 
1

Please enter Network selection preference (0: Auto (default), 1: Manual) (up to 3 Characters), or press <Enter> to use default value: 

Please enter Connect via 0: existing profile (default) or 1: explicit APN (up to 3 Characters), or press <Enter> to use default value: 

ID PDPType IPAddress PrimaryDNS SecondaryDNS Auth ProfileName APNName UserName            
1 0 0.0.0.0 0.0.0.0 0.0.0.0 0 CMHK                                    
2 3 0.0.0.0 0.0.0.0 0.0.0.0 0 ims                                     
3 3 0.0.0.0 0.0.0.0 0.0.0.0 0 sos                                     

Please enter a profile id (1-42) (up to 4 Characters), or press <Enter> to exit: 1

1: IPV4 (default)
2: IPV6
3: IPV4V6
Please enter IP family preference for the call (up to 3 Characters), or press <Enter> to use default value: 
WDS[0] BindMuxID 1 returns 0

WDS[0] setIPFamily preference 4 returns 0
Starting data session via profile 1
WDS[0] IPv4 data session started successfully for Profile ID: 1

<< receiving WDS_PKT_STATUS_IND
WDS IND: msgid 0x22, type:4
[unpack_wds_SLQSSetPacketSrvStatusCallback]
	Packet Service 0 Status: 0x2, Reconfig required: 0
	IP Family: 4
	Technology: 0x8004
	Bearer ID: 0x5
SessionStatus (0:ipv4): Connected
SetAdaptorMtu(qmimux0:4) mtu 1500
SetAdaptorMtu(wwan0:3) mtu 1500
Up adaptor wwan0(3)
Up adaptor qmimux0(4)
SetAdaptorAddress(family 2): ip addr add 10.99.157.195:29 dev qmimux0(4)
IsAdaptorUp - Adaptor wwan0 is up
IsAdaptorUp - Adaptor qmimux0 is up
SetRoute(family 2): route add 0.0.0.0:0 dev qmimux0(4) gw 0.0.0.0
PING 8.8.8.8 56 bytes data in ICMP packets.
64 bytes from 8.8.8.8 icmp_seq=1 ttl=58 rtt=4001.000 ms
64 bytes from 8.8.8.8 icmp_seq=2 ttl=58 rtt=3001.000 ms
64 bytes from 8.8.8.8 icmp_seq=3 ttl=58 rtt=2000.000 ms
64 bytes from 8.8.8.8 icmp_seq=4 ttl=58 rtt=1000.000 ms

--------------------PING statistics-------------------
4 packets transmitted, 4 received , %0 lost

```

After that I can ping google server via qmimux0 interface:

```auto
owner@ubuntu:~$ ping 8.8.8.8 -I qmimux0
PING 8.8.8.8 (8.8.8.8) from 10.99.157.195 qmimux0: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=58 time=133 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=58 time=17.2 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=58 time=24.0 ms

```

I can also start the network connection by qmicli in Ubuntu 18:

```auto
owner@ubuntu:~/QMI/MBPL/MBPL_SDK_R30_ENG6-lite.src/MBPL_SDK_R30_ENG6-lite.src/SampleApps/lite-qmi-connection-manager$ sudo qmi-network /dev/cdc-wdm0 start
Loading profile at /etc/qmi-network.conf...
    APN: CMHK
    APN user: unset
    APN password: unset
    qmi-proxy: no
Checking data format with 'qmicli -d /dev/cdc-wdm0 --wda-get-data-format '...
Device link layer protocol retrieved: raw-ip
Getting expected data format with 'qmicli -d /dev/cdc-wdm0 --get-expected-data-format'...
Expected link layer protocol retrieved: 802-3
Updating kernel link layer protocol with 'qmicli -d /dev/cdc-wdm0 --set-expected-data-format=raw-ip'...
Kernel link layer protocol updated
Starting network with 'qmicli -d /dev/cdc-wdm0 --wds-start-network=apn='CMHK' --client-no-release-cid '...
Saving state at /tmp/qmi-network-state-cdc-wdm0... (CID: 3)
Saving state at /tmp/qmi-network-state-cdc-wdm0... (PDH: 2248177728)
Network started successfully
owner@ubuntu:~/QMI/MBPL/MBPL_SDK_R30_ENG6-lite.src/MBPL_SDK_R30_ENG6-lite.src/SampleApps/lite-qmi-connection-manager$ ping 8.8.8.8 -I wwan0
connect: Network is unreachable
owner@ubuntu:~/QMI/MBPL/MBPL_SDK_R30_ENG6-lite.src/MBPL_SDK_R30_ENG6-lite.src/SampleApps/lite-qmi-connection-manager$ sudo udhcpc -i wwan0
udhcpc: started, v1.27.2
udhcpc: sending discover
udhcpc: sending select for 10.98.52.161
udhcpc: lease of 10.98.52.161 obtained, lease time 7200
owner@ubuntu:~/QMI/MBPL/MBPL_SDK_R30_ENG6-lite.src/MBPL_SDK_R30_ENG6-lite.src/SampleApps/lite-qmi-connection-manager$ ping 8.8.8.8 -I wwan0
PING 8.8.8.8 (8.8.8.8) from 10.98.52.161 wwan0: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=99.4 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=117 time=35.6 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=117 time=29.6 ms

```

Lastly I have also followed the link below to establish data connection with AT!SCACT.  
It is working fine on my Ubuntu 18:

> [@Example on establishing data connection by AT!SCACT via MBPL R20 driver](https://forum.sierrawireless.com/t/example-on-establishing-data-connection-by-at-scact-via-mbpl-r20-driver/24130):
>
> Here is an example to establish data connection by AT!SCACT via MBPL R20 driver: Module: WP7609 FW: R13 MBPL: R20 PC Environment: Ubuntu 18 need to install the MBPL R20 driver for qmi\_wwan and qcserial (MBPL\_Drivers\_USB\_R20\_ENG1-src.tar.gz) avoid the Ubuntu changing the network name: ln -s /dev/null /etc/systemd/network/99-default.link sudo apt-get install libqmi-utils sudo apt-get install udhcpc now insert the USB to PC sudo chmod 777 /sys/class/net/wwan0/qmi/raw\_ip …

---

<div class="post-metadata">

**Author:** ![james11](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@james11](https://forum.sierrawireless.com/u/james11)\
**Post date:** [November 1, 2024, 9:05am UTC](https://forum.sierrawireless.com/t/rc7630-couldnt-get-ip-address-under-ubunut-linux-rc7630/33896/6 "2024-11-01T09:05:03Z")

</div>

ping command does not go out

=======================

root@NVTEVM:/mnt/app$ qmicli --device=/dev/cdc-wdm0 --wds-get-current-settings  
error: couldn’t get current settings: QMI protocol error (15): ‘OutOfCall’  
root@NVTEVM:/mnt/app$ qmicli --device=/dev/cdc-wdm0 --wds-start-network=“ip-type  
=4,apn=cmhk” --client-no-release-cid  
[/dev/cdc-wdm0] Network started  
Packet data handle: ‘2247487600’  
[/dev/cdc-wdm0] Client ID not released:  
Service: ‘wds’  
CID: ‘12’  
root@NVTEVM:/mnt/app$ qmicli --device=/dev/cdc-wdm0 --wds-get-current-settings  
[/dev/cdc-wdm0] Current settings retrieved:  
IP Family: IPv4  
IPv4 address: 10.170.123.214  
IPv4 subnet mask: 255.255.255.252  
IPv4 gateway address: 10.170.123.213  
IPv4 primary DNS: 223.119.47.220  
IPv4 secondary DNS: 223.119.30.220  
MTU: 1440  
Domains: none  
root@NVTEVM:/mnt/app$

root@NVTEVM:/mnt/app$ vi /etc/resolv.conf

nameserver 223.119.47.220

nameserver 223.119.30.220

root@NVTEVM:/mnt/app$ ping -I wwan0 8.8.8.8

PING 8.8.8.8 (8.8.8.8): 56 data bytes

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [November 1, 2024, 9:24am UTC](https://forum.sierrawireless.com/t/rc7630-couldnt-get-ip-address-under-ubunut-linux-rc7630/33896/7 "2024-11-01T09:24:22Z")

</div>

then have you tried other method like AT!SCACT or connection manager application in MBPL?  
Also have you tried qmi-network and udhcpc?

---

<div class="post-metadata">

**Author:** ![james11](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@james11](https://forum.sierrawireless.com/u/james11)\
**Post date:** [November 4, 2024, 12:09am UTC](https://forum.sierrawireless.com/t/rc7630-couldnt-get-ip-address-under-ubunut-linux-rc7630/33896/8 "2024-11-04T00:09:28Z")

</div>

i got MBPL SDK R41 from sierra

and i compiled lite-qmi-connection-manager sample and ran it

i also applied udhcpc

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [November 4, 2024, 12:48am UTC](https://forum.sierrawireless.com/t/rc7630-couldnt-get-ip-address-under-ubunut-linux-rc7630/33896/9 "2024-11-04T00:48:39Z")

</div>

then what are the result of using the followings?

1. qmi-network and udhcpc
2. AT!SCACT
3. connection manager application

Please paste the log here

---

<div class="post-metadata">

**Author:** ![james11](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@james11](https://forum.sierrawireless.com/u/james11)\
**Post date:** [November 4, 2024, 1:05am UTC](https://forum.sierrawireless.com/t/rc7630-couldnt-get-ip-address-under-ubunut-linux-rc7630/33896/10 "2024-11-04T01:05:03Z")

</div>

> [@jyijyi](#):
>
> ager application

1. connection manager application  
Before using the connection manager, I thought I had already activated it with the AT command AT+CGACT=1,1, but communication did not work well.  
So I used a connection manager application.

=================================

NVTEVM login: root

NVTEVM Linux shell…

root@NVTEVM:~$ microcom -s 115200 -d 10 /dev/ttyUSB2

AT+CGDCONT=1,“IP”,“cmhk”

OK

AT+CGDCONT?

+CGDCONT: 1,“IP”,“cmhk”,“0.0.0.0”,0,0,0,0

OK

AT+CGACT=0,1

ERROR

AT+CGACT=1,1

OK

AT+CGPADDR=1

+CGPADDR: 1,10.112.252.102

OK

# ================================ after using connection manager application

login[527]: root login on ‘pts/0’

root@NVTEVM:/mnt/app$  
root@NVTEVM:/mnt/app$ ifconfig -a  
eth0 Link encap:Ethernet HWaddr 82:4B:B2:29:0A:FC  
inet addr:192.168.37.225 Bcast:192.168.37.255 Mask:255.255.255.0  
inet6 addr: fe80::804b:b2ff:fe29:afc/64 Scope:Link  
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1  
RX packets:107151 errors:0 dropped:4226 overruns:0 frame:0  
TX packets:218 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:11200653 (10.6 MiB) TX bytes:22484 (21.9 KiB)  
Interrupt:27

lo Link encap:Local Loopback  
inet addr:127.0.0.1 Mask:255.0.0.0  
inet6 addr: ::1/128 Scope:Host  
UP LOOPBACK RUNNING MTU:65536 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

sit0 Link encap:IPv6-in-IPv4  
NOARP MTU:1480 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

teql0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
-00  
NOARP MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:100  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wwan0 Link encap:Ethernet HWaddr EE:D1:EB:32:D6:ED  
BROADCAST MULTICAST MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@NVTEVM:/mnt/app$ ls  
lite-qmi-connection-managerarm  
lite-qmi-connection-managerarm64  
lite-qmi-connection-managerarm64linaro  
lite-qmi-connection-managerhosti686  
lite-qmi-connection-managerhostx86\_64  
lite-qmi-connection-managermipseb  
lite-qmi-connection-managermipsel  
lite-qmi-connection-managerrpi  
root@NVTEVM:/mnt/app$ ./liroot@NVTEVM:/mnt/app$ ./lite-qmi-connection-managerhosroot@NVTEVM:/mnt/app$ ./lite-qmi-connection-managerhostxroot@NVTEVM:/mnt/app$ ./lite-qmi-connection-managerhostx86\_64  
./lite-qmi-connection-managerhostx86\_64: line 1: syntax error: unexpected “)”  
root@NVTEVM:/mnt/app$ root@NVTEVM:/mnt/app$ ./lite-qmi-connection-managerhostx86\_64  
./lite-qmi-connection-managerhostx86\_64: line 1: syntax error: unexpected “)”  
root@NVTEVM:/mnt/app$ root@NVTEVM:/mnt/app$ ./lite-qmi-connection-managerhostx86\_64  
./lite-qmi-connection-managerhostx86\_64: line 1: syntax error: unexpected “)”  
root@NVTEVM:/mnt/app$ root@NVTEVM:/mnt/app$ ./lite-qmi-connection-managerhostx86\_64 arroot@NVTEVM:/mnt/app$ ./lite-qmi-connection-managerarm

lite-qmi-connection-manager v1.0.2409.0

Open transport “/dev/cdc-wdm0” on USB device in QMI mode  
Interface id: 0x8  
Network interface: wwan0  
Device interface: RmNet  
Set uplink/downlink data aggregation protocol 5  
Model: RC7630  
Device Power Status: 0 - Online  
HomeNetwork: CMHK  
Network Selection Preference: auto  
SessionStatus (0:ipv4): Disconnected  
SessionStatus (1:ipv6): Disconnected  
SessionStatus (2:ipv4): Disconnected  
SessionStatus (3:ipv6): Disconnected  
SessionStatus (4:ipv4): Disconnected  
SessionStatus (5:ipv6): Disconnected  
SessionStatus (6:ipv4): Disconnected  
SessionStatus (7:ipv6): Disconnected  
Auto-ping check on connection: enabled  
Routing table update on connection: enabled

Please select one of the following options or press ‘q’ to exit:

```
1.start a single-PDN data session
2.Start one connection of a multi-PDN data session
3.Stop one connection
4.Stop all active connections
5.Display all profiles on the device
6.Display one profile on the device
7.Create a profile on the device
8.Modify an existing profile on the device
9.Delete a profile from the device
10.Scan available networks
11.Enable QOS Event
12.Disable QOS Event
13.Request QOS Expanded
14.Get QOS Information
15.QOS Indication Register
16.Read QOS Data Statistics (SWIQOS)
17.Read QOS Extra APN Parameters (SWIQOS)
18.Get Packet Statistics
19.Get Current Channel Rate
20.Toggle pinging on connection
21.Toggle routing table update on connection
22.Get loopback
23.Set loopback
24.Get data format
25.Set data format
26.Enable/disable WDS event report indication
27.Enable/disable keep data session alive
28.Get delegated IPv6 prefix
29.Remove delegated IPv6 prefix
(q)uit to exit: 

```

login[557]: root login on ‘pts/1’  
10  
NetworkScan may take a few minutes. Result will be displayed when available. P  
lease wait…

Please select one of the following options or press ‘q’ to exit:

```
1.start a single-PDN data session
2.Start one connection of a multi-PDN data session
3.Stop one connection
4.Stop all active connections
5.Display all profiles on the device
6.Display one profile on the device
7.Create a profile on the device
8.Modify an existing profile on the device
9.Delete a profile from the device
10.Scan available networks
11.Enable QOS Event
12.Disable QOS Event
13.Request QOS Expanded
14.Get QOS Information
15.QOS Indication Register
16.Read QOS Data Statistics (SWIQOS)
17.Read QOS Extra APN Parameters (SWIQOS)
18.Get Packet Statistics
19.Get Current Channel Rate
20.Toggle pinging on connection
21.Toggle routing table update on connection
22.Get loopback
23.Set loopback
24.Get data format
25.Set data format
26.Enable/disable WDS event report indication
27.Enable/disable keep data session alive
28.Get delegated IPv6 prefix
29.Remove delegated IPv6 prefix
(q)uit to exit: 

```

unpack\_nas\_PerformNetworkScan ret: 0

Network Scan Result: 0  
Network 0: LG U+  
MCC/MNC: 450/6  
In Use: Available(2)  
Forbidden: Not forbidden(2)  
Preferred: Not preferred(2)  
Roaming: Roam(2)  
RAT: LTE(8)  
MNC includes PCS digit: FALSE  
Network 1: 450 30  
MCC/MNC: 450/30  
In Use: Available(2)

root@NVTEVM:/home$  
root@NVTEVM:/home$ ifconfig -a  
eth0 Link encap:Ethernet HWaddr DA:D6:87:A1:7C:E1  
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0  
inet6 addr: fe80::d8d6:87ff:fea1:7ce1/64 Scope:Link  
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1  
RX packets:34456 errors:0 dropped:1361 overruns:0 frame:0  
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:3419455 (3.2 MiB) TX bytes:946 (946.0 B)  
Interrupt:27

lo Link encap:Local Loopback  
inet addr:127.0.0.1 Mask:255.0.0.0  
inet6 addr: ::1/128 Scope:Host  
UP LOOPBACK RUNNING MTU:65536 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

sit0 Link encap:IPv6-in-IPv4  
NOARP MTU:1480 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

teql0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
-00  
NOARP MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:100  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wwan0 Link encap:Ethernet HWaddr 2E:64:27:84:1A:99  
BROADCAST MULTICAST MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@NVTEVM:/mnt/app$ ./lite-qmi-connection-managerarm

lite-qmi-connection-manager v1.0.2409.0

Open transport “/dev/cdc-wdm0” on USB device in QMI mode  
Interface id: 0x8

Transport callback is invoked, type: 1, value: 0.  
CtlService\_InitializeEx failed  
root@NVTEVM:/mnt/app$  
root@NVTEVM:/mnt/app$ ./lite-qmi-connection-managerarm

lite-qmi-connection-manager v1.0.2409.0

Open transport “/dev/cdc-wdm0” on USB device in QMI mode  
Interface id: 0x8  
Network interface: wwan0  
Device interface: RmNet  
Set uplink/downlink data aggregation protocol 5  
Model: RC7630  
Device Power Status: 0 - Online  
HomeNetwork: CMHK  
Network Selection Preference: auto  
SessionStatus (0:ipv4): Disconnected  
SessionStatus (1:ipv6): Disconnected  
SessionStatus (2:ipv4): Disconnected  
SessionStatus (3:ipv6): Disconnected  
SessionStatus (4:ipv4): Disconnected  
SessionStatus (5:ipv6): Disconnected  
SessionStatus (6:ipv4): Disconnected  
SessionStatus (7:ipv6): Disconnected  
Auto-ping check on connection: enabled  
Routing table update on connection: enabled

Please select one of the following options or press ‘q’ to exit:

```
1. start a single-PDN data session
2. Start one connection of a multi-PDN data session
3. Stop one connection
4. Stop all active connections
5. Display all profiles on the device
6. Display one profile on the device
7. Create a profile on the device
8. Modify an existing profile on the device
9. Delete a profile from the device
10. Scan available networks
11. Enable QOS Event
12. Disable QOS Event
13. Request QOS Expanded
14. Get QOS Information
15. QOS Indication Register
16. Read QOS Data Statistics (SWIQOS)
17. Read QOS Extra APN Parameters (SWIQOS)
18. Get Packet Statistics
19. Get Current Channel Rate
20. Toggle pinging on connection
21. Toggle routing table update on connection
22. Get loopback
23. Set loopback
24. Get data format
25. Set data format
26. Enable/disable WDS event report indication
27. Enable/disable keep data session alive
28. Get delegated IPv6 prefix
29. Remove delegated IPv6 prefix
(q)uit to exit: 

```

2

Please enter Network selection preference (0: Auto (default), 1: Manual) (up to  
3 Characters), or press to use default value: 0

Please enter Connect via 0: existing profile (default) or 1: explicit APN (up to  
3 Characters), or press to use default value:

ID PDPType IPAddress PrimaryDNS SecondaryDNS Auth Pro  
fileName APNName UserName IPv6PrefixDele  
\*1 0 0.0.0.0 0.0.0.0 0.0.0.0 0  
cmhk disabled

Please enter a profile id (1-42) (up to 4 Characters), or press to exit:

root@NVTEVM:/mnt/app$ ifconfig -a  
\eth0 Link encap:Ethernet HWaddr DA:D6:87:A1:7C:E1  
inet addr:192.168.37.225 Bcast:192.168.37.255 Mask:255.255.255.0  
inet6 addr: fe80::d8d6:87ff:fea1:7ce1/64 Scope:Link  
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1  
RX packets:762761 errors:0 dropped:28909 overruns:0 frame:0  
TX packets:618 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:77977011 (74.3 MiB) TX bytes:48643 (47.5 KiB)  
Interrupt:27

lo Link encap:Local Loopback  
inet addr:127.0.0.1 Mask:255.0.0.0  
inet6 addr: ::1/128 Scope:Host  
UP LOOPBACK RUNNING MTU:65536 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

qmimux0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
-00  
POINTOPOINT NOARP MULTICAST MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

qmimux1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
-00  
POINTOPOINT NOARP MULTICAST MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

qmimux2 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
-00  
POINTOPOINT NOARP MULTICAST MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

qmimux3 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
-00  
POINTOPOINT NOARP MULTICAST MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

sit0 Link encap:IPv6-in-IPv4  
NOARP MTU:1480 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

teql0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
-00  
NOARP MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:100  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wwan0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
-00  
POINTOPOINT NOARP MULTICAST MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@NVTEVM:/mnt/app$

root@NVTEVM:/mnt/app$ root@NVTEVM:/mnt/app$ qmicli --verbose --device=/dev/cdc-wdm0 --dms-get-ids  
[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Opening device with flags ‘auto’  
…  
[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] created endpoint  
[01 Jan 1970, 04:45:47] [Debug] QMI Device at ‘/dev/cdc-wdm0’ ready  
[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Assuming service ‘dms’ is suppor  
ted…  
[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Allocating new client ID…  
[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Sent message…  
\<\<\<\<\<\< RAW:  
\<\<\<\<\<\< length = 16  
\<\<\<\<\<\< data = 01:0F:00:00:00:00:00:01:22:00:04:00:01:01:00:02

[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Sent generic request (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 = 02  
\<\<\<\<\<\< translated = dms

[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] 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:02:02

[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Received generic response (trans  
lated)…  
\<\<\<\<\<\< 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 = 02:02  
\<\<\<\<\<\< translated = [service = ‘dms’ cid = ‘2’]

[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Registered ‘dms’ (version unknow  
n) client with ID ‘2’  
[01 Jan 1970, 04:45:47] [Debug] Asynchronously getting IDs…  
[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Sent message…  
\<\<\<\<\<\< RAW:  
\<\<\<\<\<\< length = 13  
\<\<\<\<\<\< data = 01:0C:00:00:02:02:00:01:00:25:00:00:00

[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Sent generic request (translated  
)…  
\<\<\<\<\<\< QMUX:  
\<\<\<\<\<\< length = 12  
\<\<\<\<\<\< flags = 0x00  
\<\<\<\<\<\< service = “dms”  
\<\<\<\<\<\< client = 2  
\<\<\<\<\<\< QMI:  
\<\<\<\<\<\< flags = “none”  
\<\<\<\<\<\< transaction = 1  
\<\<\<\<\<\< tlv\_length = 0  
\<\<\<\<\<\< message = “Get IDs” (0x0025)

[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Received message…  
\<\<\<\<\<\< RAW:  
\<\<\<\<\<\< length = 47  
\<\<\<\<\<\< data = 01:2E:00:80:02:02:02:01:00:25:00:22:00:02:04:00:00:00:00:00:10  
:01:00:30:11:0F:00:33:35:30:38:36:37:31:31:30:31:30:36:36:39:35:13:02:00:31:37

[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Received generic response (trans  
lated)…  
\<\<\<\<\<\< QMUX:  
\<\<\<\<\<\< length = 46  
\<\<\<\<\<\< flags = 0x80  
\<\<\<\<\<\< service = “dms”  
\<\<\<\<\<\< client = 2  
\<\<\<\<\<\< QMI:  
\<\<\<\<\<\< flags = “response”  
\<\<\<\<\<\< transaction = 1  
\<\<\<\<\<\< tlv\_length = 34  
\<\<\<\<\<\< message = “Get IDs” (0x0025)  
\<\<\<\<\<\< TLV:  
\<\<\<\<\<\< type = “Result” (0x02)  
\<\<\<\<\<\< length = 4  
\<\<\<\<\<\< value = 00:00:00:00  
\<\<\<\<\<\< translated = SUCCESS  
\<\<\<\<\<\< TLV:  
\<\<\<\<\<\< type = “Esn” (0x10)  
\<\<\<\<\<\< length = 1  
\<\<\<\<\<\< value = 30  
\<\<\<\<\<\< translated = 0  
\<\<\<\<\<\< TLV:  
\<\<\<\<\<\< type = “Imei” (0x11)  
\<\<\<\<\<\< length = 15  
\<\<\<\<\<\< value = 33:35:30:38:36:37:31:31:30:31:30:36:36:39:35  
\<\<\<\<\<\< translated = 350867110106695  
\<\<\<\<\<\< TLV:  
\<\<\<\<\<\< type = “Imei Software Version” (0x13)  
\<\<\<\<\<\< length = 2  
\<\<\<\<\<\< value = 31:37  
\<\<\<\<\<\< translated = 17

[/dev/cdc-wdm0] Device IDs retrieved:  
ESN: ‘0’  
IMEI: ‘350867110106695’  
MEID: ‘unknown’  
IMEI SV: ‘17’  
[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Releasing ‘dms’ client with flag  
s ‘release-cid’…  
[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Unregistered ‘dms’ client with I  
D ‘2’  
[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Sent message…  
\<\<\<\<\<\< RAW:  
\<\<\<\<\<\< length = 17  
\<\<\<\<\<\< data = 01:10:00:00:00:00:00:02:23:00:05:00:01:02:00:02:02

[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Sent generic request (translated  
)…  
\<\<\<\<\<\< QMUX:  
\<\<\<\<\<\< length = 16  
\<\<\<\<\<\< flags = 0x00  
\<\<\<\<\<\< service = “ctl”  
\<\<\<\<\<\< client = 0  
\<\<\<\<\<\< QMI:  
\<\<\<\<\<\< flags = “none”  
\<\<\<\<\<\< transaction = 2  
\<\<\<\<\<\< tlv\_length = 5  
\<\<\<\<\<\< message = “Release CID” (0x0023)  
\<\<\<\<\<\< TLV:  
\<\<\<\<\<\< type = “Release Info” (0x01)  
\<\<\<\<\<\< length = 2  
\<\<\<\<\<\< value = 02:02  
\<\<\<\<\<\< translated = [service = ‘dms’ cid = ‘2’]

[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Received message…  
\<\<\<\<\<\< RAW:  
\<\<\<\<\<\< length = 24  
\<\<\<\<\<\< data = 01:17:00:80:00:00:01:02:23:00:0C:00:02:04:00:00:00:00:00:01:02  
:00:02:02

[01 Jan 1970, 04:45:47] [Debug] [/dev/cdc-wdm0] Received generic response (trans  
lated)…  
\<\<\<\<\<\< QMUX:  
\<\<\<\<\<\< length = 23  
\<\<\<\<\<\< flags = 0x80  
\<\<\<\<\<\< service = “ctl”  
\<\<\<\<\<\< client = 0  
\<\<\<\<\<\< QMI:  
\<\<\<\<\<\< flags = “response”  
\<\<\<\<\<\< transaction = 2  
\<\<\<\<\<\< tlv\_length = 12  
\<\<\<\<\<\< message = “Release CID” (0x0023)  
\<\<\<\<\<\< TLV:  
\<\<\<\<\<\< type = “Result” (0x02)  
\<\<\<\<\<\< length = 4  
\<\<\<\<\<\< value = 00:00:00:00  
\<\<\<\<\<\< translated = SUCCESS  
\<\<\<\<\<\< TLV:  
\<\<\<\<\<\< type = “Release Info” (0x01)  
\<\<\<\<\<\< length = 2  
\<\<\<\<\<\< value = 02:02  
\<\<\<\<\<\< translated = [service = ‘dms’ cid = ‘2’]

[01 Jan 1970, 04:45:47] [Debug] Client released  
[01 Jan 1970, 04:45:47] [Debug] Closed  
root@NVTEVM:/mnt/app$

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [November 4, 2024, 1:35am UTC](https://forum.sierrawireless.com/t/rc7630-couldnt-get-ip-address-under-ubunut-linux-rc7630/33896/11 "2024-11-04T01:35:50Z")

</div>

for the log in connection manager, it is not complete, so not sure where the problem is.  
Please note that you cannot quit the connection manager application after establishing data connection, otherwise the data channel will be dropped.

On the other hand, I don’t see there is any log by using AT!SCACT and qmi-network.
