Dail with GPRS modem using ppp

Table of Contents

Require:

  1. pppd & chat
  2. dail on script
  3. kernel support – CONFIG_PPP

pppd为point-to-point协议守护程序,用来建立internet连接。

chat为modem的自动交互脚本程序,pppd通过chat解析用户编写好的脚本对modem进行初始化并建立连接

注意:

脚本里面需要包含 AT+CGDCONT=1,”IP”,”CMNET” 用来对sim card做初始化设置。

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.