Re: measure traffic caused by pppd (UMTS)

2009-03-18 Thread Matthias Apitz
El día Wednesday, March 18, 2009 a las 09:57:11AM +0100, Matthias Apitz escribió: > El día Friday, May 16, 2008 a las 10:08:26PM +0200, Toni Schmidbauer escribió: > > > At Fri, 2 May 2008 11:46:46 +0200, > > Matthias Apitz wrote: > > > Sometimes when I travel around and can't see any usable WLAN

Re: measure traffic caused by pppd (UMTS)

2009-03-18 Thread Matthias Apitz
El día Friday, May 16, 2008 a las 10:08:26PM +0200, Toni Schmidbauer escribió: > At Fri, 2 May 2008 11:46:46 +0200, > Matthias Apitz wrote: > > Sometimes when I travel around and can't see any usable WLAN I'm using > > the UMTS and PPPD, which works well but of course one must pay for this; > > m

Re: measure traffic caused by pppd (UMTS)

2008-05-18 Thread Toni Schmidbauer
At Sun, 18 May 2008 07:15:10 +0300, Odhiambo Washington wrote: > ..as in from ppp.linkdown? i was using a custom script for umts startup/shutdown. but it should work there as well. toni -- If you understand what you're doing, you're | toni at stderror dot at not learning anything.

Re: measure traffic caused by pppd (UMTS)

2008-05-17 Thread Odhiambo Washington
On Fri, May 16, 2008 at 11:08 PM, Toni Schmidbauer <[EMAIL PROTECTED]> wrote: > At Fri, 2 May 2008 11:46:46 +0200, > Matthias Apitz wrote: > > Sometimes when I travel around and can't see any usable WLAN I'm using > > the UMTS and PPPD, which works well but of course one must pay for this; > > mb=

Re: measure traffic caused by pppd (UMTS)

2008-05-17 Thread Toni Schmidbauer
At Fri, 2 May 2008 11:46:46 +0200, Matthias Apitz wrote: > Sometimes when I travel around and can't see any usable WLAN I'm using > the UMTS and PPPD, which works well but of course one must pay for this; mb=`netstat -ib|awk '/tun0.*Link/ {mb=($6+$9)/1024^2; printf "%.2f",mb}'` date=`date "+%s` ec

measure traffic caused by pppd (UMTS)

2008-05-02 Thread Matthias Apitz
Hello, Sometimes when I travel around and can't see any usable WLAN I'm using the UMTS and PPPD, which works well but of course one must pay for this; Is there some tool which I could put into /etc/ppp/ip_down script which logs the traffic done into some file; I see /usr/ports/net/ppptraf which