Pay attention: Donot modify the 3 files in Windows.

Pay attention: It will make the 3 file become Dos format. 

Pay attention: Dos Format files cannot be parsed by pppd and chat.

Pay attention: dos2unix command can convert files in DOS format to Unix format.



customize your 'serial device name' & 'user' & 'passowrd' in quectel-ppp

customize your 'apn' in quectel-chat-connect

copy the 3 file to /etc/ppp/peers/

exec command 'pppd call quectel-ppp'





עⲻҪ windows ±༭Ŀ¼µļʹЩļ dos ʽ.

windows  dos ʽָļÿ \r\n β linux ļĬ \n βġ

pppd  chat ܽ dos ʽļ
 dos2unix ԰ dos ʽļת linux ʽ



2ַppp

ʽ1  quectel-chat-connect quectel-chat-disconnect quectel-ppp  /etc/ppp/peers Ŀ¼¡

 quectel-ppp ޸Ĵ豸pppd ʹõ usernamepassword

 quectel-chat-connect ޸ APNAPN/username/password Ǵṩȡġ

Ȼʹ ppp ţ  &  pppd ̨

pppd call quectel-ppp &



ʽ2ʹquectel-pppd.sh ţʽ:

./quectel-pppd.sh 豸(/dev/ttyUSB3) APN username password



ip-uppppd ڻȡ ip  dns ֮󣬻Զűļϵͳ DNS

ǶʽϵͳһҪļ /etc/ppp Ŀ¼¡
ȷļϵͳпִȨޡ



quectel-ppp-kill Ҷϲŵģpppd뱻ĹҶϣܻᵼ´pppʧܡ

ʹ淽ʽű

./quectel-ppp-kill 