Accounting should be enabled first on AP !
here is an example on Cisco Aironet 1100 :
...
aaa new-model
aaa group server radius rad_eap
server 192.168.1.11 auth-port 1812 acct-port 1813
...
then, check on your radius server at radiusd.conf :
...
prefix = /usr/local/freeradius
localstatedir = ${prefix}/var
logdir = ${localstatedir}/log/radius
radacctdir = ${logdir}/radacct
...
there, you should see your logs for each NAS !
in my case : /usr/local/freeradius/var/log/radius/radacct/ :)
below, an extract from my accounting log :
...
Thu Mar 31 15:06:55 2005
Acct-Session-Id = "00000149"
Called-Station-Id = "00-0E-84-40-B4-AA"
Calling-Station-Id = "00-0D-54-AA-A4-1C"
Cisco-AVPair = "ssid=AP-EAP"
Cisco-AVPair = "nas-location=unspecified"
Cisco-AVPair = "vlan-id=20"
Cisco-AVPair = "auth-algo-type=eap-ttls"
Acct-Authentic = RADIUS
Cisco-AVPair = "connect-progress=Call Up"
...
Hope that's help you...
Jacques VUVANT a écrit :
Hi all
some can tell me how to active accounting on freeradius for EAP
Thanks
jacques
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
begin:vcard
fn:David ROUMANET
n:ROUMANET;David
org:CICG
adr;quoted-printable;quoted-printable;dom:;;351 avenue de la Biblioth=C3=A8que;Saint-Martin d'H=C3=A8res;;38
email;internet:[EMAIL PROTECTED]
title;quoted-printable:Ing=C3=A9nieur R=C3=A9seau
tel;work:+33 (0)4 76 51 46 08
x-mozilla-html:TRUE
url:http://www.grenet.fr
version:2.1
end:vcard