Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 1998 20:42:19 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        Matthew Thyer <thyerm@camtech.net.au>
Cc:        Brian Somers <brian@Awfulhak.org>, Matthew Thyer <Matthew.Thyer@dsto.defence.gov.au>, Kris Kennaway <kkennawa@physics.adelaide.edu.au>, FreeBSD CURRENT <current@FreeBSD.ORG>
Subject:   Re: ppp driving me nuts 
Message-ID:  <199807291942.UAA04429@awfulhak.org>
In-Reply-To: Your message of "Wed, 29 Jul 1998 21:24:33 %2B0930." <35BF0D79.8D8194E@camtech.net.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
The default redial period is 30 seconds.  Ppp will not reopen the 
modem until this time has elapsed.

I've made some modifications so that you can now ``open!'' or 
``dial!'' to ignore the redial timer.

> I dont know what you mean by my use of "set redial".
> 
> Here's my ppp.conf:
> 
> 
> 
> default:
>  set log chat connect phase
>  set device /dev/cuaa1
>  set speed 115200
>  deny lqr
>  deny pap
>  set timeout 0
>  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0L0 OK \\dATDT\\T TIMEOUT 120 CONNECT"
>  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
> 
> target:
>  set phone <phone_num>
>  set login
>  set authname <bleep>
>  set authkey <bleep>
>  dial
> 
> Brian Somers wrote:
> > 
> > Hmm,
> > 
> > I guess the ``dial'' command should nuke the redial timer if it
> > exists.  This is a bug.  The redial timer is used by the datalink
> > state machine to honour your ``set redial''.
> > 
> > I'll fix it.
> > 
> > > I use usermode ppp as "ppp target" where my target does the
> > > dial (after setting authkey etc).
> > >
> > > If the first dial fails (say due to the number being busy) typing
> > > 'dial' at the 'ppp' prompt makes ppp do nothing until the original
> > > dial timeout has elapsed (at least that's how it appears to me).
> > >
> > > So rather than waiting 40 seconds or so (my dial timeout is 120 sec)
> > > I quit ppp and just type "ppp target" again.
> > >
> > > This is nothing to do with redial timeouts I think its the original
> > > dial timeout that is still ticking away for some reason even though
> > > ppp has already told me that the first dial has failed.
> > >
> > >
> > > Kris Kennaway wrote:
> > > >
> > > > On Tue, 28 Jul 1998, Snob Art Genre wrote:
> > > >
> > > > > On Tue, 28 Jul 1998, Kris Kennaway wrote:
> > > > >
> > > > > > I seem to recall that theres a 3 minute idle timeout which cannot be
> > > > > > overridden if you start the ppp session from interactive mode. I often
> > > > >
> > > > > Why wouldn't "set timeout 0" override?  I load my provider profile with
> > > > > a "load" directive in the conf file, and just log in as ppp with ppp as
> > > > > my shell and type "dial", btw.  And a "show timers" doesn't show any
> > > > > idle timer running.
> > > >
> > > > I just know that doing that never seemed to prevent the session from
> > > > timing out after 3 minutes. I was going to get around to
> > > > investigating this further & submitting a formal report, but it seems to
> > > > have come up anyway :)
> > > >
> > > > I also seem to remember something about the redial timeout not quite
> > > > working as it is documented in the manpages..
> > > >
> > > > Kris
> 
> -- 
> /=====================================================================\
> |Work: Matthew.Thyer@dsto.defence.gov.au | Home: thyerm@camtech.net.au|
> \=====================================================================/
> "If it is true that our Universe has a zero net value for all conserved
> quantities, then it may simply be a fluctuation of the vacuum of some
> larger space in which our Universe is imbedded. In answer to the
> question of why it happened, I offer the modest proposal that our
> Universe is simply one of those things which happen from time to time."
>  E. P. Tryon   from "Nature" Vol.246 Dec.14, 1973
> 

-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807291942.UAA04429>