RE: Accounting Part is not working

2005-02-03 Thread Cris Boisvert
If you find out let me know I'm doing the same thing... same problem..

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sarkis
Gabriel
Sent: Thursday, February 03, 2005 10:08 AM
To: freeradius-users@lists.freeradius.org
Subject: Accounting Part is not working


Hi all

In the last couple of days i have noticed that the part of accounting is not
working, 
I am using mikrotik as a NAS, when a user logs on and gets authenticated all
works fine 
but when the user logs off the user never gets to Radius to stop the
accounting.

If i reboot MT NAS it kicks all user off, I dont know what is causing it, if
my 
database is big will it do that ? if so how do i sort it out?

sarky


- 
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html

-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 2/1/2005
 


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Accounting Part is not working

2005-02-03 Thread Stefan Winter
Hello!

 In the last couple of days i have noticed that the part of accounting is
 not working,
 I am using mikrotik as a NAS, when a user logs on and gets authenticated
 all works fine
 but when the user logs off the user never gets to Radius to stop the
 accounting.

 If i reboot MT NAS it kicks all user off, I dont know what is causing it,
 if my
 database is big will it do that ? if so how do i sort it out?

 If you find out let me know I'm doing the same thing... same problem..

In my early days of experimenting with accounting I had a similar problem. In 
my case it was a misconfiguration of the NAS. I used a Cisco NAS and told it 
to send dot1x accounting start-stop messages. This lead to it sending the 
tickets only when a dot1x action took place, i.e. on a proper user login and 
a EAPoL-Logoff. This does not apply when a user just disconnects without 
logging off, i.e. just unplugging the cable or powering his system down.
Do enable the NAS to send acct packets then as well, I had to activate 
system accounting start-stop messages as well, which send Acct messages on 
system events, i.e.: cable unplugged, lost association etc.

Hope that helps,

Stefan Winter

-- 
Stefan WINTER

Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et de 
la Recherche
Ingénieur réseau et système

6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg
email: [EMAIL PROTECTED]     tél.:      +352 424409-33
http://www.restena.lu                     fax:      +352 422473

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Accounting Part is not working

2005-02-03 Thread Alan DeKok
Sarkis Gabriel [EMAIL PROTECTED] wrote:
 In the last couple of days i have noticed that the part of
 accounting is not working, I am using mikrotik as a NAS, when a user
 logs on and gets authenticated all works fine but when the user logs
 off the user never gets to Radius to stop the accounting.

  FreeRADIUS logs whatever accounting data the NAS sends.  If the NAS
isn't sending data, FreeRADIUS can't log it.

  Fix the NAS.  Nothing else will solve the problem.

  Alan DeKok.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html