From owner-freebsd-current Wed Jul 29 05:00:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA09124 for freebsd-current-outgoing; Wed, 29 Jul 1998 05:00:24 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from goliath.camtech.net.au (goliath.camtech.net.au [203.5.73.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA09116 for ; Wed, 29 Jul 1998 05:00:19 -0700 (PDT) (envelope-from thyerm@camtech.net.au) Received: from camtech.net.au (dialup-ad-4-07.camtech.net.au [203.28.0.135]) by goliath.camtech.net.au (8.8.5/8.8.2) with ESMTP id VAA26054; Wed, 29 Jul 1998 21:24:33 +0930 (CST) Message-ID: <35BF0D79.8D8194E@camtech.net.au> Date: Wed, 29 Jul 1998 21:24:33 +0930 From: Matthew Thyer X-Mailer: Mozilla 4.05 [en] (X11; U; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: Brian Somers CC: Matthew Thyer , Kris Kennaway , FreeBSD CURRENT Subject: Re: ppp driving me nuts References: <199807290706.IAA10327@awfulhak.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 set login set authname set authkey 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message