[rancid] Re: Dell Powerconnect switches - problem and suggestion

Jeremy Singletary jeremys at rickyninja.net
Sat Aug 15 02:45:05 UTC 2009


Looks like there are some invisible characters showing up in the pager
in newer Dells.  Download this version of dlogin, and let us know if it
resolves the issue.

http://www.rickyninja.net/rancid/dlogin-dev

Thanks,
Jeremy

On 08/14/09, George Hills <george at brightbox.co.uk> said:
> Hi,
> 
> My thanks to Jeremy Singletary for his drancid/dlogin scripts, and Nate
> Steffen for his updates and email help.
> 
> I've had a couple of different problems trying to get RANCID working
> with some Dell Powerconnect switches recently.
> 
> I'm using rancid 2.3.2a7 from the Ubuntu package on Ubuntu Hardy amd64.
> 
> My Powerconnects are 6248s running 2.0.1.2 and 2.2.0.3 and 5324s running
> 2.0.0.40.
> 
> The 6248s had an easy problem - the dlogin script is sending "exit" and
> expecting to get out, but that only takes it out of enable mode. It then
> needs to send "quit" (*not* "exit" again) afterwards to get out.
> 
> I bodged this by just adding a line:
> 
> strowger at beast:~$ diff dlogin dlogin.gh
> 672a673
> > 	dsend "quit\r"
> 
> 
> On the 5348 (where "exit" from enable mode logs you off...sigh...) I
> think there's a problem with the pager. My "more" prompts look like
> 
> "More: <space>,  Quit: q, One line: <return> "
> 
> and dlogin freezes when it sees one. Other than that it works fine. I
> guess there's a problem with the regex but I can't work out what it is.
> Would be grateful for any suggestions.
> 
> Cheers.
> 
> -- 
> George Hills
> Systems Administrator
> Brightbox
> http://www.brightbox.co.uk/
> 
> _______________________________________________
> 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