Date: Wed, 17 Jan 2001 23:17:30 -0000 From: "G D McKee" <freebsd@gdmckee.com> To: "Cliff Sarginson" <cliff@raggedclown.net>, "Christoph Sold" <christoph.sold@server.i-clue.de> Cc: "freebsd-questions" <freebsd-questions@FreeBSD.ORG> Subject: Re: PPP Message-ID: <001301c080db$c294d1e0$0500a8c0@gdmckee.local> References: <001d01c07fbe$1d8bf840$0500a8c0@gdmckee.local> <3A65DFB9.C46DA6B5@i-clue.de> <20010117211432.C898@raggedclown.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Thanks for your reply. My Telco bills me for a min of a 5 min call. Therefore I might as well get FreeBSD to kick me off if there is no activity after this limit has been reached, as I am paying for the call anyway. Then after the five min is up it switches to a different timeout value. I read you could do it some where and I can't remember where. Gordon McKee ----- Original Message ----- From: "Cliff Sarginson" <cliff@raggedclown.net> To: "Christoph Sold" <christoph.sold@server.i-clue.de> Cc: "G D McKee" <freebsd@gdmckee.com>; "freebsd-questions" <freebsd-questions@FreeBSD.ORG> Sent: Wednesday, January 17, 2001 8:14 PM Subject: Re: PPP > On Wed, Jan 17, 2001 at 07:08:57PM +0100, Christoph Sold wrote: > > > > > > G D McKee schrieb: > > > > > > Hi > > > > > > I have read it somewhere that there is a way if telling ppp (user mode ppp) > > > to stay live for a given period of time and the timeout after this. I can't > > > remember where I read it and would like to set it up. > > > > > > For example, the min call charge is 5min, so I might as well be connected > > > for this period of time as you get billed for it anyway, and then drop it > > > there is, lets say 60sec of inactivity. > > > > on the ppp command line, or in the configuration file: > > > > set timeout 0 deactivates the stay alive period, > > set timeout <n> sets the stay alive period to <n> seconds. > > > > The line is dropped after there is NO traffic for <n> seconds. This may > > not be what you looked for, depending on your setup. > > No i think he is looking for a way of limiting the length of > connect time, whatever. Not a simple timeout. > I dont think PPP has this facility inbuilt. The easiest way > is probably to write a script to set off in ppp.linkup that sleeps > for the desired time and then hangs PPP up... > > #!/bin/sh > # > sleep 300 > killall -HUP ppp > > > Or something like that.. > > Cliff > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001301c080db$c294d1e0$0500a8c0>