radius newbie question

gahn ipfreak at yahoo.com
Mon Aug 30 17:48:26 CEST 2010


Ok.

now I started the server with "radiusd -X" and run "radtest testing password localhost 10 secret test123":

bn_1# radtest testing password localhost 10 secret test123
Sending Access-Request of id 158 to 127.0.0.1 port 1812
        User-Name = "testing"
        User-Password = "password"
        NAS-IP-Address = 192.168.1.29
        NAS-Port = 10
        Framed-Protocol = PPP
radclient: Failed to send packet for ID 158: (unknown error)
Sending Access-Request of id 158 to 127.0.0.1 port 1812
        User-Name = "testing"
        User-Password = "password"
        NAS-IP-Address = 192.168.1.29
        NAS-Port = 10
        Framed-Protocol = PPP
radclient: Failed to send packet for ID 158: (unknown error)
Sending Access-Request of id 158 to 127.0.0.1 port 1812
        User-Name = "testing"
        User-Password = "password"
        NAS-IP-Address = 192.168.1.29
        NAS-Port = 10
        Framed-Protocol = PPP
radclient: Failed to send packet for ID 158: (unknown error)
radclient: no response from server for ID 158 socket 3


but the server debug didn't show anything:

Listening on authentication address * port 1812
Listening on accounting address * port 1813
Listening on command file /var/run/radiusd/radiusd.sock
Listening on proxy address * port 1814
Ready to process requests.


where did that "NAS-IP-Address = 192.168.1.29" come from?

Thanks in advance

--- On Sat, 8/28/10, gahn <ipfreak at yahoo.com> wrote:

> From: gahn <ipfreak at yahoo.com>
> Subject: Re: radius newbie question
> To: "FreeRadius users mailing list" <freeradius-users at lists.freeradius.org>
> Date: Saturday, August 28, 2010, 11:56 AM
> thanks.
> 
> giraffe is the temp hostname (for now).. it is behind a dsl
> link at this moment and this public address is listed in
> ddns.
> 
> once i pointed my /etc/resolv.conf to that ddns
> provider,the "radtest" worked as it is designed.
> 
> But why?
> 
> --- On Sat, 8/28/10, Alan Buxey <A.L.M.Buxey at lboro.ac.uk>
> wrote:
> 
> > From: Alan Buxey <A.L.M.Buxey at lboro.ac.uk>
> > Subject: Re: radius newbie question
> > To: "FreeRadius users mailing list" <freeradius-users at lists.freeradius.org>
> > Date: Saturday, August 28, 2010, 11:46 AM
> > Hi,
> > 
> > > host# radtest testing password localhost 10
> > testing123
> > > radclient:: Failed to find IP address for
> giraffe
> > > radclient: Nothing to send.
> > 
> > where does giraffe come from?  whats in your
> > /etc/resolv.conf?
> > 
> > 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
> 


      





More information about the Freeradius-Users mailing list