RADIUS client configuratio-1.1.6n steps
Fajar A. Nugraha
list at fajar.net
Thu Sep 8 11:28:26 CEST 2011
On Thu, Sep 8, 2011 at 3:53 PM, <vikraman.p36 at wipro.com> wrote:
> Fajar,
>
> Thanks for your response.
>
> I am trying to run a sample RADIUS client and server program.
In that case, it's MUCH easier NOT to use radiusclient, but rather
just use "radtest" (and possibly also radclient) included in
freeradius-server.
On another note, I previously tried Ubuntu natty's radiusclient1
(which still uses ancient 0.3.x) that works fine, but when compiling
freeradius-client-1.1.6 it always seem to use incorrect shared secret.
Can't figure out why.
>
> Please answer for the following questions
>
> 1) In RADIUS client 1.1.6 is there any file to specify username(test) and password(test) details other than STDIN .
>
> Eg:
> test Cleartext-Password := "test"
Just use radtest from freeradius-server. e.g.
radtest testuser testpass localhost 0 testing123
run "radtest -h" or "man radtest" for more info.
>
> 2)" usage: radiusclient [-f config_file] [-p nas_port] [-s | [-a] a1=v1 [a2=v2[...[aN=vN]...]]]"
>
> What for this [-f config_file] option mean ? what information this file contains ? do I need to specify /etc/radiusclient/servers file here ?
It's easier to use radclient from freeradius-server, see "man
radclient" for more info. For your purposes though radtest should be
enough.
--
Fajar
More information about the Freeradius-Users
mailing list