[rancid] Re: Troubles getting RANCID working with Cisco

Austin Schutz tex at off.org
Tue Mar 14 21:42:31 UTC 2006


	You can put:

exp_internal 1;

	near the top of clogin temporarily for debugging. That will tell
you what expect is sending/receiving from the remote host.

	I thought I had passed in a patch for a debugging flag for this,
must have forgotten. One more for the todo list...

	Austin

On Tue, Mar 14, 2006 at 03:07:47PM -0600, Chris Zimmerman wrote:
> This isn't the problem ...  As I stated, it hangs at the "Username:" prompt
> ....
> 
> 
> 
> It just never logs in ...
> 
>  
> [rancid at engineering rancid]$ bin/clogin 64.x.xx.xx 64.x.xx.xx spawn telnet
> 64.x.xx.xx Trying 64.x.xx.xx...
> Connected to 64.x.xx.xx.
> Escape character is '^]'.
> 
> 
> User Access Verification
> 
> Username:  
> 
> 
> 
> And there it just sits.  It refuses to attempt to log in.
> 
> 
> 
> 
> 
> 
> 
>  
>  
>  
> -------------------------------------
> Chris Zimmerman
> Senior Network Engineer
> chrisz at urbancom.net
> (708) 687-2090
>  
>  
> 
> -----Original Message-----
> From: john heasley [mailto:heas at shrubbery.net] 
> Sent: Tuesday, March 14, 2006 1:12 PM
> To: Chris Zimmerman
> Subject: Re: [rancid] Troubles getting RANCID working with Cisco
> 
> see the autoenable directive of cloginrc(5).
> 
> Tue, Mar 14, 2006 at 11:44:32AM -0600, Chris Zimmerman:
> > Hi, I am installing RANCID for the first time.  We are having troubles
> > getting it to work.
> > 
> >  
> > 
> > We are running RedHat 9.0, and have expect v5.40.1
> > 
> >  
> > 
> > I have tried to run the "clogin" for testing.  It will connect to my
> router,
> > but hangs at the login prompt.  How can I tell if this is a problem with
> > expect, or if I have something else going on?
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> > Chris
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> > -------------------------------------
> > 
> > Chris Zimmerman
> > 
> > Senior Network Engineer
> > 
> > chrisz at urbancom.net
> > 
> > (708) 687-2090
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> 
> > _______________________________________________
> > Rancid-discuss mailing list
> > Rancid-discuss at shrubbery.net
> > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
> 
> _______________________________________________
> 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