mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-27 11:20:58 +01:00
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 !
This commit is contained in:
parent
d18096cf79
commit
b720900890
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78554
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user