radclient??

Oliver Graf ograf at rz-online.net
Thu Jun 2 09:55:35 CEST 2005


On Wed, Jun 01, 2005 at 11:44:07AM +0200, Sylvain Clerc wrote:
> On 6/1/05, Oliver Graf <ograf at rz-online.net> wrote:
> > On Wed, Jun 01, 2005 at 11:07:13AM +0200, Sylvain Clerc wrote:
> > > I have to use radclient with another soft but I can't arrive to run it
> > > . When I do :
> > >
> > > radclient 192.168.1.1 auth secret
> > >
> > > nothing happens, it stays always empty. radtest works successful and
> > > depends of radclient, that's why I don't understand why radclient
> > > doesn't work. Is my syntax is wrong for radclient??
> > 
> > What key/value pairs do you send through radclient? radclient waits
> > for kv pairs to send on stdin and outputs the result on stdout.
> 
> It must be my problem. I don't understand this concept of "key/value
> pairs" to use with radclient. I have to create a file with its but how
> do I write them in this file?? Can you give me an example of this file
> ???

echo "Some-Attribute = Value" | radclient 192.168.1.1 auth secret

Just study radtest, and you see what it does. Its a shell script...

Oliver.




More information about the Freeradius-Users mailing list