Maybe somebody can tell me how to get around the following (small)
problem.

As often as not my ppp dialup script dies the first time I run it.  That
is, nothing happens -- it doesn't even dial the number.  So I just run
it again, and this time everything works perfectly.

Here is the script:

        #!/bin/sh
        /usr/sbin/pppd connect "/usr/sbin/chat $DEBUG \
        -f /etc/ppp/chat-once" \
        /dev/modem file /etc/ppp/options.once &

And here are the relevant files in /etc/ppp:

  /etc/ppp/chat-once

        TIMEOUT 60
        ABORT "NO CARRIER"
        ABORT BUSY
        ABORT "NO DIALTONE"
        ABORT ERROR
        "" ATZ
        OK ATM1L3
        OK ATDT303-492-8297
        CONNECT ""

  /etc/ppp/options.once

        lock
        crtscts
        modem
        defaultroute
        192.168.116.15:128.138.229.145
        115200
        nopersist
        idle 3600

My guess is that the first time around the chat script gets a modem
error and dies.  But then why does it ALWAYS work the second time
around?

Not a big deal, but if somebody has an idea for me to try, I'd really
appreciate it.

Wes

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to