TELIT LE910C4 does not keep APN settings after reboot

HELLO,

I am trying to set the APN in the minicom using AT+CGDCONT=4,“IPV4V6”, “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”,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

Hi,

Run the command

AT+CGDCONT=1,“IPV4V6”,“live.vodafone.com

to change the first PDP Context Identifier.

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?

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?

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:

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

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

1 Like

I guess something is wrong with the command

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

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!

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

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.