Good question.<br><br>It pages through it w/out error or problem.<br><br>Any other ideas?<br><br><br><div class="gmail_quote">On Wed, Jun 3, 2009 at 3:14 PM, Jeremy Singletary <span dir="ltr"><<a href="mailto:jeremys@rickyninja.net">jeremys@rickyninja.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">What happens if you run dlogin from the command line with a switch<br>
command that will produce more than a page of output? Try dlogin with<br>
the show running-config command (assuming there's more than one page of<br>
ocnfig), and let me know if it hangs.<br>
<br>
-jeremy<br>
<div class="im"><br>
On 06/03/09, Temporary Mailbox <<a href="mailto:2009@tybox.net">2009@tybox.net</a>> said:<br>
><br>
> I'm attempting to set up the dell extension found at<br>
</div>> [1]<a href="http://www.rickyninja.net/rancid/" target="_blank">http://www.rickyninja.net/rancid/</a><br>
<div><div></div><div class="h5">> Everything seems to work fine when logging in with dlogin:<br>
> $ sudo -u www /opt/local/libexec/rancid/dlogin -autoenable -u Engineer<br>
> -p <snip> -c "show version" 10.13.8.1<br>
> 10.13.8.1<br>
> spawn telnet 10.13.8.1<br>
> Trying 10.13.8.1...<br>
> Connected to 10.13.8.1.<br>
> Escape character is '^]'.<br>
> 04-Jun-2009 02:12:41 %MSCM-I-NEWTERM: New TELNET connection from<br>
> 10.75.224.12<br>
> User Name:Engineer<br>
> Password:**********<br>
> TW-G-6024-1#<br>
> TW-G-6024-1# show version<br>
> SW version 1.0.2.07 ( date 21-Nov-2003 time 09:58:38 )<br>
> Boot version 1.0.0.13 ( date 13-Aug-2003 time 15:28:31 )<br>
> HW version 00.01.64<br>
> TW-G-6024-1#eConnection closed by foreign host.<br>
> However, when I set up cloginrc:<br>
> #CTX<br>
> add autoenable 10.13.* 1<br>
> add method 10.13.* telnet<br>
> add password 10.13.* Engineer <snip><br>
> and router.db:<br>
> 10.13.8.1:dell:up<br>
> It doesn't seem to work when running rancid manually:<br>
> $ sudo -u www /opt/local/bin/rancid-run GROUP -r 10.13.8.1<br>
> Trying to get all of the configs.<br>
> opened network stream from 10.13.8.1 if () at<br>
> /opt/local/libexec/rancid/drancid line 266.<br>
> found_end = 0, clean_run = 0<br>
> 10.13.8.1 dlogin error: Error: Connection closed (telnet): 10.13.8.1<br>
</div></div>> [2]<a href="http://10.13.8.1" target="_blank">10.13.8.1</a>: missed cmd(s): show version,show running-config,show<br>
> vlan<br>
> [3]<a href="http://10.13.8.1" target="_blank">10.13.8.1</a>: End of run not found<br>
<div class="im">> !<br>
> The error in the log isn't really revealing.<br>
> I installed rancid from macports, this is in the header of rancid-run:<br>
</div>> ## $Id: [4]<a href="http://rancid-run.in" target="_blank">rancid-run.in</a>,v 1.30 2004/03/12 23:17:28 heas Exp $<br>
<div class="im">> I really appreciate any support/ideas/help anyone can offer to help<br>
> figure this out.<br>
> -Josh<br>
><br>
</div>> References<br>
><br>
> 1. <a href="http://www.rickyninja.net/rancid/" target="_blank">http://www.rickyninja.net/rancid/</a><br>
> 2. <a href="http://10.13.8.1/" target="_blank">http://10.13.8.1/</a><br>
> 3. <a href="http://10.13.8.1/" target="_blank">http://10.13.8.1/</a><br>
> 4. <a href="http://rancid-run.in/" target="_blank">http://rancid-run.in/</a><br>
<br>
> _______________________________________________<br>
> Rancid-discuss mailing list<br>
> <a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
> <a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br>
_______________________________________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
<a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br>
</blockquote></div><br><br><br>