[rancid] Re: help with rancid w/ Dell patch
Jonathan Hansen
jonathan at 23andme.com
Mon Nov 17 18:29:21 UTC 2008
I had the same problem... here are my fixed files.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dlogin
Type: application/octet-stream
Size: 21437 bytes
Desc: not available
Url : http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20081117/2432875a/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drancid
Type: application/octet-stream
Size: 12630 bytes
Desc: not available
Url : http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20081117/2432875a/attachment-0001.obj
-------------- next part --------------
On Nov 17, 2008, at 10:21 AM, Burton Windle wrote:
> I am running rancid 2.3.2~a7-2 (Ubuntu), and am attempting to
> integrate
> the Dell (dlogin/drancid) patches from rickyninja.net
>
> I've got dlogin working (just "./dlogin 192.168.220.10"), but if
> rancid
> tries to send any commands (dlogin -c"show version"
> 192.168.220.10"), the
> dlogin process seems to freeze after it sends the 'exit' command (or
> just
> wait forever).
>
> It seems to be that my Dell switch doesn't like the 'exit' command;
> sending 'exit' (when at the enable prompt) simply takes it down to
> normal
> exec, rather then closing the session (like 'quit' does). The
> account I
> am using to log into the switches drops directly to enable.
>
> I tried to monkey around with the dlogin script, to have it send
> 'quit'
> instead of 'exit', but then it was complaining about not seeing a
> clean_run.*
>
> Has anybody else seen this? I don't know the internals of rancid well
> enough to hack this out at the moment.
>
> (I emailed the author of the patch a few days ago and haven't heard
> from
> them)
>
>
> *The rancid log shows:
> opened network stream from 192.168.220.10 if () at /usr/lib/rancid/
> bin/drancid line 267.
> FOUND PROMPT: WH-ClientSW-1#
> found_end = 1, clean_run = 0
> 192.168.220.10: End of run not found
> end
>
>
> --
> Burton Windle bwindle at fint.org
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
More information about the Rancid-discuss
mailing list