Difference between revisions of "Mobile signal strength check"

From DFN Wiki
Jump to: navigation, search
(add more examples of signak quality check - 4G modem, qmicli)
(add user freindly method to see signal quality)
Line 1: Line 1:
 
This page provides detailed information how to check mobile signal reception quality from command line. For general information on mobile networks and modems, please go to [[Mobile network - 3G, 4G|Mobile network - 3G/4G modem installation and configuration]].
 
This page provides detailed information how to check mobile signal reception quality from command line. For general information on mobile networks and modems, please go to [[Mobile network - 3G, 4G|Mobile network - 3G/4G modem installation and configuration]].
  
This link shows a good description of what signal quality is needed:
+
''Note: This link shows a good description of what signal quality is needed:''
 
[https://wiki.teltonika-networks.com/view/Mobile_Signal_Strength_Recommendations]
 
[https://wiki.teltonika-networks.com/view/Mobile_Signal_Strength_Recommendations]
  
= 4G (MC74xx) modem modules =
+
In 2021 the software in most of the camera systems was upgraded to provide relatively user friendly mobile signal check functions.
 +
 
 +
= Web GUI =
 +
click on tab "Network" then "Check modem signal"
 +
 
 +
= Commandline =
 +
  dfn_print_mobile_signal_quality.sh
 +
 
 +
= Low level commands for advanced users =
 +
 
 +
== 4G (MC74xx) modem modules ==
  
 
Login to the camera system locally or remotely, in text console run the following commands.
 
Login to the camera system locally or remotely, in text console run the following commands.
Line 75: Line 85:
 
   crw------- 1 root root 180, 1 Nov 26 11:53 /dev/cdc-wdm1
 
   crw------- 1 root root 180, 1 Nov 26 11:53 /dev/cdc-wdm1
  
= 3G modem modules (MC8705) =
+
== 3G modem modules (MC8705) ==
  
 
Login to the camera system, in text console run command 'minicom'. It should be preset to use the correct virtual serial port /dev/ttyS3.  
 
Login to the camera system, in text console run command 'minicom'. It should be preset to use the correct virtual serial port /dev/ttyS3.  

Revision as of 06:11, 2 March 2022

This page provides detailed information how to check mobile signal reception quality from command line. For general information on mobile networks and modems, please go to Mobile network - 3G/4G modem installation and configuration.

Note: This link shows a good description of what signal quality is needed: [1]

In 2021 the software in most of the camera systems was upgraded to provide relatively user friendly mobile signal check functions.

Web GUI

click on tab "Network" then "Check modem signal"

Commandline

 dfn_print_mobile_signal_quality.sh

Low level commands for advanced users

4G (MC74xx) modem modules

Login to the camera system locally or remotely, in text console run the following commands.

Verbose signal reception print - 4G/LTE connection, good signal quality:

 root@XXXXXX:~# qmicli -d /dev/cdc-wdm1 --nas-get-signal-strength
 [/dev/cdc-wdm1] Successfully got signal strength
 Current:
       Network 'lte': '-68 dBm'
 RSSI:
       Network 'lte': '-68 dBm'
 ECIO:
       Network 'lte': '-2.5 dBm'
 IO: '-106 dBm'
 SINR: (8) '9.0 dB'
 RSRQ:
       Network 'lte': '-12 dB'
 SNR:
       Network 'lte': '1.0 dB'
 RSRP:
       Network 'lte': '-104 dBm'

Brief signal reception print - 4G/LTE connection, good signal quality:

 root@XXXXXX:~# qmicli -d /dev/cdc-wdm1 --nas-get-signal-info
 [/dev/cdc-wdm1] Successfully got signal info
 LTE:
       RSSI: '-68 dBm'
       RSRQ: '-12 dB'
       RSRP: '-104 dBm'
       SNR: '-4.4 dB'

Brief signal reception print - 4G/LTE connection, excellent signal quality:

 root@XXXXXX:~# qmicli -d /dev/cdc-wdm1 --nas-get-signal-info
 [/dev/cdc-wdm1] Successfully got signal info
 LTE:
       RSSI: '-62 dBm'
       RSRQ: '-7 dB'
       RSRP: '-90 dBm'
       SNR: '23.8 dB'

Brief signal reception print - 3G/WCDMA connection, marginal signal strength, but still good signal quality thanks to low noise/interference; typical for remote areas with low population:

 root@DFNEXT043:~# qmicli -d /dev/cdc-wdm1 --nas-get-signal-info
 [/dev/cdc-wdm1] Successfully got signal info
 WCDMA:
       RSSI: '-103 dBm'
       ECIO: '-6.5 dBm'

Verbose signal reception print - 3G/WCDMA connection, marginal signal strength, but still good signal quality thanks to low noise/interference; typical for remote areas with low population:

 root@DFNEXT043:~# qmicli -d /dev/cdc-wdm1 --nas-get-signal-strength
 [/dev/cdc-wdm1] Successfully got signal strength
 Current:
       Network 'umts': '-103 dBm'
 RSSI:
       Network 'umts': '-103 dBm'
 ECIO:
       Network 'umts': '-7.5 dBm'
 IO: '-106 dBm'
 SINR: (8) '9.0 dB'

Note: if device /dev/cdc-wdm1 was not working, try substitute 1 with 0 or 2. List devices available in your system with 'ls -l /dev/cdc-wdm*'.

 ls -l /dev/cdc-wdm*
 crw------- 1 root root 180, 0 Nov 26 11:53 /dev/cdc-wdm0
 crw------- 1 root root 180, 1 Nov 26 11:53 /dev/cdc-wdm1

3G modem modules (MC8705)

Login to the camera system, in text console run command 'minicom'. It should be preset to use the correct virtual serial port /dev/ttyS3. If not, run 'minicom -s' and select this port.

Rype following AT modem commands:

 at+csq
 +CSQ: 14,99
 
 OK
 at!gstatus?
 !GSTATUS: 
 Current Time:  7833862          Temperature: 61
 Bootup Time:   6442483          Mode:        ONLINE         
 System mode:   WCDMA            PS state:    Attached     
 WCDMA band:    WCDMA800         GSM band:    Unknown    
 WCDMA channel: 4436             GSM channel: 65535
 GMM (PS) state:REGISTERED       NORMAL SERVICE 
 MM (CS) state: IDLE             NORMAL SERVICE 
 
 WCDMA L1 State:L1M_DCH          RRC State:   CELL_DCH       
 RX level (dBm):-85
   
 OK

Signal strength (CSQ) >=5 is acceptable, although in country areas the internet may work even with lower signal quality as the masts are not too busy. In any case, the more the better. More than ~ 10 is very realiable connection.

To exit minicom, pres Ctrl+a q.