<div dir="ltr">that is good news and good advice, thank you. Its a pretty hard read but it pretty much feels like rancid gets lost after it logs in? I upgraded to Rancid 3.2, but it didn't help :(<div><br></div><div><div>[rancid@localhost bin]$ ./hlogin -d -c "show ver" 10.10.0.99</div><div>10.10.0.99</div><div>spawn hpuifilter -- telnet 10.10.0.99</div><div>parent: waiting for sync byte</div><div>parent: telling child to go ahead</div><div>parent: now unsynchronized from child</div><div>spawn: returns {6380}</div><div><br></div></div><div>--- SNIP ---<br></div><div><div><br></div><div><div>expect: does "Password: " (spawn_id exp4) match regular expression "Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no</div><div>"([Uu]sername|[Ll]ogin|user name|Login Name):"? (No Gate, RE only) gate=yes re=no</div><div>"([Pp]assword|passwd):"? (No Gate, RE only) gate=yes re=yes</div><div>expect: set expect_out(0,string) "Password:"</div><div>expect: set expect_out(1,string) "Password"</div><div>expect: set expect_out(spawn_id) "exp4"</div><div>expect: set expect_out(buffer) "Password:"</div><div>send: sending "testpass\r" to { exp4 }</div><div>Gate keeper glob pattern for '[Pp]assword:' is '?assword:'. Activating booster.</div><div><br></div><div>expect: does " " (spawn_id exp4) match glob pattern "Press any key to continue"? no</div><div>"[Pp]assword:"? Gate "?assword:"? gate=no</div><div>">"? no</div><div><br></div><div>TEST-SWITCH99#</div><div>expect: does " \r\r\n\rTEST-SWITCH99# " (spawn_id exp4) match glob pattern "Press any key to continue"? no</div><div>"[Pp]assword:"? Gate "?assword:"? gate=no</div><div>">"? no</div><div>expect: timed out</div><div><br></div><div>Error: TIMEOUT reached</div></div></div><div><br></div><div>------------------------</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 11, 2015 at 2:26 PM, Michael Newton <span dir="ltr"><<a href="mailto:mnewton@pofp.com" target="_blank">mnewton@pofp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif"><div><div><div><div>Jim, I don’t have much insight aside from passing the –d flag to hlogin which will give you a <span style="font-weight:bold">lot</span> of debugging.</div><div><br></div><div>My reason for replying is just to let you know that we are successfully backing up HP 2600-8, 2626, and 2650 switches, and with much older firmware revisions on some of them (e.g. H.10.31.) We’re running rancid 3.1, and have not seen any issues with timeouts like this.</div><div><div><div style="font-family:Calibri"></div></div></div></div><div><div><div style="font-family:Calibri"><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:7.5pt;font-family:Verdana,sans-serif;color:rgb(51,102,153)"><br></span></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:7.5pt;font-family:Verdana,sans-serif;color:rgb(51,102,153)">--</span><span style="font-size:10.5pt"><u></u><u></u></span></p></div><div style="font-family:Calibri"><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:7.5pt;font-family:Verdana,sans-serif;color:rgb(51,102,153)">Michael Newton<br>Director, Product Development<br>Point of Presence Technologies<br></span></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:7.5pt;font-family:Verdana,sans-serif;color:rgb(51,102,153)"><br></span></p></div></div></div></div></div><span><div style="font-family:Calibri;font-size:12pt;text-align:left;color:black;BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt"><span style="font-weight:bold">From: </span> Rancid-discuss on behalf of Jim P<br><span style="font-weight:bold">Date: </span> Thursday, June 11, 2015 at 8:49 AM<br><span style="font-weight:bold">To: </span> "<a href="mailto:rancid-discuss@shrubbery.net" target="_blank">rancid-discuss@shrubbery.net</a>"<br><span style="font-weight:bold">Subject: </span> [rancid] hlogin timing out<br></div><div><div class="h5"><div><br></div><div><div><div dir="ltr"><div class="gmail_extra">I have narrowed down my recent issues to that I really believe I'm having an HP specific issue. Its driving me bonkers and I hope I'm not doing the same for the mailing list.</div><div class="gmail_extra"><br></div><div class="gmail_extra">trying to run this off of a test HP 2650</div><div class="gmail_extra"><br></div><div class="gmail_extra">When I run this:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">./clogin -c "show ver" 10.10.0.99</div><div class="gmail_extra">------------------------------------------------------------------------------</div><div class="gmail_extra"><div class="gmail_extra">[rancid@localhost bin]$ ./clogin -c "show ver" 10.10.0.99</div><div class="gmail_extra">10.10.0.99</div><div class="gmail_extra">spawn telnet 10.10.0.99</div><div class="gmail_extra">Trying 10.10.0.99...</div><div class="gmail_extra">Connected to 10.10.0.99.</div><div class="gmail_extra">Escape character is '^]'.</div><div class="gmail_extra">ProCurve J4899B Switch 2650</div><div class="gmail_extra">Software revision H.10.115</div><div class="gmail_extra">Copyright (C) 1991-2014 Hewlett-Packard Co.  All Rights Reserved.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">                           RESTRICTED RIGHTS LEGEND</div><div class="gmail_extra"><br></div><div class="gmail_extra"> Use, duplication, or disclosure by the Government is subject to restrictions</div><div class="gmail_extra"> as set forth in subdivision (b) (3) (ii) of the Rights in Technical Data and</div><div class="gmail_extra"> Computer Software clause at 52.227-7013.</div><div class="gmail_extra"><br></div><div class="gmail_extra">         HEWLETT-PACKARD COMPANY, 3000 Hanover St., Palo Alto, CA 94303</div><div class="gmail_extra"><br></div><div class="gmail_extra">Press any key to continue<br></div><div class="gmail_extra">Password:<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">TEST-SWITCH99#<br></div><div class="gmail_extra">TEST-SWITCH99# terminal length 0</div><div class="gmail_extra">Invalid input: 0</div><div class="gmail_extra">TEST-SWITCH99#</div><div class="gmail_extra">Error: TIMEOUT reached</div><div>---------------------------------------------------------------------------------<br></div></div><div><br></div><div>it does much better than if I do the following (which just sort of locks up the screen)</div><div><br></div><div><div class="gmail_extra">---------------------------------------------------------------------------------<br></div></div><div>./hlogin -c "show ver" 10.10.0.99<br></div><div><div><br></div><div>10.10.0.99</div><div>spawn hpuifilter -- telnet 10.10.0.99</div><div>Trying 10.10.0.99...</div><div>Connected to 10.10.0.99.</div><div>Escape character is '^]'.</div><div>ProCurve J4899B Switch 2650</div><div>Software revision H.10.115</div><div><br></div><div>Copyright (C) 1991-2014 Hewlett-Packard Co.  All Rights Reserved.</div><div><br></div><div>                           RESTRICTED RIGHTS LEGEND</div><div><br></div><div> Use, duplication, or disclosure by the Government is subject to restrictions</div><div> as set forth in subdivision (b) (3) (ii) of the Rights in Technical Data and</div><div> Computer Software clause at 52.227-7013.</div><div><br></div><div>         HEWLETT-PACKARD COMPANY, 3000 Hanover St., Palo Alto, CA 94303</div><div><br></div><div>Press any key to continuePassword:</div></div><div>TEST-SWITCH99# --> (IT HANGS HERE until it eventually times out)<br></div><div><div>Error: TIMEOUT reached</div></div><div>---------------------------------------------------------------------------------<br></div><div><br></div></div></div></div></div></div></div></span></div>
</blockquote></div><br></div>