Jump to content

Mobile data connection troubleshooting: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 8: Line 8:
  CLI/SSH username: root
  CLI/SSH username: root
  CLI/SSH password: <your router’s password>
  CLI/SSH password: <your router’s password>
 
---
* Connect to mobile module of the router:
* Connect to mobile module of the router:
  ...  
  ...  
Line 18: Line 18:
  +CREG: 1,"008B","012CD17",7
  +CREG: 1,"008B","012CD17",7
  ...
  ...
 
---
* You probably won't see anything when you type commands, and that’s because the screen echo may 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:  
* You probably won't see anything when you type commands, and that’s because the screen echo may 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 28: Line 28:
  OK
  OK
  ...
  ...
 
---
* Check communication (wait for the module to respond '''OK'''):
* Check communication (wait for the module to respond '''OK'''):
  ...  
  ...  
Line 34: Line 34:
  OK
  OK
  ...
  ...
 
---
==Debugging process==
==Debugging process==
* If PIN is required, initialize modem with your PIN code:
* If PIN is required, initialize modem with your PIN code:
Line 40: Line 40:
  AT+CPIN="xxxx"
  AT+CPIN="xxxx"
  ...
  ...
 
---
* Use command '''AT+CPIN''' to query SIM card status:
* Use command '''AT+CPIN''' to query SIM card status:
  ...
  ...
Line 48: Line 48:


'''Note:''' Reboot the module if it fails to identify SIM
'''Note:''' Reboot the module if it fails to identify SIM
---
* Use command '''AT+CREG''' to check GSM connection:
* Use command '''AT+CREG''' to check GSM connection:
  ...
  ...
Line 57: Line 57:


'''Note:''' OK means that the module has registered on CS domain service
'''Note:''' OK means that the module has registered on CS domain service
 
---
* Use command '''AT+CGREG''' to check PS Service:
* Use command '''AT+CGREG''' to check PS Service:
  ...
  ...
Line 66: Line 66:


'''Note:''' OK means that the module has registered in UMTS/LTE network  
'''Note:''' OK means that the module has registered in UMTS/LTE network  
 
---
9. Configure APN, user name, password and auth type by AT+QICSGP
* Configure APN, user name, password and auth type by AT+QICSGP
AT+QICSGP=<contextID>[,<context_type>,<APN>[,<username>,<password>)[,<authentication>]]]
...
<context type> The protocol type (1 – IPV4; 2 – IPv6).
AT+QICSGP=<contextID>[,<context_type>,<APN>[,<username>,<password>)[,<authentication>]]]
<context id> The range is 1-16.
<context type> The protocol type (1 – IPV4; 2 – IPv6).
<authentication> The authentication methods (0 – NONE; 1 – PAP; 2 – CHAP; 3-PAP or CHAP).
<context id> The range is 1-16.
Example: AT+QICSGP=1,1,"APN_Name","","",1  
<authentication> The authentication methods (0 – NONE; 1 – PAP; 2 – CHAP; 3-PAP or CHAP).
Example: AT+QICSGP=1,1,"APN_Name","","",1  
...


10. Activate a PDP context:
10. Activate a PDP context: