diff options
author | brian <brian@FreeBSD.org> | 2001-06-21 15:42:26 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-06-21 15:42:26 +0000 |
commit | fbbff0939b11e073af8eb011e1568796b043caed (patch) | |
tree | ae4cb502b28b110ed83bc929aae445f976223beb /etc | |
parent | 3016eeef9e1255c1131a13730d2b5ddc0d5e45db (diff) | |
download | FreeBSD-src-fbbff0939b11e073af8eb011e1568796b043caed.zip FreeBSD-src-fbbff0939b11e073af8eb011e1568796b043caed.tar.gz |
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 !
Diffstat (limited to 'etc')
-rw-r--r-- | etc/ppp/ppp.conf | 8 |
1 files changed, 4 insertions, 4 deletions
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 |