okay, I have following file in my /var/log/radius/radacct/192.168.1.1 directory reply-detail-20140430 auth-detail-20140430 in reply-detail-20140430 Packet-Type says Accept-Accept Wed Apr 30 14:08:40 2014 Packet-Type = Access-Accept MS-MPPE-Encryption-Policy = 0x00000002 MS-MPPE-Encryption-Types = 0x00000004 MS-MPPE-Send-Key = 0x263ee9279fd3d514c1d61592037f0f3b MS-MPPE-Recv-Key = 0x3e0f78cd3468dd822693b9864bf6a60d EAP-Message = 0x03090004 Message-Authenticator = 0x00000000000000000000000000000000 User-Name = "testuser" and in auth-detail-20140430 Packet-Type=Accept-Request Wed Apr 30 14:08:40 2014 Packet-Type = Access-Request EAP-Message = 0x020900061a03 FreeRADIUS-Proxied-To = 127.0.0.1 User-Name = "testuser@ba.com" State = 0x15308db9143997fbbf8015e30f10d43e Calling-Station-Id = "206432616d2d" Called-Station-Id = "dca5f44de9c0:eduroam-temp" NAS-Port = 1 Cisco-AVPair = "audit-session-id=82d0a5f700000ecd536103d3" NAS-IP-Address = 192.168.1.1 NAS-Identifier = "mywireless1" Airespace-Wlan-Id = 310 Service-Type = Framed-User Framed-MTU = 1300 NAS-Port-Type = Wireless-802.11 if Packet-Type=Accept-Request is not accounting packets then Packet-Type = Access-Accept must the one or not ? if Packet-Type = Access-Accept then why it is not creating those file so that I can use the Simultaneous-Use := 2 for users. K On Wed, Apr 30, 2014 at 12:23 PM, Alan DeKok <aland@deployingradius.com>wrote:
Khapare Joshi wrote:
I am not able to do radwho since radutmp is not created, In Radius -X it tells me radutmp module is loaded and file should be /var/log/radius/radutmp
The file is only created when the server receives accounting packets.
And, In /var/log/radius/radacct/192.168.1.1/auth-detail-20140430 <http://192.168.1.1/auth-detail-20140430>, NAS seem to sending request packet to the server
Wed Apr 30 10:58:41 2014 Packet-Type = Access-Request
That's not an accounting packet.
In /etc/raddb/sites-enabled/default accounting section radutmp is uncommented
That section is run only when the server receives accounting packets.
And, still radutmp file is not created in /var/log/radius directory.
Because the server isn't receiving accounting packets.
When I run the freeradius in debug mode (radiusd -X) and test authenticate user I get following:
Listening on proxy address * port 1814 Ready to process requests. rad_recv: Access-Request packet from host 127.0.0.1 port 54636, id=127,
That's not an accounting packet.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html