1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
COSTS README FILE
=================
How to Configure
================
If your ~/.pppstatus/pppstatus.cfg or /var/log/pppstatus.cfg
haven't the option costs_file, you should add it. How to do it?
* pppstatus:~$ pico ~/.pppstatus/pppstatus.cfg (for normal users)
or
* pppstatus:~$ pico /var/log/pppstatus.cfg
add a new line and write:
costs_file = costs
After that, you should edit costs file (that comes in the
source code tarball) and put the tarifes of your Telecompany.
Move this edited file to ~/.pppstatus/ (or /var/log in case
of root or runonboot).
PS: If you change the name of costs file, you should edit
pppstatus.cfg and change costs_file value to the name of the file.
EX: costs_file = telebrasilia
How it works?
=============
Every month PPPStatus creates a file that contain the price to
pay of all connections. This file is called total.costs.MMM-YYYY
(where MMM is the month and YYYY is the year).
Running PPPStatus, you will be able to see two informations about
costs:
* Costs .:. The costs of current connection.
* Total Costs .:. The costs of all connections on current month.
|