Quectel EC25 PPP connect Failure

Hello,
I am developing a Modem Driver for our company’s Linux Remote Monitoring Device.
I have followed the steps mentioned in the document Quectel_EC25&EC21_PPP_Application_Note_V1.0.pdf

But I am still unable to connect to the Network, as no pppd or chat PID are getting created and ppp0 is also not found in ifconfig

I am getting Connect Script Failed with Status = 0x03

Here are the logs for the same:-
abort on (BUSY)
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (ERROR)
abort on (NO ANSWER)
timeout set to 30 seconds
send (AT^M)
expect (OK)
alarm
Failed

Dear Mahesh,
Thanks for your inquiry in Quectel forum. About your issue, please make sure the following contents:
1.please make sure you already install module’s USB driver success in your Linux system, the following is the user guide;
Quectel_WCDMA&LTE_Linux_USB_Driver_User_Guide_V1.8.pdf (1.1 MB)
2.you use the right port USB Modem port to do PPP dial up;
3.please make sure the module already register on network before you make a PPP dial up, you can use AT+COPS?, AT+CEREG?, AT+CSQ to confirm it;
4.please make sure whether you use the ppp script that Quectel provider or yourself script.



image

Dear Kyson,
Thank you for your quick response.
I am really sorry for not being clear in my doubt.

  1. I am using the Serial Port for the Modem, not USB.
  2. I am using the same SCRIPT files which are explained in the Quectel Document.
  3. Configuring the Modem to detect the SIM, GPRS attach and Network Register everything has been done by using the AT commands.

Documents used to Configure the Modem:-

  1. EC25 ATC_AT+QGPIOx_V0.1_20160826 - Preliminary.pdf
  2. Quectel_EC25&EC21_AT_Commands_Manual_V1.3.pdf
  3. Quectel_EC2x&EG9x&EM05_TCP(IP)_AT_Commands_Manual_V1.0.pdf
  4. Quectel_EC2x&EG9x&EM05_HTTP(S)_AT_Commands_Manual_V1.0.pdf

I am attaching the logs done for the Modem:-

User Inputs:-
Bauad Rate = 115200
Flow Control = 0
Stop Bits = 1
Parity Bits = 0
APN User Name:- abc
APN User Password:- 123
Network APN Name:- airtelgprs.com
Serial port = ttyS8

Configuring Modem with AT commands:-
Command to Send => AT

OK


Command to Send => AT+CGMM

EC25

OK


Command to Send => AT+QURCCFG="urcport","uart1"

OK


Command to Send => AT

OK


Command to Send => AT+QGPIOS=63,0,1,3,0

OK


Command to Send => AT+QGPIOS=66,0,1,3,0

OK


Command to Send => AT+QGPIOS=62,0,1,3,0

OK


Command Sent => AT+QGPIOW=63,0

OK


Command Sent => AT+QGPIOW=66,1

OK


Command Sent => AT+QGPIOW=62,0

OK


Command Sent => AT+QGPIOR=66

+QGPIOR: 1

OK


Command Sent => AT+QGPIOW=66,0

OK

+CPIN: NOT READY


Command Sent => AT+QGPIOR=66

+QGPIOR: 0

OK


Command Sent => AT+QGPIOW=66,1

OK


Command Sent => AT+QGPIOR=66

+QGPIOR: 1

OK


Command Sent => AT+QSIMDET?

+QSIMDET: 1,1

OK


Command Sent => AT+QSIMSTAT?

+QSIMSTAT: 1,0

OK


Command Sent => AT+QGPIOR=63

+QGPIOR: 0

OK


Command Sent => AT+QGPIOR=66

+QGPIOR: 1

OK


Command Sent => AT+QGPIOW=66,0

OK

+CPIN: NOT READY


Command Sent => AT+QGPIOR=66

+QGPIOR: 0

OK


Command Sent => AT+QGPIOW=66,1

OK


Command Sent => AT+QGPIOR=66

+QGPIOR: 1

OK


Command Sent => AT+QCCID

+CME ERROR: 13


Command Sent => AT+CSQ

+CSQ: 13,99

OK


Command Sent => AT+CIMI

+CME ERROR: 3


Command Sent => AT+QGPIOR=63

+QGPIOR: 0

OK


Command Sent => AT+QGPIOW=63,1

OK


Command Sent => AT+QGPIOR=63

+QGPIOR: 1

OK


Command Sent => AT+QGPIOR=66

+QGPIOR: 1

OK


Command Sent => AT+QGPIOW=66,0

OK

+CPIN: NOT READY


Command Sent => AT+QGPIOR=66

+QGPIOR: 0

OK


Command Sent => AT+QGPIOW=66,1

OK


Command Sent => AT+QGPIOR=66

+QGPIOR: 1

OK


-------------------- TOGGELLING SIM DETECT PIN < SUCCESS >--------------------

Command Sent => AT+QCCID

+QCCID: 8991000902206892043F

OK


Command Sent => AT+CSQ

+CSQ: 13,99

OK


Command Sent => AT+CIMI

404450969344466

OK


Command Sent => AT+QSPN

ERROR


Command Sent => ATE0

OK


Command Sent => AT+IFC?

+IFC: 0,0

OK


Command Sent => AT+CMEE=2

OK


Command Sent => AT+CMGF=1

OK


Command Sent => AT+CSCS="GSM"

OK


Command Sent => AT+CREG=0

OK


Command Sent => AT+CPIN?

+CPIN: READY

OK


Command Sent => AT+CGATT=0

OK


Command Sent => AT+CGATT=1

OK


Command Sent => AT+CGATT?

+CGATT: 1

OK


Command Sent => AT+CGDCONT=1,"IP","airtelgprs.com"

OK


Command Sent => AT+CGDCONT?

+CGDCONT: 1,“IP”,“airtelgprs.com”,“0.0.0.0”,0,0,0,0

OK


Command Sent => AT+CPIN?

+CPIN: READY

OK


GSM_Quectel_Network_Registration_Status = AT+CREG?

Command Sent => AT+CREG?

+CREG: 0,1

OK


Command Sent => AT+CGREG?

+CGREG: 0,1

OK


Command Sent  => AT+COPS?

+COPS: 0,0,“IND airtel airtel”,7

OK


Command to Send => AT+CSQ

+CSQ: 27,99

OK


Command Sent => ATD*99#

CONNECT 64000


root@xxx:# pppd call quectel-ppp

abort on (BUSY)
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (ERROR)
abort on (NO ANSWER)
timeout set to 30 seconds
send (AT^M)
expect (OK)
alarm
Failed
Script /usr/sbin/chat -s -v -f /etc/ppp/peers/quectel-chat-connect finished (pid 584), status = 0x3
Connect script failed

Status:-
When the pppd call is running, PIDs for pppd and chat are created. These stay for some time, and disappear after that.

Dear Mahesh,
Please do not send ATD command when you call PPP script, you can check the module status with AT command firstly, after confirm the module is ok, then call PPP script to do PPP dial up. Thanks!

Hello,
I tried what you have suggested and after that, I am running the script.

Bellow is the Response I am getting:-

root@xxx:/etc/ppp# pppd call quectel-ppp
abort on (BUSY)
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (ERROR)
abort on (NO ANSWER)
timeout set to 30 seconds
send (AT^M)
expect (OK)
^M
OK
– got it

send (ATE0^M)
expect (OK)
^M
^M
OK
– got it

send (ATI;+CSUB;+CSQ;+CPIN?;+COPS?;+CGREG?;&D2^M)
expect (OK)
^M
^M
Quectel^M
EC25^M
Revision: EC25EFAR06A02M4G^M
^M
SubEdition: V06^M
^M
+CSQ: 27,99^M
^M
+CPIN: READY^M
^M
+COPS: 0,0,“IND airtel airtel”,7^M
^M
+CGREG: 0,1^M
^M
OK
– got it

send (AT+CGDCONT=1,“IP”,“airtelgprs.com”^M)
expect (OK)
^M
^M
OK
– got it

send (ATD*99#^M)
expect (CONNECT)
^M
^M
CONNECT
– got it

send (^M)
Script /usr/sbin/chat -s -v -f /etc/ppp/peers/quectel-chat-connect finished (pid 437), status = 0x0
Serial connection established.
using channel 1
Using interface ppp0
Connect: ppp0 <–> /dev/ttyS8
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x74f73986> ]
rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <magic 0x5a220da5> ]
sent [LCP ConfAck id=0x0 <asyncmap 0x0> <magic 0x5a220da5> ]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x74f73986> ]
rcvd [LCP DiscReq id=0x1 magic=0x5a220da5]
rcvd [CHAP Challenge id=0x1 <517983ff5858b70e84b63e98e5988367>, name = “UMTS_CHAP_SRVR”]
sent [CHAP Response id=0x1 , name = “abc”]
rcvd [CHAP Success id=0x1 “”]
CHAP authentication succeeded
CHAP authentication succeeded
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [LCP ProtRej id=0x2 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Protocol-Reject for ‘Compression Control Protocol’ (0x80fd) received
rcvd [IPCP ConfReq id=0x0]
sent [IPCP ConfNak id=0x0 <addr 0.0.0.0>]
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1]
sent [IPCP ConfAck id=0x1]
rcvd [IPCP ConfNak id=0x2 <addr 100.91.248.150>]
sent [IPCP ConfReq id=0x3 <addr 100.91.248.150>]
rcvd [IPCP ConfAck id=0x3 <addr 100.91.248.150>]
Could not determine remote IP address: defaulting to 10.64.64.64
not replacing default route to eth0 [10.1.1.1]
local IP address 100.91.248.150
remote IP address 10.64.64.64
Script /etc/ppp/ip-up started (pid 440)
Script /etc/ppp/ip-up finished (pid 440), status = 0x0


this page pauses like this. And When I login into the device via another terminal to check the ifconfig, this is what is get:-

When I check with the route -n command:-

After this, Ping is not happening.
The pppd process is created but the chat script is not running as it is not found in the running process list (ps command)


When I kill the script which is running in the different window using ctrl+c, I get the below extra lines continued from the above logs given

^CTerminating on signal 2
Connect time 14.5 minutes.
Sent 0 bytes, received 0 bytes.
Script /etc/ppp/ip-down started (pid 450)
sent [LCP TermReq id=0x2 “User request”]
rcvd [LCP TermAck id=0x2]
Connection terminated.
abort on (ERROR)
abort on (NO DIALTONE)
unterminated quote (line 4)
Script /usr/sbin/chat -s -v -f /etc/ppp/peers/quectel-chat-disconnect finished (pid 454), status = 0x1
disconnect script failed
Script /etc/ppp/ip-down finished (pid 450), status = 0x0


As the script is stopped from executing, pppd is not found in ps nor in ifconfig.

Hello,
Continued to the above information, if I do not Kill the process formed by calling the script $ pppd call quectel-ppp, it ends in the below form. I am attaching the logs for your reference:-

root@iSense-V4:~# pppd call quectel-ppp
abort on (BUSY)
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (ERROR)
abort on (NO ANSWER)
timeout set to 30 seconds
send (AT^M)
expect (OK)
^M
OK
– got it

send (ATE0^M)
expect (OK)
^M
^M
OK
– got it

send (ATI;+CSUB;+CSQ;+CPIN?;+COPS?;+CGREG?;&D2^M)
expect (OK)
^M
^M
Quectel^M
EC25^M
Revision: EC25EFAR06A02M4G^M
^M
SubEdition: V06^M
^M
+CSQ: 25,99^M
^M
+CPIN: READY^M
^M
+COPS: 0,0,“IND airtel airtel”,7^M
^M
+CGREG: 0,1^M
^M
OK
– got it

send (AT+CGDCONT=1,“IP”,“airtelgprs.com”^M)
expect (OK)
^M
^M
OK
– got it

send (ATD*99#^M)
expect (CONNECT)
^M
^M
CONNECT
– got it

send (^M)
Script /usr/sbin/chat -s -v -f /etc/ppp/peers/quectel-chat-connect finished (pid 422), status = 0x0
Serial connection established.
using channel 2
Using interface ppp0
Connect: ppp0 <–> /dev/ttyS8
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa807c724> ]
rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <magic 0x5a4acaf7> ]
sent [LCP ConfAck id=0x0 <asyncmap 0x0> <magic 0x5a4acaf7> ]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xa807c724> ]
rcvd [LCP DiscReq id=0x1 magic=0x5a4acaf7]
rcvd [CHAP Challenge id=0x1 <0271bc4277b20e8193d63c1ecea51cba>, name = “UMTS_CHAP_SRVR”]
sent [CHAP Response id=0x1 , name = “abc”]
rcvd [CHAP Success id=0x1 “”]
CHAP authentication succeeded
CHAP authentication succeeded
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [LCP ProtRej id=0x2 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Protocol-Reject for ‘Compression Control Protocol’ (0x80fd) received
rcvd [IPCP ConfReq id=0x0]
sent [IPCP ConfNak id=0x0 <addr 0.0.0.0>]
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1]
sent [IPCP ConfAck id=0x1]
rcvd [IPCP ConfNak id=0x2 <addr 100.92.209.235>]
sent [IPCP ConfReq id=0x3 <addr 100.92.209.235>]
rcvd [IPCP ConfAck id=0x3 <addr 100.92.209.235>]
Could not determine remote IP address: defaulting to 10.64.64.64
not replacing default route to eth0 [10.1.1.1]
local IP address 100.92.209.235
remote IP address 10.64.64.64
Script /etc/ppp/ip-up started (pid 425)
Script /etc/ppp/ip-up finished (pid 425), status = 0x0
rcvd [LCP TermReq id=0x3]
LCP terminated by peer
Connect time 49.5 minutes.
Sent 0 bytes, received 52 bytes.
Script /etc/ppp/ip-down started (pid 431)
sent [LCP TermAck id=0x3]
Script /etc/ppp/ip-down finished (pid 431), status = 0x0
Connection terminated.
abort on (ERROR)
abort on (NO DIALTONE)
unterminated quote (line 3)
Script /usr/sbin/chat -s -v -f /etc/ppp/peers/quectel-chat-disconnect finished (pid 435), status = 0x1
disconnect script failed
Modem hangup
root@iSense-V4:~#

Hello,
Scripts for your reference:-

root@xxx:/etc/ppp/peers# cat quectel-chat-connect
ABORT “BUSY”
ABORT “NO CARRIER”
ABORT “NO DIALTONE”
ABORT “ERROR”
ABORT “NO ANSWER”
TIMEOUT 30
‘’ AT
OK ATE0
OK ATI;+CSUB;+CSQ;+CPIN?;+COPS?;+CGREG?;&D2
OK AT+CGDCONT=1,“IP”,“airtelgprs.com
OK ATD*99#
CONNECT ‘’
root@xxx:/etc/ppp/peers#

root@xxx:/etc/ppp/peers# cat quectel-chat-disconnect
ABORT “ERROR”
ABORT “NO DIALTONE”
SAY "
Sending break to the modem
"
“” +++
“” +++
“” +++
SAY "
Goodbay
"
root@xxx:/etc/ppp/peers#

root@xxx:/etc/ppp/peers# cat quectel-ppp
/dev/ttyS8
115200
user “abc”
password “123”
connect ‘/usr/sbin/chat -s -v -f /etc/ppp/peers/quectel-chat-connect’
disconnect ‘/usr/sbin/chat -s -v -f /etc/ppp/peers/quectel-chat-disconnect’
hide-password
noauth
debug
defaultroute
noipdefault
root@xxx:/etc/ppp/peers#

Dear Mahesh,
Just as you have said that if you do not send ATD command and just call the PPP script, it can dial up successful and can get the IP address as the following(ppp0). It is normal. After you get the IP address, you can access the internet.
image

After that you issue is can not kill pppd process ? Whether my understanding is right?
you can try to use the following command to kill pppd process. Thanks!
image

Hello Kyson,

I am stuck at running the pppd call command for the script.
Attaching the logs:-

root@iSense-V4:/etc/ppp/peers# pppd call quectel-ppp
abort on (BUSY)
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (ERROR)
abort on (NO ANSWER)
timeout set to 30 seconds
send (AT^M)
expect (OK)
^M
OK
– got it

send (ATE0^M)
expect (OK)
^M
^M
OK
– got it

send (ATI;+CSUB;+CSQ;+CPIN?;+COPS?;+CGREG?;&D2^M)
expect (OK)
^M
^M
Quectel^M
EC25^M
Revision: EC25EFAR06A02M4G^M
^M
SubEdition: V06^M
^M
+CSQ: 28,99^M
^M
+CPIN: READY^M
^M
+COPS: 0,0,“IND airtel airtel”,7^M
^M
+CGREG: 0,1^M
^M
OK
– got it

send (AT+CGDCONT=1,“IP”,“airtelgprs.com”^M)
expect (OK)
^M
^M
OK
– got it

send (ATD*99#^M)
expect (CONNECT)
^M
^M
CONNECT
– got it

send (^M)
Script /usr/sbin/chat -s -v -f /etc/ppp/peers/quectel-chat-connect finished (pid 530), status = 0x0
Serial connection established.
using channel 7
Using interface ppp0
Connect: ppp0 <–> /dev/ttyS8
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xfd072a29> ]
rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <magic 0x5ab0cdbc> ]
sent [LCP ConfAck id=0x0 <asyncmap 0x0> <magic 0x5ab0cdbc> ]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xfd072a29> ]
rcvd [LCP DiscReq id=0x1 magic=0x5ab0cdbc]
rcvd [CHAP Challenge id=0x1 , name = “UMTS_CHAP_SRVR”]
sent [CHAP Response id=0x1 <1a468b8053042e4c47c91e5f415d5007>, name = “abc”]
rcvd [CHAP Success id=0x1 “”]
CHAP authentication succeeded
CHAP authentication succeeded
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [LCP ProtRej id=0x2 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Protocol-Reject for ‘Compression Control Protocol’ (0x80fd) received
rcvd [IPCP ConfReq id=0x0]
sent [IPCP ConfNak id=0x0 <addr 0.0.0.0>]
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1]
sent [IPCP ConfAck id=0x1]
rcvd [IPCP ConfNak id=0x2 <addr 100.76.53.234>]
sent [IPCP ConfReq id=0x3 <addr 100.76.53.234>]
rcvd [IPCP ConfAck id=0x3 <addr 100.76.53.234>]
Could not determine remote IP address: defaulting to 10.64.64.64
not replacing default route to eth0 [10.1.1.1]
local IP address 100.76.53.234
remote IP address 10.64.64.64
Script /etc/ppp/ip-up started (pid 533)
Script /etc/ppp/ip-up finished (pid 533), status = 0x0
rcvd [LCP TermReq id=0x3]
LCP terminated by peer
Connect time 29.3 minutes.
Sent 0 bytes, received 0 bytes.
Script /etc/ppp/ip-down started (pid 537)
sent [LCP TermAck id=0x3]
Script /etc/ppp/ip-down finished (pid 537), status = 0x0
Connection terminated.
abort on (ERROR)
abort on (NO DIALTONE)
send (+++^M)k to the modem
send (+++^M)
send (+++^M)
Script /usr/sbin/chat -s -v -f /etc/ppp/peers/quectel-chat-disconnect finished (pid 542), status = 0x0
Serial link disconnected.
Modem hangup
root@iSense-V4:/etc/ppp/peers#

You can see from the log that it was connected for 29 min. And it got disconnected automatically.
During that 29 min, even though ppp0 was available in ifconfig, the Internet was not accessible.

Dear Mahesh,
Please confirm whether it is must disconnect after a certain amount of time, like you said 29 minutes. If it is, it is better to confirm whether there have any limit of the SIM card or the network.
And you can try to access the internet all the time to confirm whether there still have such issue, and also can try whether it can restore by itself or you must kill the pppD process then call again. Thanks!
By the way, you also can forbiden eth0 to have a try. Thanks!

Dear Kyson,
All I am trying to do is to Connect the Modem using the serial port to the Internet using pppd, which is not happening even with following all the given documents.

pppd and chat script are not running for a long time. I have already shared with you the logs.
I am sharing it here again. Please go through it and help me out to fix this.

root@iSense-V4:/etc/ppp/peers# pppd call quectel-ppp
abort on (BUSY)
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (ERROR)
abort on (NO ANSWER)
timeout set to 30 seconds
send (AT^M)
expect (OK)
^M
OK
– got it

send (ATE0^M)
expect (OK)
^M
^M
OK
– got it

send (ATI;+CSUB;+CSQ;+CPIN?;+COPS?;+CGREG?;&D2^M)
expect (OK)
^M
^M
Quectel^M
EC25^M
Revision: EC25EFAR06A02M4G^M
^M
SubEdition: V06^M
^M
+CSQ: 28,99^M
^M
+CPIN: READY^M
^M
+COPS: 0,0,“IND airtel airtel”,7^M
^M
+CGREG: 0,1^M
^M
OK
– got it

send (AT+CGDCONT=1,“IP”,“airtelgprs.com”^M)
expect (OK)
^M
^M
OK
– got it

send (ATD*99#^M)
expect (CONNECT)
^M
^M
CONNECT
– got it

send (^M)
Script /usr/sbin/chat -s -v -f /etc/ppp/peers/quectel-chat-connect finished (pid 530), status = 0x0
Serial connection established.
using channel 7
Using interface ppp0
Connect: ppp0 <–> /dev/ttyS8
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xfd072a29> ]
rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <magic 0x5ab0cdbc> ]
sent [LCP ConfAck id=0x0 <asyncmap 0x0> <magic 0x5ab0cdbc> ]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xfd072a29> ]
rcvd [LCP DiscReq id=0x1 magic=0x5ab0cdbc]
rcvd [CHAP Challenge id=0x1 , name = “UMTS_CHAP_SRVR”]
sent [CHAP Response id=0x1 <1a468b8053042e4c47c91e5f415d5007>, name = “abc”]
rcvd [CHAP Success id=0x1 “”]
CHAP authentication succeeded
CHAP authentication succeeded
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [LCP ProtRej id=0x2 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Protocol-Reject for ‘Compression Control Protocol’ (0x80fd) received
rcvd [IPCP ConfReq id=0x0]
sent [IPCP ConfNak id=0x0 <addr 0.0.0.0>]
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1]
sent [IPCP ConfAck id=0x1]
rcvd [IPCP ConfNak id=0x2 <addr 100.76.53.234>]
sent [IPCP ConfReq id=0x3 <addr 100.76.53.234>]
rcvd [IPCP ConfAck id=0x3 <addr 100.76.53.234>]
Could not determine remote IP address: defaulting to 10.64.64.64
not replacing default route to eth0 [10.1.1.1]
local IP address 100.76.53.234
remote IP address 10.64.64.64
Script /etc/ppp/ip-up started (pid 533)
Script /etc/ppp/ip-up finished (pid 533), status = 0x0
rcvd [LCP TermReq id=0x3]
LCP terminated by peer
Connect time 29.3 minutes.
Sent 0 bytes, received 0 bytes.
Script /etc/ppp/ip-down started (pid 537)
sent [LCP TermAck id=0x3]
Script /etc/ppp/ip-down finished (pid 537), status = 0x0
Connection terminated.
abort on (ERROR)
abort on (NO DIALTONE)
send (+++^M)k to the modem
send (+++^M)
send (+++^M)
Script /usr/sbin/chat -s -v -f /etc/ppp/peers/quectel-chat-disconnect finished (pid 542), status = 0x0
Serial link disconnected.
Modem hangup
root@iSense-V4:/etc/ppp/peers#

Dear Kyson,
The company I am working in is going to use this Modem in its Products, which will be more than 1000 Modem Requirements from you guys.
So, can you Please help me out here to make this Modem work?

Dear Mahesh,
From the log you provide, we just can judge that the module have not dial up successful, because, it have not get the DNS address. So please help to double check the following information:
1.Use the following command to save the ppp log:
tail -f /var/log/syslog
2. Check the IP:
ifconfig
3. check the route, if PPP0 is not defalut route, you should add it, do not forget to ifconfig down eth0
route
4.Modify DNS setting file:
/etc /resolv.conf
Examples:
/system/etc/ppp # vi /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4

If all the above confirmation still cannot solve your issue, it is better to send email to support@quectel.com to get local support. You know if you want to order our module, you still need to contact our local FAE or sales. Thanks

1 Like

Hello Kyson,
Thank you for the information.
I made the PPP0 as default route, Modem got connected to the Network and was able to ping to the URLs with resolv.conf file just the way by given by you.

Is there any way to make the resolv.conf file to get updated automatically by detecting the network , without making the changes to the file Manually?

Dear Mahesh,
Thanks for your update, i am glad to hear the good news.
Normally, it is no need to modify the resolv.conf file manually, it should have automatically. But some system may need have such issue, you may just need to modify one time, no need to modify again even restart your system. Please note it is the system issue, we just can solve it with such method. Thanks!

Hello Kyson,

  1. Are the DNS server IPs dependent on the Country region?
  2. Are the DNS server IPs dependent on the SIM Networks which we are using?

Or is it Universal in both the conditions?

Dear Mahesh,
1.it is the network software configuration, normally it depends on the network supplier.
2.as you know, there are two kinds of DNS server, one is common DNS server, the other one is provid by the operator. So, it is hard to say it is dependent on the SIM network or not. Thanks!

Dear Kyson,
pppd part I have completed and thanks for your support on that.

Now I am working on the SMS part.
Can you please explain the difference between the below:-

“SM” - (U)SIM message storage
“ME” - Mobile equipment message storage
“MT” - Same as “ME” storage

And what is the Maximum Size for One Message? as the Number of messages can be stored is given as 255 in the below.

AT+CPMS?
+CPMS: “ME”,0,255,“ME”,0,255,“ME”,0,255

and also what are mem1, mem2 and mem3 related to SIM SMS Memory??

Dear Mahesh,
If it is different question, it is better to raise a new topic.
For your question, please know that SM means that the SMS message can store at USIM memory, and ME or MT means that the SMS message can be store at module or your system memory except USM memory.
And the max size of one SMS message is 160 character in GSM coding, and 140 character in 8bit coding, and 70 character in UCS2 coding. Thanks!
About AT+CPMS? command,please check the following explanation. Thanks!