[98927] in RedHat Linux List
V.90 Modem with diald and ppp
daemon@ATHENA.MIT.EDU (Philip Tong)
Wed Nov 11 07:41:06 1998
From: "Philip Tong" <tmgchee@pop.jaring.my>
To: "RedHat Linux General list" <redhat-list@redhat.com>,
<redhat-ppp-list@redhat.com>
Date: Wed, 11 Nov 1998 20:50:33 +0800
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Back when I was using a 33.6Kbps modem, Diald and PPP and works fine.
Recently, I have upgraded to a 56Kbps modem. I have notice that sometimes,
Diald needs to dial a few time before it manage to get connected. Usually,
it just dials, gets the handshaking sound and tries to login. Them it will
timeout (about 20 seconds after the handshaking). I think that would be a
reasonable time for a login to the ISP.
If I were to use ppp-on directly, I would not get that problem. If I use
Windows Dial-Up Networking it would work fine too on the same modem.
Have anybody encountered similar problems using 56K modems. FYI, the modem
I'm using is a Aztech 56K External modem.
The script for diald is
I have a line in a configuration with the 'connect' keyword pointing
to the file below.
************* Filename : connect **************
MODEM_INIT="ATZ"
USER_CHAT_SEQ="name:--name:--name:"
USER_NAME="myusername"
PASSWD_CHAT_SEQ="ssword:"
PASSWORD="mypassword"
chat TIMEOUT 45 "" $MODEM_INIT OK "AT" OK ""
chat \
TIMEOUT 10 \
$USER_CHAT_SEQ \\q$USER_NAME \
TIMEOUT 20 \
$PASSWD_CHAT_SEQ $PASSWORD
if [ $? != 0 ]; then
message "Failed to log in"
exit 1
fi
***********************************************
As for my ppp-on script it is as below:-
**********************************************************
exec chat -v \
-r /etc/ppp/ppp.log \
TIMEOUT 3 \
ABORT '\nBUSY\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nRINGING\r\n\r\nRINGING\r' \
'' \rAT \
'OK-+++\c-OK' ATH0 \
TIMEOUT 30 \
OK ATDT$TELEPHONE \
CONNECT '' \
name:--name: $ACCOUNT \
assword: $PASSWORD
**********************************************************
The way I see it, the scripts looks fine. Please help. The modem redialling
a few time is really bad because from where I'm from, charges are incurred
for every call made :(
Thanks in advance.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.