Hi thank you for your reply. I was looking in the documentation but I didnt find anything important what I didnt setup about NAS. I think i am using pam_radius client but I am not sure where can I found which one I use? I think that the default one from the installation. I was looking in debugging mode and about accounting I only get postauth in to the database nothing else. And what about the MAC address can I have it in database and allow user to connect only if his MAC address match the address in database? Thank you AnDY Alan DeKok wrote:
Andrej Simko wrote:
I have a problem in setting up my freeradius to log all querries into database. The radacct is still empty. I read some messages from this mailing group and I found that the NAS server is not sending anything about Start time or Stop time. My naslist looks like:
The contents of the naslist don't matter. See the NAS documentation for how it handles accounting.
So maybe I donnot know how to setup NAS on my server or maybe I donnot understand what does the NAS means. I am sure that we do not have any cisco or something like that so I want to authenticate only on the machine where freeradius is running.
So... which client are you using? pam_radius? pppd?
And second question. Does anybody know how to setup MAC address control from MySQL database. My idea is that when user wants to login it will need his username, password and MAC address to authenticate succesfully.
Run the server in debugging mode to see what the NAS sends, for a start.
Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html