Debian bug report logs - #1272
More powerfull ppp-connect
Package: ppp; Reported by: Winfried Truemper <truemper@ElFi.MI.Uni-Koeln.DE>; 71 days old.
Message received at debian-bugs:
From ElFi.MI.Uni-Koeln.DE!truemper Mon Aug 21 14:22:27 1995
Return-Path: <truemper@ElFi.MI.Uni-Koeln.DE>
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0skeId-000D3IC; Mon, 21 Aug 95 14:22 PDT
Received: from elfi.MI.Uni-Koeln.DE by pixar.com with SMTP id AA24903
(5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Mon, 21 Aug 1995 14:22:14 -0700
Received: from ElFi (truemper@localhost [127.0.0.1]) by ElFi.MI.Uni-Koeln.DE (8.6.12/8.6.12) with SMTP id XAA12258 for <debian-bugs@pixar.com>; Mon, 21 Aug 1995 23:21:46 +0200
Message-Id: <199508212121.XAA12258@ElFi.MI.Uni-Koeln.DE>
Date: Mon, 21 Aug 95 23:21:50 0200
Sender: truemper@ElFi.MI.Uni-Koeln.DE
From: Winfried Truemper <truemper@ElFi.MI.Uni-Koeln.DE>
X-Mailer: Mozilla 1.1N (X11; I; Linux 1.2.13 i586)
Mime-Version: 1.0
To: debian-bugs@pixar.com
Subject: More powerfull ppp-connect
X-Url: http://www.cps.cmich.edu/~streeter/debian-bugs/Reporting.html
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Package: ppp
Version: 2.1.2b
Hi,
this is not really a bug, I'm reporting, but it maybe a useful suggestion.
(1) in "/etc/ppp/options" one should include "asyncmap 0" so the
connection is run at full speed
Maybe this causes problems for some people, I don't know.
(2) I wrote a script that allows multiple phone-numbers and multiple tries
for establishing the connection, based on "chat".
The copy on my www-server is commented in German so I post a
english version here ....
8<-----8<-----8<-----8<-----8<-----8<-----8<-----
#!/bin/sh
# DT= tone dialing DP= pulse dialing M0= be quiet
INIT_STRING=M1DT
# alternate init-string (used by "minicom", works in most cases)
#INIT_STRING="S7=45S0=0L1V1X4&c1E1Q0DP"
# first telephone number (do not use spaces or other chars than numbers!)
TEL_NR_1=02219428111
# second telephone-number (do not use spaces or other chars than numbers!)
TEL_NR_2=02214200901
# Maximium number of tries
MAX_TRIES=2
# your login-id
USER=MY_LOGIN_ID
# your password
PASSWORD=ITS_TOP_SECRET
# be aware: everyone can see the your password while connecting via "ps"
# you can prevent this by putting the script in a seperate file (ommit the
# trailing backslashes !) and call "chat -f THE_SEPERATE_FILE"
function dial() {
chat \
ABORT "NO CARRIER" ABORT "NO DIALTONE" ABORT BUSY ABORT ERROR\
"" ATZ\
OK AT$INIT_STRING$1 TIMEOUT 120\
CONNECT "" TIMEOUT 20\
sername: $USER TIMEOUT 10\
ssword: $PASSWORD\
"port" ppp
}
TRIES=0
while [ $TRIES -lt $MAX_TRIES ]
do
TRIES="$[$TRIES+1]"
if dial $TEL_NR_1
then
echo -ne "^G" 1>&2
exit 0
fi
sleep 5
if dial $TEL_NR_2
then
echo -ne "^G" 1>&2
exit 0
else
sleep 60
fi
done
echo -e "\n\nppp-connect: no connection after $MAX_TRIES tries - giving up"
1>&
echo -e "(you may increase the number of tries in /etc/ppp/ppp-connect )"
1>&2
exit 1
8<-----8<-----8<-----8<-----8<-----8<-----8<-----
Acknowledgement sent to Winfried Truemper <truemper@ElFi.MI.Uni-Koeln.DE>
:
New bug report received and forwarded.
Full text available.
Report forwarded to debian-devel@pixar.com
:
Bug#1272
; Package ppp
.
Full text available.
Ian Jackson /
iwj10@thor.cam.ac.uk,
with the debian-bugs tracking mechanism