On 1 Jul 2006, in the Usenet newsgroup comp.os.linux.networking, in article
<e86ptb$85n$(E-Mail Removed)>, Unruh wrote:
>I have no idea what is in the rest of his script, but almost noone actually
>leaves the default time at 45 sec, but rather sets things up to give say a
>5 or 10 sec timeout.
Hmmm...
http://www.theory.physics.ubc.ca/ppp-linux.html
[compton ~]$ grep timeout ppp-linux.txt
still alive) will reset the timer and stop the idle timeout from ever
[compton ~]$ grep -- -t ppp-linux.txt
instead-- one of Linux's charms.--thanks to M. Cook for pointing this
[compton ~]$
Actually, I don't think I've ever used the option.
>But it would not matter. If you sent the modem an AT, it would be the state
>of the modem when the AT was received that would matter. The fact that 10
>sec later the modem would be reset would not produce an OK fromt eh AT
>received during the initial time.
Poorly worded on my part. As mentioned below this point, I'm seeing 5 to 8
seconds between DTR going low and the lock file being removed. Now there is
(to the best of my knowledge) nothing that the modem can do that might delay
or allow removal of the lock and pppd exiting, but watching the lights on
the phone and the modem, in my case DTR low -> line in use going off is a
matter of no more than a second. Looking at several modem manuals, this may
be a settable "S" parameter, depending on manufacturer and chipset.
>Actually I know of no instance in which a 45 sec timeout is useful EXCEPT
>during the dialing phase, when 45 sec for the far side to pick up the phone
>and start negotiating may be OK ( although even then it is probably too
>long) ( on a reasonable local phone call
>that is the time of about 8 or 9 rings. I use TIMEOUT 24 when I use chat
>as a phone dialer).
I see significant variation with the three dial-in services I use - anywhere
from 21 to 34 seconds between pppd started by $USER and "Serial connection
established". I do have one provider who seems to have one b0rked terminal
server that acts like a screwed up ACCM mask - I've set 'lcp-max-configure'
to 3 to bail quicker when the round-robin happens to hit that one. But
otherwise, I think I've always gone with default timings.
Old guy