Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | # example configuration for a dialup connection authenticated with PAP or CHAP |
| 2 | # |
| 3 | # This is the default configuration used by pon(1) and poff(1). |
| 4 | # See the manual page pppd(8) for information on all the options. |
| 5 | |
| 6 | # MUST CHANGE: replace myusername@realm with the PPP login name given to |
| 7 | # your by your provider. |
| 8 | # There should be a matching entry with the password in /etc/ppp/pap-secrets |
| 9 | # and/or /etc/ppp/chap-secrets. |
| 10 | user "myusername@realm" |
| 11 | |
| 12 | # MUST CHANGE: replace ******** with the phone number of your provider. |
| 13 | # The /etc/chatscripts/pap chat script may be modified to change the |
| 14 | # modem initialization string. |
| 15 | connect "/usr/sbin/chat -v -f /etc/chatscripts/pap -T ********" |
| 16 | |
| 17 | # Serial device to which the modem is connected. |
| 18 | /dev/modem |
| 19 | |
| 20 | # Speed of the serial line. |
| 21 | 115200 |
| 22 | |
| 23 | # Assumes that your IP address is allocated dynamically by the ISP. |
| 24 | noipdefault |
| 25 | # Try to get the name server addresses from the ISP. |
| 26 | usepeerdns |
| 27 | # Use this connection as the default route. |
| 28 | defaultroute |
| 29 | |
| 30 | # Makes pppd "dial again" when the connection is lost. |
| 31 | persist |
| 32 | |
| 33 | # Do not ask the remote to authenticate. |
| 34 | noauth |
| 35 | |