[rancid] Problems with Dell Extension
Temporary Mailbox
2009 at tybox.net
Wed Jun 3 19:01:13 UTC 2009
I'm attempting to set up the dell extension found at
http://www.rickyninja.net/rancid/
Everything seems to work fine when logging in with dlogin:
$ sudo -u www /opt/local/libexec/rancid/dlogin -autoenable -u Engineer -p
<snip> -c "show version" 10.13.8.1
10.13.8.1
spawn telnet 10.13.8.1
Trying 10.13.8.1...
Connected to 10.13.8.1.
Escape character is '^]'.
04-Jun-2009 02:12:41 %MSCM-I-NEWTERM: New TELNET connection from
10.75.224.12
User Name:Engineer
Password:**********
TW-G-6024-1#
TW-G-6024-1# show version
SW version 1.0.2.07 ( date 21-Nov-2003 time 09:58:38 )
Boot version 1.0.0.13 ( date 13-Aug-2003 time 15:28:31 )
HW version 00.01.64
TW-G-6024-1#eConnection closed by foreign host.
However, when I set up cloginrc:
#CTX
add autoenable 10.13.* 1
add method 10.13.* telnet
add password 10.13.* Engineer <snip>
and router.db:
10.13.8.1:dell:up
It doesn't seem to work when running rancid manually:
$ sudo -u www /opt/local/bin/rancid-run GROUP -r 10.13.8.1
Trying to get all of the configs.
opened network stream from 10.13.8.1 if () at
/opt/local/libexec/rancid/drancid line 266.
found_end = 0, clean_run = 0
10.13.8.1 dlogin error: Error: Connection closed (telnet): 10.13.8.1
10.13.8.1: missed cmd(s): show version,show running-config,show vlan
10.13.8.1: End of run not found
!
The error in the log isn't really revealing.
I installed rancid from macports, this is in the header of rancid-run:
## $Id: rancid-run.in,v 1.30 2004/03/12 23:17:28 heas Exp $
I really appreciate any support/ideas/help anyone can offer to help figure
this out.
-Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20090603/18d6d5ed/attachment.html
More information about the Rancid-discuss
mailing list