checkrad not work with cisco VPDN
tnt at kalik.co.yu
tnt at kalik.co.yu
Mon Mar 12 14:21:30 CET 2007
This is how it should work:
setting Simultaneous-Use will produce a check in the database if the user
is online;
if the user is online according to database (end of story if nastype is
set to "other") checkrad is called to see if the NAS agrees
if user is not online according to NAS connection will be allowed,
otherwise rejected
You are getting SNMP error "noSuchName" which suggests that OID
1.3.6.1.4.1.9.2.9.2.1.18 is not correct for your router. This one comes
from OLD-CISCO-TS-MIB which might not be supported by your router. You
can probably contact Cisco and ask what OID should you use for your
router.
Ivan Kalik
Kalik Informatika ISP
Dana 12/3/2007, "satish patel" <linuxtrap at yahoo.co.in> piše:
>Dear sir
>
> i have useing freeradius + cisco vpdn router but i have this problem when i run checkrad manually
>
>[root at radius ~]# checkrad cisco 192.168.1.1 800 mlpm034 0000C555
>
>SNMP Error:
>Received SNMP response with error code
> error status: noSuchName
> index 1 (OID: 1.3.6.1.4.1.9.2.9.2.1.18.800)
>SNMPv1_Session (remote host: "192.168.1.1" [192.168.1.1].161)
> community: "public"
> request ID: -91963655
> PDU bufsize: 8000 bytes
> timeout: 2s
> retries: 5
> backoff: 1)
> at /usr/local/sbin/checkrad line 221
>checkrad: No SNMP answer from cisco.
>
>
>what is this and when i check checkrad.log file i shown..
>
>snpwalk: /usr/bin/snmpwalk -r 1 -t 5 -v2c -c 'public' 192.168.1.1 .iso.org.dod.internet.private.enterprises.9.10.19.1.3.1.1.3
> Returning 0 (login ok)
>Mon Mar 12 12:35:12 2007 checkrad cisco 192.168.1.1 800 mlpm034 0000C555
>No SNMP answer from cisco.
> user at port S800:
>snpwalk: /usr/bin/snmpwalk -r 1 -t 5 -v2c -c 'public' 192.168.1.1 .iso.org.dod.internet.private.enterprises.9.10.19.1.3.1.1.3
> Returning 0 (login ok)
>Mon Mar 12 12:35:33 2007 checkrad cisco 192.168.1.1 800 mlpm034 0000C555
>No SNMP answer from cisco.
> user at port S800:
>snpwalk: /usr/bin/snmpwalk -r 1 -t 5 -v2c -c 'public' 192.168.1.1 .iso.org.dod.internet.private.enterprises.9.10.19.1.3.1.1.3
> Returning 0 (login ok)
>
>
>what is this ??? why this thing happending is there any problem in my configuration
>
>
>One more thing i want to say
>
>i dont know last time when i add simultaneouse-use attributes in sql database not in /etc/raddb/users file so is it any issue
>
>is checkrad only read /etc/raddb/users file only or sql database ????
>
>i am bit confusing in two thing SQL and users file what read by checkrad script
>
>
>
>
>
>
>$ cat ~/satish/url.txt
>
>System administrator ( Data Center )
>
>please visit this site
>
>http://linux.tulipit.com
>
>---------------------------------
> Heres a new way to find what you're looking for - Yahoo! Answers
>
More information about the Freeradius-Users
mailing list