summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-10-24 09:12:25 +0000
committerAlin Năstac <mrness@gentoo.org>2006-10-24 09:12:25 +0000
commitd538475ffea47500e9d02fffda8e3e3bb5ff2dd9 (patch)
tree8ba3cf3ca0aa64b82e6141f9dd963e0bd2e4d7a7 /net-dialup/ppp/files
parentRemove obsolete versions (diff)
downloadgentoo-2-d538475ffea47500e9d02fffda8e3e3bb5ff2dd9.tar.gz
gentoo-2-d538475ffea47500e9d02fffda8e3e3bb5ff2dd9.tar.bz2
gentoo-2-d538475ffea47500e9d02fffda8e3e3bb5ff2dd9.zip
Remove obsolete versions
(Portage version: 2.1.1) (Signed Manifest commit)
Diffstat (limited to 'net-dialup/ppp/files')
-rw-r--r--net-dialup/ppp/files/chat-default15
-rw-r--r--net-dialup/ppp/files/confd.ppp049
-rw-r--r--net-dialup/ppp/files/digest-ppp-2.4.2-r1512
-rw-r--r--net-dialup/ppp/files/digest-ppp-2.4.4-r19
-rw-r--r--net-dialup/ppp/files/ip-down.baselayout40
-rw-r--r--net-dialup/ppp/files/ip-up.baselayout55
-rw-r--r--net-dialup/ppp/files/net.ppp0221
-rw-r--r--net-dialup/ppp/files/options-pppoe6
-rw-r--r--net-dialup/ppp/files/options-pptp18
-rw-r--r--net-dialup/ppp/files/plog7
-rw-r--r--net-dialup/ppp/files/poff103
-rwxr-xr-xnet-dialup/ppp/files/pon39
-rw-r--r--net-dialup/ppp/files/pon.1121
-rw-r--r--net-dialup/ppp/files/pppoe.html174
14 files changed, 0 insertions, 869 deletions
diff --git a/net-dialup/ppp/files/chat-default b/net-dialup/ppp/files/chat-default
deleted file mode 100644
index f66c4374d3fc..000000000000
--- a/net-dialup/ppp/files/chat-default
+++ /dev/null
@@ -1,15 +0,0 @@
-# /etc/ppp/chat-default:
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/files/chat-default,v 1.2 2004/07/18 03:50:48 dragonheart Exp $
-
-'ABORT' 'BUSY'
-'ABORT' 'ERROR'
-'ABORT' 'NO ANSWER'
-'ABORT' 'NO CARRIER'
-'ABORT' 'NO DIALTONE'
-'ABORT' 'Invalid Login'
-'ABORT' 'Login incorrect'
-'' 'ATZ'
-'OK' 'ATDT$NUMBER'
-'CONNECT' ''
-'TIMEOUT' '5'
-'~--' ''
diff --git a/net-dialup/ppp/files/confd.ppp0 b/net-dialup/ppp/files/confd.ppp0
deleted file mode 100644
index 96329294ae30..000000000000
--- a/net-dialup/ppp/files/confd.ppp0
+++ /dev/null
@@ -1,49 +0,0 @@
-# /etc/conf.d/net.ppp0:
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/files/confd.ppp0,v 1.3 2005/02/06 09:22:13 mrness Exp $
-
-# Config file for /etc/init.d/net.ppp0
-
-PEER="MyPeer" # Define peer (aka ISP)
-DEBUG="no" # Turn on debugging
-PERSIST="no" # Redial after being dropped
-ONDEMAND="no" # Only bring the interface up on demand?
-MODEMPORT="/dev/ttyS1" # TTY device modem is connected to
-LINESPEED="115200" # Speed pppd should try to connect at
-INITSTRING="" # Extra init string for the modem
-DEFROUTE="yes" # Must pppd set the default route?
-HARDFLOWCTL="yes" # Use hardware flow control?
-ESCAPECHARS="yes" # Use escape caracters ?
-PPPOPTIONS="" # Extra options for pppd
-USERNAME="user" # The PAP/CHAP username
-PASSWORD="passwd" # Your password/secret. Ugly I know, but i
- # will work on something more secure later
- # on. 700 permission on /etc/init.d/net.ppp0
- # should be enouth for now.
-NUMBER="9180000" # The telephone number of your ISP
- # leave blank for leased-line operation.
-REMIP="" # The ip of the remote box if it should be set
-NETMASK="" # Netmask
-IPADDR="" # Our IP if we have a static one
-MRU="768" # Sets the MRU
-MTU="768" # Sets the MTU
-RETRYTIMEOUT="60" # Retry timeout for when ONDEMAND="yes" or
- # PERSIST="yes"
-IDLETIMEOUT="600" # Idle timeout for when ONDEMAND="yes"
-PEERDNS="no" # Should pppd set the peer dns?
-
-AUTOCFGFILES="yes" # By default this scripts will generate
- # /etc/ppp/chat-isp, /etc/ppp/chap-secrets,
- # /etc/ppp/pap-secrets and /etc/ppp/peers/isp
- # automatically. Set to "no" if you experience
- # problems, or need specialized scripts. You
- # will have to create these files by hand then.
-
-AUTOCHATSCRIPT="yes" # By default this script iwll generate
- # /etc/ppp/chat-${PEER} automatically. Set to "no"
- # if you experience problems, or need specialized
- # scripts. You will have to create these files by
- # hand then.
-
-
-# Directory where the templates is stored
-TEMPLATEDIR=/etc/ppp
diff --git a/net-dialup/ppp/files/digest-ppp-2.4.2-r15 b/net-dialup/ppp/files/digest-ppp-2.4.2-r15
deleted file mode 100644
index c9bec411cd25..000000000000
--- a/net-dialup/ppp/files/digest-ppp-2.4.2-r15
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 0d2679907627f68dd6a2c32d1c7dda90 ppp-2.4.2-mppe-mppc-1.1.patch.gz 12532
-RMD160 0c8b72528cc7828888702d81ebafa92f5f3d653e ppp-2.4.2-mppe-mppc-1.1.patch.gz 12532
-SHA256 e9fac630069ff1843f36ed222b3348c3a996711e6b00411aeaee7882d7e33eee ppp-2.4.2-mppe-mppc-1.1.patch.gz 12532
-MD5 f8ea52da2dd3e7f11a4bcede9fec17c8 ppp-2.4.2-patches-20060516.tar.gz 13311
-RMD160 163c89891cb46a8ed70720904c9861e72ff0abee ppp-2.4.2-patches-20060516.tar.gz 13311
-SHA256 9604cd6bafa6ee3321b0c0b6211d6d86963979cdbc6411eca0b87bc8daa544da ppp-2.4.2-patches-20060516.tar.gz 13311
-MD5 362bcf218fba8afbb9afbee7471e5dac ppp-2.4.2.tar.gz 774441
-RMD160 49a3871cb2e20e749201962df31017203603eaa5 ppp-2.4.2.tar.gz 774441
-SHA256 b54984548fd6ef47abd7f8f2d97d4c6660690b6e0e35fb30b99ef6d3cd62d35a ppp-2.4.2.tar.gz 774441
-MD5 9d2f3febf510c5b0cbb4dacba713a217 ppp-dhcpc.tgz 33497
-RMD160 63bf0d1cc52e91ea536fc593fb7a40502baecd90 ppp-dhcpc.tgz 33497
-SHA256 977fd980bb1d285963d8e27a87b7601ea84317faadfdb40989b258d1853db644 ppp-dhcpc.tgz 33497
diff --git a/net-dialup/ppp/files/digest-ppp-2.4.4-r1 b/net-dialup/ppp/files/digest-ppp-2.4.4-r1
deleted file mode 100644
index 210bb7c6186c..000000000000
--- a/net-dialup/ppp/files/digest-ppp-2.4.4-r1
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 4c8d99db0b6fa1cdeb7fbbeae10a83fc ppp-2.4.4-patches-20060910.tar.gz 42282
-RMD160 89bc9d4be5d62ffbc9683e4167f3d1ed54893d60 ppp-2.4.4-patches-20060910.tar.gz 42282
-SHA256 e55b58332d8f37837dd18a52077274afa136d35699e3820f5658557a9c71a39c ppp-2.4.4-patches-20060910.tar.gz 42282
-MD5 183800762e266132218b204dfb428d29 ppp-2.4.4.tar.gz 688763
-RMD160 ed289a4506c3af41a72f88103d5e0be44dec3da7 ppp-2.4.4.tar.gz 688763
-SHA256 58af45fc07e5f326eea2408df770ea40e4626d1a15e7d564dd054d74880e91ea ppp-2.4.4.tar.gz 688763
-MD5 9d2f3febf510c5b0cbb4dacba713a217 ppp-dhcpc.tgz 33497
-RMD160 63bf0d1cc52e91ea536fc593fb7a40502baecd90 ppp-dhcpc.tgz 33497
-SHA256 977fd980bb1d285963d8e27a87b7601ea84317faadfdb40989b258d1853db644 ppp-dhcpc.tgz 33497
diff --git a/net-dialup/ppp/files/ip-down.baselayout b/net-dialup/ppp/files/ip-down.baselayout
deleted file mode 100644
index f1422e53d620..000000000000
--- a/net-dialup/ppp/files/ip-down.baselayout
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/bash
-
-# this is a script which is executed after disconnecting the ppp interface.
-# look at man pppd for details
-
-# the followings parameters are available:
-# $1 = interface-name
-# $2 = tty-device
-# $3 = speed
-# $4 = local-IP-address
-# $5 = remote-IP-address
-# $6 = ipparam
-
-if [ "$USEPEERDNS" ]; then
- if [ -x /sbin/resolvconf ]; then
- resolvconf -d "$1"
- else
- # taken from debian's 0000usepeerdns
- # follow any symlink to find the real file
- REALRESOLVCONF=$(readlink --canonicalize /etc/resolv.conf)
-
- if [ "$REALRESOLVCONF" != "/etc/ppp/resolv.conf" ]; then
-
- # if an old resolv.conf file exists, restore it
- if [ -e $REALRESOLVCONF.pppd-backup ]; then
- mv $REALRESOLVCONF.pppd-backup $REALRESOLVCONF
- fi
-
- fi
- fi
-fi
-
-if [ -x /etc/init.d/net.$1 ]; then
- if /etc/init.d/net.$1 --quiet status ; then
- export IN_BACKGROUND="true"
- /etc/init.d/net.$1 --quiet stop
- fi
-fi
-
-[ -f /etc/ppp/ip-down.local ] && . /etc/ppp/ip-down.local "$@"
diff --git a/net-dialup/ppp/files/ip-up.baselayout b/net-dialup/ppp/files/ip-up.baselayout
deleted file mode 100644
index 786ace1e3785..000000000000
--- a/net-dialup/ppp/files/ip-up.baselayout
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/bash
-
-# this is a script which is executed after connecting the ppp interface.
-# look at man pppd for details
-
-# the followings parameters are available:
-# $1 = interface-name
-# $2 = tty-device
-# $3 = speed
-# $4 = local-IP-address
-# $5 = remote-IP-address
-# $6 = ipparam
-
-if [ "$USEPEERDNS" ]; then
-
- if [ -x /sbin/resolvconf ]; then
- conf="# Generated by ppp for $1\n"
- [ -n "$DNS1" ] && conf="${conf}nameserver $DNS1\n"
- [ -n "$DNS2" ] && conf="${conf}nameserver $DNS2\n"
- echo -e "$conf" | resolvconf -a "$1"
- else
- # add the server supplied DNS entries to /etc/resolv.conf
- # (taken from debian's 0000usepeerdns)
-
- # follow any symlink to find the real file
- REALRESOLVCONF=$(readlink --canonicalize /etc/resolv.conf)
-
- if [ "$REALRESOLVCONF" != "/etc/ppp/resolv.conf" ]; then
-
- # merge the new nameservers with the other options from the old configuration
- {
- grep --invert-match '^nameserver[[:space:]]' $REALRESOLVCONF
- cat /etc/ppp/resolv.conf
- } > $REALRESOLVCONF.tmp
-
- # backup the old configuration and install the new one
- cp -dpP $REALRESOLVCONF $REALRESOLVCONF.pppd-backup
- mv $REALRESOLVCONF.tmp $REALRESOLVCONF
-
- # correct permissions
- chmod 0644 /etc/resolv.conf
- chown root:root /etc/resolv.conf
- fi
- fi
-
-fi
-
-if [ -x /etc/init.d/net.$1 ]; then
- if ! /etc/init.d/net.$1 --quiet status ; then
- export IN_BACKGROUND="true"
- /etc/init.d/net.$1 --quiet start
- fi
-fi
-
-[ -f /etc/ppp/ip-up.local ] && . /etc/ppp/ip-up.local "$@"
diff --git a/net-dialup/ppp/files/net.ppp0 b/net-dialup/ppp/files/net.ppp0
deleted file mode 100644
index ca88774595e0..000000000000
--- a/net-dialup/ppp/files/net.ppp0
+++ /dev/null
@@ -1,221 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/files/net.ppp0,v 1.9 2005/04/16 10:10:42 mrness Exp $
-
-# Misc internal variables
-CMD_LINE=""
-FUNCT="$2"
-TEMPLATEDIR="/etc/ppp"
-
-checkconfig() {
-
- if [ -e "/var/run/ppp-${IFACE}.pid" -o -e "/var/run/${IFACE}.pid" ] && \
- [ "${FUNCT}" = "start" ]
- then
- eerror "${IFACE} is already up"
- return 1
- fi
-}
-
-start() {
-
- checkconfig || return 1
-
- setup_modules
- setup_cmd_line
- setup_cfg_files
-
- ebegin "Bringing ${IFACE} up"
- if [ -x "$(which pppd)" ]
- then
-
- if [ "${DEFROUTE}" = "yes" ]
- then
- [ -n "$(/sbin/route -n | egrep '^0.0.0.0')" ] && route del default
- fi
- # Added hide-password here, can't be too sure...
- /usr/sbin/pppd ${CMD_LINE} ${MODEMPORT} ${LINESPEED} \
- ipparam ${PEER} linkname ${IFACE} call ${PEER} \
- noauth ${PPPOPTIONS} hide-password
- fi
- eend
-}
-
-stop() {
-
- checkconfig || return 1
-
- ebegin "Bringing ${IFACE} down"
- if [ -x "$(which ifconfig)" ]
- then
-
- # Obtain interface name from pid file (IFACE is actually linkname)
- if [ -e /var/run/ppp-${IFACE}.pid ]
- then
- IFNAME=$(egrep "ppp" /var/run/ppp-${IFACE}.pid)
- fi
- if [ -z "${IFNAME}" ]
- then
- IFNAME=${IFACE}
- fi
-
- if [ -z "$(/sbin/ifconfig | egrep "${IFNAME}")" ]
- then
- # Link is not up but pppd may be running
- ewarn "Interface seems to be down already"
- fi
-
- if [ -e /var/run/ppp-${IFACE}.pid ]
- then
- PID=$(egrep -v "${IFNAME}" /var/run/ppp-${IFACE}.pid)
- elif [ -e /var/run/${IFACE}.pid ]
- then
- PID=$(egrep -v "${IFNAME}" /var/run/${IFACE}.pid)
- fi
-
- if [ -n "${PID}" ]
- then
- kill ${PID}
- sleep 1
-
- # Try to kill pppd repeatedly (sometimes, (e.g. if connection
- # is not established) pppd ignores SIGTERM for a while)
- PID_TMP=`pstree -p ${PID}`
- PID_TMP=`echo ${PID_TMP} | sed -e 's:^.*pppd(\|).*::g'`
- COUNT=0
- while [ -n "${PID_TMP}" ] && [ ${COUNT} -lt 10 ]
- do
- kill ${PID}
- sleep 1
- PID_TMP=`pstree -p ${PID}`
- PID_TMP=`echo ${PID_TMP} | sed -e 's:^.*pppd(\|).*::g'`
- let COUNT++
- done
- fi
-
- if [ -n "${PID_TMP}" ]
- then
- eend 1 "Error stopping pppd"
- fi
-
- fi
- eend
-}
-
-setup_cmd_line() {
-
- CMD_LINE="lock"
-
- if [ "${DEBUG}" = "yes" ]
- then
- CMD_LINE="${CMD_LINE} debug"
- fi
-
- if [ "${PERSIST}" = "yes" ]
- then
- CMD_LINE="${CMD_LINE} persist holdoff ${RETRYTIMEOUT}"
- fi
-
- if [ "${DEFROUTE}" = "yes" ]
- then
- CMD_LINE="${CMD_LINE} defaultroute"
- fi
-
- if [ "${HARDFLOWCTL}" = "yes" ]
- then
- CMD_LINE="${CMD_LINE} modem crtscts"
- fi
-
- if [ "${ESCAPECHARS}" = "yes" ]
- then
- CMD_LINE="${CMD_LINE} asyncmap 00000000"
- fi
-
- if [ "${PEERDNS}" = "yes" ]
- then
- CMD_LINE="${CMD_LINE} usepeerdns"
- fi
-
- if [ -n "${IPADDR}${REMIP}" ]
- then
- CMD_LINE="${CMD_LINE} ${IPADDR}:${REMIP}"
- fi
-
- if [ -n "${NETMASK}" ]
- then
- CMD_LINE="${CMD_LINE} netmask ${NETMASK}"
- fi
-
- if [ -n "${MRU}" ]
- then
- CMD_LINE="${CMD_LINE} mru ${MRU}"
- fi
-
- if [ -n "${MTU}" ]
- then
- CMD_LINE="${CMD_LINE} mtu ${MTU}"
- fi
-
- if [ -n "${USERNAME}" ]
- then
- CMD_LINE="${CMD_LINE} user ${USERNAME} remotename ${PEER}"
- fi
-
- if [ "${ONDEMAND}" = "yes" ]
- then
- CMD_LINE="${CMD_LINE} demand ktune idle ${IDLETIMEOUT}"
- CMD_LINE="${CMD_LINE} holdoff ${RETRYTIMEOUT}"
- fi
-}
-
-setup_cfg_files() {
-
- if [ "${AUTOCFGFILES}" = "yes" ]
- then
- if [ -n "${NUMBER}" ]
- then
- # Setup the peers file
- echo "connect '/usr/sbin/chat -f /etc/ppp/chat-${PEER}'" \
- >/etc/ppp/peers/${PEER}
- fi
-
- # Setup the secrets files
- echo "\"${USERNAME}\" * \"${PASSWORD}\"" >/etc/ppp/chap-secrets
- chmod 600 /etc/ppp/chap-secrets
- echo "\"${USERNAME}\" ${PEER} \"${PASSWORD}\"" >/etc/ppp/pap-secrets
- chmod 600 /etc/ppp/pap-secrets
-
- # Setup the chat file
- if [ "${AUTOCHATSCRIPT}" = "yes" ]
- then
- if [ -n "${INITSTRING}" ]
- then
- if [ -n "${NUMBER}" ]; then
- sed -e "12i\\'OK\' \'${INITSTRING}\'" \
- -e "s:\$NUMBER:${NUMBER}:" \
- ${TEMPLATEDIR}/chat-default \
- >/etc/ppp/chat-${PEER}
- else
- sed -e "12i\\'OK\' \'${INITSTRING}\'" \
- ${TEMPLATEDIR}/chat-default \
- >/etc/ppp/chat-${PEER}
- fi
- else
- if [ -n "${NUMBER}" ]; then
- sed -e "s:\$NUMBER:${NUMBER}:" \
- ${TEMPLATEDIR}/chat-default \
- >/etc/ppp/chat-${PEER}
- fi
- fi
- fi
- fi
-}
-
-setup_modules() {
- if [ ! -c /dev/ppp ]; then
- modprobe /dev/ppp
- fi
-}
-
-# vim:ts=4
diff --git a/net-dialup/ppp/files/options-pppoe b/net-dialup/ppp/files/options-pppoe
deleted file mode 100644
index 5988ee2d668a..000000000000
--- a/net-dialup/ppp/files/options-pppoe
+++ /dev/null
@@ -1,6 +0,0 @@
-noipdefault
-hide-password
-defaultroute
-persist
-lock
-
diff --git a/net-dialup/ppp/files/options-pptp b/net-dialup/ppp/files/options-pptp
deleted file mode 100644
index af5749aac37c..000000000000
--- a/net-dialup/ppp/files/options-pptp
+++ /dev/null
@@ -1,18 +0,0 @@
-#192.168.1.0:
-netmask 255.255.255.0
-#debug
-#kdebug 1
-lock
-mtu 1490
-mru 1490
-proxyarp
-auth
-require-chap
-passive
-ipcp-accept-local
-ipcp-accept-remote
-lcp-echo-failure 3
-lcp-echo-interval 5
-deflate 0
-#ms-dns 192.168.1.1
-#ms-wins 192.168.1.1
diff --git a/net-dialup/ppp/files/plog b/net-dialup/ppp/files/plog
deleted file mode 100644
index 84d2c7340cc6..000000000000
--- a/net-dialup/ppp/files/plog
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-if [ -s /var/log/ppp.log ]; then
- exec tail "$@" /var/log/ppp.log
-else
- exec tail "$@" /var/log/syslog | grep ' \(pppd\|chat\)\['
-fi
diff --git a/net-dialup/ppp/files/poff b/net-dialup/ppp/files/poff
deleted file mode 100644
index 8a26895ca66a..000000000000
--- a/net-dialup/ppp/files/poff
+++ /dev/null
@@ -1,103 +0,0 @@
-#!/bin/sh
-
-# Written by John Hasler <john@dhh.gt.org> and based on work
-# by Phil Hands <phil@hands.com>. Distributed under the GNU GPL
-
-if [ -x /usr/bin/kill ]; then
- KILL="/usr/bin/kill"
-else
- KILL="/bin/kill"
-fi
-SIG=TERM
-DONE="stopped"
-MODE=""
-
-usage ()
-{
- cat <<!EOF!
-usage: $0 [option] [provider]
-options:
- -r Cause pppd to drop the line and redial.
- -d Toggle the state of pppd's debug option.
- -c Cause pppd to renegotiate compression.
- -a Stop all pppd's. 'provider' will be ignored.
- -h Print this help summary and exit.
- -v Print version and exit.
- none Stop pppd.
-
-Options may not be combined.
-
-If 'provider' is omitted pppd will be stopped or signalled if and only if
-there is exactly one running unless the '-a' option was given. If
-'provider' is supplied the pppd controlling the connection to that
-provider will be stopped or signalled.
-!EOF!
-}
-
-# Get option. If there are none replace the "?" that getopts puts in
-# FLAG on error with "null".
-getopts rdcavh FLAG
-if [ "$?" -ne 0 ]; then
- FLAG="null"
-fi
-
-# Check for additional options. Should be none.
-getopts :rdcavh DUMMY
-if [ "$?" -eq 0 ]; then
- echo "$0: Illegal option -- ${OPTARG}."
- exit 1
-fi
-
-case $FLAG in
- "r") SIG=HUP; DONE=signalled; shift ;;
- "d") SIG=USR1; DONE=signalled; shift ;;
- "c") SIG=USR2; DONE=signalled; shift ;;
- "a") MODE="all"; shift ;;
- "v") echo "$0$Revision: 1.9 $_TrickToPrint_RCS_Revision"; exit 0 ;;
- "h") usage; exit 0 ;;
- "?") exit 1;
-esac
-
-# Get the PIDs of all the pppds running. Could also get these from
-# /var/run, but pppd doesn't create .pid files until ppp is up.
-PIDS=`pidof pppd`
-
-# poff is pointless if pppd isn't running.
-if test -z "$PIDS"; then
- echo "$0: No pppd is running. None ${DONE}."
- exit 1
-fi
-
-# Find out how many pppd's are running.
-N=`echo "$PIDS" | wc -w`
-
-# If there are no arguments we can't do anything if there is more than one
-# pppd running.
-if test "$#" -eq 0 -a "$N" -gt 1 -a $FLAG != "a" ; then
- echo "$0: More than one pppd running and no "-a" option and
-no arguments supplied. Nothing ${DONE}."
- exit 1
-fi
-
-# If either there are no arguments or '-a' was specified kill all the
-# pppd's.
-if test "$#" -eq 0 -o "$MODE" = "all" ; then
- $KILL -$SIG $PIDS || {
- echo "$0: $KILL failed. None ${DONE}."
- exit 1
- }
- exit 0
-fi
-
-# There is an argument, so kill the pppd started on that provider.
-PID=`ps axw | grep "[ /]pppd call $1 *\$" | awk '{print $1}'`
-if test -n "$PID" ; then
- $KILL -$SIG $PID || {
- echo "$0: $KILL failed. None ${DONE}."
- exit 1
- }
-else
- echo "$0: I could not find a pppd process for provider '$1'. None ${DONE}."
- exit 1
-fi
-exit 0
diff --git a/net-dialup/ppp/files/pon b/net-dialup/ppp/files/pon
deleted file mode 100755
index 12f97ffadf77..000000000000
--- a/net-dialup/ppp/files/pon
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-
-case "$1" in
- -*) echo "
-Usage: pon [provider] [arguments]
-
-If pon is invoked without arguments, /etc/ppp/ppp_on_boot file will be
-run, presuming it exists and is executable. Otherwise, a PPP connection
-will be started using settings from /etc/ppp/peers/provider.
-If you specify one argument, a PPP connection will be started using
-settings from the appropriate file in the /etc/ppp/peers/ directory, and
-any additional arguments supplied will be passed as extra arguments to
-pppd.
-"
- exit 0
- ;;
-esac
-
-if [ -z "$1" -a -x /etc/ppp/ppp_on_boot ]; then
- exec /etc/ppp/ppp_on_boot
-fi
-
-if [ -z "$1" -a ! -f /etc/ppp/peers/provider ]; then
- echo "
-Please configure /etc/ppp/peers/provider or use a command line argument to
-use another file in /etc/ppp/peers/ directory.
-"
- exit 1
-fi
-
-if [ "$1" -a ! -f "/etc/ppp/peers/$1" ]; then
- echo "
-The file /etc/ppp/peers/$1 does not exist.
-"
- exit 1
-fi
-
-exec /usr/sbin/pppd call ${@:-provider}
-
diff --git a/net-dialup/ppp/files/pon.1 b/net-dialup/ppp/files/pon.1
deleted file mode 100644
index bb3220564b89..000000000000
--- a/net-dialup/ppp/files/pon.1
+++ /dev/null
@@ -1,121 +0,0 @@
-.\" This manual is published under the GPL.
-.\" All guidelines specified in the GPL apply here.
-.\" To get an ascii file:
-.\" groff -man -Tascii pon.1 > pon.txt
-.\"
-.TH PON 1 "July 2000" "Debian Project" "Debian PPPD"
-.SH NAME
-pon, poff, plog \- starts up, shuts down or lists the log of PPP connections
-.SH SYNOPSIS
-.B pon
-[ isp-name [ options ] ]
-.br
-.B poff
-[ -r ] [ -d ] [ -c ] [ -a ] [ -h ] [ isp-name ]
-.br
-.B plog
-[ arguments ]
-.SH DESCRIPTION
-This manual page describes the \fBpon\fP, \fBplog\fP and \fBpoff\fP
-scripts, which allow users to control PPP connections.
-..
-.SS pon
-\fBpon\fP, invoked without arguments, runs the \fI/etc/ppp/ppp_on_boot\fP
-file, if it exists and is executable. Otherwise, a PPP connection will be
-started using configuration from \fI/etc/ppp/peers/provider\fP.
-This is the default behaviour unless an \fBisp-name\fP argument is given.
-.PP
-For instance, to use ISP configuration "myisp" run:
-.IP
-pon myisp
-.PP
-\fBpon\fP will then use the options file \fI/etc/ppp/peers/myisp\fP.
-You can pass additional \fBoptions\fP after the ISP name, too.
-\fBpon\fP can be used to run multiple, simultaneous PPP connections.
-..
-.SS poff
-\fBpoff\fP closes a PPP connection. If more than one PPP connection exists,
-the one named in the argument to \fBpoff\fP will be killed, e.g.
-.IP
-poff myprovider2
-.PP
-will terminate the connection to myprovider2, and leave the PPP connections
-to e.g. "myprovider1" or "myprovider3" up and running.
-.PP
-\fBpoff\fP takes the following command line options:
-.RS
-.TP
-.B "\-r"
-causes the connection to be redialed after it is dropped.
-.TP
-.B "\-d"
-toggles the state of pppd's debug option.
-.TP
-.B "\-c"
-causes
-.BR pppd (8)
-to renegotiate compression.
-.TP
-.B "\-a"
-stops all running ppp connections. If the argument \fBisp-name\fP
-is given it will be ignored.
-.TP
-.B "\-h"
-displays help information.
-.TP
-.B "\-v"
-prints the version and exits.
-.PP
-If no argument is given, \fBpoff\fP will stop or signal pppd if and only
-if there is exactly one running. If more than one connection is active,
-it will exit with an error code of 1.
-..
-.SS plog
-\fBplog\fP shows you the last few lines of \fI/var/log/ppp.log\fP. If that
-file doesn't exist, it shows you the last few lines of your
-\fI/var/log/syslog\fP file, but excluding the lines not generated by pppd.
-This script makes use of the
-.BR tail (1)
-command, so arguments that can be passed to
-.BR tail (1)
-can also be passed to \fBplog\fP.
-.PP
-Note: the \fBplog\fP script can only be used by root or another system
-administrator in group "adm", due to security reasons. Also, to have all
-pppd-generated information in one logfile, that plog can show, you need the
-following line in your \fI/etc/syslog.conf\fP file:
-.PP
-local2.* -/var/log/ppp.log
-.RE
-.SH FILES
-.TP
-.I /etc/ppp/options
-PPPd system options file.
-.TP
-.I /etc/ppp/pap-secrets
-System PAP passwords file.
-.TP
-.I /etc/ppp/chap-secrets
-System CHAP passwords file.
-.TP
-.I /etc/ppp/peers/
-Directory holding the peer options files. The default file is called
-\fIprovider\fP.
-.TP
-.I /etc/chatscripts/provider
-The chat script invoked from the default \fI/etc/ppp/peers/provider\fP.
-.TP
-.I /var/log/ppp.log
-The default PPP log file.
-.SH AUTHORS
-The p-commands were written by Christoph Lameter <clameter@debian.org>.
-Updated and revised by Philip Hands <phil@hands.com>.
-.br
-This manual was written by Othmar Pasteka <othmar@tron.at>. Modified
-by Rob Levin <lilo@openprojects.net>, with some extensions taken from
-the old p-commands manual written by John Hasler <jhasler@debian.org>.
-.SH "SEE ALSO"
-.BR pppd (8),
-.BR chat (8),
-.BR tail (1).
-
diff --git a/net-dialup/ppp/files/pppoe.html b/net-dialup/ppp/files/pppoe.html
deleted file mode 100644
index 512dc78329a1..000000000000
--- a/net-dialup/ppp/files/pppoe.html
+++ /dev/null
@@ -1,174 +0,0 @@
-<!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en">
-<html>
-<head>
-
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-
- <meta name="GENERATOR" content="Mozilla/4.75 [en] (X11; U; Linux 2.2.16-22 i686) [Netscape]">
- <title>Index of /~mostrows</title>
-</head>
- <body text="#000000" bgcolor="#ffffff" link="#0000ef" vlink="#51188e" alink="#ff0000">
- <b><font face="Arial,Helvetica"><font size="+4">PPPoE for Linux 2.4</font></font></b>
-
-<p><font size="+0">This is a driver for PPPoE for Linux 2.4.</font> </p>
-
-<p><font size="+0">This driver is for 2.4 kernels only.&nbsp; For a driver
- for 2.2 kernels, the <a href="http://www.roaringpenguin.com">Roaring Penguin</a><br>
- package is recommended.<br>
- </font></p>
-
-<p>The software on this page is currently required if you wish to use kernel-mode<br>
- PPPoE with Roaring Penguin (see the Roaring Penguin documentation for details),<br>
- though this functionality is currently recommended for experts only.<br>
- </p>
-
-<p><font size="+0">Files:</font> </p>
-
-<p><font size="+0"> &nbsp; &nbsp; &nbsp; &nbsp; <a href="ppp-2.4.1-pppoe.patch4">
- ppp-2.4.1-pppoe.patch4</a> &nbsp; Patch for ppp-2.4.1</font><br>
- <font size="+0"> &nbsp; &nbsp; &nbsp; &nbsp; <a href="ppp-2.4.1-pppoe4.tgz">
- ppp-2.4.1-pppoe4.tgz</a> &nbsp; &nbsp; &nbsp; Source of ppp-2.4.1 with patches applied.
-</font> <br>
- <font size="+0"> &nbsp; &nbsp; &nbsp; &nbsp; <a href="ppp-cvs.pppoe1.tgz">
- ppp-cvs.pppoe1.tgz</a> &nbsp; &nbsp; &nbsp; Source of ppp CVS repository with patches applied.
-</font> <br>
- &nbsp; </p>
-
-<p><b><font size="+0">Installation &amp; Usage:</font></b> </p>
-
-<p><font size="+0">1.&nbsp; Configure, compile and install a 2.4 kernel.</font>
- <br>
- <font size="+0"><br>
- &nbsp;&nbsp;&nbsp;&nbsp; Make sure to enable PPP over Ethernet in the kernel
-configuration, as</font> <br>
- <font size="+0">&nbsp;&nbsp;&nbsp;&nbsp; well as as the "Packet Socket"
-option.&nbsp; You must also enable support</font> <br>
- <font size="+0">&nbsp;&nbsp;&nbsp;&nbsp; for experimental drivers.</font></p>
-
-<p><font size="+0">&nbsp;&nbsp;&nbsp; &nbsp;If you are compiling as a module,
-add the line "alias net-pf-24 pppoe" to<br>
- &nbsp;&nbsp;&nbsp; &nbsp; /etc/modules.conf.</font></p>
-
-<p><font size="+0">&nbsp; &nbsp; &nbsp; Make sure that the /dev/ppp device
-exists: &nbsp;"mknod /dev/ppp c 108 0"<br>
- </font> </p>
-
-<p><font size="+0">2.&nbsp; Configure, compile and install the modified pppd
-package.</font> <br>
- <font size="+0">&nbsp;&nbsp;&nbsp;&nbsp; Links to the patch, or the complete
- patched source are available above.</font> </p>
-
-<p><font size="+0">3.&nbsp; Include the following line in your ppp options
- file:</font> </p>
-
-<p><font size="+0">&nbsp;&nbsp;&nbsp; plugin pppoe</font> </p>
-
-<p><font size="+0">&nbsp;&nbsp;&nbsp; If you experience problems, try replacing
- the "pppoe" with the</font> <br>
- <font size="+0">&nbsp;&nbsp;&nbsp; full path and file name of the "pppoe.so"
- file that is installed</font> <br>
- <font size="+0">&nbsp;&nbsp;&nbsp; by the pppd installation.</font> </p>
-
-<p><font size="+0">&nbsp;&nbsp;&nbsp; Following these two lines should be
- your other ppp options.&nbsp; My</font> <br>
- <font size="+0">&nbsp;&nbsp;&nbsp; options file includes only one other
-line; a "name" statement for</font> <br>
- <font size="+0">&nbsp;&nbsp;&nbsp; PAP.</font> </p>
-
-<p><font size="+0">4.&nbsp; Invoke pppd (e.g.: "pppd eth0").&nbsp; Before
- doing this, make sure the ethernet</font> <br>
- <font size="+0">&nbsp;&nbsp;&nbsp;&nbsp; device is up ("ifconfig eth0 up"
- has been executed).</font> <br>
- <font size="+0"></font>&nbsp; <br>
- &nbsp; </p>
-
-<p><b><font size="+0">Other Stuff:</font></b> </p>
-
-<p><font size="+0">1.&nbsp; You can restrict pppd to connect to specific access-concentrators</font>
- <br>
- <font size="+0">&nbsp;&nbsp;&nbsp; or specific services by addin "pppoe_ac_name"
- and "pppoe_srv_name"</font> <br>
- <font size="+0">&nbsp;&nbsp;&nbsp; options (respectively) to your options
- file.&nbsp; Each of these options is</font> <br>
- <font size="+0">&nbsp;&nbsp;&nbsp; followed by a string specifying the
-conecntrator or service name that</font> <br>
- <font size="+0">&nbsp;&nbsp;&nbsp; is to be matched. Most people should
-not need this.</font> <br>
- &nbsp; </p>
-
-<p><font size="+0">2.&nbsp; Here's how I've configured things to get a server
- working:</font> </p>
-
-<p><font size="+0">&nbsp;&nbsp;&nbsp; client's /etc/ppp/options:</font> </p>
-
-<p><font size="+0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; plugin /usr/lib/pppd/plugins/pppoe.so</font>
- <br>
- <font size="+0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name papname</font>
- </p>
-
-<p><font size="+0">&nbsp;&nbsp;&nbsp; client's /etc/ppp/pap-secrets:</font>
- </p>
-
-<p><font size="+0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; papname * papsecret</font>
- </p>
-
-<p><font size="+0">&nbsp;&nbsp;&nbsp; server's /etc/ppp/options:</font> </p>
-
-<p><font size="+0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; plugin /usr/lib/pppd/plugins/pppoe.so</font>
- <br>
- <font size="+0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pppoe_server</font>
- <br>
- <font size="+0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +pap</font>
-<br>
- <font size="+0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10.10.10.1:</font>
- </p>
-
-<p><font size="+0">&nbsp;&nbsp;&nbsp; server's /etc/ppp/pap-secrets:</font>
- </p>
-
-<p><font size="+0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; papname * papsecret
- 10.10.10.0/24+ !10.10.10.1</font> <br>
- &nbsp; </p>
-
-<p><font size="+0">&nbsp;&nbsp;&nbsp; On both the client and the server, pppd
-is invoked as "pppd eth0".</font> <br>
- <font size="+0">&nbsp;&nbsp;&nbsp; With this setup you will have to invoke
- a new pppd on the server for</font> <br>
- <font size="+0">&nbsp;&nbsp;&nbsp; each session.</font> </p>
-
-<p><font size="+0">&nbsp;&nbsp;&nbsp; The patched pppd also builds a new pppoed
-which can be used to create</font> <br>
- <font size="+0">&nbsp;&nbsp;&nbsp; a PPPoE server capable of serving multiple
- clients.&nbsp; To use this ,</font> <br>
- <font size="+0">&nbsp;&nbsp;&nbsp; remove the "pppoe_server" line from
-the server's /etc/ppp/options</font> <br>
- <font size="+0">&nbsp;&nbsp;&nbsp; file.&nbsp; Invoke pppoed as: "pppoed
--S -I eth0 -A ac_name -S srv_name".</font> <br>
- <font size="+0">&nbsp;&nbsp;&nbsp; pppoed will now create a new pppd process
- for each incoming connection.</font> <br>
- <font size="+0">&nbsp;&nbsp;&nbsp; Note: this is still rather flaky, use
- with caution&nbsp; If pppoed seems to jam,</font> <br>
- <font size="+0">&nbsp;&nbsp;&nbsp; restarting it will not affect existing
- connections.</font> <br>
- &nbsp; </p>
-
-<p>3.&nbsp; If you're trying to run masquerading over your PPPoE link, check
- out&nbsp; <a href="http://www.hgfelger.de/mss/mss.html">this</a> <br>
- &nbsp;&nbsp;&nbsp;&nbsp; page for instructions on how to ensure that path
- MTU's are properly <br>
- &nbsp;&nbsp;&nbsp;&nbsp; reported across your network.&nbsp;&nbsp; Without
- this your masquerading will <br>
- &nbsp;&nbsp;&nbsp;&nbsp; not work. </p>
-
-<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.hgfelger.de/mss/mss.html">
- http://www.hgfelger.de/mss/mss.html</a> <br>
- &nbsp; </p>
-
-<p><font size="+0">Michal Ostrowski</font> <br>
- <font size="+0"><a href="mailto:mostrows@styx.uwaterloo.ca">mostrows@styx.uwaterloo.ca</a></font>
- <br>
- &nbsp; <br>
- &nbsp; </p>
-
-</body>
-</html>