# Cm data connect failed

**URL:** <https://forum.legato.io/t/cm-data-connect-failed/6755>\
**Category:** Legato Linux distribution (Yocto project)\
**Created:** [June 27, 2024, 7:27am UTC](https://forum.legato.io/t/cm-data-connect-failed/6755 "2024-06-27T07:27:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tanaporn\_y](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@tanaporn\_y](https://forum.legato.io/u/tanaporn_y)\
**Post date:** [June 27, 2024, 7:27am UTC](https://forum.legato.io/t/cm-data-connect-failed/6755/1 "2024-06-27T07:27:55Z")

</div>

How can I connect data??

```auto
root@swi-mdm9x28-wp:~# cm data connect
Setting up profile 1
Connecting ... failed
Thu Jun 27 16:26:56 +09 2024 - Connection Failure: LE_FAULT

```

what I have setting:

```auto
root@swi-mdm9x28-wp:~# cm radio on
root@swi-mdm9x28-wp:~# cm radio
Power: ON
Current Network Operator: J...
Current RAT: Module not registered on network, RAT not available
Status: Not registered but currently searching for a new operator (LE_MRC_REG_SEARCHING)
Signal: Strong signal strength (4)
PS: Packet Switched Not registered (LE_MRC_REG_NONE)

root@swi-mdm9x28-wp:~# cm data
Index: 1
APN: spmode.....
PDP Type: IPV4V6
Connected: no
Auth type: CHAP
User name:                     
Password:                      
root@swi-mdm9x28-wp:~# cm data apn spmode....
root@swi-mdm9x28-wp:~# cm data auth chap

```

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [June 27, 2024, 8:00am UTC](https://forum.legato.io/t/cm-data-connect-failed/6755/2 "2024-06-27T08:00:38Z")

</div>

“cm radio” shows module is not registered to network

---

<div class="post-metadata">

**Author:** ![tanaporn\_y](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@tanaporn\_y](https://forum.legato.io/u/tanaporn_y)\
**Post date:** [June 27, 2024, 8:08am UTC](https://forum.legato.io/t/cm-data-connect-failed/6755/3 "2024-06-27T08:08:35Z")

</div>

you mean this simcard is cannot use lte right??

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [June 27, 2024, 8:22am UTC](https://forum.legato.io/t/cm-data-connect-failed/6755/4 "2024-06-27T08:22:43Z")

</div>

i don’t know, have you tried with a mobile phone?

BTW, what is the return of the followings?

```auto

ati3
at+cfun?
at!impref?
at!selrat?
AT!band?
AT+cgdcont?
at+cpin?
AT!uims?

```

---

<div class="post-metadata">

**Author:** ![tanaporn\_y](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@tanaporn\_y](https://forum.legato.io/u/tanaporn_y)\
**Post date:** [June 27, 2024, 8:36am UTC](https://forum.legato.io/t/cm-data-connect-failed/6755/5 "2024-06-27T08:36:12Z")

</div>

```auto
ati3

Manufacturer: Sierra Wireless, Incorporated
Model: WP7605
Revision: SWI9X07Y_02.28.03.05 000000 jenkins 2019/07/08 11:04:16
IMEI: 353532100636401
IMEI SV: 6
FSN: 2A142230780210
+GCAP: +CGSM

OK
at+cfun?

+CFUN: 1

OK
at!impref?

!IMPREF: 
 preferred fw version: 02.28.03.05
 preferred carrier name: GENERIC
 preferred config name: GENERIC_002.073_001
 preferred subpri index: 000
 current fw version: 02.28.03.05
 current carrier name: GENERIC
 current config name: GENERIC_002.073_001
 current subpri index: 000

OK
at!selrat?

!SELRAT: 00, Automatic

OK
at!band?

Index, Name
00, All bands

OK
at!cgdcont?

ERROR
at+cgdcont?

+CGDCONT: 1,"IPV6","spmode.co.jp","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0

OK
at!uims?

!UIMS: 0

OK

```

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [June 27, 2024, 8:38am UTC](https://forum.legato.io/t/cm-data-connect-failed/6755/6 "2024-06-27T08:38:53Z")

</div>

what is the return of AT+CPIN?  
Is it normal to use IPV6 in AT+CGDCONT?  
Is the APN “spmode.co.jp” correct?

---

<div class="post-metadata">

**Author:** ![tanaporn\_y](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@tanaporn\_y](https://forum.legato.io/u/tanaporn_y)\
**Post date:** [June 27, 2024, 8:48am UTC](https://forum.legato.io/t/cm-data-connect-failed/6755/7 "2024-06-27T08:48:53Z")

</div>

I got it.  
I put wrong APN.

Thank you for your help
