Hi!
        I'm not sure if this will help (didn't follow the thread).  One
fist observation will be that you use way too many tabs in your script.
This has nothing to do with the error, but anyway, those too many tabs can
make a script hard to read.  Than I don't know why are you using exec to
start the chat script.  Other thing I see is that you ask for a name and a
password, and send them... this was one trap for me when I fist tried to
connect to my ISP.  Because if the server didn't got the response from the
pppd (from me) it asked for username and passwd, but after it would
disconect me.  So if your ISP is using pap/chap/mschap for the identify
part lose those lines.  Here is my /etc/ppp/ppp-on-dialer script - one
more thing to note is that $TELEPHONE is exported from /etc/ppp/ppp-on
which starts this script BTW):

#!/bin/sh
#/etc/ppp/ppp-on-dialer script
chat -v \
        TIMEOUT 5       \
        ABORT '\nBUSY\r'        \
        ABORT '\nNO ANSWER\r'   \
        ''      \rAT    \
        OK-+++\c-OK     ATH0    \
        TIMEOUT 30      \
        OK      ATDP$TELEPHONE  \
        CONNECT ''      \ 

        If this doesn't help, maybe you will send the whole script...

        Raider
--
                ``Liberate tu-temet ex inferis''

Reply via email to