Hi I've noticed while running in debug mode, I can see the MAC of the NAS, but when I go to the Accounting logs (that are stored in MySQL) I don't see any place for MAC of the NAS, it only has the space for NAS IP. So is it possible to make freeradius to log the MAC address of the nas too? Thanks!
"Alex M" <radiussupport@lrcommunications.net> wrote:
I've noticed while running in debug mode, I can see the MAC of the NAS,
In what attribute, in what kind of packet?
but when I go to the Accounting logs (that are stored in MySQL) I don't see any place for MAC of the NAS, it only has the space for NAS IP. So is it possible to make freeradius to log the MAC address of the nas too?
Sure. Update the SQL chema and the queries. That's why they're editable. Alan DeKok.
I don't know what attribute and what packet, I regular install for MySql ... I do see the quires in SQL.config but I don't know what variable is used for NAS MAC address? That why I asked. -----Original Message----- From: freeradius-users-bounces+radiussupport=lrcommunications.net@lists.freeradius .org [mailto:freeradius-users-bounces+radiussupport=lrcommunications.net@lists.fr eeradius.org] On Behalf Of Alan DeKok Sent: Wednesday, March 08, 2006 5:26 PM To: FreeRadius users mailing list Subject: Re: accounting of MAC of the NAS "Alex M" <radiussupport@lrcommunications.net> wrote:
I've noticed while running in debug mode, I can see the MAC of the NAS,
In what attribute, in what kind of packet?
but when I go to the Accounting logs (that are stored in MySQL) I don't see any place for MAC of the NAS, it only has the space for NAS IP. So is it possible to make freeradius to log the MAC address of the nas too?
Sure. Update the SQL chema and the queries. That's why they're editable. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
"Alex M" <radiussupport@lrcommunications.net> wrote:
I don't know what attribute and what packet,
You have to be joking. You already said you see the MAC address in debug mode. How hard is it to read that to find out the attribute name, and packet? Debug mode prints all that information!
I do see the quires in SQL.config but I don't know what variable is used for NAS MAC address? That why I asked.
Read debugging mode. The attribute name that you see next to the MAC address is the name of the attribute to use. Alan DeKok.
Hm yea interesting idea! Thanks! I will try that -----Original Message----- From: freeradius-users-bounces+radiussupport=lrcommunications.net@lists.freeradius .org [mailto:freeradius-users-bounces+radiussupport=lrcommunications.net@lists.fr eeradius.org] On Behalf Of Alan DeKok Sent: Wednesday, March 08, 2006 6:18 PM To: FreeRadius users mailing list Subject: Re: accounting of MAC of the NAS "Alex M" <radiussupport@lrcommunications.net> wrote:
I don't know what attribute and what packet,
You have to be joking. You already said you see the MAC address in debug mode. How hard is it to read that to find out the attribute name, and packet? Debug mode prints all that information!
I do see the quires in SQL.config but I don't know what variable is used for NAS MAC address? That why I asked.
Read debugging mode. The attribute name that you see next to the MAC address is the name of the attribute to use. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
Alan DeKok -
Alex M