Namespaces
Template
Discussion
Variants
Views
Read
View source
View history
PDF Export
More
Search
Changes
← Older edit
Newer edit →
Template:Gsmctl commands
(view source)
Revision as of 13:47, 10 March 2023
807 bytes added
,
13:47, 10 March 2023
no edit summary
Line 52:
Line 52:
This section overviews basic ''gsmctl'' options, usually related to obtaining certain modem related information.
This section overviews basic ''gsmctl'' options, usually related to obtaining certain modem related information.
+
{{#ifeq:{{{series}}}|RUTOS| |
+
===Get IP address of logical interface===
+
----
+
To obtain the IP address of a network interface, use '''''-p''''' or '''''--ip''''' options.
+
+
'''Usage syntax''':
+
+
gsmctl <span style="color:blue;">-p</span>, <span style="color:blue;">--ip</span> <span style="color:purple;"><INTERFACE></span>
+
+
Where ''<INTERFACE>'' is the name of a network interface.
+
+
'''Example''': obtaining the IP address of the mobile connection interface:
+
+
root@Teltonika:~# gsmctl <span style="color:blue;">-p</span> <span style="color:purple;">wwan0</span>
+
<span style="color:red;">10.139.75.221</span>
+
+
Where '''''wwan0''''' is the name of the mobile interface when the connection type is set to QMI (default). You can get names of existing interfaces from '''''/etc/config/network''''' file.
+
}}
===Get number of bytes sent===
===Get number of bytes sent===
TomasG
Administrators
1,276
edits
Navigation menu
COMMUNITY
ABOUT
login
Personal tools
Log in
Create account
EN
EN
LT
DE
IT
ES
FR
RU
PL
PT
BR
JA
TR
NAVIGATION
Recent changes
Random page
What links here
Upload file
Help
Tools
Categories
BAT Uninterruptable Power Supplies
Downloads
FAQ
General Information
IoT Platforms
OTD Outdoor routers
RUT Routers
RUTC Routers
RUTM Routers
RUTX Routers
TAP Access Points
TCR Routers
TRB Gateways
TRM Modems
TSF Switches
TSW Switches
EOL Products