First of all I'd like to thanks those that have helped me so far with
PPP. My next problem is that the chat script fails when trying to
connect. This is how I *manually* connect my box to my ISP: I dial in
using minicom then type "pppd -d -detach /dev/ttyS1 38400 &". It lets
me connect fine. But I would like to connect using CHAT script to
autoconnect. My ISP's server uses PAP authentication. Can someone
see what I'm doing wrong? Thanks!
/etc/ppp/pap-secrets
------------------------
#client server secret acceptable local IP
addresses
enzyme * my_password
/etc/ppp/options
-------------------
-detach
modem
lock
crtscts
defaultroute
asyncmap 0
mtu 552
mtu 552
name enzyme
/etc/ppp-on
--------------
TELEPHONE=515-2560 # The telephone number for the connection
ACCOUNT=enzyme # The account name for logon (as in 'George
Burns')
PASSWORD=my_password # The password for this account (and 'Gracie
Allen')
LOCAL_IP=0.0.0.0 # Local IP address if known. Dynamic = 0.0.0.0
REMOTE_IP=0.0.0.0 # 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=/etc/ppp/ppp-on-dialer
exec /usr/sbin/pppd debug /dev/ttyS1 38400 \
$LOCAL_IP:$REMOTE_IP \
connect $DIALER_SCRIPT
/etc/ppp/ppp-on-dialer
--------------------------
/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
'' \
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.