# File: # gprs # # Description: # This file holds the pppd options for GPRS # To give some debug info (could be provided on command line too) debug # To keep pppd output on the terminal (could be provided on command line too) #nodetach # Serial device to which the GPRS modem is connected /dev/ttySAC0 # Raw serial on Neo1973 # Serial port line speed 115200 # use hardware flow control crtscts # serial cables etc. #nocrtscts # IrDA # time between retries holdoff 3 # Connect script #connect /etc/ppp/peers/gprs-connect-chat connect "/usr/sbin/chat -v -f /etc/chatscripts/gprs" # Disconnect script #disconnect /etc/ppp/peers/gprs-disconnect-chat disconnect "/usr/sbin/chat -v -f /etc/chatscripts/gprs-disconnect" # IP addresses: # - accept peers idea of our local address and set address peer as 10.0.0.1 # (any address would do, since IPCP gives 0.0.0.0 to it) # - if you use the 10. network at home or something and pppd rejects it, # change the address to something else #:10.0.0.1 # pppd must not propose any IP address to the peer! noipdefault # Accept peers idea of our local address ipcp-accept-local # No ppp compression novj novjccomp # Add default route defaultroute # Replace any other default route for the time of the connection: replacedefaultroute # very long timeouts (unwise?) lcp-echo-interval 30 lcp-echo-failure 300 local usepeerdns connect-delay 5000 noproxyarp # don't require the other end to authenticate to us noauth persist # username to use for authentication, should match "client" in /etc/ppp/{chap,pap}-secrets user "PTC"