# File: /etc/ppp/peers/chtgprs
# See /etc/ppp/option for detail

/dev/ttyACM0    # modem port used
115200        # speed
defaultroute  # use the cellular network for the default route
noipdefault
usepeerdns    # use the DNS servers from the remote network
#nodetach	# keep pppd in the foreground
nocrtscts	# hardware flow control
lock          # lock the serial port
noauth        # don't expect the modem to authenticate itself
persist       # if a connection terminated, try to reopen
#demand

#Carrier Detect or Data Terminal Ready,
#choose modem(default) or local(ignore)

#modem
local         

#Debug option---
#You call tail -f /var/ppp.log &

#debug 
#logfile /var/ppp.log

# Use the next two lines if you receive the dreaded messages:
#
#    No response to n echo-requests
#    Serial link appears to be disconnected.
#    Connection terminated.
#
lcp-echo-failure 4
lcp-echo-interval 65535

#add -V for debug
connect    "/usr/sbin/chat -v -f /etc/chatscripts/chtgprs-connect"
disconnect "/usr/sbin/chat -v -f /etc/chatscripts/chtgprs-disconnect"
