From owner-freebsd-hackers Mon Jul 5 20:18:53 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from awfulhak.org (dynamic-92.max1-du-ws.dialnetwork.pavilion.co.uk [212.74.8.92]) by hub.freebsd.org (Postfix) with ESMTP id 3B30E14BF6 for ; Mon, 5 Jul 1999 20:18:45 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from dev.lan.awfulhak.org (dev.lan.awfulhak.org [172.16.0.5]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id EAA01573; Tue, 6 Jul 1999 04:11:42 +0100 (BST) (envelope-from brian@lan.awfulhak.org) Received: from dev.lan.awfulhak.org (localhost [127.0.0.1]) by dev.lan.awfulhak.org (8.9.3/8.9.3) with ESMTP id EAA51783; Tue, 6 Jul 1999 04:11:41 +0100 (BST) (envelope-from brian@dev.lan.awfulhak.org) Message-Id: <199907060311.EAA51783@dev.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: "Leif Neland" Cc: "FreeBSD Hackers" Subject: Re: Budget on user-ppp In-reply-to: Your message of "Tue, 06 Jul 1999 00:20:00 +0200." <00f101bec735$58fe2f80$0e00a8c0@neland.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 06 Jul 1999 04:11:39 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > It could be nice with some sort of budget control in ppp. > A few days ago I found out bb caused a dialup every 5 minutes. > Today I found I had been online 27 hours uninterrupted. > Some dialup-routers allows a setup of "max a connects/b minutes online over > c hours". Patches are always welcome ;-) > Also, I know it is possible to have a longer and longer retry wait between > unsuccessful calls, but this is (as far as I can see) not documented > anywhere. > (Except perhaps archives) ? How about under ``set redial'' in the man page ? set redial secs[+inc[-max]][.next] [attempts] ppp can be instructed to attempt to redial attempts times. If more than one phone number is specified (see ``set phone'' above), a pause of next is taken before dialing each number. A pause of secs is taken before starting at the first number again. A literal value of ``random'' may be used here in place of secs and next, causing a random delay of between 1 and 30 seconds. If inc is specified, its value is added onto secs each time ppp tries a new number. secs will only be incremented at most maxinc times. maxinc defaults to 10. Note, the secs delay will be effective, even after attempts has been exceeded, so an immediate manual dial may appear to have done nothing. If an immediate dial is required, a ``!'' should immediately follow the ``open'' keyword. See the ``open'' de- scription above for further details. (Hmm, I'd better change maxinc -> max !) > Leif -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message