WAN interface disabled after SMS commands

When we are forced to failover one of our RUT955 Teltonikas over to mobile, we issue an SMS command to disable the WAN interface. Connectivity switches over to 4G usually without any issues. However, when we re-enable the WAN interface on the UI, the setting shows enabled in the UI but does not in /etc/network/config. So the UI shows the WAN interface as enabled but the config file doesn’t. The Teltonika WAN was truly off while the UI said it was ON. The UI will show that the WAN is “enabled” but also show an error/warning message that the network device is not present (or something to that effect). This is how we knew to look at the config file but it took us some time to figure this out.

We’re assuming that this is happening only when disabling the interface via SMS commands. Requesting a fix for this to show the correct status of the interface on the UI.

Hello,

I have been trying to replicate this issue on my RUT955 with firmware version RUT9_R_00.07.06.12 without any success.

Would you mind telling which firmware are you using on your RUT955?

As for the resolving of the issue, I would recommend upgrading to the newest firmware which in this case would be RUT9_R_00.07.06.12 and see if it resolves the issue.

As for the command execution to disable your WAN interface via SMS, I wanted to clarify, are you using a custom script, if so, could you share it, maybe the issue is with the script itself.

Let me know if firmware upgrade resolves the issue,
DziugasS

When this happened, we were on the latest firmware. 7.06.12 was only released yesterday 06/20.

We are sending this to the Teltonika from our mobile SIM provider UI via SMS;

$password uci set network.wan.disabled=1

In most cases we are finding in /etc/config/network showing both

    option enabled '1'
    option disabled '1'

in the WAN interface settings.

Hello,

it might be, that the configuration parameters changed slightly with newer firmware version, as a result,

 option enabled '1'

is no longer used and the interface is considered enabled when the disabled line is not present in the configuration.

In order for this setup to work, I was using these commands

uci set network.wan.disabled=1
uci commit network
/etc/init.d/network restart

These commands save your applied settings and are restarted, so it works properly.

as when you want to enable the WAN once again, then use this prompt:

uci delete network.wan.disabled
uci commit network
/etc/init.d/network restart

This will enable WAN and it will work as intended.

As for the commands to be executed in one message, I would highly recommend making a custom text command.

You can do so by going to Services → Mobile Utilities → SMS Utilities → Add rule with your desired SMS text and action “Execute custom script”. It should look something like this:

And add another rule for turning on the wan. It should look something like this:

Let me know how it goes for you,
DziugasS

This topic was automatically closed after 15 days. New replies are no longer allowed.