| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- # /etc/ppp/peers/gprs -- a example for use with a GPRS modem
- #
- # Change <user name> to the the one supplied by your provider and look
- # at /etc/ppp/chat/gprs for some GPRS specific settings. You'll also
- # need to add your password to the /etc/ppp/chap-secrets or
- # /etc/ppp/pap-secrets files. If the connection doesn't work try
- # changing some of the settings below.
- #
- # You'll also need to modify /etc/ppp/chat/gprs to include any AT
- # commands for setting up the GPRS connection and to set the phone
- # number to dial.
- #
- # You can then start/stop a connection with:
- # pon gprs
- # poff gprs
- #
- # Refer to the pppd(8) man page for more details.
- /dev/ttyGPRS
- 115200
- connect '/usr/sbin/chat -v -f /etc/ppp/chat/gprs'
- disconnect '/usr/sbin/chat -v -f /etc/ppp/chat/disconnect'
- user "foobar"
- noauth
- noipdefault
- defaultroute
- usepeerdns
- noproxyarp
- # PPP compression:
- # PPP compression may be used between the phone and the pppd, but the
- # serial connection is usually not the bottleneck in GPRS, so the
- # compression is useless (and with some phones needs to disabled before
- # the LCP negotiations succeed).
- noaccomp
- nobsdcomp
- nodeflate
- nopcomp
- noaccomp
- crtscts
- modem
- # No magic:
- # Some phones may require this option.
- #nomagic
- # Require PAP authentication:
- # Some phones may require this option.
- #require-pap
- # LCP echo requests:
- # Some phones don't support LCP echo requests (PPP keep-alives)
- # resulting pppd terminating the connection.
- lcp-echo-interval 0
|