well if u are testing freeradius with NTRADPING then this wat i did some time back
add the following in user file
# Framed-MTU = 1500,
# Framed-Compression = Van-Jacobsen-TCP-IP
###############punith added this for testing#########################
punith Cleartext-Password := "test123"
root Cleartext-Password := "root123"
dam Cleartext-Password := "dam123"
#####################################################################
#
# This is an entry for a user with a space in their name.
add the following in
radius.conf
# sql
#########punith added this for testing#########
etc_group
###############################################
#
# If you are using /etc/smbpasswd, and are also doing
add the following in the client file
# password = someadminpas
}
#client some.host.org {
# secret = testing123
# shortname = localhost
#}
####punith added this for testing###########
client 172.22.55.222 {
secret = mysec
shortname = punith
}
client 172.22.54.64
{
secret = mysec
shortname = punith
}
client 172.22.55.10 {
secret = mysec
shortname = root
}
client
10.19.1.237 {
secret = mysec
shortname = root
}
##############end###########################
#
# You can now specify one secret for a network of clients.
Then i used NT radping with the following parameters
radius secret --> mysec
user -->root
password -- > root123
hope this helps u !
I am not sending this to mail list cos i am not sure abt it but i got this through googling
or use this
radtest punith test123 <radius -ip> 1812 mysec <nas ip>
if no nas then just put 10
radtest punith test123 <radius -ip> 1812 mysec 10
regards