10432 questions

12436 answers

19336 comments

21800 members

0 votes
1,230 views 5 comments
by

Good morning everyone,

I'd like to switch SIM cards manually by "/usr/sbin/sim_switch change sim1" or "/usr/sbin/sim_switch change sim2".

After bootup SIM1 is active and running.

By using "/usr/sbin/sim_switch change sim2" I change SIM cards and SIM2 is active 

although a bunch of error messages is displayed in the SSH session:

root@Teltonika-RUT955:~# /usr/sbin/sim_switch change sim2

Interface ppp not found

stopping mdcollectd...

Succsesfully stopped.

Interface ppp not found

iptables: Bad rule (does a matching rule exist in that chain?).

iptables: Bad rule (does a matching rule exist in that chain?).

iptables v1.4.21: goto 'filter_quota_1' is not a chain

Try `iptables -h' or 'iptables --help' for more information.

iptables v1.4.21: goto 'filter_quota_1' is not a chain

Try `iptables -h' or 'iptables --help' for more information.

iptables v1.4.21: goto 'filter_quota_1' is not a chain

Try `iptables -h' or 'iptables --help' for more information.

iptables v1.4.21: goto 'filter_quota_1' is not a chain

Try `iptables -h' or 'iptables --help' for more information.

iptables: No chain/target/match by that name.

Interface ppp not found

start service

/bin/sh: /etc/init.d/gre-tunnel: not found

kill: can't kill pid 23824: No such process

rm: can't remove '/var/run/operctl.pid': No such file or directory

Changed.

root@Teltonika-RUT955:~#

By using "/usr/sbin/sim_switch change sim1" I switch back to SIM1 and there's the errors again:

root@Teltonika-RUT955:~# /usr/sbin/sim_switch change sim1

Interface ppp not found

stopping mdcollectd...

Succsesfully stopped.

Interface ppp not found

iptables: Bad rule (does a matching rule exist in that chain?).

iptables: Bad rule (does a matching rule exist in that chain?).

iptables v1.4.21: goto 'filter_quota_1' is not a chain

Try `iptables -h' or 'iptables --help' for more information.

iptables v1.4.21: goto 'filter_quota_1' is not a chain

Try `iptables -h' or 'iptables --help' for more information.

iptables v1.4.21: goto 'filter_quota_1' is not a chain

Try `iptables -h' or 'iptables --help' for more information.

iptables v1.4.21: goto 'filter_quota_1' is not a chain

Try `iptables -h' or 'iptables --help' for more information.

iptables: No chain/target/match by that name.

Interface ppp not found

start service

/bin/sh: /etc/init.d/gre-tunnel: not found

rm: can't remove '/var/run/operctl.pid': No such file or directory

Changed.

root@Teltonika-RUT955:~#

BUT SIM1 is not active any more and the PIN is required.

The PIN is entered in the GUI (otherwise it wouldn't register after boot) and re-write the PIN and saving the config doesn't work. Even waiting a couple of minutes for the SIM to re-register with the provider is not helpful.

Only after a reboot SIM1 can register with the provider again...

Please advise what to do. Firmware is RUT9XX_R_00.06.05.3 

Best regards,

Joerg

by
Exactly the same problem. Following...
by
I have the same issue on FW ver.: RUT9XX_R_00.06.06.1

The answer below does not seem to work as I get a "Permission denied" error message.

1 Answer

0 votes
by
Hello, thanks for detailed description, we are analyzing this further and I will come back to you with more information.
by
Thanks a lot for your answer.

If I may assist with further data please feel free to ask. I'm happy to assist you.

Best regards,

Joerg
by

For SIM switch to work using SSH, you have to modify:

/etc/config/simcard option default 'sim2' (Specify SIM slot you want to use)

And lastly, execute command:

/usr/sbin/sim_switch restart

by
The suggested solution above does not seem to work for us. A "Permission denied" error pops up.

(FW ver.: RUT9XX_R_00.06.06.1)

I may or may not have worked to remove the PIN in the SIM-card config, then Save, and then re-input it and Save again.