<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>I’ve seen several posts regarding clogin not working correctly with the 8810s, however, I never saw a solution posted for this problem. So I apologize if this is a duplicate problem surfacing again that has already been solved.<o:p></o:p></p><p class=MsoNormal>We are running rancid version 2.3.4 with expect version 5.43.0-5.1, and have rancid installed on Linux.<o:p></o:p></p><p class=MsoNormal>We have successfully deployed rancid for Cisco, Netscreen, Netscaler, and a few others, including Extreme 48si’s with Extremeware on it.<o:p></o:p></p><p class=MsoNormal>However, I am unable to get clogin to work with the Black Diamonds with XOS.<o:p></o:p></p><p class=MsoNormal>It seems as if an extra carriage return is getting submitted, causing nothing to be input for the password, but then the password gets used for the next login attempt:<o:p></o:p></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:black'>[rancid@lhr2-mgmt-net-01 ~]$ bin/clogin device.name<br>device.name<br>spawn telnet device.name<br>Trying 172.26.15.101...<br>Connected to device.name.<br>Escape character is '^]'.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:black'>telnet session telnet0 on /dev/ptyb0<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:black'>login: rancid.user<br>password:<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:black'>Login incorrect<br>login: rancid.password<br>password:<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:black'>Login incorrect<br>login: <a href="mailto:R@ncidConfigs">rancid.password</a><br>password:<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:black'>Login incorrect<br>Maximum number of login attempts reached!<br>Connection closed by foreign host.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:black'>Error: Connection closed (telnet): device.name<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Since our passwords have characters in it, I’ve tried clearing those out, but it make no difference. I’ve tried multiple changes to the .cloginrc, including curly brackets around passwords, usernames, and have added the autoenable line. I’ve even tried to add the login and password prompt arguments to the .cloginrc, but no change.<o:p></o:p></p><p class=MsoNormal>Is there a solution for this problem that I have not seen yet?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thank you,<o:p></o:p></p><p class=MsoNormal>Patty<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>