Hostapd-0.5.5 and freeradius-server-2.1.1
tnt at kalik.net
tnt at kalik.net
Tue Oct 28 10:19:56 CET 2008
Have you enabled sql in the accounting section? Can you post the
freeradius debug (radiusd -X)? Accounting-Request should be coming
straight after Access-Accept.
Ivan Kalik
Kalik Informatika ISP
Dana 28/10/2008, "lolo" <lolo at system-linux.net> piše:
>Hi,
>
>I am not member of the list, cause I never received any answer !???
>So write to my email !
>
>Is someone have installing and configuring accounting with hostapd and
>freeradius ?
>
>I have some problems to understand why my configuration doesn't save any data
>in table "radacct" ?
>I have some data in "radpostauth" :
>1 bea Access-Accept 2008-10-28 00:14:57
>2 bea Access-Accept 2008-10-28 00:19:14
>....
>
>My configuration is based on LDAP with SQL to store data...
>
>Here my configuration :
>- On the same machine I have OpenLDAP+Hostapd+Freeradius
>- authenticating works !
>- accounting request was send : (wireshark shoot)
>
>No. Time Source Destination Protocol Info
> 10 4.520626 10.1.1.254 10.1.1.254 RADIUS
>Accounting-Request(4) (id=242, l=194)
>
>Frame 10 (238 bytes on wire, 238 bytes captured)
>Linux cooked capture
>Internet Protocol, Src: 10.1.1.254 (10.1.1.254), Dst: 10.1.1.254 (10.1.1.254)
>User Datagram Protocol, Src Port: 33080 (33080), Dst Port: radius-acct (1813)
> Source port: 33080 (33080)
> Destination port: radius-acct (1813)
> Length: 202
> Checksum: 0x18d9 [incorrect, should be 0x7400]
>Radius Protocol
> Code: Accounting-Request (4)
> Packet identifier: 0xf2 (242)
> Length: 194
> Authenticator: 3A902C44595C10807918F491B63CDA2B
> Attribute Value Pairs
> AVP: l=19 t=Acct-Session-Id(44): 48F7C09B-00000021
> AVP: l=6 t=Acct-Status-Type(40): Stop(2)
> AVP: l=6 t=Acct-Authentic(45): RADIUS(1)
> AVP: l=5 t=User-Name(1): bea
> AVP: l=6 t=NAS-IP-Address(4): 10.3.1.1
> AVP: l=8 t=NAS-Identifier(32): debian
> AVP: l=6 t=NAS-Port(5): 0
> AVP: l=29 t=Called-Station-Id(30): 00-18-4D-76-22-19:Debian-AP
> AVP: l=19 t=Calling-Station-Id(31): 00-1A-70-AE-D4-53
> AVP: l=6 t=NAS-Port-Type(61): Wireless-802.11(19)
> AVP: l=22 t=Connect-Info(77): CONNECT 0Mbps 802.11
> AVP: l=6 t=Acct-Session-Time(46): 27
> AVP: l=6 t=Acct-Input-Packets(47): 63
> AVP: l=6 t=Acct-Output-Packets(48): 21
> AVP: l=6 t=Acct-Input-Octets(42): 7256
> AVP: l=6 t=Acct-Output-Octets(43): 3623
> AVP: l=6 t=Event-Timestamp(55): Oct 17, 2008 05:23:47.000000000
> AVP: l=6 t=Acct-Terminate-Cause(49): User-Request(1)
>
>Here where to find my all configuration :
>http://www.system-linux.net/config/freeradius-ldap-hostapd/configuration/
>
>Many thank's
>
>If my English is not perfect, it's because I'm not ! I am French ! ;)
>-
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>
More information about the Freeradius-Users
mailing list