Difference between revisions of "Gsmctl commands"

From Teltonika Networks Wiki
Line 15: Line 15:
  
 
===Get IP address of logical interface===
 
===Get IP address of logical interface===
 
+
----
 
===Get number of bytes sent===
 
===Get number of bytes sent===
 
+
----
 
===Get number of bytes received===
 
===Get number of bytes received===
 
+
----
 
===Get 3G connection state===
 
===Get 3G connection state===
 +
----

Revision as of 07:59, 30 July 2018

Introduction

gsmctl is an SSH command used to communicate with a RUTxxx router's modem. In other words, gsmctl relays AT commands (a set of instructions used to control a modem) to the router's modem; thus, providing the user with a way to control and obtain information from the modem via SSH. This can be used to either obtain certain modem related variables (signal strength, operator, connection state, etc.) or to execute certain actions (sending SMS messages, changing the frequency band, etc.).

This article provides a complete overview on gsmctl commands available in RUTxxx routers.

Prerequisites

gsmctl commands can be used on all RUTxxx routers via any type of command line interface (CLI) supported by the router. So all you need is:

gsmctl options

Get IP address of logical interface


Get number of bytes sent


Get number of bytes received


Get 3G connection state