From owner-freebsd-isp Wed Oct 21 20:41:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA21379 for freebsd-isp-outgoing; Wed, 21 Oct 1998 20:41:27 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from portal.net.au (galley.portal.net.au [202.12.71.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA21374 for ; Wed, 21 Oct 1998 20:41:24 -0700 (PDT) (envelope-from matt@portal.net.au) Received: (from matt@localhost) by portal.net.au (8.8.8/8.8.8) id NAA01356; Thu, 22 Oct 1998 13:10:50 +0930 (CST) From: Matt Baker Message-Id: <199810220340.NAA01356@portal.net.au> Subject: Re: PPPD stats clearing To: tomthai@future.net (Tom T. Thai) Date: Thu, 22 Oct 1998 13:10:50 +0930 (CST) Cc: freebsd-isp@FreeBSD.ORG In-Reply-To: from "Tom T. Thai" at Oct 21, 98 10:25:44 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Yes, eventually I want to goto a radius style way of doing this, but for the moment I dont' really want to affect the operation too much. (I don't believe that the radius aware pppd is yet working?) For this reason I thought I'ld just have a simple program that just logged the bytes used when the user disconnected. I've hacked a pppstat's program to just give me the info for a particular port. --matt > > I'm not sure if this option would work for you. Maybe you can use a > patched pppd with radius and use a radius server? that way, you can keep > track of bytes in and out? > > > .............. .................................... > Thomas T. Thai Infomedia Interactive Communications > tom@iic.net TEL 612.376.9090 * FAX 612.376.9087 > > > On Thu, 22 Oct 1998, Matt Baker wrote: > > > Just wondering if someone has an idea on how to clear the interface > > stats for people connecting via pppd. > > At the moment I have a program which when the user logs off, records > > the number of bytes that they used. The problem I'm finding is > > that the interface doesn't seem to have it's stats cleared > > when the next user logs onto that port. > > Any ideas on how I could clear inte interface? > > > > > > thanks, > > > > --matt > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-isp" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message