radwho and radtest

gera gera at gera.me
Wed Dec 9 23:28:30 CET 2009


Maybe I'm missing something, but is this shown while you do use the radtest 
command? If so, then it's normal that you get nothing on radwho.

If you get nothing on radwho when using the NAS (and you didn't went so far 
from the default freeradius configuration), then indeed you still need to 
configure it to send accounting data to radius.


On Wednesday 09 December 2009 02:58:13 pm Ramzi Abdallah wrote:
> thanks Ivan, when I run in debug mode I get the bellow errors
> 
> ++[preprocess] returns ok
> [acct_unique] WARNING: Attribute NAS-Port was not found in request, unique
>  ID MAY be inconsistent [acct_unique] Hashing ',Client-IP-Address =
>  193.188.129.17,NAS-IP-Address = 193.188.129.17,Acct-Session-Id =
>  "00550003",User-Name = "rsa"' [acct_unique] Acct-Unique-Session-ID =
>  "cc3ac6adce99a1dd".
> ++[acct_unique] returns ok
> [suffix] No '@' in User-Name = "rsa", looking up realm NULL
> [suffix] No such realm "NULL"
> ++[suffix] returns noop
> ++[files] returns noop
> 
> 
> [radutmp]       expand: /var/log/radius/radutmp -> /var/log/radius/radutmp
> [radutmp]       expand: %{User-Name} -> rsa
>   rlm_radutmp: No NAS-Port seen.  Cannot do anything.
>   rlm_radumtp: WARNING: checkrad will probably not work!
> ++[radutmp] returns noop
> 
> > Date: Wed, 9 Dec 2009 21:32:55 +0000
> > Subject: RE: radwho and radtest
> > From: tnt at kalik.net
> > To: rabdallah at pobox.com; freeradius-users at lists.freeradius.org
> >
> > > thank you alan for the quick reply. It worked just fine. Now I am still
> > > facing the problem with the radwho and radlast. Any idea
> >
> > Yes, you have sent an authentication request. No accounting. So there is
> > nothing for radwho to show. It displays accounting information. In case
> > you weren't aware, radius server doesn't generate accounting information.
> >
> > Ivan Kalik
> >
> > -
> > List info/subscribe/unsubscribe? See
> > http://www.freeradius.org/list/users.html
> 
> _________________________________________________________________
> Windows Live: Keep your friends up to date with what you do online.
> http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/so
> cial-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:09201
> 0
> 



More information about the Freeradius-Users mailing list