for one thing, download latest release 0.9 something and try the
checkrad which comes inside...
then did you set etc/clients.conf and etc/naspasswd ? what did you set ?
the important thing is nastype login and password ...
what kind of nas do you have? etc. if you use snmp, did you try to see
turns out that the nas is using HiPer for a prompt so i had to modify the
code to look for that prompt. before it was looking for just
the two lines i ended up changing in the end are:
$telnet = new Net::Telnet (Timeout = 10,
Prompt = '/HiPer\\/');
On Wednesday 06 August 2003 22:13, you wrote:
for one thing, download latest release 0.9 something and try the
checkrad which comes inside...
then did you set etc/clients.conf and etc/naspasswd ? what did you set ?
the important thing is nastype login and password ...
what kind of nas do you
oh yes, I missed that damn, but you can better look for in the line
anywhere... should be like this (I think)
Prompt = '/\/');
so perhaps that way it would work whatever the NAS name is...
If you have different names in different NASes that would be nasty :)
Evnren
Ray wrote:
turns out that
did you realize these?
# uncomment this if you use the standard
# prefixes
#$user =~ s/^[PSC]//;
#$user =~ s/\.(ppp|slip|cslip)$//;
you can perhaps put
print($user);
right after these and you should see
well what I would do is printing something else to test if the checkrad
script is working until there. like
print(hello);
:) and then just before
$telnet-print(list connections);
you can put like
sleep(60);
so it will sleep 60 seconds
so you can see if your user is already inside this netserver
On Wednesday 06 August 2003 23:44, you wrote:
did you realize these?
# uncomment this if you use the standard
# prefixes
#$user =~ s/^[PSC]//;
#$user =~ s/\.(ppp|slip|cslip)$//;
we aren't using