From owner-freebsd-questions Sat Dec 25 11:22:19 1999 Delivered-To: freebsd-questions@freebsd.org Received: from corinth.bossig.com (corinth.bossig.com [208.26.239.66]) by hub.freebsd.org (Postfix) with ESMTP id 5A68114C08 for ; Sat, 25 Dec 1999 11:22:16 -0800 (PST) (envelope-from kstewart@3-cities.com) Received: from 3-cities.com (kenn2179.bossig.com [208.26.242.179]) by corinth.bossig.com (Rockliffe SMTPRA 3.4.5) with ESMTP id ; Sat, 25 Dec 1999 11:29:20 -0800 Message-ID: <386519A5.A0B1E967@3-cities.com> Date: Sat, 25 Dec 1999 11:23:17 -0800 From: Kent Stewart Organization: Columbia Basin Virtual Community Project X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Ariel Burbaickij Cc: freebsd-questions@FreeBSD.ORG Subject: Re: does something like time of time spent on-line exist? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ariel Burbaickij wrote: > > On Sat, 25 Dec 1999, Kent Stewart wrote: > > > > > > > Ariel Burbaickij wrote: > > > > > > I use FreeBSD on my home computer the method of connection to provider > > > is dial-up user PPP.I would like to know does something like timer of > > > already spent on-line time exist?We have to pay on time-basis here in > > > Germany even for local connections.So time spent is relevant for me. > > > > I use pppctl to look at the timers. There is an example in "man > > pppctl" for the status. It shows you the connect time. You could do > > 'pppctl to "show phy" | grep "Connect time"'. I use the local domain > > socket and my show phy alias for root is > > > > status (pppctl /var/run/internet show phy) > > > > I created an alias called "conn" by combining status and the grep. It > > shows the connect time. > > > > I start user-ppp as root and you have to be logged in as the user that > > started user-ppp to run pppctl. > I have not understood this sentence you said you starts user ppp as root > and afterwards you say :you have to be logged as user that started > user-ppp so the obvious question is:must you be logged in as root or > have you menat something other. I meant that I have to be logged in as Root. It probably doesn't matter for you because you probably start ppp from your current login and would be logged in as the same user when you wanted to run pppctl. I start user-ppp when I boot as root in the -auto mode. Everytime one of my computers need the Internet FreeBSD dials out. Then, when I telnet to the FreeBSD machine to get a status, I have to su to root first and then I can run pppctl. Regards, Kent > kind regards, > Ariel > > Regards, > > > > Kent > > > > > > > > kind regards, > > > Ariel > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > > -- > > Kent Stewart > > Richland, WA > > > > mailto:kstewart@3-cities.com > > http://www.3-cities.com/~kstewart/index.html > > FreeBSD News http://daily.daemonnews.org/ > > > > SETI(Search for Extraterrestrial Intelligence) @ HOME > > http://setiathome.ssl.berkeley.edu/ > > > > Hunting Archibald Stewart, b 1802 in Ballymena, Antrim Co., NIR > > http://www.3-cities.com/~kstewart/genealogy/archibald_stewart.html > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > -- Kent Stewart Richland, WA mailto:kstewart@3-cities.com http://www.3-cities.com/~kstewart/index.html FreeBSD News http://daily.daemonnews.org/ SETI(Search for Extraterrestrial Intelligence) @ HOME http://setiathome.ssl.berkeley.edu/ Hunting Archibald Stewart, b 1802 in Ballymena, Antrim Co., NIR http://www.3-cities.com/~kstewart/genealogy/archibald_stewart.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message