1 --- ppp-2.3.5.orig/debian/README.debian Thu Jan 1 01:00:00 1970
2 +++ ppp-2.3.5/debian/README.debian Tue Feb 2 19:07:33 1999
7 +Upgrading from Previous versions to 2.3.1 and beyond.
8 +--------------------------------
10 +The default setup in /etc/ppp/options is to turn authentication on.
12 +This may cause you not to be able to log into your ISP any more, if they do
13 +not support PAP or CHAP authentication. All you need to do is set ``noauth''
14 +either on pppd's command line or in /etc/ppp/peers/provider, in order to switch
15 +it off for this connection.
17 +[Don't just turn it off again in the options file, since it is better to deny
18 + access by default for security reasons.]
20 +Apparently some people have had problems with /etc/chatscripts not
21 +ending up owned by root.dip. Just run
23 + chown root.dip /etc/chatscripts
25 +PAM Support (needed for inbound PAP):
26 +------------------------------------
28 +pppd with PAM support for inbound PAP logins is available by installing
29 +ppp-pam, which contains a replacement /usr/sbin/pppd.
36 +This release provides scripts to conveniently control ppp from user space.
37 +Note that the scripts only work with the proper setup in /etc/ppp. Edit
38 +the configuration files and test the operation of your link in superuser
41 +Read the manpage for pon,poff,plog please.
46 +pon Bring link up. Executes pppd and will immediately
47 + return the command prompt while still dialing.
48 + use plog to figure out what pppd does.
50 +poff Bring link down. Kills pppd
52 +plog shows the last lines of the pppd log.
54 +Outbound and Inbound Dialing Setup
55 +----------------------------------
56 +pppd attempts to handle both inbound and outbound through one set of
57 +configuration files. The /etc/ppp/options file has been set up for the most
58 +common setups. Please do not change it if at all possible. Specify
59 +parameters on the commandline if necessary. If you find a change that will
60 +be beneficial to all then please tell me about it.
62 +Outbound Setup (Simple one server setup!)
65 +Edit the file /etc/chatscripts/provider and make sure it contains what
66 +you need to dialup into your server and eventually start up ppp on the
69 +Edit the file /etc/ppp/peers/provider and put all options in it that you need
70 +to connect to your server. The most common options are already provided for
71 +you. If you need the common PAP-Password authentication then add
72 +user <username> to it. Otherwise you might also change the system name to be
73 +like your username. The systemname is used for authentication if you do not
74 +provide the "user" directive. See also pppd manpage.
76 +Note: If you are NOT using pap or chap authentication, you need to put
77 + `noauth' in /etc/ppp/peers/provider to allow a connection to be made.
79 +Edit the file /etc/ppp/pap-secrets and put your password into the designated
82 +You should then be able to start the ppp connection with pon.
84 +If you want to have ppp on bootup then rename the file
85 +/etc/ppp/no_ppp_on_boot to /etc/ppp/ppp_on_boot.
87 +Inbound Setup (assuming mgetty 0.99 installed)
88 +----------------------------------------------
89 +Edit the /etc/ppp/options file and uncomment the nameserver lines. Provide
90 +the IP addresses that you want the users to use for their name services.
92 +Copy the file /etc/ppp/options.XX so that you have one options file
93 +for each serial port you run mgetty on. Give each serial port an IP address
94 +in those files. That way that port is locked into using that IP number.
95 +Think what consequences that assignment might have for outbound use...
97 +That should be enough for dialup from a Win95 or NT Server. The
98 +username/password on those system is used for a pap-authentication.
99 +The /etc/ppp/pap-secrets is already set up for such a situation. Mgetty is
100 +preconfigured to call pppd with parameters so that the pap-verification will
101 +be done through the /etc/passwd file.
103 +All your users should now be able to establish ppp connections by just
104 +specifying phone#, username,password from Win95 etc.
106 +Inbound dialup using dialup Scripts:
107 +A ppp session can be established from the regular Linux prompt by executing
108 +/usr/sbin/pppd. The user is limited to use the assigned IP adddress in
109 +/etc/ppp/options.ttyname and will not be able to override it.
113 +Access to PPPD is controlled via the membership in the "dip" group.
115 +Demand Dialup links:
116 +--------------------
117 +You need to have the kernel patched in order to support demand dialup with
118 +the patches for ppp 2.3!!!!
120 +Add the following options to /etc/ppp/peers/provider:
122 +demand idle 600 holdoff 20
124 +to set up demand dialing. 600 seconds (=10 Minutes) idle time disconnects.
125 +20 seconds between attempts to connect. This setup implies the "persist"
126 +option. You might also want to enable ppp on boot up so you wont have to
127 +worry about the ppp connection at all.
129 +Syslog Facility Level:
130 +----------------------
132 +The default level of LOG_DAEMON has been overridden (as described in the
133 +pppd(8) man page), to be LOG_LOCAL2. The intent being thst local2 be sent
134 +to /var/log/ppp.log for use by plog.
138 +- Password expiration. Was implemented with a direct call to a non-exported
139 + function in libshadow. Why are they doing such things?
143 +As of version 2.3.1 the kernel stuff is broken. See the file
145 +kernel.fix2.0.30-2 in this directory.
147 +Christoph Lameter, <clameter@debian.org> 22 July 1997
149 --- ppp-2.3.5.orig/debian/ip-down Thu Jan 1 01:00:00 1970
150 +++ ppp-2.3.5/debian/ip-down Tue Feb 2 19:07:33 1999
156 +# This script is run by the pppd _after_ the link is brought down.
157 +# It uses run-parts to run scripts in /etc/ppp/ip-down.d, so to delete
158 +# routes, unset IP addresses etc. you should create script(s) there.
160 +# Be aware that other packages may include /etc/ppp/ip-down.d scripts (named
161 +# after that package), so choose local script names with that in mind.
163 +# This script is called with the following arguments:
165 +# $1 Interface name ppp0
167 +# $3 The link speed 38400
168 +# $4 Local IP number 12.34.56.78
169 +# $5 Peer IP number 12.34.56.99
170 +# $6 Optional ``ipparam'' value foo
172 +# The environment is cleared before executing this script
173 +# so the path must be reset
174 +PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin
176 +# These variables are for the use of the scripts run by run-parts
183 +export PPP_IFACE PPP_TTY PPP_SPEED PPP_LOCAL PPP_REMOTE PPP_IPPARAM
185 +# as an additional convienince, $PPP_TTYNAME is set to the tty name,
186 +# stripped of /dev/ (if present) for easier matching.
187 +PPP_TTYNAME=`/usr/bin/basename "$2"`
190 +# Main Script starts here
192 +run-parts /etc/ppp/ip-down.d
195 --- ppp-2.3.5.orig/debian/ip-up Thu Jan 1 01:00:00 1970
196 +++ ppp-2.3.5/debian/ip-up Tue Feb 2 19:07:33 1999
202 +# This script is run by the pppd after the link is established.
203 +# It uses run-parts to run scripts in /etc/ppp/ip-up.d, so to add routes,
204 +# set IP address, run the mailq etc. you should create script(s) there.
206 +# Be aware that other packages may include /etc/ppp/ip-up.d scripts (named
207 +# after that package), so choose local script names with that in mind.
209 +# This script is called with the following arguments:
211 +# $1 Interface name ppp0
213 +# $3 The link speed 38400
214 +# $4 Local IP number 12.34.56.78
215 +# $5 Peer IP number 12.34.56.99
216 +# $6 Optional ``ipparam'' value foo
218 +# The environment is cleared before executing this script
219 +# so the path must be reset
220 +PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin
222 +# These variables are for the use of the scripts run by run-parts
229 +export PPP_IFACE PPP_TTY PPP_SPEED PPP_LOCAL PPP_REMOTE PPP_IPPARAM
232 +# as an additional convenience, $PPP_TTYNAME is set to the tty name,
233 +# stripped of /dev/ (if present) for easier matching.
234 +PPP_TTYNAME=`/usr/bin/basename "$2"`
237 +# Main Script starts here
239 +run-parts /etc/ppp/ip-up.d
242 --- ppp-2.3.5.orig/debian/options Thu Jan 1 01:00:00 1970
243 +++ ppp-2.3.5/debian/options Tue Feb 2 19:07:33 1999
249 +# Originally created by Jim Knoble <jmknoble@mercury.interpath.net>
250 +# Modified for Debian by alvar Bray <alvar@meiko.co.uk>
251 +# Modified for PPP Server setup by Christoph Lameter <clameter@debian.org>
253 +# Use the command egrep -v '#|^ *$' /etc/ppp/options to quickly see what
254 +# options are active in this file.
256 +# Specify which DNS Servers the incoming Win95 or WinNT Connection should use
257 +# Two Servers can be remotely configured
258 +# ms-dns 192.168.1.1
259 +# ms-dns 192.168.1.2
261 +# Specify which WINS Servers the incoming connection Win95 or WinNT should use
262 +# ms-wins 192.168.1.50
263 +# ms-wins 192.168.1.51
265 +# Run the executable or shell command specified after pppd has
266 +# terminated the link. This script could, for example, issue commands
267 +# to the modem to cause it to hang up if hardware modem control signals
268 +# were not available.
269 +#disconnect "chat -- \d+++\d\c OK ath0 OK"
271 +# async character map -- 32-bit hex; each bit is a character
272 +# that needs to be escaped for pppd to receive it. 0x00000001
273 +# represents '\x01', and 0x80000000 represents '\x1f'.
276 +# Require the peer to authenticate itself before allowing network
277 +# packets to be sent or received.
278 +# Please do not disable this setting. It is expected to be standard in
279 +# future releases of pppd. Use the call option (see manpage) to disable
280 +# authentication for specific peers.
283 +# Use hardware flow control (i.e. RTS/CTS) to control the flow of data
284 +# on the serial port.
287 +# Use software flow control (i.e. XON/XOFF) to control the flow of data
288 +# on the serial port.
291 +# Specifies that certain characters should be escaped on transmission
292 +# (regardless of whether the peer requests them to be escaped with its
293 +# async control character map). The characters to be escaped are
294 +# specified as a list of hex numbers separated by commas. Note that
295 +# almost any character can be specified for the escape option, unlike
296 +# the asyncmap option which only allows control characters to be
297 +# specified. The characters which may not be escaped are those with hex
298 +# values 0x20 - 0x3f or 0x5e.
301 +# Don't use the modem control lines.
304 +# Specifies that pppd should use a UUCP-style lock on the serial device
305 +# to ensure exclusive access to the device.
308 +# Use the modem control lines. On Ultrix, this option implies hardware
309 +# flow control, as for the crtscts option. (This option is not fully
313 +# Set the MRU [Maximum Receive Unit] value to <n> for negotiation. pppd
314 +# will ask the peer to send packets of no more than <n> bytes. The
315 +# minimum MRU value is 128. The default MRU value is 1500. A value of
316 +# 296 is recommended for slow links (40 bytes for TCP/IP header + 256
320 +# Set the interface netmask to <n>, a 32 bit netmask in "decimal dot"
321 +# notation (e.g. 255.255.255.0).
322 +#netmask 255.255.255.0
324 +# Disables the default behaviour when no local IP address is specified,
325 +# which is to determine (if possible) the local IP address from the
326 +# hostname. With this option, the peer will have to supply the local IP
327 +# address during IPCP negotiation (unless it specified explicitly on the
328 +# command line or in an options file).
331 +# Enables the "passive" option in the LCP. With this option, pppd will
332 +# attempt to initiate a connection; if no reply is received from the
333 +# peer, pppd will then just wait passively for a valid LCP packet from
334 +# the peer (instead of exiting, as it does without this option).
337 +# With this option, pppd will not transmit LCP packets to initiate a
338 +# connection until a valid LCP packet is received from the peer (as for
339 +# the "passive" option with old versions of pppd).
342 +# Don't request or allow negotiation of any options for LCP and IPCP
343 +# (use default values).
346 +# Disable Address/Control compression negotiation (use default, i.e.
347 +# address/control field disabled).
350 +# Disable asyncmap negotiation (use the default asyncmap, i.e. escape
351 +# all control characters).
354 +# Don't fork to become a background process (otherwise pppd will do so
355 +# if a serial device is specified).
358 +# Disable IP address negotiation (with this option, the remote IP
359 +# address must be specified with an option on the command line or in an
363 +# Disable magic number negotiation. With this option, pppd cannot
364 +# detect a looped-back line.
367 +# Disable MRU [Maximum Receive Unit] negotiation (use default, i.e.
371 +# Disable protocol field compression negotiation (use default, i.e.
372 +# protocol field compression disabled).
375 +# Require the peer to authenticate itself using PAP.
378 +# Don't agree to authenticate using PAP.
381 +# Require the peer to authenticate itself using CHAP [Cryptographic
382 +# Handshake Authentication Protocol] authentication.
385 +# Don't agree to authenticate using CHAP.
388 +# Disable negotiation of Van Jacobson style IP header compression (use
389 +# default, i.e. no compression).
392 +# Increase debugging level (same as -d). If this option is given, pppd
393 +# will log the contents of all control packets sent or received in a
394 +# readable form. The packets are logged through syslog with facility
395 +# daemon and level debug. This information can be directed to a file by
396 +# setting up /etc/syslog.conf appropriately (see syslog.conf(5)). (If
397 +# pppd is compiled with extra debugging enabled, it will log messages
398 +# using facility local2 instead of daemon).
401 +# Append the domain name <d> to the local host name for authentication
402 +# purposes. For example, if gethostname() returns the name porsche,
403 +# but the fully qualified domain name is porsche.Quotron.COM, you would
404 +# use the domain option to set the domain name to Quotron.COM.
407 +# Enable debugging code in the kernel-level PPP driver. The argument n
408 +# is a number which is the sum of the following values: 1 to enable
409 +# general debug messages, 2 to request that the contents of received
410 +# packets be printed, and 4 to request that the contents of transmitted
411 +# packets be printed.
414 +# Set the MTU [Maximum Transmit Unit] value to <n>. Unless the peer
415 +# requests a smaller value via MRU negotiation, pppd will request that
416 +# the kernel networking code send data packets of no more than n bytes
417 +# through the PPP network interface.
420 +# Enforce the use of the hostname as the name of the local system for
421 +# authentication purposes (overrides the name option).
424 +# Set the assumed name of the remote system for authentication purposes
428 +# Add an entry to this system's ARP [Address Resolution Protocol]
429 +# table with the IP address of the peer and the Ethernet address of this
433 +# Use the system password database for authenticating the peer using
434 +# PAP. Note: mgetty already provides this option. If this is specified
435 +# then dialin from users using a script under Linux to fire up ppp wont work.
438 +# If this option is given, pppd will send an LCP echo-request frame to
439 +# the peer every n seconds. Under Linux, the echo-request is sent when
440 +# no packets have been received from the peer for n seconds. Normally
441 +# the peer should respond to the echo-request by sending an echo-reply.
442 +# This option can be used with the lcp-echo-failure option to detect
443 +# that the peer is no longer connected.
444 +lcp-echo-interval 30
446 +# If this option is given, pppd will presume the peer to be dead if n
447 +# LCP echo-requests are sent without receiving a valid LCP echo-reply.
448 +# If this happens, pppd will terminate the connection. Use of this
449 +# option requires a non-zero value for the lcp-echo-interval parameter.
450 +# This option can be used to enable pppd to terminate after the physical
451 +# connection has been broken (e.g., the modem has hung up) in
452 +# situations where no hardware modem control lines are available.
455 +# Set the LCP restart interval (retransmission timeout) to <n> seconds
459 +# Set the maximum number of LCP terminate-request transmissions to <n>
461 +#lcp-max-terminate <n>
463 +# Set the maximum number of LCP configure-request transmissions to <n>
465 +#lcp-max-configure <n>
467 +# Set the maximum number of LCP configure-NAKs returned before starting
468 +# to send configure-Rejects instead to <n> (default 10).
469 +#lcp-max-failure <n>
471 +# Set the IPCP restart interval (retransmission timeout) to <n>
472 +# seconds (default 3).
475 +# Set the maximum number of IPCP terminate-request transmissions to <n>
477 +#ipcp-max-terminate <n>
479 +# Set the maximum number of IPCP configure-request transmissions to <n>
481 +#ipcp-max-configure <n>
483 +# Set the maximum number of IPCP configure-NAKs returned before starting
484 +# to send configure-Rejects instead to <n> (default 10).
485 +#ipcp-max-failure <n>
487 +# Set the PAP restart interval (retransmission timeout) to <n> seconds
491 +# Set the maximum number of PAP authenticate-request transmissions to
493 +#pap-max-authreq <n>
495 +# Set the CHAP restart interval (retransmission timeout for
496 +# challenges) to <n> seconds (default 3).
499 +# Set the maximum number of CHAP challenge transmissions to <n>
503 +# If this option is given, pppd will rechallenge the peer every <n>
507 +# With this option, pppd will accept the peer's idea of our local IP
508 +# address, even if the local IP address was specified in an option.
511 +# With this option, pppd will accept the peer's idea of its (remote) IP
512 +# address, even if the remote IP address was specified in an option.
515 +# Disable the IPXCP and IPX protocols.
516 +# To let pppd pass IPX packets comment this out --- you'll probably also
517 +# want to install ipxripd, and have the Internal IPX Network option enabled
518 +# in your kernel. /usr/doc/HOWTO/IPX-HOWTO.gz contains more info.
521 +# ---<End of File>---
523 --- ppp-2.3.5.orig/debian/options.ttyXX Thu Jan 1 01:00:00 1970
524 +++ ppp-2.3.5/debian/options.ttyXX Tue Feb 2 19:07:33 1999
526 +# If you need to set up multiple serial lines then copy
528 +# options.<ttyname> for each tty with a modem on it.
530 +# The options.tty file will assign an IP address to each PPP connection
531 +# as it comes up. They must all be distinct!
534 +# options.ttyS1 for com2 under DOS.
536 +# Edit the following line so that the first IP address
537 +# mentioned is the is the IP address of your host while the second
538 +# is the ip address of the serial port
540 +# I usually use the convention hostname + dash + last 2 character of
541 +# the ttyname to refer to serial ports.
542 +# For example servername-s1 for ttyS1 on server "servername"
544 +hostname:hostname-s1
545 --- ppp-2.3.5.orig/debian/pap-secrets Thu Jan 1 01:00:00 1970
546 +++ ppp-2.3.5/debian/pap-secrets Tue Feb 2 19:07:33 1999
548 +# This is a pap-secrets file to be used with the AUTO_PPP function of mgetty
549 +# mgetty-0.99 is preconfigured to startup pppd with the login option which
550 +# will cause pppd to consult /etc/passwd after a user has passed this file
551 +# Dont be disturbed therfore by the fact that this file defines logins with
552 +# any password for users. /etc/passwd will catch passwd mismatches.
554 +# This file should block ALL users that should not be able to do AUTO_PPP!
555 +# AUTO_PPP bypasses the usual login program so its necessary to list all
556 +# system userids with regular passwords here!
558 +# ATTENTION: The definitions here can allow users to login without a
559 +# password if you dont use the login option of pppd!
560 +# The /etc/ppp/options file installed has the login option enabled
562 +# INBOUND connections
564 +# Every regular user can use PPP and has to use passwords from /etc/passwd
567 +# UserIDs that cannot use PPP at all. Check your /etc/passwd and add any
568 +# other accounts that should not be able to use pppd!
569 +guest hostname "*" -
570 +master hostname "*" -
572 +support hostname "*" -
573 +stats hostname "*" -
575 +# OUTBOUND connections
577 +# Here you should add your userid password to connect to your providers via
578 +# pap. The * means that the password is to be used for ANY host you connect
579 +# to. Thus you do not have to worry about the foreign machine name. Just
580 +# replace password with your password.
581 +# If you have different providers with different passwords then you better
582 +# remove the following line.
585 --- ppp-2.3.5.orig/debian/plog Thu Jan 1 01:00:00 1970
586 +++ ppp-2.3.5/debian/plog Tue Feb 2 19:07:33 1999
589 +tail $* /var/log/ppp.log
590 --- ppp-2.3.5.orig/debian/plog.1 Thu Jan 1 01:00:00 1970
591 +++ ppp-2.3.5/debian/plog.1 Tue Feb 2 19:07:33 1999
594 --- ppp-2.3.5.orig/debian/poff Thu Jan 1 01:00:00 1970
595 +++ ppp-2.3.5/debian/poff Tue Feb 2 19:07:33 1999
600 +# Written by Phil Hands <phil@hands.com>, distributed under the GNU GPL
602 +SIG=TERM DONE=stopped;
606 + "r") SIG=HUP DONE=signalled; shift ;;
607 + "d") SIG=USR1 DONE=signalled; shift ;;
608 + "c") SIG=USR2 DONE=signalled; shift ;;
610 +usage: $0 [options] [provider]
613 + -r cause pppd to drop the line and redial
614 + -d toggles the state of pppd's debug option
615 + -c cause pppd to renegotiate compression
616 + -h this help summary
625 +# Lets see how many pppds are running....
626 +set -- `cat /var/run/ppp*.pid 2>/dev/null`
629 + 0) # pppd only creates a pid file once ppp is up, so let's try killing pppd
630 + # on the assumption that we've not got that far yet.
631 + kill -${SIG} `ps axw | egrep "pppd call [[:alnum:]]+" | grep -v grep | awk '{print $1}'`
634 + 1) # If only one was running then it can be killed using the pid
638 + *) # More than one! Aieehh.. We have to use ps to figure it out.
639 + # If no arguments were specified, then assume the 'provider' default.
640 + PID=`ps axw | egrep "pppd call ${PROVIDER:-provider}[[:space:]]*\$" | grep -v grep | awk '{print $1}'`
642 + kill -${SIG} ${PID}
645 + echo "I could not find a pppd process or provider '${PROVIDER:-provider}'. None ${DONE}"
650 --- ppp-2.3.5.orig/debian/poff.1 Thu Jan 1 01:00:00 1970
651 +++ ppp-2.3.5/debian/poff.1 Tue Feb 2 19:07:33 1999
654 --- ppp-2.3.5.orig/debian/pon Thu Jan 1 01:00:00 1970
655 +++ ppp-2.3.5/debian/pon Tue Feb 2 19:07:33 1999
658 +/usr/sbin/pppd call ${1:-provider}
659 --- ppp-2.3.5.orig/debian/pon.1 Thu Jan 1 01:00:00 1970
660 +++ ppp-2.3.5/debian/pon.1 Tue Feb 2 19:07:33 1999
663 +.TH PLOG 1 "Oct 1996" local "Linux Programmer's Manual"
665 +pon, poff, plog \- startup, shutdown, or list the log of the PPP connection.
676 +switch the ppp connection on and off. Progress and logged events related to
677 +the ppp connection can be viewed using
679 +.SH REQUIREMENTS FOR the p-commands to work
681 +.B /etc/ppp/chatscripts/provider
682 +must contain the correct chatscript to connect to your provider. All users
683 +that are supposed to be able to use the p-commands should have read access
688 +contains the options for ppp to connect to your provider. This file also
689 +must be readable by all users who should be able to use the p-commands.
691 +.I /etc/ppp/chatscripts/provider
693 +.I /etc/ppp/peers/provider
699 +.I /etc/ppp/pap-secrets
701 +.I /etc/ppp/chap-secrets
703 +pppd(8), chat(8), and the documentation in /usr/doc/ppp
705 +The p-commands were written by Christoph Lameter <clameter@debian.org>
706 --- ppp-2.3.5.orig/debian/ppp-2.3.0.STATIC.README Thu Jan 1 01:00:00 1970
707 +++ ppp-2.3.5/debian/ppp-2.3.0.STATIC.README Tue Feb 2 19:07:33 1999
710 +ppp-2.3.0-static.diff
712 + Patch to ppp-2.3.0 to support using static IP addresses with
713 + Mgetty and AutoPPP. Does not affect normal dynamic assignments.
714 + This patch is for 2.3.0 only and not very well tested, comments
715 + welcome. Apply with "patch -p1" in the top directory of the
716 + ppp-2.3.0 sources. After getting ppp-2.3.0 to compile cleanly on
717 + your system, patch and re-compile. (No need to re-compile kernel)
718 + While the patches should work with any authentication method, we
719 + did not have success getting 2.3.0 to work with USE_PAM=1 option.
720 + (Out of the box). We use shadow passwords and "make HAS_SHADOW=1".
721 + Bottom line...you should get ppp-2.3.0 working BEFORE you apply
724 + After patching and re-compiling, update the pap-secrets file to
725 + contain the entries of those users you want to have static
726 + IP addresses. Typical entry might look like:
728 + #client server secret IP addresses
729 + jdoe * realpswd 207.69.189.15
732 + Also, inform your static IP users to include their IP when
733 + connecting. ex: pppd 207.69.189.15:
734 + Or for Windows folks "check" Specify an IP address.
736 + Note: The second line is what most folks will use to authenticate
737 + users who will be dynamically assigned their addresses by
738 + /dev/ttyXX. This along with the login option allows users to
739 + be PAP authenticated against the /etc/passwd or /etc/shadow.
740 + If you enter each and every user into your pap-secrets file
741 + and do not have the last line,(wildcards line) you MUST place
742 + a "*" at the end of each users line. Without it authentication
743 + will fail. For example:
745 + #client server secret IP addresses
746 + jdoe * passwd 207.69.189.15 *
748 + This "*" at the end allows the patches to work properly without
749 + changing the normal process. The IP address is normally assigned
750 + via the /etc/ppp/options.ttyXX file. The patches do not interfere
751 + with this process at all. The only thing different is when the
752 + user tells pppd he has his own address, pppd will allow him to use
753 + it, if he and his address are authenticated via the pap-secrets file.
754 + The only thing to remember, is tell your static IP users to set the
755 + "correct" IP or they will be assigned the normal dynamic address.
756 + (And of course that's not what we want) :>) If you have any
759 +While I tested this as many ways as our systems would allow, no warranty
760 +is implied. They work well for us.
762 +Jeff Myers <jmyers@southcom.net>
763 --- ppp-2.3.5.orig/debian/provider Thu Jan 1 01:00:00 1970
764 +++ ppp-2.3.5/debian/provider Tue Feb 2 19:59:00 1999
766 +# These are the options to dial out to your service provider
767 +# Please customize them correctly. Only the "provider" file will
768 +# be handled by poff and pon.
770 +# You usually need this if there is no PAP authentication
773 +# The chatscript (be sure to edit that file too)
774 +connect "/usr/sbin/chat -v -f /etc/ppp/chatscripts/provider"
779 +# Default Modem (you better replace this with /dev/ttySx!)
785 +# Keep Modem up even if connection fails
787 --- ppp-2.3.5.orig/debian/provider.chatscript Thu Jan 1 01:00:00 1970
788 +++ ppp-2.3.5/debian/provider.chatscript Tue Feb 2 19:07:33 1999
794 +"" ATDT<edit phone number here>
795 +ogin <put login name here>
796 +word \q<put password here>
797 --- ppp-2.3.5.orig/debian/win95.ppp Thu Jan 1 01:00:00 1970
798 +++ ppp-2.3.5/debian/win95.ppp Tue Feb 2 19:07:33 1999
800 +Short Guide on How to run a Win95 Connection with PPPD to Debian Linux
801 +----------------------------------------------------------------------
803 +1. Do not mess around with the Win95 configuration.
804 + Do not manually configure DNS, Scripts etc.
805 + Do not switch on the terminal windows.
806 + Accept all defaults or better leave it as
807 + it was at installation.
809 +2. You need to have a getty program that supports
810 + automatic PPP protocol detection such as mgetty-0.99
812 + You also need to have a pppd that supports remote DNS configuration.
813 + The ppp usually coming with Debian has these options since ppp-2.2.0f-4
815 + Without the extended ppp you still have to configure the DNS Server
816 + on the Win95 wanting to connect to your Debian Linux Box.
818 +3. Configure PPP on Debian
819 + A) Change the dns lines in /etc/ppp/options and review the
820 + complete file for things you need to do.
822 + B) Make sure that your /etc/ppp/pap-secrets file is set
823 + up correctly. It should allow your users in /etc/passwd
824 + to establish ppp connections without a password. pppd will
825 + check against /etc/passwd too!
826 + The pap-secrets installed by this package is set up correctly
827 + to handle user logins via pap.
828 + If you are having trouble with authentication then remove
829 + /etc/ppp/pap-secrets completely and it will usually work.
832 + Click on Dialup-Connection
833 + A. Enter phone number of your linux server
834 + B. Enter username when prompted
835 + C. Enter password when prompted
837 +Win95 should connect to your Linux PPPD without problems and automatically
838 +configure all IP-Addresses, Netmasks and DNS Servers. You can immediately
839 +start Netscape, Internet Explorer or any other TCP/IP tools.
841 +Christoph Lameter, September 27, 1996 (clameter@debian.org)