I am trying some internet stuff with raspberry pi Os. I have raspberry pi module and Quectel M66 Module for the GSM. I Have do ppp connection between these two module. Quectel Module is connected to the USB on the raspberry Pi module. I Check the interface between raspberry and Quectel Module using the ttyUSB0 port it fine, I am able to send the command through the USB but PPP connection failed mostly. Its work sometimes but mostly getting an error on the AT Command I think. Please have a look.

I found the below log from the ppp chat script. Please Suggest something how can I fix it.

root@raspberrypi:/etc/ppp/peers# atcom --port /dev/ttyUSB0 -b 115200 -t 10 ATI
Revision: M66FAR02A07BT


root@raspberrypi:/etc/ppp/peers# pppd call gprs
pppd options in effect:
debug           # (from /etc/ppp/peers/gprs)
nodetach                # (from /etc/ppp/peers/gprs)
dump            # (from /etc/ppp/peers/gprs)
noauth          # (from /etc/ppp/peers/gprs)
remotename 3gppp                # (from /etc/ppp/peers/gprs)
/dev/ttyUSB0            # (from /etc/ppp/peers/gprs)
115200          # (from /etc/ppp/peers/gprs)
lock            # (from /etc/ppp/peers/gprs)
connect chat -s -v -f /etc/chatscripts/quectel-chat-connect -T www              # (from /etc/ppp/peers/gprs)
disconnect chat -s -v -f /etc/chatscripts/quectel-chat-disconnect               # (from /etc/ppp/peers/gprs)
nocrtscts               # (from /etc/ppp/peers/gprs)
modem           # (from /etc/ppp/peers/gprs)
asyncmap 0              # (from /etc/ppp/options)
lcp-echo-failure 4              # (from /etc/ppp/options)
lcp-echo-interval 30            # (from /etc/ppp/options)
hide-password           # (from /etc/ppp/peers/gprs)
novj            # (from /etc/ppp/peers/gprs)
novjccomp               # (from /etc/ppp/peers/gprs)
ipcp-accept-local               # (from /etc/ppp/peers/gprs)
ipcp-accept-remote              # (from /etc/ppp/peers/gprs)
ipparam 3gppp           # (from /etc/ppp/peers/gprs)
noipdefault             # (from /etc/ppp/peers/gprs)
ipcp-max-failure 30             # (from /etc/ppp/peers/gprs)
defaultroute            # (from /etc/ppp/peers/gprs)
usepeerdns              # (from /etc/ppp/peers/gprs)
noccp           # (from /etc/ppp/peers/gprs)
noipx           # (from /etc/ppp/options)
abort on (BUSY)
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (ERROR)
abort on (NO ANSWER)
timeout set to 30 seconds
send (ATD*99#^M)
expect (CONNECT)
warning: read() on stdin returned 0
Script chat -s -v -f /etc/chatscripts/quectel-chat-connect -T www finished (pid 216546), status = 0x3
Connect script failed


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.