Jump to content

Mobile data connection troubleshooting: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 8: Line 8:
* Connect to mobile module of the router:
* Connect to mobile module of the router:
  ...  
  ...  
  ifdown ppp
  root@Teltonika:~# ifdown ppp
  /etc/init.d/gsmd stop
  root@Teltonika:~# /etc/init.d/gsmd stop
  microcom /dev/modem_cmd
  root@Teltonika:~# microcom /dev/modem_cmd
+QCSQ: "LTE",47,-75,166,-10
+QCSQ: "LTE",47,-75,161,-10
+CREG: 1,"008B","012CD17",7
  ...
  ...


* Most likely you will not see anything and that’s because screen echo might be disabled. ATE1 will enable it so that you can see what you write. at+qcsq=0 command stops showing unnecessary output  
* Most likely you will not see anything and that’s because screen echo might be disabled. '''ATE1''' command will enable it so that you can see what you write. '''at+qcsq=0''' and '''at+creg=0''' command stops showing unnecessary output:


  ...
  ...
Line 19: Line 22:
  OK
  OK
  at+qcsq=0
  at+qcsq=0
OK
at+creg=0
  OK
  OK
  ...
  ...


3. Check communication (wait for the module to respond OK):
* Check communication (wait for the module to respond OK):
AT
...
AT
OK
...
4. Query SIM card status:
4. Query SIM card status:
• AT+CPIN?
• AT+CPIN?