FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
577 views 6 comments
by anonymous

Hello,

i have a RUT955 set up that is primarily connected to the internet via wired WAN which in my case is a Satellite internet modem. This primary connection has failed supposedly due to hardware error.

Backup are two SIM cards for WWAN, one with a consumer data tariff, which has expired and a second one with a IoT sim with fixed IP.

I managed to swith SIM to the IoT SIM as connection of last resort, but still the device won't connect to rms. Only functional way of communication are the sms commands.

Upon the SMS status request I get a reply station that WAN IP is in fact the fixred IP if my IoT SIM, and that the data connection is OK with signal strength of -83.

But neither can i reach the WebUI via this IP nor do i get anything back when pinging the IP. 

Since successful SIM switch RMS tells me "Device has attempted to connect to the system.". I get some temperature an traffic data from the device but no connection to the RMS.

So whta have i done so far:
  1.  I made sure no data limits are active (https://community.teltonika-networks.com/7612/disable-option-enable-mobile-data-limit-via-sms)
  2. I forced APN selection according to Provider:
    admin01 cellular apn=TM (->ThingsMobile)

    in addition I followed (https://community.teltonika-networks.com/21413/how-switch-using-sms-uci-commands-auto-apn-custom-apn-rut240?show=21413#q21413) to prevent a fallback to auto APN.
But still I had no success.
by anonymous

Here are the most recent readouts (of course my pwd is not admin01 in csase someone is concerned):

admin01 status

Router name - RUT955;
WAN IP - 103.30.###.###;
Data Connection state - Connected;
Connection type - LTE;
Signal Strength - -79;
New FW available - No;

admin01 uci show data_limit

data_limit.limit.debug_mode=0
data_limit.limit.total_data=0
data_limit.limit.prim_enb_conn=0
data_limit.limit.prim_conn_limit=15000
data_limit.limit.prim_conn_period=month
data_limit.limit.prim_conn_day=1
data_limit.limit.sec_enb_conn=0
data_limit.limit.sec_conn_period=month
data_limit.limit.sec_conn_day=1

admin01 uci show simcard

simcard.bands.auto_sim1=enable
simcard.bands.auto_sim2=enable
simcard.cfg02aa0e.position=1
simcard.cfg02aa0e.pincode=####
simcard.cfg02aa0e.modem=1-1.4
simcard.cfg02aa0e.band=auto
simcard.cfg02aa0e.service=3g_lte
simcard.cfg02aa0e.auto_apn=1
simcard.cfg02aa0e.enable_sms_limit=0
simcard.cfg02aa0e.primary=1
simcard.cfg02aa0e.force_apn=19
simcard.cfg03aa0e.position=2
simcard.cfg03aa0e.modem=1-1.4
simcard.cfg03aa0e.band=auto
simcard.cfg03aa0e.service=auto
simcard.cfg03aa0e.enable_sms_limit=0
simcard.cfg03aa0e.pincode=####
simcard.cfg03aa0e.primary=0
simcard.cfg03aa0e.auto_apn=0
simcard.cfg03aa0e.force_apn=1
simcard.cfg03aa0e.apn=TM

admin01 uci show reregister

reregister.reregister.enabled=0
reregister.reregister.force_reregister=0
reregister.reregister.interval=300

admin01 uci show network

network.wan.ifname=eth1
network.wan.proto=dhcp
network.wan.metric=1
network.wan.enabled=0
network.wan.disabled=1
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan.type=bridge
network.lan.proto=static
network.lan.netmask=255.255.255.0
network.lan.ipaddr=192.168.20.1
network.lan.broadcast=192.168.20.198
network.lan.ifname=eth0.1 tap0
network.lan.ip6addr=::2001:db80:0000:2
network.lan.dns=9.9.9.9
network.lan.dns=149.112.112.112
network.lan.metric=2
network.cfg043777.name=switch0
network.cfg043777.reset=1
network.cfg043777.enable_vlan=1
network.cfg051ec7.device=switch0
network.cfg051ec7.ports=0t 2 3 4
network.cfg051ec7.vid=1
network.cfg051ec7.vlan=1
network.mob1s1a1.pincode=####
network.mob1s1a1.method=nat
network.mob1s1a1.proto=wwan
network.mob1s1a1.sim=1
network.mob1s1a1.pdp=1
network.mob1s1a1.modem=1-1.4
network.mob1s1a1.pdptype=ipv4v6
network.mob1s1a1.mtu=1500
network.mob1s1a1.auth=none
network.mob1s1a1.metric=3
network.mob1s1a1.apn=internet
network.mob1s1a1.disabled=1
network.mob1s1a1.enabled=0
network.lan_repeater.proto=relay
network.lan_repeater.ipaddr=192.168.1.100
network.lan_repeater.lan_mark=lannetwork.lan_repeater.enabled=0
network.mob1s2a1.proto=wwa
Send 'more' to see the rest.
Authorization may be required

n
network.mob1s2a1.sim=2
network.mob1s2a1.pdp=1
network.mob1s2a1.modem=1-1.4
network.mob1s2a1.method=nat
network.mob1s2a1.pdptype=ip
network.mob1s2a1.metric=4
network.mob1s2a1.auth=none
network.mob1s2a1.enabled=1
network..disabled=0

----> Why ist there no further information shown about mob1s2a1? There are much more settings for mob1s1a1.

admin01 uci show rms_connect

BAD CONFIG!

by anonymous

According to this wiki article time parameters might alos be relevant for RMS:

admin01 uci show ntpclient

ntpclient.cfg01954e.hostname=0.europe.pool.ntp.org
ntpclient.cfg02954e.hostname=1.europe.pool.ntp.org
ntpclient.cfg03954e.hostname=2.europe.pool.ntp.org
ntpclient.cfg04954e.hostname=3.europe.pool.ntp.org
ntpclient.cfg05f270.freq=0
ntpclient.cfg068036.interval=3660
ntpclient.cfg068036.enabled=1
ntpclient.cfg068036.zoneName=Europe/Athens

admin01 uci show firewall

firewall.cfg01e63d.syn_flood=1
firewall.cfg01e63d.input=ACCEPT
firewall.cfg01e63d.output=ACCEPT
firewall.cfg01e63d.forward=REJECT
firewall.cfg02dc81.name=lan
firewall.cfg02dc81.input=ACCEPT
firewall.cfg02dc81.output=ACCEPT
firewall.cfg02dc81.forward=ACCEPT
firewall.cfg02dc81.network=lan
firewall.cfg03dc81.name=wan
firewall.cfg03dc81.input=REJECT
firewall.cfg03dc81.output=ACCEPT
firewall.cfg03dc81.forward=REJECT
firewall.cfg03dc81.mtu_fix=1
firewall.cfg03dc81.masq=1
firewall.cfg03dc81.helper=pptp
firewall.cfg03dc81.network=mob1s1a1 mob1s2a1 wan wan6
firewall.vpn_zone.name=vpn
firewall.vpn_zone.input=ACCEPT
firewall.vpn_zone.output=ACCEPT
firewall.vpn_zone.forward=REJECT
firewall.vpn_zone.masq=1
firewall.vpn_zone.network=vpn
firewall.vpn_zone.device=tun_+
firewall.l2tp_zone.name=l2tp
firewall.l2tp_zone.input=ACCEPT
firewall.l2tp_zone.output=ACCEPT
firewall.l2tp_zone.forward=REJECT
firewall.l2tp_zone.masq=1
firewall.l2tp_zone.network=l2tp
firewall.l2tp_zone.device=l2tp+ xl2tp+
firewall.pptp_zone.name=pptp
firewall.pptp_zone.input=ACCEPT
firewall.pptp_zone.output=ACCEPT
firewall.pptp_zone.forward=REJECT
firewall.pptp_zone.masq=1
firewall.pptp_zone.network=pptp
firewall.pptp_zone.device=pptp+
firewall.gre_zone.name=gre
firewall.gre_zone.input=ACCEPT

Send 'more' to see the rest.Authorization may be required

(no anwer to "admin01 more")

admin01 uci show system

system.system.conloglevel=8
system.system.log_type=circular
system.system.log_buffer_size=128
system.system.device_code=RUT955T03XXX
system.system.routername=RUT955
system.system.hostname=Teltonika-RUT955.com
system.system.timezone=EET-2EEST,M3.5.0/3,M10.5.0/4
system.system.device_fw_version=RUT9_R_00.07.00
system.modem.disable=0
system.ntp.enabled=0
system.ntp.enable_server=0
system.ntp.server=0.pool.ntp.org
system.ntp.server=1.pool.ntp.org
system.ntp.server=2.pool.ntp.org
system.ntp.server=3.pool.ntp.org
system.debug.sms_utils_debug_level=4
system.led_lan1.name=LAN1
system.led_lan1.sysfs=eth1_led
system.led_lan1.trigger=switch0
system.led_lan1.port_mask=0x10
system.led_lan2.name=LAN2
system.led_lan2.sysfs=eth2_led
system.led_lan2.trigger=switch0
system.led_lan2.port_mask=0x08
system.led_lan3.name=LAN3
system.led_lan3.sysfs=eth3_led
system.led_lan3.trigger=switch0
system.led_lan3.port_mask=0x04
system.led_wan.name=WAN
system.led_wan.sysfs=wan_led
system.led_wan.trigger=netdev
system.led_wan.mode=link tx rx
system.led_wan.dev=eth1

1 Answer

+1 vote
by anonymous

Hello,

Thanks for contacting TELTONIKA | Crowd-support forum.

Kindly be informed that both SIM cards cannot be active at the same time.

More information can be found here:

It is recommended that you upgrade the router's Firmware whenever there is a new version.

Target FW version: RUT9_R_00.07.01.4

More information can be found here:

https://wiki.teltonika-networks.com/view/RUT955_Firmware_Downloads

https://wiki.teltonika-networks.com/view/RUT955_Firmware#Update_Settings

Please proceed with the upgrade without keep setting.

In order to reach out your device via RMS, please follow the instructions below:

1 Configure the main settings required to connect the router to RMS (Remote Management System) In accordance with the link below.

https://wiki.teltonika-networks.com/view/RUT955_Cloud_Solutions#RMS

2 Test your internet connectivity by launching a ping 8.8.8.8

https://wiki.teltonika-networks.com/view/RUT955_Administration#Diagnostics

3 Available credits in your RMS Account.

Please check your credit balance and device service status at 'services' > 'management'

More information can be found here:

https://wiki.teltonika-networks.com/view/Services_Management

Best regards,

Best answer
by anonymous
Well the router is in a remote location 2000km away, so i need to fix this issue just via sms commands in a way that i can at least re-access the device via rms for further troubleshooting.
by anonymous

Hello again,

It possible to switch from using one SIM card to another by sendig the following SMS to active SIM card number in the router: admin01 switch_sim

In order to check which the SIM card is active currently in the router, send the following message: admin01 uci show simcard

You will get a message similar to the message below:

simcard.cfg01aa0e.modem=1-1.4
simcard.cfg01aa0e.position=1
simcard.cfg01aa0e.enable_sms_limit=0
simcard.cfg01aa0e.service=auto
simcard.cfg01aa0e.band=auto
simcard.cfg01aa0e.auto_apn=0
simcard.cfg01aa0e.force_apn=-1
simcard.cfg01aa0e.primary=1
simcard.cfg02aa0e.modem=1-1.4
simcard.cfg02aa0e.position=2
simcard.cfg02aa0e.auto_apn=1
simcard.cfg02aa0e.primary=0

The SIM card with the field primary=1 is the active SIM card in the router.

In order to set up manually the APN send the following message to the SIM card active:

admin01 cellular apn=internet.ornage.ma

Please replace internet.ornage.ma in accordance with your situation.

Additionally, you can try to reboot your device using the following command: admin01 reboot

 On the other hand, in order to reach your device remotely from WAN, you have to enable remote HTTP access.

Here’s the sms to send: admin01 uci set uhttpd.main._httpWanAccess=1

After that you will receive an sms like that Created new option uhttpd.main._httpWanAccess=1

You can also check the uhttpd configuration by sending the following sms:

admin01 uci show uhttpd.main

Please note that enabling remote HTTP access makes your device reachable from WAN, this might pose a security risk, especially if you are using a weak or default user password!

Best regards

by anonymous
Suprisingly for me manually switching the primary SIM via uci command helped. I imagined that the sim-switch command I always executed manually upon reboot of the device would do exactly the same. However i did not manage to access the UI via the fixed IP directly but at least i can now access the WebUI via RMS and start troubleshooting the failed wired WAN.
by anonymous
Hello,

Enter in your router's WebUI, go to System > Administration > Access Control and the enable remote HTTP(S) access.

More information can be found here:

https://wiki.teltonika-networks.com/view/RUT955_Administration#Access_Control