Re: [LINUX:2040] Re: PPP baglanti sorunu

dd (etiket@free.efes.net.tr)
Mon, 27 Apr 1998 02:00:47 +0300


This is a multi-part message in MIME format.

--------------750CF4369B8
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

> SuperOnline uzerinden baglanmak icin 1 saat kadar ugrastik ancak basarili
> olamadik.Modem ceviriyor baglanti saglaniyor ancak PPP mode gonderemiyor

Selam,

Ilisikteki scr'yle SOL'a baalanabiliorum. Escort ve Turnet'te de
denedim. Umari isinize yarar,

sevgi, saygi
dd

--------------750CF4369B8
Content-Type: text/plain; charset=us-ascii; name="pppsetupH"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="pppsetupH"

#!/bin/bash
###############################################################################
#
# PPPSETUP -- Script to set up pppd
# History:
# 7/21/95 RSL Script created (v1.0)
# 9/15/96 RSL Added code to get the ISP's domainname (v1.1)
# 9/19/96 RSL Revamped interface to use the 'dialog'
# program. (v1.2)
###############################################################################

###############################################################################
# 7/15/97 KR Added pap-chap & init string options. (v1.16)
# Creates /etc/ppp/options, & pap-chap-
# secrets files.
# More guidance.
# Monitor connection with tail & syslogd.
###############################################################################

VERSION="1.16"

echo "PPPSETUP v$VERSION" > /tmp/txtTEMP$$
echo >> /tmp/txtTEMP$$
echo "Written by Robert S. Liesenfeld <xunil@bitstream.net> <IRC:Xunil>" >> /tmp/txtTEMP$$
echo "Changes for 1.16 by Kent Robotti <robotti@pop.erols.com>" >> /tmp/txtTEMP$$

dialog --backtitle "PPPSETUP v$VERSION" --textbox "/tmp/txtTEMP$$" 9 72

if [ -s /docs/pppsetup1.txt ]; then
dialog --title README --textbox "/docs/pppsetup1.txt" 22 74
fi

while [ -z "$PHONENUM" ]
do
echo > /tmp/txtTEMP$$
echo "To begin setting up your PPP connection, i need to know a few things." >> /tmp/txtTEMP$$
echo "For starters, what is the phone number of your Internet service" >> /tmp/txtTEMP$$
echo "provider? For example: 6661776" >> /tmp/txtTEMP$$
echo >> /tmp/txtTEMP$$
echo "(Note: in the USA, use *70,6661776 [comma required!] to turn off call" >> /tmp/txtTEMP$$
echo " waiting.)" >> /tmp/txtTEMP$$
echo >> /tmp/txtTEMP$$

dialog --backtitle "PHONE NUMBER" --inputbox "`cat /tmp/txtTEMP$$`" 15 75 2> /tmp/rspTEMP$$

PHONENUM="`head -1 /tmp/rspTEMP$$`"

if [ -z "$PHONENUM" ]; then
clear 2>/dev/null || echo
rm -f /tmp/*TEMP*
echo "PPP configuration cancelled."
echo "No phone number."
exit 0
fi
done

if [ -e "/dev/modem" ]; then
echo > /tmp/txtTEMP$$
echo -n "Found your modem...(" >> /tmp/txtTEMP$$
echo -n `ls -l /dev/modem | cut -b56-80` >> /tmp/txtTEMP$$
echo ")" >> /tmp/txtTEMP$$
echo >> /tmp/txtTEMP$$

dialog --backtitle "MODEM FOUND" --msgbox "`cat /tmp/txtTEMP$$`" 7 72

DEVICE="/dev/modem"

else

while [ -z "$DEVICE" ]
do
echo > /tmp/txtTEMP$$
echo "Secondly, what is the name of your modem /dev/cua?" >> /tmp/txtTEMP$$
echo >> /tmp/txtTEMP$$

dialog --title "MODEM DEVICE" --menu "`cat /tmp/txtTEMP$$`" 12 74 4 \
/dev/cua0 "= (COM1: under DOS)" \
/dev/cua1 "= (COM2: under DOS)" \
/dev/cua2 "= (COM3: under DOS)" \
/dev/cua3 "= (COM4: under DOS)" \
2> /tmp/rspTEMP$$

DEVICE="`cat /tmp/rspTEMP$$`"

if [ -z $DEVICE ]; then
clear 2>/dev/null || echo
rm -f /tmp/*TEMP*
echo "PPP configuration cancelled."
echo "No modem device chosen."
exit 0
fi

DEVICE="$DEVICE"

ln -s $DEVICE /dev/modem

done
fi

echo > /tmp/txtTEMP$$
echo "What baud rate is your modem?" >> /tmp/txtTEMP$$
echo >> /tmp/txtTEMP$$
dialog --backtitle "BAUD RATE" --menu "`cat /tmp/txtTEMP$$`" 15 72 6 \
460800 "460KBps - ISDN modem..." \
230400 "230KBps - 56Kbps modem... or ISDN modem..." \
115200 "115KBps - Nirvana! Better Known as 28.8 or 33.6..." \
38400 "38.4KBps - Hangin ten on the net! 28.8 or 33.6..." \
19200 "19.2KBps - Better known as 14.4..." \
9600 "9600bps - No comment..." 2> /tmp/rspTEMP$$

BAUDRATE="`cat /tmp/rspTEMP$$`"

if [ -z $BAUDRATE ]; then
clear 2>/dev/null || echo
rm -f /tmp/*TEMP*
echo "PPP configuration cancelled."
echo "No baud rate chosen."
exit 0
fi

echo > /tmp/txtTEMP$$
echo "The default modem init string will be: ATZ OK AT&FW2 OK" >> /tmp/txtTEMP$$
echo >> /tmp/txtTEMP$$
echo "If you want to change it, put your init string in the box below." >> /tmp/txtTEMP$$
echo >> /tmp/txtTEMP$$
echo "M = No sound. W2 = Show connect speed: 28800 etc." >> /tmp/txtTEMP$$
echo "Put OK after each init string. Example: ATZ OK AT&FMW2 OK" >> /tmp/txtTEMP$$
echo >> /tmp/txtTEMP$$
echo "Just press [Enter] on a empty box to accept the default above." >> /tmp/txtTEMP$$

dialog --backtitle "MODEM INIT STRING" --inputbox "`cat /tmp/txtTEMP$$`" 17 74 2> /tmp/rspTEMP$$

if [ -s /tmp/rspTEMP$$ ]; then
INIT="`cat /tmp/rspTEMP$$`"
else
INIT="ATZ OK AT&FW2 OK"
fi

echo > /tmp/txtTEMP$$
echo "What is your Internet provider's domain name?" >> /tmp/txtTEMP$$
echo >> /tmp/txtTEMP$$
echo "This is usually something like..." >> /tmp/txtTEMP$$
echo "Examples: something.edu something.net something.com" >> /tmp/txtTEMP$$
echo >> /tmp/txtTEMP$$

dialog --backtitle "DOMAIN NAME" --inputbox "`cat /tmp/txtTEMP$$`" 13 74 2> /tmp/rspTEMP$$

DOMAINNAME="`cat /tmp/rspTEMP$$`"

echo > /tmp/txtTEMP$$
echo "What is the IP address of your Internet provider's nameserver?" >> /tmp/txtTEMP$$
echo "It's important that these IP numbers be correct." >> /tmp/txtTEMP$$
echo >> /tmp/txtTEMP$$
echo "Note: Your service provider's technical support can provide you" >> /tmp/txtTEMP$$
echo "with this information. For example: 205.94.97.45" >> /tmp/txtTEMP$$
echo >> /tmp/txtTEMP$$

dialog --backtitle "DNS IP" --inputbox "`cat /tmp/txtTEMP$$`" 14 74 2> /tmp/rspTEMP$$

DNSIP="`cat /tmp/rspTEMP$$`"

if [ -z $DNSIP ]; then
clear 2>/dev/null || echo
rm -f /tmp/*TEMP*
echo "PPP configuration cancelled."
echo "No IP address."
exit 0
fi

echo > /tmp/txtTEMP1
echo "Does your service provider use 'CHAP' or 'PAP'?" >> /tmp/txtTEMP1
echo >> /tmp/txtTEMP1
echo "If YES, then put your login = username in the box below." >> /tmp/txtTEMP1
echo "Example: jerry" >> /tmp/txtTEMP1
echo >> /tmp/txtTEMP1
echo "If not sure, ask your service provider." >> /tmp/txtTEMP1
echo >> /tmp/txtTEMP1
echo "If NO, leave box empty, press [Enter] and skip this." >> /tmp/txtTEMP1

dialog --backtitle "PAP or CHAP?" --inputbox "`cat /tmp/txtTEMP1`" 17 74 2> /tmp/rspTEMP1

if [ -s /tmp/rspTEMP1 ]; then
AUTH1="`cat /tmp/rspTEMP1`"
echo > /tmp/txtTEMP2
echo "I have your username: or login: $AUTH1" >> /tmp/txtTEMP2
echo "Now i need the password for: $AUTH1" >> /tmp/txtTEMP2
echo "Example: Xpi9u87T" >> /tmp/txtTEMP2
dialog --backtitle "PAP or CHAP?" --inputbox "`cat /tmp/txtTEMP2`" 12 74 2> /tmp/rspTEMP2

else
END="''"
echo > /tmp/txtTEMP$$
echo "If you reached this part of the script, it should be because" >> /tmp/txtTEMP$$
echo "you skipped the PAP or CHAP? part of this script." >> /tmp/txtTEMP$$
echo "In other words, your service provider is not using PAP OR CHAP." >> /tmp/txtTEMP$$
echo >> /tmp/txtTEMP$$
echo "Now comes the tough part. :) I need to know what your" >> /tmp/txtTEMP$$
echo "service provider prints to your screen when you dial in," >> /tmp/txtTEMP$$
echo "and what you respond with." >> /tmp/txtTEMP$$
echo >> /tmp/txtTEMP$$
echo "For example..." >> /tmp/txtTEMP$$
echo "What text should I wait for?" >> /tmp/txtTEMP$$
echo "ogin:" >> /tmp/txtTEMP$$
echo "And what text should I send?" >> /tmp/txtTEMP$$
echo "jerry" >> /tmp/txtTEMP$$
echo "What text should I wait for?" >> /tmp/txtTEMP$$
echo "assword:" >> /tmp/txtTEMP$$
echo "And what text should I send?" >> /tmp/txtTEMP$$
echo "secret" >> /tmp/txtTEMP$$
echo "What text should I wait for?" >> /tmp/txtTEMP$$
echo >> /tmp/txtTEMP$$
echo "( End by pressing Enter on a empty = blank box. )" >> /tmp/txtTEMP$$

dialog --title "CHAT SCRIPT" --textbox "/tmp/txtTEMP$$" 22 72

MESSAGE=' '
YOUSAY=' '
while [ ! "$MESSAGE" = "" -a ! "$YOUSAY" = "" ]
do

dialog --backtitle "EXPECT" --inputbox "What text should I wait for?" 9 72 2> /tmp/rspTEMP$$

MESSAGE="`cat /tmp/rspTEMP$$`"

if [ -z "$MESSAGE" ]; then
continue
fi

dialog --backtitle "SEND" --inputbox "And what text should I send?" 9 72 2> /tmp/rspTEMP$$

YOUSAY="`cat /tmp/rspTEMP$$`"

echo "$MESSAGE $YOUSAY" >> /tmp/sayTEMP1

if [ -z "$YOUSAY" ]; then
clear 2>/dev/null || echo
rm -f /tmp/*TEMP*
echo "PPP configuration cancelled."
echo "Nothing to send."
exit 0
else
continue
fi

done
fi

if [ ! -s /tmp/rspTEMP2 ] && [ -s /tmp/rspTEMP1 ]; then
clear 2>/dev/null || echo
rm -f /tmp/*TEMP*
echo "PPP configuration cancelled."
echo "No password for: $AUTH1"
exit 0
elif [ ! -s /tmp/sayTEMP1 ] && [ ! -s /tmp/rspTEMP2 ]; then
clear 2>/dev/null || echo
rm -f /tmp/*TEMP*
echo "PPP configuration cancelled."
echo "Nothing to wait for. "
exit 0
elif [ -s /tmp/rspTEMP2 ]; then
AUTH2="`cat /tmp/rspTEMP2`"
END="'\c'"
fi

if [ -s /etc/resolv.conf ]; then
mv /etc/resolv.conf /etc/resolv.conf.old
fi

if [ ! -z $DOMAINNAME ]; then
echo "domain $DOMAINNAME" > /etc/resolv.conf
echo "nameserver $DNSIP" >> /etc/resolv.conf
else
echo "domain unknown.com" > /etc/resolv.conf
echo "nameserver $DNSIP" >> /etc/resolv.conf
fi

if [ -x /usr/sbin/pppd ]; then
PATH1="/usr/sbin/pppd"
elif [ -x /usr/bin/pppd ]; then
PATH1="/usr/bin/pppd"
elif [ -x /usr/local/bin/pppd ]; then
PATH1="/usr/local/bin/pppd"
elif [ -x /bin/pppd ]; then
PATH1="/bin/pppd"
elif [ -x /sbin/pppd ]; then
PATH1="/sbin/pppd"
else
PATH1="pppd"
fi

chmod u+s $PATH1 2>/dev/null

if [ -x /usr/sbin/chat ]; then
PATH2="/usr/sbin/chat"
elif [ -x /usr/bin/chat ]; then
PATH2="/usr/bin/chat"
elif [ -x /usr/local/bin/chat ]; then
PATH2="/usr/local/bin/chat"
elif [ -x /bin/chat ]; then
PATH2="/bin/chat"
elif [ -x /sbin/chat ]; then
PATH2="/sbin/chat"
else
PATH2="chat"
fi

echo "REPORT CONNECT" > $HOME/.pppscript
echo "ABORT 'ERROR'" >> $HOME/.pppscript
echo "ABORT 'BUSY'" >> $HOME/.pppscript
echo "ABORT 'NO CARRIER'" >> $HOME/.pppscript
echo "ABORT 'NO DIALTONE'" >> $HOME/.pppscript
echo "TIMEOUT 90" >> $HOME/.pppscript
echo "'' $INIT ATDT$PHONENUM CONNECT $END" >> $HOME/.pppscript

if [ -s /tmp/sayTEMP1 ]; then
cat /tmp/sayTEMP1 >> $HOME/.pppscript
fi

echo "#!/bin/bash" > /usr/sbin/ppp-go

echo >> /usr/sbin/ppp-go
echo "rm -f /var/spool/uucp/LCK* /var/lock/LCK* /var/run/ppp*.pid" >> /usr/sbin/ppp-go
echo "$PATH1" >> /usr/sbin/ppp-go

echo >> /usr/sbin/ppp-go
echo "if [ -f /var/log/pppd.chat.log ]; then" >> /usr/sbin/ppp-go
echo "killall tail 2>/dev/null" >> /usr/sbin/ppp-go
echo "tail -c 0 -f /var/log/pppd.chat.log &" >> /usr/sbin/ppp-go
echo "fi" >> /usr/sbin/ppp-go

echo >> /usr/sbin/ppp-go
echo "read && killall tail 2>/dev/null" >> /usr/sbin/ppp-go

echo >> /usr/sbin/ppp-go
echo "if [ -s /etc/ppp/connect-errors ] &&" >> /usr/sbin/ppp-go
echo "ifconfig | grep P-t-P >/dev/null ; then" >> /usr/sbin/ppp-go
echo 'echo "* YES! you are connected... *"' >> /usr/sbin/ppp-go
echo "tail -n 2 /etc/ppp/connect-errors 2>/dev/null" >> /usr/sbin/ppp-go
echo "echo" >> /usr/sbin/ppp-go

echo >> /usr/sbin/ppp-go
echo "elif ifconfig | grep P-t-P >/dev/null ; then" >> /usr/sbin/ppp-go
echo 'echo "* YES! you are connected... *"' >> /usr/sbin/ppp-go
echo "echo" >> /usr/sbin/ppp-go

echo >> /usr/sbin/ppp-go
echo "else" >> /usr/sbin/ppp-go
echo 'echo "* NO! you are not connected... *"' >> /usr/sbin/ppp-go
echo "echo" >> /usr/sbin/ppp-go
echo "fi" >> /usr/sbin/ppp-go
echo >> /usr/sbin/ppp-go

chmod 755 /usr/sbin/ppp-go

if [ ! -d /etc/ppp ]; then
mkdir -p /etc/ppp
fi

if [ -s /etc/ppp/options ]; then
mv /etc/ppp/options /etc/ppp/options.old
fi

echo "lock" > /etc/ppp/options
echo "connect '$PATH2 -r /etc/ppp/connect-errors -v -f /root/.pppscript'" >> /etc/ppp/options
echo "defaultroute" >> /etc/ppp/options
echo "crtscts" >> /etc/ppp/options
echo "noipdefault" >> /etc/ppp/options
echo "modem" >> /etc/ppp/options
echo "asyncmap 0" >> /etc/ppp/options
echo "debug" >> /etc/ppp/options
echo "passive" >> /etc/ppp/options
echo "$BAUDRATE" >> /etc/ppp/options
echo "$DEVICE" >> /etc/ppp/options

chown root.daemon /etc/ppp/options 2>/dev/null
chmod 644 /etc/ppp/options 2>/dev/null

if [ -s /tmp/rspTEMP2 ]; then
echo "name $AUTH1" >> /etc/ppp/options

echo "# Secrets for authentication using PAP..." > /etc/ppp/pap-secrets
echo "# client server secret IP addresses" >> /etc/ppp/pap-secrets
echo "$AUTH1 * $AUTH2" >> /etc/ppp/pap-secrets

echo "# Secrets for authentication using CHAP..." > /etc/ppp/chap-secrets
echo "# client server secret IP addresses" >> /etc/ppp/chap-secrets
echo "$AUTH1 * $AUTH2" >> /etc/ppp/chap-secrets

chown root.daemon /etc/ppp/pap-secrets 2>/dev/null
chown root.daemon /etc/ppp/chap-secrets 2>/dev/null
chmod 600 /etc/ppp/pap-secrets 2>/dev/null
chmod 600 /etc/ppp/chap-secrets 2>/dev/null
fi

if [ ! -z $DOMAINNAME ] && [ -s /tmp/rspTEMP2 ]; then
echo "remotename $DOMAINNAME" >> /etc/ppp/options
fi

echo "========================================================================" > /tmp/txtTEMP$$
echo "These are your PPP configuration files and instructions..." >> /tmp/txtTEMP$$
echo "========================================================================" >> /tmp/txtTEMP$$
echo " ( Use these keys to scroll this page.> [Page Up]" >> /tmp/txtTEMP$$
echo " [Page Down]" >> /tmp/txtTEMP$$
echo >> /tmp/txtTEMP$$
echo "# This is your /usr/sbin/ppp-go file." >> /tmp/txtTEMP$$
cat /usr/sbin/ppp-go >> /tmp/txtTEMP$$

echo "# This is your $HOME/.pppscript file." >> /tmp/txtTEMP$$
cat $HOME/.pppscript >> /tmp/txtTEMP$$

echo >> /tmp/txtTEMP$$
echo "# This is your /etc/ppp/options file." >> /tmp/txtTEMP$$
cat /etc/ppp/options >> /tmp/txtTEMP$$
if [ ! -z $DOMAINNAME ] && [ -s /tmp/rspTEMP2 ]; then
echo "The remotename option is required for microsoft's chap-80, if your" >> /tmp/txtTEMP$$
echo "service provider doesn't use chap-80, there's no harm done." >> /tmp/txtTEMP$$
fi

echo >> /tmp/txtTEMP$$
echo "# This in your /etc/resolv.conf file." >> /tmp/txtTEMP$$
cat /etc/resolv.conf >> /tmp/txtTEMP$$
echo "$DNSIP <-Reminder: These numbers must be %100 correct.)" >> /tmp/txtTEMP$$

if [ -s /tmp/rspTEMP2 ]; then
echo >> /tmp/txtTEMP$$
echo "# This is your /etc/ppp/pap-secrets or chap-secrets file." >> /tmp/txtTEMP$$
echo "$AUTH1 * $AUTH2" >> /tmp/txtTEMP$$
fi

echo >> /tmp/txtTEMP$$
echo "Does everything look correct? if not, run 'pppsetup' again..." >> /tmp/txtTEMP$$

echo >> /tmp/txtTEMP$$
echo "========================================================================" >> /tmp/txtTEMP$$
echo "To connect to your service provider." >> /tmp/txtTEMP$$
echo "========================================================================" >> /tmp/txtTEMP$$
echo >> /tmp/txtTEMP$$
echo "~# ppp-go" >> /tmp/txtTEMP$$

echo >> /tmp/txtTEMP$$
echo "registered device ppp0" >> /tmp/txtTEMP$$

echo >> /tmp/txtTEMP$$
echo "You'll hear and see the modem dialing, then once connected," >> /tmp/txtTEMP$$
echo "logging you in ogin: assword: etc." >> /tmp/txtTEMP$$

echo >> /tmp/txtTEMP$$
echo "You won't see a ogin: or assword:, if they're using pap or chap." >> /tmp/txtTEMP$$

echo >> /tmp/txtTEMP$$
echo "`hostname` pppd[562]: Serial connection established." >> /tmp/txtTEMP$$
echo "`hostname` pppd[562]: Using interface ppp0" >> /tmp/txtTEMP$$
echo "`hostname` pppd[562]: Connect: ppp0 <--> /dev/modem" >> /tmp/txtTEMP$$
echo "`hostname` pppd[562]: local IP address 205.94.97.34" >> /tmp/txtTEMP$$
echo "`hostname` pppd[562]: remote IP address 205.94.97.35" >> /tmp/txtTEMP$$

echo >> /tmp/txtTEMP$$
echo "When you see a local & remote IP address like above," >> /tmp/txtTEMP$$
echo "you can press [Enter]." >> /tmp/txtTEMP$$

echo >> /tmp/txtTEMP$$
echo "`hostname`:~# ping 205.94.97.35 <-Press [Ctrl] C to stop.)" >> /tmp/txtTEMP$$
echo " # lynx" >> /tmp/txtTEMP$$
echo " # ftp etc." >> /tmp/txtTEMP$$

echo >> /tmp/txtTEMP$$
echo "You don't have a successful PPP connection until you" >> /tmp/txtTEMP$$
echo "receive a local & remote IP address like above." >> /tmp/txtTEMP$$

echo >> /tmp/txtTEMP$$
echo "If you don't connect for whatever reason e.g. Failed No" >> /tmp/txtTEMP$$
echo "Dialtone, Busy, No Carrier, Whatever, Exit, just press" >> /tmp/txtTEMP$$
echo "[Enter] at that point and try again." >> /tmp/txtTEMP$$
echo "~# ppp-go" >> /tmp/txtTEMP$$

echo >> /tmp/txtTEMP$$
echo "Don't press [Enter] if you're connecting and there's" >> /tmp/txtTEMP$$
echo "no problem, if there's no problem, only press [Enter]" >> /tmp/txtTEMP$$
echo "when you get that local & remote IP address." >> /tmp/txtTEMP$$

echo >> /tmp/txtTEMP$$
echo "~# ppp-off <-To end the ppp connection.)" >> /tmp/txtTEMP$$

echo >> /tmp/txtTEMP$$
echo "========================================================================" >> /tmp/txtTEMP$$
echo "#### A copy of this text can be found in.> $HOME/pppsetup.txt ####" >> /tmp/txtTEMP$$
echo "========================================================================" >> /tmp/txtTEMP$$

echo >> /tmp/txtTEMP$$
echo "Done...You can exit now..." >> /tmp/txtTEMP$$
echo >> /tmp/txtTEMP$$
echo "End..." >> /tmp/txtTEMP$$
echo "========================================================================" >> /tmp/txtTEMP$$

dialog --title "DONE" --textbox "/tmp/txtTEMP$$" 22 78

echo

cp /tmp/txtTEMP$$ $HOME/pppsetup.txt

if [ ! -s /etc/syslog.conf ]; then
echo "# Log output from pppd & chat to these files." > /etc/syslog.conf
echo "daemon,local2.info /var/log/pppd.chat.log" >> /etc/syslog.conf
echo "daemon.debug /var/log/pppd.debug.log" >> /etc/syslog.conf

killall syslogd 2>/dev/null
syslogd 2>/dev/null

elif ! cat /etc/syslog.conf | grep pppd.chat.log >/dev/null ; then
echo >> /etc/syslog.conf
echo "# Log output from pppd & chat to these files." >> /etc/syslog.conf
echo "daemon,local2.info /var/log/pppd.chat.log" >> /etc/syslog.conf
echo "daemon.debug /var/log/pppd.debug.log" >> /etc/syslog.conf

killall syslogd 2>/dev/null
syslogd 2>/dev/null
fi

if [ -s /docs/pppsetup1.txt ]; then
cat /docs/pppsetup1.txt >> $HOME/pppsetup.txt
rm -f /tmp/*TEMP* 2>/dev/null
exit 0
else
rm -f /tmp/*TEMP* 2>/dev/null
exit 0
fi

--------------750CF4369B8--