On Sat, 31 Oct 1998, Michael Talbot-Wilson wrote:

> I have to wait over 10 seconds after pppd exits (after getting a HUP
> and deleting its pid file) before the modem hangs up and another
> pppd can be started. If I only wait 10 seconds the "NO CARRIER" is
> seen by the new chat (when waiting for an initial "OK") and it
> aborts, but it is okay if the wait is for 20 sec. 

Sounds dreadful. Here, easily, it takes about 3 seconds.

> Possibly I have the modem misconfigured - the documentation I have
> is not terrific.


What modem is it?

> Is there any way the modem can be hung up quicker?  Or is this
> the norm?

As a stopgap you could include the "NO CARRIER" in your chat script
expect strings before the AT, which might bring the time down to the
time your modem takes to emit the string, which shouldn't be much.

Uhm, actually, could be the following, too.

The problem seems to be your chat script is exiting before NO CARRIER
is completely finished being sent. Then, the new one picks it up and
interprets it. I changed my ABORT       'CARRIER' line to after dialing
so this doesn't happen to me anymore.

Try it out.

-- 
christian
[EMAIL PROTECTED]



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

Reply via email to