From fbbff0939b11e073af8eb011e1568796b043caed Mon Sep 17 00:00:00 2001 From: brian Date: Thu, 21 Jun 2001 15:42:26 +0000 Subject: Move the interface address setting and default route setting out of the default section and into the papchap section. It's really irritating when you run ppp with no arguments and end up blowing away your default route ! --- etc/ppp/ppp.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'etc') diff --git a/etc/ppp/ppp.conf b/etc/ppp/ppp.conf index 3423e1d..209afa8 100644 --- a/etc/ppp/ppp.conf +++ b/etc/ppp/ppp.conf @@ -9,6 +9,7 @@ ################################################################# default: + set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) # Ensure that "device" references the correct serial port @@ -16,17 +17,13 @@ default: # set device /dev/cuaa1 - set log Phase Chat LCP IPCP CCP tun command set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" - set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 set timeout 180 # 3 minute idle timer (the default) - add default HISADDR # Add a (sticky) default route enable dns # request DNS info (for resolv.conf) papchap: - # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. @@ -35,3 +32,6 @@ papchap: set phone PHONE_NUM set authname USERNAME set authkey PASSWORD + + set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 + add default HISADDR # Add a (sticky) default route -- cgit v1.1