From owner-freebsd-questions@FreeBSD.ORG Mon Dec 15 14:09:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD4AD106568A for ; Mon, 15 Dec 2008 14:09:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 7E3AB8FC14 for ; Mon, 15 Dec 2008 14:09:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-68-238.dynamic.qsc.de [92.196.68.238]) by mx01.qsc.de (Postfix) with ESMTP id 4FB1E3C8CF for ; Mon, 15 Dec 2008 15:09:37 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mBFE9WuY011644 for ; Mon, 15 Dec 2008 15:09:32 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 15 Dec 2008 15:09:31 +0100 From: Polytropon To: FreeBSD Questions Message-Id: <20081215150931.dbc8ea64.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Uptime logging with (maybe) ppp's log functionality X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2008 14:09:42 -0000 Hi! I'm going to setup a system with a dial-up modem for sporadic Internet access; a provider that charges per second online time is used. Is there a way ppp (which is used for dialing) can log the online time (or at least the connection's start and stop time) so the costs can be calculated? Furthermore, are there already tools that, for example, would use the daily, weekly or monthly periodic jobs to inform via mail about how much online time was spent? Or, in addition, how much money this would mean (built-in calculation)? If it doesn't already exist, I'm sure I'll code it. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...