# TELIT LE910C4 does not keep APN settings after reboot

**URL:** <https://community.sixfab.com/t/telit-le910c4-does-not-keep-apn-settings-after-reboot/2932>\
**Category:** 3G/4G&LTE Base HAT\
**Tags:** apn, le910c4\
**Created:** [February 23, 2024, 9:56am UTC](https://community.sixfab.com/t/telit-le910c4-does-not-keep-apn-settings-after-reboot/2932 "2024-02-23T09:56:17Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![10vladut](https://community.sixfab.com/user_avatar/community.sixfab.com/10vladut/32/1645_2.png) [@10vladut](https://community.sixfab.com/u/10vladut)\
**Post date:** [February 23, 2024, 9:56am UTC](https://community.sixfab.com/t/telit-le910c4-does-not-keep-apn-settings-after-reboot/2932/1 "2024-02-23T09:56:17Z")

</div>

HELLO,

I am trying to set the APN in the minicom using AT+CGDCONT=4,“IPV4V6”, “[live.vodafone.com](http://live.vodafone.com)” I use AT#REBOOT and all works fine.  
When I check AT+CGDCONT?  
+CGDCONT: 1, “IPV4V6”,“de1.super”,0,0,0,0  
+CGDCONT: 2, “IPV4V6”,“ims”,0,0,0,0  
+CGDCONT: 3, “IPV4V6”,“sos”,0,0,0,1  
+CGDCONT: 4, “IPV4V6”,“[live.vodafone.com](http://live.vodafone.com)”,0,0,0,0

AT#ECM?  
#ECM: 1,0

After I reboot the raspberry PI all the settings that I did in the minicom are erased and the module goes back to  
+CGDCONT: 1, “IPV4V6”,“de1.super”,0,0,0,0  
+CGDCONT: 2, “IPV4V6”,“ims”,0,0,0,0  
+CGDCONT: 3, “IPV4V6”,“sos”,0,0,0,1  
and  
AT#ECM?  
#ECM: 0,0

Can you help me?  
Thank you in advance

---

<div class="post-metadata">

**Author:** ![ensar](https://community.sixfab.com/user_avatar/community.sixfab.com/ensar/32/8_2.png) [@ensar](https://community.sixfab.com/u/ensar)\
**Post date:** [February 24, 2024, 8:55pm UTC](https://community.sixfab.com/t/telit-le910c4-does-not-keep-apn-settings-after-reboot/2932/2 "2024-02-24T20:55:44Z")

</div>

Hi,

Run the command

> AT+CGDCONT=1,“IPV4V6”,“[live.vodafone.com](http://live.vodafone.com)”

to change the first PDP Context Identifier.

---

<div class="post-metadata">

**Author:** ![10vladut](https://community.sixfab.com/user_avatar/community.sixfab.com/10vladut/32/1645_2.png) [@10vladut](https://community.sixfab.com/u/10vladut)\
**Post date:** [February 25, 2024, 9:37am UTC](https://community.sixfab.com/t/telit-le910c4-does-not-keep-apn-settings-after-reboot/2932/3 "2024-02-25T09:37:33Z")

</div>

I did this and it works, but every time I reboot the raspberry pi it goes back to default:  
+CGDCONT: 1, “IPV4V6”,“de1.super”,0,0,0,0  
+CGDCONT: 2, “IPV4V6”,“ims”,0,0,0,0  
+CGDCONT: 3, “IPV4V6”,“sos”,0,0,0,1  
and all my settings disappear.  
Also I have to run every time AT#ECM=1,0 because it does not start automatically.

How can I do so it will keep my configurations?

---

<div class="post-metadata">

**Author:** ![10vladut](https://community.sixfab.com/user_avatar/community.sixfab.com/10vladut/32/1645_2.png) [@10vladut](https://community.sixfab.com/u/10vladut)\
**Post date:** [February 26, 2024, 7:47am UTC](https://community.sixfab.com/t/telit-le910c4-does-not-keep-apn-settings-after-reboot/2932/4 "2024-02-26T07:47:08Z")

</div>

Hi @ensar,

I tried to make a bash script to send the AT commands to the Telit module at start-up. They all execute with success but after the execution of the script, when it is finished, all settings are back to default.  
+CGDCONT: 1, “IPV4V6”,“de1.super”,0,0,0,0  
+CGDCONT: 2, “IPV4V6”,“ims”,0,0,0,0  
+CGDCONT: 3, “IPV4V6”,“sos”,0,0,0,1

#ECM=0,0

Are there any other methods to make is save my APN and automatically start the ECM on raspberry pi start-up?

---

<div class="post-metadata">

**Author:** ![ensar](https://community.sixfab.com/user_avatar/community.sixfab.com/ensar/32/8_2.png) [@ensar](https://community.sixfab.com/u/ensar)\
**Post date:** [February 26, 2024, 7:58am UTC](https://community.sixfab.com/t/telit-le910c4-does-not-keep-apn-settings-after-reboot/2932/5 "2024-02-26T07:58:21Z")

</div>

Is Sixfab CORE installed on your device? Can you check? CORE services change the APN of your module in the background. To uninstall it, run the following command:

```auto
sudo bash -c "$(curl -sN https://install.connect.sixfab.com)" -- --uninstall

```

---

<div class="post-metadata">

**Author:** ![10vladut](https://community.sixfab.com/user_avatar/community.sixfab.com/10vladut/32/1645_2.png) [@10vladut](https://community.sixfab.com/u/10vladut)\
**Post date:** [February 26, 2024, 8:08am UTC](https://community.sixfab.com/t/telit-le910c4-does-not-keep-apn-settings-after-reboot/2932/6 "2024-02-26T08:08:49Z")

</div>

Yes it is installed, first I tried with the Sixfab sim that I received. I will uninstall it and came back with feedback. Thank you

---

<div class="post-metadata">

**Author:** ![10vladut](https://community.sixfab.com/user_avatar/community.sixfab.com/10vladut/32/1645_2.png) [@10vladut](https://community.sixfab.com/u/10vladut)\
**Post date:** [February 26, 2024, 8:15am UTC](https://community.sixfab.com/t/telit-le910c4-does-not-keep-apn-settings-after-reboot/2932/7 "2024-02-26T08:15:06Z")

</div>

I guess something is wrong with the command

 ![image](https://community.sixfab.com/uploads/default/original/2X/b/b05630bb6220d4b816a1ffe4c3d0f4d9d20efcb1.png)

---

<div class="post-metadata">

**Author:** ![10vladut](https://community.sixfab.com/user_avatar/community.sixfab.com/10vladut/32/1645_2.png) [@10vladut](https://community.sixfab.com/u/10vladut)\
**Post date:** [February 26, 2024, 8:20am UTC](https://community.sixfab.com/t/telit-le910c4-does-not-keep-apn-settings-after-reboot/2932/8 "2024-02-26T08:20:45Z")

</div>

![image](https://community.sixfab.com/uploads/default/original/2X/1/1eac4db2b3d3e1ede4959070d588ac8bd4cfa77f.png)

I did it, found in the documentation it was - - not - after the parantheses

---

<div class="post-metadata">

**Author:** ![10vladut](https://community.sixfab.com/user_avatar/community.sixfab.com/10vladut/32/1645_2.png) [@10vladut](https://community.sixfab.com/u/10vladut)\
**Post date:** [February 26, 2024, 10:50am UTC](https://community.sixfab.com/t/telit-le910c4-does-not-keep-apn-settings-after-reboot/2932/9 "2024-02-26T10:50:46Z")

</div>

Hi @ensar,

I have one more question. How can I automate the ECM at raspberry startup?  
I tried to do a bash script and create a service but i get this error:  
Feb 26 10:47:57 raspberrypi start.sh[16308]: /home/alst/TelitStartup/start.sh: line 5: atcom: command not found  
Although if I run the script manually ./start.sh it works:

alst@raspberrypi:~/TelitStartup $ ./start.sh  
AT#ECM?  
#ECM: 0,1

OK

AT#ECM=1,0  
OK

All commands executed successfully.

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![10vladut](https://community.sixfab.com/user_avatar/community.sixfab.com/10vladut/32/1645_2.png) [@10vladut](https://community.sixfab.com/u/10vladut)\
**Post date:** [February 28, 2024, 10:33am UTC](https://community.sixfab.com/t/telit-le910c4-does-not-keep-apn-settings-after-reboot/2932/10 "2024-02-28T10:33:29Z")

</div>

Hi,  
Can you please help me start the ECM at raspberry pi start-up?  
I still cannot find a way to do that.

Thank you in advance

---

<div class="post-metadata">

**Author:** ![ensar](https://community.sixfab.com/user_avatar/community.sixfab.com/ensar/32/8_2.png) [@ensar](https://community.sixfab.com/u/ensar)\
**Post date:** [February 28, 2024, 10:47am UTC](https://community.sixfab.com/t/telit-le910c4-does-not-keep-apn-settings-after-reboot/2932/11 "2024-02-28T10:47:21Z")

</div>

To avoid such problems during device startup, I recommend using Sixfab CORE, which contains all the components you need. Unfortunately, I don’t have anything else to recommend other than that.

> **[Getting Started](https://docs.sixfab.com/docs/sixfab-core-getting-started)**
>
> This section will lead you step by step to create a cellular connection with the Sixfab CORE
