----- Original Message -----
From: "Mariusz Bożewicz" <[EMAIL PROTECTED]>
> Hi
> I'd like to have summary accounting information about NAS users. I thought
> that counter module gives me somthing like this. For test I used cisco
> router with test account on it and I turned on (?)
> aaa new-model
> and
> aaa accounting exec default group radius
>
> In freeradius server I used defult configuration of counter module except
> allowed-servicetype, which now looks like:
> allowed-servicetype=Login-User
>
> I try to login on cisco router many times, in
> var/log/radius/raddact/<IP_ADDRESS>detail-...
> I have any information about login, but length of db.counter doesn't
change.
> What might be a problem?
I list db.counter file using perl:
use GDBM_file;
tie %hash, "GDBM_File",$filenam,$GDBM_WRCREAT,0640
or die "couldn't open $filenam"
while (($key,$value)=each %hash)
{
print $key.' = '.$value.' \n';
}
untie %hash;
this script writes on stdout nothing about my test account. It writes only
sth like this:
[plachnina@matrix ownprogram]$ ./dbcount.pl ../etc/raddb/db.counter
DEFAULT1 = đ
>\nDEFAULT2 = _
>\n[plachnina@matrix ownprogram]$
[plachnina@matrix ownprogram]$ ls -l ../etc/raddb/db.counter
-rw------- 1 plachnin users 12312 Dec 26 20:57
../etc/raddb/db.counter
Mariusz Bozewicz
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html