I used this script to dial :
#!/bin/sh
#
# Script to initiate a ppp connection. This is the first part of the
TELEPHONE=123-4567 # The telephone number for the connection
ACCOUNT=login # The account name for logon (as in 'George
Burns')
PASSWORD=passwd # The password for this account (and 'Gracie
Allen')
LOCAL_IP=1.2.3.4 # Local IP address if known. Dynamic = 0.0.0.0
REMOTE_IP=1.2.3.1 # Remote IP address if desired. Normally 0.0.0.0
NETMASK=255.255.255.0 # The proper netmask if needed
export TELEPHONE ACCOUNT PASSWORD
DIALER_SCRIPT=/usr/sbin/ppp-on-dialer
exec /usr/sbin/pppd debug lock modem crtscts /dev/ttyS0 38400 \
$LOCAL_IP:$REMOTE_IP \
connect $DIALER_SCRIPT
and this :
#!/bin/sh
#
exec /usr/sbin/chat -v \
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 '' \
ogin:--ogin: $ACCOUNT \
assword: \\q$PASSWORD
my problem is this won't dial at all
and i had saw my /var/log/messages
and this shows up
connect <--> ppp0 /dev/ttyS1
serial line is looped back
connection terminated
anywan can help me whats wrong with thus
Yamin
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]