Mobile Parameters to HTTP Server: Difference between revisions

From Teltonika Networks Wiki
No edit summary
No edit summary
Line 34: Line 34:


===Making a Directory and Script===
===Making a Directory and Script===
'''1.''' Connect to RUTX14 CLI using PUTTY or WEBUI.  
'''1.''' Connect to RUTX14 CLI using PUTTY or WEBUI.
 
'''2.''' Create a new directory for the custom script.  
'''2.''' Create a new directory for the custom script.  
* mkdir /etc/config/scripts  
* mkdir /etc/config/scripts  
Line 41: Line 42:


'''3.''' Then create a new .sh file.
'''3.''' Then create a new .sh file.
[[File:Screenshot 3.png|center]]

Revision as of 11:54, 6 April 2023

Introduction

Mobile parameters are needed to measure signal features that can be acquired using gsmctl commands. However, there is no available command to check/display all of the desired details.

With that said, a custom script is needed to show them using one command. This article provides step-by-step instructions on how to write the script, programs that are required, and how to run it.



  • First you want to make sure that you have ADVANCED mode enabled. This will allow you to choose from a larger variety of settings.


Prerequisites

For this particular configuration you will need:

  • A Gateway or a Router with GSM (RUTX14 is being used in the example)
  • 1 SIM card
  • 1 PC
  • HTTP Server (Hercules)

Preparation

  • Prepare RUTX14, power up the device, insert the sim card, check that mobile interface is active and working. SIM1, PWR and signal strength indicators should light up.

Network -> Interfaces should look similar to this:

Configuration

Making a Directory and Script

1. Connect to RUTX14 CLI using PUTTY or WEBUI.

2. Create a new directory for the custom script.

  • mkdir /etc/config/scripts

3. Then create a new .sh file.