This is page displays PPP configuration sample for Orange-France SIM card
PPP configuration comprises 2 files:
1. PPP option file, should be located in /etc/ppp/peers directory 2. PPP chatscript file, should be located in /etc/chatscript folder
This is a sample option file (/etc/ppp/peers/orange)
Note that the option file contains the following parameters that should reflect your actual configuration:
1. a link to the counterpart chatscript file (/etc/chatscripts/orange)
2. the device port (e.g. /dev/ttyUSB0) associated to the HL DevKit
3. the baudrate setting (e.g. 115200) of the HL Module
# This optionfile was generated by pppconfig 2.3.18.
#
#
noauth
nolock
connect "/usr/sbin/chat -v -f /etc/chatscripts/orange"
debug
/dev/ttyUSB0
115200
defaultroute
noipdefault
# BCO manual options
replacedefaultroute
# dump: prints out all ppd options
dump
# noccp: disables compression control protocol negociation
noccp
# usepeerdns: asks the peer for up to 2 DNS server address
usepeerdns
# nodetach: does not detach from the controlling terminal
nodetach
# ipcp-accept-local: pppd will accept the peer's idea of our local IP address even if the local IP address was s
pecified in a option
ipcp-accept-local
# ipcp-accept-remote: idem with remote Ip address
ipcp-accept-remote
0.0.0.0:0.0.0.0
# novj: disables Van Jacobson TCPIP header compression in tranmit/recept directions
novj
# nomagic: disables magic number negociation
nomagic
# noaccomp: disables Address/Control compression in both dir
noaccomp
# nopcomp: disables protocol field compression negociation in both dir
nopcomp
# unit n: sets ppp unit number (ppp0,ppp1,...,pppn)
unit 1
This is a sample chatscript file (/etc/chatscripts/orange) Note that the APN shall be correctly captured in this file (AT+CGDCONT=1,“IP”,“yourAPN”,“0.0.0.0”,0,0)
# This chatfile was generated by pppconfig 2.3.18.
# Please do not delete any of the comments. Pppconfig needs them.
#
# ispauth CHAP
# abortstring
#ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED
# modeminit
'' ATZ
OK AT+CGDCONT=1,"IP","internet-entreprise","0.0.0.0",0,0
OK AT+CGQREQ=1,0,0,0,0,0
OK AT+CGQMIN=1,0,0,0,0,0
# ispnumber
OK-AT-OK ATDT*99***1#
# ispconnect
CONNECT \d\c
# prelogin
# ispname
# isppassword
# postlogin
# end of pppconfig stuff