I have enabled the detail log in my freeradius server. It logs everything which is cool. However, in Calling-Station-ID it only logs the last octes as : Acct-Session-Id = "4FEE219C619400" User-Name = "test@test.com" Acct-Status-Type = Stop Service-Type = Framed-User Framed-Protocol = PPP Acct-Authentic = RADIUS Acct-Session-Time = 9 Acct-Output-Octets = 320 Acct-Input-Octets = 925 Acct-Output-Packets = 1 Acct-Input-Packets = 4 Calling-Station-Id = ".031" NAS-Port-Type = Async Acct-Terminate-Cause = User-Request Framed-IP-Address = 192.168.1.20 NAS-IP-Address = 192.168.1.1 NAS-Port = 0 Acct-Delay-Time = 0 Acct-Unique-Session-Id = "537e68121f1931c8" Stripped-User-Name = "test" Realm = "test.com" Timestamp = 1342054821 Request-Authenticator = Verified How do I or where do i adjust this parameter sothat full IP address is logged in calling-station-ID ? I looked at detail file in modules/detail but could not find the parameter M
On Thu, Jul 12, 2012 at 12:29 PM, madal 30 <madal30@hotmail.com> wrote:
Calling-Station-Id = ".031"
How do I or where do i adjust this parameter sothat full IP address is logged in calling-station-ID ? I looked at detail file in modules/detail but could not find the parameter
The radius server can only process on what the NAS sends it. Look at the NAS and configure the NAS to send the correct/full Calling-Station-Id. -- Regards, Chris Knipe
Thanks Chris,
Date: Thu, 12 Jul 2012 12:38:17 +0200 Subject: Re: Calling station ID From: savage@savage.za.org To: freeradius-users@lists.freeradius.org
On Thu, Jul 12, 2012 at 12:29 PM, madal 30 <madal30@hotmail.com> wrote:
Calling-Station-Id = ".031"
How do I or where do i adjust this parameter sothat full IP address is logged in calling-station-ID ? I looked at detail file in modules/detail but could not find the parameter
The radius server can only process on what the NAS sends it. Look at the NAS and configure the NAS to send the correct/full Calling-Station-Id. Where I can Configure this (in which file ?)
--
Regards, Chris Knipe - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On 12.07.2012 12:57, madal 30 wrote:
From: savage@savage.za.org To: freeradius-users@lists.freeradius.org On Thu, Jul 12, 2012 at 12:29 PM, madal 30 <madal30@hotmail.com> wrote:
Calling-Station-Id = ".031"
How do I or where do i adjust this parameter sothat full IP address is logged in calling-station-ID ? I looked at detail file in modules/detail but could not find the parameter
The radius server can only process on what the NAS sends it. Look at the NAS and configure the NAS to send the correct/full Calling-Station-Id.
Where I can Configure this (in which file ?)
In Freeradius? Nowhere. You have to alter the configuration of the device you are logging in to. "192.168.1.1" in your case. Freeradius only processes the data sent from the device. If this data is wrong or incomplete, Freeradius can do nothing about it. Grüße, Sven.
I setup vpn server(pptp) with freeradius to handle ippool and stuff. I tried to figure out where in my vpn server I have to alter is bugging me. perhas in radiusclient.conf ?
In Freeradius? Nowhere.
You have to alter the configuration of the device you are logging in to. "192.168.1.1" in your case.
Freeradius only processes the data sent from the device. If this data is wrong or incomplete, Freeradius can do nothing about it.
Grüße, Sven.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi,
The radius server can only process on what the NAS sends it. Look at the NAS and configure the NAS to send the correct/full Calling-Station-Id. Where I can Configure this (in which file ?)
no file ont he RADIUS server - as per the original info, this is something you need to configure on the NAS - eg on the access point. the RADIUS server is simply reporting what its being told. I suspect a buggy NAS alan
Thanks Alan, It must be, The missing information on my log are : Acct-Status-Type = Alive Acct-Session-Time = 30600 Acct-Output-Octets = 169755195 Acct-Input-Octets = 52166343 Acct-Output-Packets = 214098 Acct-Input-Packets = 188732 Calling-Station-Id = ".212" It could be the dictionary file (not sure) I copied from here : http://wiki.freeradius.org/PopTop#Setting-up-the-Poptop-server And, I have these line added in my dictonary file INCLUDE /etc/radiusclient/dictionary.merit INCLUDE /etc/radiusclient/dictionary.microsoft I saw the post, http://freeradius.1045715.n5.nabble.com/A-couple-of-questions-PoPToP-FreeRad... and verified with all the dictonary and are correct. M
Date: Thu, 12 Jul 2012 19:27:56 +0100 From: A.L.M.Buxey@lboro.ac.uk To: freeradius-users@lists.freeradius.org Subject: Re: Calling station ID
Hi,
The radius server can only process on what the NAS sends it. Look at the NAS and configure the NAS to send the correct/full Calling-Station-Id.
Where I can Configure this (in which file ?)
no file ont he RADIUS server - as per the original info, this is something you need to configure on the NAS - eg on the access point. the RADIUS server is simply reporting what its being told. I suspect a buggy NAS
alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
i finally resolved the issue by doing this : Commenting out on /usr/share/radiusclient-ng/dictionary.microsoft #ATTRIBUTE MS-Secondary-NBNS-Server 31 ipaddr because this 31 is already in the /usr/share/radiusclient-ng/dictionary Restarted the pptp and freereadius, after that calling-station-id is popping up correctly in the detail accounting log. Hope this helps to others K On Fri, Jul 13, 2012 at 12:31 PM, madal 30 <madal30@hotmail.com> wrote:
Thanks Alan,
It must be, The missing information on my log are :
Acct-Status-Type = Alive Acct-Session-Time = 30600 Acct-Output-Octets = 169755195 Acct-Input-Octets = 52166343 Acct-Output-Packets = 214098 Acct-Input-Packets = 188732 Calling-Station-Id = ".212"
It could be the dictionary file (not sure) I copied from here : http://wiki.freeradius.org/PopTop#Setting-up-the-Poptop-server And, I have these line added in my dictonary file
INCLUDE /etc/radiusclient/dictionary.merit INCLUDE /etc/radiusclient/dictionary.microsoft
I saw the post, http://freeradius.1045715.n5.nabble.com/A-couple-of-questions-PoPToP-FreeRad... verified with all the dictonary and are correct.
M
Date: Thu, 12 Jul 2012 19:27:56 +0100 From: A.L.M.Buxey@lboro.ac.uk To: freeradius-users@lists.freeradius.org
Subject: Re: Calling station ID
Hi,
The radius server can only process on what the NAS sends it. Look at the NAS and configure the NAS to send the correct/full Calling-Station-Id.
Where I can Configure this (in which file ?)
no file ont he RADIUS server - as per the original info, this is something you need to configure on the NAS - eg on the access point. the RADIUS server is simply reporting what its being told. I suspect a buggy NAS
alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (5)
-
alan buxey -
Chris Knipe -
Khapare Joshi -
madal 30 -
Sven Hartge