Excuse me for the last mail.
Here is the log file from radacct directory.
> Hello SzabÑ,
>
> Friday, June 4, 2004, 1:56:02 PM, you wrote:
>
> SG> I have a problem with accounting. If accounting is turn off on AP, then
> the SG> radius is working. If I turn on the accounting on AP, after
> authentication SG> few seconds the AP brakes the connection. I don't know
> why do this. Maybe I SG> should set some attributes for the users?
> SG> I'm using the MySQL database for user authorization, and accounting to.
>
> What is in logs?
--
technik :-)
ICQ: 270532579
AIM: gyuriszabo
Thu Jun 3 18:46:10 2004
User-Name = "00300d16f0bf"
NAS-IP-Address = 192.168.1.4
Called-Station-Id = "00-30-0D-16-F0-BF"
NAS-Identifier = "MMC-1500AP(H)"
Acct-Status-Type = Accounting-On
Acct-Session-Id = "48000001"
Client-IP-Address = 193.226.233.43
Acct-Unique-Session-Id = "893d160ff71e755c"
Timestamp = 1086281170
Thu Jun 3 18:47:02 2004
User-Name = "fredf"
NAS-IP-Address = 192.168.1.4
NAS-Port = 1
Service-Type = Framed-User
Framed-IP-Address = 0.0.0.0
Framed-MTU = 1400
Called-Station-Id = "00-30-0D-16-F0-BF"
Calling-Station-Id = "00-50-FC-F2-8C-24"
NAS-Identifier = "MMC-1500AP(H)"
Acct-Status-Type = Start
Acct-Delay-Time = 0
Acct-Input-Octets = 0
Acct-Output-Octets = 0
Acct-Session-Id = "48000002"
Acct-Input-Packets = 0
Acct-Output-Packets = 0
Acct-Input-Gigawords = 0
Acct-Output-Gigawords = 0
Event-Timestamp = "Jun 4 2004 03:46:57 CEST"
NAS-Port-Type = Ethernet
Connect-Info = "CONNECT 10Mbps Ethernet"
Client-IP-Address = 193.226.233.43
Acct-Unique-Session-Id = "5033f95c272a4be2"
Timestamp = 1086281222
Thu Jun 3 18:49:41 2004
User-Name = "00300d16f0bf"
NAS-IP-Address = 192.168.1.4
Called-Station-Id = "00-30-0D-16-F0-BF"
NAS-Identifier = "MMC-1500AP(H)"
Acct-Status-Type = Accounting-On
Acct-Session-Id = "E8000001"
Client-IP-Address = 193.226.233.43
Acct-Unique-Session-Id = "22f70d0dda995ce4"
Timestamp = 1086281381
Thu Jun 3 18:51:32 2004
User-Name = "fredf"
NAS-IP-Address = 192.168.1.4
NAS-Port = 1
Service-Type = Framed-User
Framed-IP-Address = 0.0.0.0
Framed-MTU = 1400
Called-Station-Id = "00-30-0D-16-F0-BF"
Calling-Station-Id = "00-50-FC-F2-8C-24"
NAS-Identifier = "MMC-1500AP(H)"
Acct-Status-Type = Start
Acct-Delay-Time = 0
Acct-Input-Octets = 0
Acct-Output-Octets = 0
Acct-Session-Id = "E8000002"
Acct-Input-Packets = 0
Acct-Output-Packets = 0
Acct-Input-Gigawords = 0
Acct-Output-Gigawords = 0
Event-Timestamp = "Jun 4 2004 03:51:27 CEST"
NAS-Port-Type = Ethernet
Connect-Info = "CONNECT 10Mbps Ethernet"
Client-IP-Address = 193.226.233.43
Acct-Unique-Session-Id = "6be6b3e61780aa29"
Timestamp = 1086281492
Thu Jun 3 18:52:10 2004
User-Name = "fredf"
NAS-IP-Address = 192.168.1.4
NAS-Port = 1
Service-Type = Framed-User
Framed-IP-Address = 0.0.0.0
Framed-MTU = 1400
Called-Station-Id = "00-30-0D-16-F0-BF"
Calling-Station-Id = "00-50-FC-F2-8C-24"
NAS-Identifier = "MMC-1500AP(H)"
Acct-Status-Type = Stop
Acct-Input-Octets = 1750
Acct-Output-Octets = 0
Acct-Session-Id = "E8000002"
Acct-Session-Time = 37
Acct-Input-Packets = 5
Acct-Output-Packets = 0
Acct-Terminate-Cause = Supplicant-Restart
Acct-Input-Gigawords = 0
Acct-Output-Gigawords = 0
Event-Timestamp = "Jun 4 2004 03:52:04 CEST"
NAS-Port-Type = Ethernet
Connect-Info = "CONNECT 10Mbps Ethernet"
Client-IP-Address = 193.226.233.43
Acct-Unique-Session-Id = "6be6b3e61780aa29"
Timestamp = 1086281530
Thu Jun 3 18:52:11 2004
User-Name = "fredf"
NAS-IP-Address = 192.168.1.4
NAS-Port = 2
Service-Type = Framed-User
Framed-IP-Address = 0.0.0.0
Framed-MTU = 1400
Called-Station-Id = "00-30-0D-16-F0-BF"
Calling-Station-Id = "00-50-FC-F2-8C-24"
NAS-Identifier = "MMC-1500AP(H)"
Acct-Status-Type = Start
Acct-Delay-Time = 0
Acct-Input-Octets = 0
Acct-Output-Octets = 0
Acct-Session-Id = "E8000003"
Acct-Input-Packets = 0
Acct-Output-Packets = 0
Acct-Input-Gigawords = 0
Acct-Output-Gigawords = 0
Event-Timestamp = "Jun 4 2004 03:52:05 CEST"
NAS-Port-Type = Ethernet
Connect-Info = "CONNECT 10Mbps Ethernet"
Client-IP-Address = 193.226.233.43
Acct-Unique-Session-Id = "9f2c8e1e22b17b10"
Timestamp = 1086281531
Thu Jun 3 18:52:18 2004
User-Name = "fredf"
NAS-IP-Address = 192.168.1.4
NAS-Port = 2
Service-Type = Framed-User
Framed-IP-Address = 0.0.0.0
Framed-MTU = 1400
Called-Station-Id = "00-30-0D-16-F0-BF"
Calling-Station-Id = "00-50-FC-F2-8C-24"
NAS-Identifier = "MMC-1500AP(H)"
Acct-Status-Type = Stop
Acct-Input-Octets = 1050
Acct-Output-Octets = 0
Acct-Session-Id = "E8000003"
Acct-Session-Time = 7
Acct-Input-Packets = 3
Acct-Output-Packets = 0
Acct-Terminate-Cause = Supplicant-Restart
Acct-Input-Gigawords = 0
Acct-Output-Gigawords = 0
Event-Timestamp = "Jun 4 2004 03:52:13 CEST"
NAS-Port-Type = Ethernet
Connect-Info = "CONNECT 10Mbps Ethernet"
Client-IP-Address = 193.226.233.43
Acct-Unique-Session-Id = "9f2c8e1e22b17b10"
Timestamp = 1086281538
Thu Jun 3 18:52:19 2004
User-Name = "fredf"
NAS-IP-Address = 192.168.1.4
NAS-Port = 3
Service-Type = Framed-User
Framed-IP-Address = 0.0.0.0
Framed-MTU = 1400
Called-Station-Id = "00-30-0D-16-F0-BF"
Calling-Station-Id = "00-50-FC-F2-8C-24"
NAS-Identifier = "MMC-1500AP(H)"
Acct-Status-Type = Start
Acct-Delay-Time = 0
Acct-Input-Octets = 0
Acct-Output-Octets = 0
Acct-Session-Id = "E8000004"
Acct-Input-Packets = 0
Acct-Output-Packets = 0
Acct-Input-Gigawords = 0
Acct-Output-Gigawords = 0
Event-Timestamp = "Jun 4 2004 03:52:14 CEST"
NAS-Port-Type = Ethernet
Connect-Info = "CONNECT 10Mbps Ethernet"
Client-IP-Address = 193.226.233.43
Acct-Unique-Session-Id = "da563360c093a522"
Timestamp = 1086281539
Thu Jun 3 18:54:21 2004
User-Name = "fredf"
NAS-IP-Address = 192.168.1.4
NAS-Port = 3
Service-Type = Framed-User
Framed-IP-Address = 0.0.0.0
Framed-MTU = 1400
Called-Station-Id = "00-30-0D-16-F0-BF"
Calling-Station-Id = "00-50-FC-F2-8C-24"
NAS-Identifier = "MMC-1500AP(H)"
Acct-Status-Type = Stop
Acct-Input-Octets = 2100
Acct-Output-Octets = 0
Acct-Session-Id = "E8000004"
Acct-Session-Time = 122
Acct-Input-Packets = 6
Acct-Output-Packets = 0
Acct-Terminate-Cause = Supplicant-Restart
Acct-Input-Gigawords = 0
Acct-Output-Gigawords = 0
Event-Timestamp = "Jun 4 2004 03:54:16 CEST"
NAS-Port-Type = Ethernet
Connect-Info = "CONNECT 10Mbps Ethernet"
Client-IP-Address = 193.226.233.43
Acct-Unique-Session-Id = "da563360c093a522"
Timestamp = 1086281661
Thu Jun 3 18:54:22 2004
User-Name = "fredf"
NAS-IP-Address = 192.168.1.4
NAS-Port = 4
Service-Type = Framed-User
Framed-IP-Address = 0.0.0.0
Framed-MTU = 1400
Called-Station-Id = "00-30-0D-16-F0-BF"
Calling-Station-Id = "00-50-FC-F2-8C-24"
NAS-Identifier = "MMC-1500AP(H)"
Acct-Status-Type = Start
Acct-Delay-Time = 0
Acct-Input-Octets = 0
Acct-Output-Octets = 0
Acct-Session-Id = "E8000005"
Acct-Input-Packets = 0
Acct-Output-Packets = 0
Acct-Input-Gigawords = 0
Acct-Output-Gigawords = 0
Event-Timestamp = "Jun 4 2004 03:54:17 CEST"
NAS-Port-Type = Ethernet
Connect-Info = "CONNECT 10Mbps Ethernet"
Client-IP-Address = 193.226.233.43
Acct-Unique-Session-Id = "67da1a9dfbcd8cff"
Timestamp = 1086281662
Thu Jun 3 19:00:08 2004
User-Name = "00300d16f0bf"
NAS-IP-Address = 192.168.1.4
Called-Station-Id = "00-30-0D-16-F0-BF"
NAS-Identifier = "MMC-1500AP(H)"
Acct-Status-Type = Accounting-On
Acct-Session-Id = "27000001"
Client-IP-Address = 193.226.233.43
Acct-Unique-Session-Id = "b61d96a54e7deaa3"
Timestamp = 1086282008
Thu Jun 3 19:14:24 2004
User-Name = "steve"
NAS-IP-Address = 192.168.1.4
NAS-Port = 1
Service-Type = Framed-User
Framed-IP-Address = 0.0.0.0
Framed-MTU = 1400
Called-Station-Id = "00-30-0D-16-F0-BF"
Calling-Station-Id = "00-50-FC-F2-8C-24"
NAS-Identifier = "MMC-1500AP(H)"
Acct-Status-Type = Start
Acct-Delay-Time = 0
Acct-Input-Octets = 0
Acct-Output-Octets = 0
Acct-Session-Id = "27000002"
Acct-Input-Packets = 0
Acct-Output-Packets = 0
Acct-Input-Gigawords = 0
Acct-Output-Gigawords = 0
Event-Timestamp = "Jun 4 2004 04:14:19 CEST"
NAS-Port-Type = Ethernet
Connect-Info = "CONNECT 10Mbps Ethernet"
Client-IP-Address = 193.226.233.43
Acct-Unique-Session-Id = "ab0c5988d432c201"
Timestamp = 1086282864
Thu Jun 3 19:14:30 2004
User-Name = "steve"
NAS-IP-Address = 192.168.1.4
NAS-Port = 1
Service-Type = Framed-User
Framed-IP-Address = 0.0.0.0
Framed-MTU = 1400
Called-Station-Id = "00-30-0D-16-F0-BF"
Calling-Station-Id = "00-50-FC-F2-8C-24"
NAS-Identifier = "MMC-1500AP(H)"
Acct-Status-Type = Stop
Acct-Input-Octets = 1050
Acct-Output-Octets = 0
Acct-Session-Id = "27000002"
Acct-Session-Time = 6
Acct-Input-Packets = 3
Acct-Output-Packets = 0
Acct-Terminate-Cause = Supplicant-Restart
Acct-Input-Gigawords = 0
Acct-Output-Gigawords = 0
Event-Timestamp = "Jun 4 2004 04:14:25 CEST"
NAS-Port-Type = Ethernet
Connect-Info = "CONNECT 10Mbps Ethernet"
Client-IP-Address = 193.226.233.43
Acct-Unique-Session-Id = "ab0c5988d432c201"
Timestamp = 1086282870
Thu Jun 3 19:14:32 2004
User-Name = "steve"
NAS-IP-Address = 192.168.1.4
NAS-Port = 2
Service-Type = Framed-User
Framed-IP-Address = 0.0.0.0
Framed-MTU = 1400
Called-Station-Id = "00-30-0D-16-F0-BF"
Calling-Station-Id = "00-50-FC-F2-8C-24"
NAS-Identifier = "MMC-1500AP(H)"
Acct-Status-Type = Start
Acct-Delay-Time = 0
Acct-Input-Octets = 0
Acct-Output-Octets = 0
Acct-Session-Id = "27000003"
Acct-Input-Packets = 0
Acct-Output-Packets = 0
Acct-Input-Gigawords = 0
Acct-Output-Gigawords = 0
Event-Timestamp = "Jun 4 2004 04:14:27 CEST"
NAS-Port-Type = Ethernet
Connect-Info = "CONNECT 10Mbps Ethernet"
Client-IP-Address = 193.226.233.43
Acct-Unique-Session-Id = "e5f5f7f8f0679b87"
Timestamp = 1086282872
Thu Jun 3 19:15:38 2004
User-Name = "steve"
NAS-IP-Address = 192.168.1.4
NAS-Port = 2
Service-Type = Framed-User
Framed-IP-Address = 0.0.0.0
Framed-MTU = 1400
Called-Station-Id = "00-30-0D-16-F0-BF"
Calling-Station-Id = "00-50-FC-F2-8C-24"
NAS-Identifier = "MMC-1500AP(H)"
Acct-Status-Type = Stop
Acct-Input-Octets = 2450
Acct-Output-Octets = 0
Acct-Session-Id = "27000003"
Acct-Session-Time = 65
Acct-Input-Packets = 7
Acct-Output-Packets = 0
Acct-Terminate-Cause = Supplicant-Restart
Acct-Input-Gigawords = 0
Acct-Output-Gigawords = 0
Event-Timestamp = "Jun 4 2004 04:15:33 CEST"
NAS-Port-Type = Ethernet
Connect-Info = "CONNECT 10Mbps Ethernet"
Client-IP-Address = 193.226.233.43
Acct-Unique-Session-Id = "e5f5f7f8f0679b87"
Timestamp = 1086282938
Thu Jun 3 19:15:39 2004
User-Name = "steve"
NAS-IP-Address = 192.168.1.4
NAS-Port = 3
Service-Type = Framed-User
Framed-IP-Address = 0.0.0.0
Framed-MTU = 1400
Called-Station-Id = "00-30-0D-16-F0-BF"
Calling-Station-Id = "00-50-FC-F2-8C-24"
NAS-Identifier = "MMC-1500AP(H)"
Acct-Status-Type = Start
Acct-Delay-Time = 0
Acct-Input-Octets = 0
Acct-Output-Octets = 0
Acct-Session-Id = "27000004"
Acct-Input-Packets = 0
Acct-Output-Packets = 0
Acct-Input-Gigawords = 0
Acct-Output-Gigawords = 0
Event-Timestamp = "Jun 4 2004 04:15:34 CEST"
NAS-Port-Type = Ethernet
Connect-Info = "CONNECT 10Mbps Ethernet"
Client-IP-Address = 193.226.233.43
Acct-Unique-Session-Id = "6caf342e11b632d4"
Timestamp = 1086282939
Thu Jun 3 19:17:30 2004
User-Name = "steve"
NAS-IP-Address = 192.168.1.4
NAS-Port = 3
Service-Type = Framed-User
Framed-IP-Address = 0.0.0.0
Framed-MTU = 1400
Called-Station-Id = "00-30-0D-16-F0-BF"
Calling-Station-Id = "00-50-FC-F2-8C-24"
NAS-Identifier = "MMC-1500AP(H)"
Acct-Status-Type = Stop
Acct-Input-Octets = 1750
Acct-Output-Octets = 0
Acct-Session-Id = "27000004"
Acct-Session-Time = 111
Acct-Input-Packets = 5
Acct-Output-Packets = 0
Acct-Terminate-Cause = Supplicant-Restart
Acct-Input-Gigawords = 0
Acct-Output-Gigawords = 0
Event-Timestamp = "Jun 4 2004 04:17:25 CEST"
NAS-Port-Type = Ethernet
Connect-Info = "CONNECT 10Mbps Ethernet"
Client-IP-Address = 193.226.233.43
Acct-Unique-Session-Id = "6caf342e11b632d4"
Timestamp = 1086283050
Thu Jun 3 19:17:31 2004
User-Name = "steve"
NAS-IP-Address = 192.168.1.4
NAS-Port = 4
Service-Type = Framed-User
Framed-IP-Address = 0.0.0.0
Framed-MTU = 1400
Called-Station-Id = "00-30-0D-16-F0-BF"
Calling-Station-Id = "00-50-FC-F2-8C-24"
NAS-Identifier = "MMC-1500AP(H)"
Acct-Status-Type = Start
Acct-Delay-Time = 0
Acct-Input-Octets = 0
Acct-Output-Octets = 0
Acct-Session-Id = "27000005"
Acct-Input-Packets = 0
Acct-Output-Packets = 0
Acct-Input-Gigawords = 0
Acct-Output-Gigawords = 0
Event-Timestamp = "Jun 4 2004 04:17:26 CEST"
NAS-Port-Type = Ethernet
Connect-Info = "CONNECT 10Mbps Ethernet"
Client-IP-Address = 193.226.233.43
Acct-Unique-Session-Id = "7f23727cfd367ba2"
Timestamp = 1086283051