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
240 views 2 comments
by anonymous

I typed the example in RUTX50 Web-GUI as below. The RUTX50 SMS text cannot accept space character. What is the correct words in SMS text ?  

uci get network.wan.ipaddr

1 Answer

0 votes
by anonymous

Hello,

In SMS commands, you can’t use multiple words, which is why spaces are not allowed. But you can always add arguments to your command when sending an SMS to your router.

To use UCI commands over SMS, there is already a predefined rule for that (which you can customize, to disable the authorization method for examplen - please see this attached Image), so you can simply send an SMS to your router with the command you want, here is an example of how to get your LAN IP address (without authorization method) :

SMS sent to the router => uci get network.lan.ipaddr

Router’s response => 192.168.1.1

Now to get your WAN IP address, if your WAN interface uses DHCP, I highly recommend using a customized Send status command, like in this example.

Here you can find more information about UCI commands and SMS utilities :

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

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

Best regards,
Ismail

by anonymous

what is the content in the SMS text of RUTX50 Web-GUI ?

I tried the below condition, and the result is not working.

RUTX50 Web-GUI => network.lan.ipaddr

my phone send SMS to RUTX50=> uci get network.lan.ipaddr

by anonymous

Hello,

Please note that you don't need to create a new UCI API SMS rule, the rule does already exist, the only thing you need to do is to change the Authorization method (you might want to set it to No authorization if you don't need it)

Your UCI SMS rule should look like this : UCI SMS rule config

And then you can try to send the UCI commands from your phone to your router, for example => uci get network.lan.ipaddr

You should then receive your router's LAN IP address as a response from your router.

Please let me know if you have any more issues with the commands.

Have a great day,
Ismail