5274 questions

6429 answers

10368 comments

6439 members

0 votes
141 views 6 comments
by
We see strange connection problems using the latest FW for RUT955. It seems like APN settings are broken?

$ ssh root@10.10.0.83

root@10.10.0.83's password:

BusyBox v1.30.1 () built-in shell (ash)

   ____        _    ___  ____

  |  _ \ _   _| |_ / _ \/ ___|

  | |_) | | | | __| | | \___ \

  |  _ <| |_| | |_| |_| |___) |

  |_| \_\\__,_|\__|\___/|____/

 ---------------------------------

   Teltonika RUT9 series 2020

 ---------------------------------

root@Teltonika-RUT955:~# uci show|grep apn

network.ppp.apn='www.internet.mtelia.dk'

simcard.sim1.pref_apn='w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒▒w▒▒'

simcard.sim1.auto_apn='0'

simcard.sim1.force_apn='-1'

simcard.sim1.apn='internet.telia.iot'

simcard.sim2.auto_apn='1'

root@Teltonika-RUT955:~# uname -a

Linux Teltonika-RUT955.com 3.18.44 #1 Thu Nov 19 13:22:27 UTC 2020 mips GNU/Linux

root@Teltonika-RUT955:~#

Compared to older firmware with working internet connection:

$ ssh root@10.10.0.78

root@10.10.0.78's password:

BusyBox v1.30.1 () built-in shell (ash)

   ____        _    ___  ____

  |  _ \ _   _| |_ / _ \/ ___|

  | |_) | | | | __| | | \___ \

  |  _ <| |_| | |_| |_| |___) |

  |_| \_\\__,_|\__|\___/|____/

 ---------------------------------

   Teltonika RUT9 series 2020

 ---------------------------------

root@emil7_1107177909:~# uci show|grep apn

network.ppp.apn='internet.telia.iot'

simcard.sim1.auto_apn='0'

simcard.sim1.force_apn='-1'

simcard.sim1.apn='internet.telia.iot'

simcard.sim2.auto_apn='1'

root@emil7_1107177909:~# uname -a

Linux emil7_1107177909 3.18.44 #1 Wed Sep 30 10:11:52 UTC 2020 mips GNU/Linux

root@emil7_1107177909:~#

1 Answer

0 votes
by

Hello,

I've tried to reproduce your issue, but I couldn't. Once I've changed the APN in WebUI - uci still shows both of them as the same one.

By saying "latest firmware" could you confirm it's 6.7.3?

EB.

by

You can see the uname output. We have ~100 rut955 routers in our fleet with different FW and we started seeing this problem around a month ago. 

You can clearly see the garbage output from the uci command and it is also clear that those routers have different APN settings. 

Here some more output from different routers using the same fw:

$ ssh root@10.10.0.52

root@10.10.0.52's password:

BusyBox v1.30.1 () built-in shell (ash)

   ____        _    ___  ____

  |  _ \ _   _| |_ / _ \/ ___|

  | |_) | | | | __| | | \___ \

  |  _ <| |_| | |_| |_| |___) |

  |_| \_\\__,_|\__|\___/|____/

 ---------------------------------

   Teltonika RUT9 series 2020

 ---------------------------------

root@emil11_1107180326:~# uci show|grep apn

network.ppp.apn='www.internet.mtelia.dk'

simcard.sim1.pref_apn='wBшwBшwBѐwBѐwBјwBјwBѠwBѠwBѨwBѨwBѰwBѰwBѸwBѸwB▒▒wB▒▒wB▒▒wB▒▒wB▒▒wB▒▒wB▒▒wB▒▒wB▒▒wB▒▒wB▒▒wB▒▒wB▒▒wB▒▒wB▒▒wB▒▒wB▒'

simcard.sim1.auto_apn='0'

simcard.sim1.force_apn='-1'

simcard.sim1.apn='internet.telia.iot'

simcard.sim2.auto_apn='1'

root@emil11_1107180326:~# uname -a

Linux emil11_1107180326 3.18.44 #1 Wed Sep 30 10:11:52 UTC 2020 mips GNU/Linux

root@emil11_1107180326:~# gsmctl -A "AT+CGDCONT?"

+CGDCONT: 1,"IP","www.internet.mtelia.dk","0.0.0.0",0,0,0,0

root@emil11_1107180326:~# uname -a

Linux emil11_1107180326 3.18.44 #1 Wed Sep 30 10:11:52 UTC 2020 mips GNU/Linux

root@emil11_1107180326:~#

$ ssh root@10.10.0.56
root@10.10.0.56's password:
One working with the same FW:
BusyBox v1.30.1 () built-in shell (ash)
   ____        _    ___  ____
  |  _ \ _   _| |_ / _ \/ ___|
  | |_) | | | | __| | | \___ \
  |  _ <| |_| | |_| |_| |___) |
  |_| \_\\__,_|\__|\___/|____/
 ---------------------------------
   Teltonika RUT9 series 2020
 ---------------------------------
root@emil9_1107172410:~# gsmctl -A "AT+CGDCONT?"
+CGDCONT: 1,"IP","internet.telia.iot","0.0.0.0",0,0,0,0
root@emil9_1107172410:~# uname -a
Linux emil9_1107172410 3.18.44 #1 Wed Sep 30 10:11:52 UTC 2020 mips GNU/Linux
root@emil9_1107172410:~#
by
I've found out that uci strings do not fully delete after firmware upgrade, even if they're not used anymore. This might of caused some issues when finding right apn. Try resetting your router without keeping its settings and see if you still get the same output from uci show | grep apn.

EB.
by
This randomly affects some units in our 100+ inventory. Factory reset is not possible since we then probably will loose mobile connection because we need a custom apn setting. Is there any cli commands we could issue to make sure firmware upgrade will suceed without leaving the units offline? We have tried setting apn using uci and clearing the garbage data?
by
Can't really tell as I'm not able to reproduce your issue. After firmware upgrade it's necessary to reboot, so the device could load a new firmware.

EB.
by

Steps to reproduce:

  1. Unbox brand new RUT955, fw 06.1
  2. Connect to RMS on WAN cable
  3. Use RMS to configure custom APN
  4. Restart
  5. Connection OK, config files OK, correct APN used, verified with gsmctl -A "AT+CGDCONT?" 
  6. Upgrade firmware from RMS to 07.3
  7. After reboot APN is set back to auto and unit is therefore lost without connection, gsmctl shows wrong APN (auto)
by
To be sure I'm not missing anything, I used 00.06.02 as my start firmware, fully first-booted, clean, and nothing else done on it.

I set APN to custom and checked if everything is set alright through the same AT command you mentioned - everything as should be.

Then I update it to the latest 00.06.07.3 firmware with keeping the settings. It updates and still I see that Auto APN is disabled, Custom APN is there in the field and the connection still works.

Could you please tell me if you factory reset the router on the latest firmware - does the connection work normally when APN is set like it supposed to?

EB.