Jump to content

Mobile data connection troubleshooting: Difference between revisions

Line 114: Line 114:
  ...
  ...


*1 –The context ID. The range is 1-16;
1 –The context ID. The range is 1-16;
*8.8.8.8 - The host address in string type. The format is a dotted decimal IP address.
8.8.8.8 - The host address in string type. The format is a dotted decimal IP address.
Response:
Response:
• If ping a remote server successfully, response: OK (means that the module works properly)
'''Note:''' if ping a remote server successfully, response is '''OK''' (means that the module works properly). If there is any error, response is '''ERROR''' (means the problem is in the module).
If there is any error, response: ERROR (means the problem is in the module)


Example fo the provided configuration:
===Example for the provided configuration===
...
root@Teltonika:~# ifdown ppp
root@Teltonika:~# /etc/init.d/gsmd stop
root@Teltonika:~# microcom /dev/modem_cmd
+QCSQ: "LTE",47,-75,166,-10
+QCSQ: "LTE",47,-75,161,-10
+QCSQ: "LTE",47,-75,156,-10
+CREG: 1,"008B","012CD17",7
AT+QCSQ=0
OK
+CREG: 1,"008B","012CD0D",7
+CREG: 1,"008B","012CD17",7
AT+CREG=0
OK
AT
OK
 
AT+CPIN?
+CPIN: READY
OK
AT+CREG
OK
AT+CREG?
+CREG: 0,1
OK
AT+CREG
OK
AT+CGREG?
+CGREG: 0,1
OK
AT+QICSGP=1,1"bangapro","","",1
OK
AT+QIACT=1
OK
AT+QIACT?
+QIACT: 1,1,1,"88.77.66.55"
OK
 
AT+QIOPEN
OK
AT+QPING=1,"8.8.8.8"
OK
+QPING: 0,"8.8.8.8",32,54,255
+QPING: 0,"8.8.8.8",32,30,255
+QPING: 0,"8.8.8.8",32,35,255
+QPING: 0,"8.8.8.8",32,34,255
+QPING: 0,4,4,0,30,54,37
...