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
236 views 3 comments
by anonymous
Hi, I would like to know how to send an SMS when we turn on or start up our RUT955, thanks for the help

1 Answer

+1 vote
by anonymous

Hello,

You would need to append a file via CLI/SSH called rc.local located in /etc directory with a command of a similar structure:

  • gsmctl -S -s, --sms --send "<NUMBER> <TEXT>"

For example:

  • gsmctl -S -s "0037011111111 Hello"

An alternative would be to add the above command in the WebUI System -> Custom scripts section. 

This way the command will be executed every time after the router finishes after restart or powering on. 

Best regards,

Best answer
by anonymous
Very good, thanks
by anonymous
Can I ask you, please, where can I find more information on other commands (such as the one you suggested) that can be entered?

Thank you
by anonymous

Check these links:

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

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

Also, for direct communication with the modem, refer to the manual below:

https://sixfab.com/wp-content/uploads/2018/09/Quectel_EC25EC21_AT_Commands_Manual_V1.2.pdf

To execute AT commands, use the following syntax: 

gsmctl -A '<AT_command>'