<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 23/02/17 20:20, Jessica Cohen wrote:<br>
</div>
<blockquote
cite="mid:6CBD3672C596DB49BCFF684935BD14B801092333@MBX029-E1-VA-6.EXCH029.DOMAIN.LOCAL"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Arial Narrow";
panose-1:2 11 6 6 2 2 2 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:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
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]-->
<div class="WordSection1">
<p class="MsoNormal">Hlogin is failing for some reason on my
HP2410G. The logs show
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">192.168.0.7 clogin error: Error: TIMEOUT
reached<o:p></o:p></p>
<p class="MsoNormal">192.168.0.7: missed cmd(s): write term,show
system-information,show system information,show tech
transceivers,show module,show version,show config status,show
flash,show stack,show config files<o:p></o:p></p>
<p class="MsoNormal">192.168.0.7: End of run not found<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I run it from the CLI and it sort of works.
I get to the command prompt in the switch but then can’t enter
any commands. If I SSH directly to the switch from the server
it works fine. </p>
</div>
</blockquote>
<br>
When you SSH, do you have to press something to see the prompt?<br>
<br>
<blockquote
cite="mid:6CBD3672C596DB49BCFF684935BD14B801092333@MBX029-E1-VA-6.EXCH029.DOMAIN.LOCAL"
type="cite">
<div class="WordSection1">
<p class="MsoNormal">Suggestions? Response from hlogin below.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">rancid@net-mgmt2:~/logs$
/usr/lib/rancid/bin/hlogin 192.168.0.7<o:p></o:p></p>
<p class="MsoNormal">192.168.0.7<o:p></o:p></p>
<p class="MsoNormal">spawn hpuifilter -- ssh -c 3des -x -l admin
192.168.0.7<o:p></o:p></p>
<p class="MsoNormal">We'd like to keep you up to date about:<o:p></o:p></p>
<p class="MsoNormal"> * Software feature updates<o:p></o:p></p>
<p class="MsoNormal"> <o:p> <snip></o:p></p>
<p class="MsoNormal"> HEWLETT-PACKARD COMPANY, 3000
Hanover St., Palo Alto, CA 94303<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Press any key to continuemgmt-OOB-sw1#<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</blockquote>
<br>
It looks like RANCID doesn't recognise the prompt, but it seems like
it has pressed something. <br>
<br>
A quick google suggests a change in 3.5 might be relevant: <br>
<br>
"hlogin: when refactoring prompt, eat full lines before looking for
the prompt"<br>
<br>
alexd<br>
</body>
</html>