1 --- ppp-2.3.3/sample/auth-down.sample Tue Jan 6 17:53:27 1998
2 +++ ppp-2.3.3/sample/auth-down Tue Jan 6 17:53:27 1998
6 +# A program or script which is executed after the remote system
7 +# successfully authenticates itself. It is executed with the parameters
8 +# <interface-name> <peer-name> <user-name> <tty-device> <speed>
12 +# The environment is cleared before executing this script
13 +# so the path must be reset
15 +PATH=/usr/sbin:/sbin:/usr/bin:/bin
18 +echo auth-down `date +'%y/%m/%d %T'` $* >> /var/log/pppstats
21 --- ppp-2.3.3/sample/auth-up.sample Tue Jan 6 17:53:27 1998
22 +++ ppp-2.3.3/sample/auth-up Tue Jan 6 17:53:27 1998
26 +# A program or script which is executed after the remote system
27 +# successfully authenticates itself. It is executed with the parameters
28 +# <interface-name> <peer-name> <user-name> <tty-device> <speed>
32 +# The environment is cleared before executing this script
33 +# so the path must be reset
35 +PATH=/usr/sbin:/sbin:/usr/bin:/bin
38 +echo auth-up `date +'%y/%m/%d %T'` $* >> /var/log/pppstats
41 --- ppp-2.3.3/sample/ip-down.sample Tue Jan 6 17:53:27 1998
42 +++ ppp-2.3.3/sample/ip-down Tue Jan 6 17:53:27 1998
46 +# This script is run by the pppd _after_ the link is brought down.
47 +# It should be used to delete routes, unset IP addresses etc.
49 +# This script is called with the following arguments:
51 +# $1 Interface name ppp0
53 +# $3 The link speed 38400
54 +# $4 Local IP number 12.34.56.78
55 +# $5 Peer IP number 12.34.56.99
59 +# The environment is cleared before executing this script
60 +# so the path must be reset
62 +PATH=/usr/sbin:/sbin:/usr/bin:/bin
66 --- ppp-2.3.3/sample/ip-up.sample Tue Jan 6 17:53:27 1998
67 +++ ppp-2.3.3/sample/ip-up Tue Jan 6 17:53:27 1998
71 +# This script is run by the pppd after the link is established.
72 +# It should be used to add routes, set IP address, run the mailq
75 +# This script is called with the following arguments:
77 +# $1 Interface name ppp0
79 +# $3 The link speed 38400
80 +# $4 Local IP number 12.34.56.78
81 +# $5 Peer IP number 12.34.56.99
85 +# The environment is cleared before executing this script
86 +# so the path must be reset
88 +PATH=/usr/sbin:/sbin:/usr/bin:/bin
92 --- ppp-2.3.3/sample/options.sample Tue Jan 6 17:53:27 1998
93 +++ ppp-2.3.3/sample/options Tue Jan 6 17:53:27 1998
97 +# The name of this server. Often, the FQDN is used here.
100 +# Enforce the use of the hostname as the name of the local system for
101 +# authentication purposes (overrides the name option).
104 +# If no local IP address is given, pppd will use the first IP address
105 +# that belongs to the local hostname. If "noipdefault" is given, this
106 +# is disabled and the peer will have to supply an IP address.
109 +# With this option, pppd will accept the peer's idea of our local IP
110 +# address, even if the local IP address was specified in an option.
113 +# With this option, pppd will accept the peer's idea of its (remote) IP
114 +# address, even if the remote IP address was specified in an option.
117 +# Specify which DNS Servers the incoming Win95 or WinNT Connection should use
118 +# Two Servers can be remotely configured
122 +# Specify which WINS Servers the incoming connection Win95 or WinNT should use
123 +#wins-addr 192.168.1.50
124 +#wins-addr 192.168.1.51
126 +# enable this on a server that already has a permanent default route
129 +# Run the executable or shell command specified after pppd has terminated
130 +# the link. This script could, for example, issue commands to the modem
131 +# to cause it to hang up if hardware modem control signals were not
133 +# If mgetty is running, it will reset the modem anyway. So there is no need
135 +#disconnect "chat -- \d+++\d\c OK ath0 OK"
137 +# Increase debugging level (same as -d). The debug output is written
138 +# to syslog LOG_LOCAL2.
141 +# Enable debugging code in the kernel-level PPP driver. The argument n
142 +# is a number which is the sum of the following values: 1 to enable
143 +# general debug messages, 2 to request that the contents of received
144 +# packets be printed, and 4 to request that the contents of transmitted
145 +# packets be printed.
148 +# Require the peer to authenticate itself before allowing network
149 +# packets to be sent or received.
150 +# Please do not disable this setting. It is expected to be standard in
151 +# future releases of pppd. Use the call option (see manpage) to disable
152 +# authentication for specific peers.
155 +# authentication can either be pap or chap. As most people only want to
156 +# use pap, you can also disable chap:
160 +# Use hardware flow control (i.e. RTS/CTS) to control the flow of data
161 +# on the serial port.
164 +# Specifies that pppd should use a UUCP-style lock on the serial device
165 +# to ensure exclusive access to the device.
168 +# Use the modem control lines.
171 +# async character map -- 32-bit hex; each bit is a character
172 +# that needs to be escaped for pppd to receive it. 0x00000001
173 +# represents '\x01', and 0x80000000 represents '\x1f'.
174 +# To allow pppd to work over a rlogin/telnet connection, ou should escape
175 +# XON (^Q), XOFF (^S) and ^]: (The peer should use "escape ff".)
179 +# Specifies that certain characters should be escaped on transmission
180 +# (regardless of whether the peer requests them to be escaped with its
181 +# async control character map). The characters to be escaped are
182 +# specified as a list of hex numbers separated by commas. Note that
183 +# almost any character can be specified for the escape option, unlike
184 +# the asyncmap option which only allows control characters to be
185 +# specified. The characters which may not be escaped are those with hex
186 +# values 0x20 - 0x3f or 0x5e.
189 +# Set the MRU [Maximum Receive Unit] value to <n> for negotiation. pppd
190 +# will ask the peer to send packets of no more than <n> bytes. The
191 +# minimum MRU value is 128. The default MRU value is 1500. A value of
192 +# 296 is recommended for slow links (40 bytes for TCP/IP header + 256
196 +# Set the MTU [Maximum Transmit Unit] value to <n>. Unless the peer
197 +# requests a smaller value via MRU negotiation, pppd will request that
198 +# the kernel networking code send data packets of no more than n bytes
199 +# through the PPP network interface.
202 +# Set the interface netmask to <n>, a 32 bit netmask in "decimal dot"
203 +# notation (e.g. 255.255.255.0).
204 +#netmask 255.255.255.0
206 +# Don't fork to become a background process (otherwise pppd will do so
207 +# if a serial device is specified).
210 +# Set the assumed name of the remote system for authentication purposes
214 +# Add an entry to this system's ARP [Address Resolution Protocol]
215 +# table with the IP address of the peer and the Ethernet address of this
216 +# system. {proxyarp,noproxyarp}
219 +# Use the system password database for authenticating the peer using
220 +# PAP. Note: mgetty already provides this option. If this is specified
221 +# then dialin from users using a script under Linux to fire up ppp wont work.
224 +# If this option is given, pppd will send an LCP echo-request frame to
225 +# the peer every n seconds. Under Linux, the echo-request is sent when
226 +# no packets have been received from the peer for n seconds. Normally
227 +# the peer should respond to the echo-request by sending an echo-reply.
228 +# This option can be used with the lcp-echo-failure option to detect
229 +# that the peer is no longer connected.
230 +lcp-echo-interval 30
232 +# If this option is given, pppd will presume the peer to be dead if n
233 +# LCP echo-requests are sent without receiving a valid LCP echo-reply.
234 +# If this happens, pppd will terminate the connection. Use of this
235 +# option requires a non-zero value for the lcp-echo-interval parameter.
236 +# This option can be used to enable pppd to terminate after the physical
237 +# connection has been broken (e.g., the modem has hung up) in
238 +# situations where no hardware modem control lines are available.
241 +# Specifies that pppd should disconnect if the link is idle for n seconds.
244 +# Disable the IPXCP and IPX protocols.
247 +# ---<End of File>---
248 --- ppp-2.3.3/sample/options.ttyXX.sample Tue Jan 6 17:53:27 1998
249 +++ ppp-2.3.3/sample/options.ttyXX Tue Jan 6 17:53:27 1998
251 +# If you need to set up multiple serial lines then copy this file to
252 +# options.<ttyname> for each tty with a modem on it.
254 +# The options.tty file will assign an IP address to each PPP connection
255 +# as it comes up. They must all be distinct!
258 +# options.ttyS1 for com2 under DOS.
260 +# Edit the following line so that the first IP address
261 +# mentioned is the ip address of the serial port while the second
262 +# is the IP address of your host
264 +hostname-s1:hostname
265 --- ppp-2.3.3/sample/pap-secrets.sample Tue Jan 6 17:53:27 1998
266 +++ ppp-2.3.3/sample/pap-secrets Tue Jan 6 17:53:27 1998
268 +# Secrets for authentication using PAP
269 +# client server secret IP addresses
271 +# OUTBOUND CONNECTIONS
272 +# Here you should add your userid password to connect to your providers via
273 +# pap. The * means that the password is to be used for ANY host you connect
274 +# to. Thus you do not have to worry about the foreign machine name. Just
275 +# replace password with your password.
276 +# If you have different providers with different passwords then you better
277 +# remove the following line.
278 +#hostname * password
280 +# INBOUND CONNECTIONS
281 +#client hostname <password> 192.168.1.1
283 +# If you add "auth login -chap +pap" to /etc/mgetty+sendfax/login.config,
284 +# all users in /etc/passwd can use their password for pap-authentication.
286 +# Every regular user can use PPP and has to use passwords from /etc/passwd
288 +# UserIDs that cannot use PPP at all. Check your /etc/passwd and add any
289 +# other accounts that should not be able to use pppd! Replace hostname
290 +# with your local hostname.
291 +#guest hostname "*" -
292 +#master hostname "*" -
293 +#root hostname "*" -
294 +#support hostname "*" -
295 +#stats hostname "*" -