<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 12 (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;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</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=Section1>
<p class=MsoNormal>Hello,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>When trying to use hlogin I get timeouts when trying to
login to the enable prompt. I thought I was running version 2.3.2a10 but I
guess my upgrade didn’t work as expected.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>-bash-3.2$ hlogin HP5308-B6-1.pelco.org<o:p></o:p></p>
<p class=MsoNormal>hp5308-b6-1.pelco.org<o:p></o:p></p>
<p class=MsoNormal>spawn hpuifilter -- ssh -c 3des -x -l user hp5308-b6-1.pelco.org<o:p></o:p></p>
<p class=MsoNormal>Switch – DO NOT LOGIN.<o:p></o:p></p>
<p class=MsoNormal><a href="mailto:user@hp5308-b6-1.pelco.org's">user@hp5308-b6-1.pelco.org's</a>
password: <o:p></o:p></p>
<p class=MsoNormal>ProCurve J4819A Switch 5308xl<o:p></o:p></p>
<p class=MsoNormal>Software revision E.11.03<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Copyright (C) 1991-2008 Hewlett-Packard Co. All Rights
Reserved.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>
RESTRICTED RIGHTS LEGEND<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal> Use, duplication, or disclosure by the Government is
subject to restrictions<o:p></o:p></p>
<p class=MsoNormal> as set forth in subdivision (b) (3) (ii) of the Rights
in Technical Data and<o:p></o:p></p>
<p class=MsoNormal> Computer Software clause at 52.227-7013.<o:p></o:p></p>
<p class=MsoNormal><o:p> </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 continueHP5308-B6-1> <o:p></o:p></p>
<p class=MsoNormal><b>Error: TIMEOUT reached<o:p></o:p></b></p>
<p class=MsoNormal><b><o:p> </o:p></b></p>
<p class=MsoNormal>HLOGIN Version<o:p></o:p></p>
<p class=MsoNormal>#! /usr/bin/expect --<o:p></o:p></p>
<p class=MsoNormal>##<o:p></o:p></p>
<p class=MsoNormal>## $Id: hlogin.in,v 1.58 2008/11/12 00:59:04 heas Exp $<o:p></o:p></p>
<p class=MsoNormal>##<o:p></o:p></p>
<p class=MsoNormal>## rancid 2.3.2a9<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I found a patch from a google search which didn’t work
for me.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='text-autospace:none'>--- bin/hlogin.original.2.3.2a9
2009-02-03 18:35:55.000000000 -0600<o:p></o:p></p>
<p class=MsoNormal style='text-autospace:none'>+++ bin/hlogin 2009-02-04
00:07:52.000000000 -0600<o:p></o:p></p>
<p class=MsoNormal style='text-autospace:none'>@@ -666,7 +671,9 @@<o:p></o:p></p>
<p class=MsoNormal style='text-autospace:none'> #
Figure out prompts<o:p></o:p></p>
<p class=MsoNormal style='text-autospace:none'> set
u_prompt [find userprompt $router]<o:p></o:p></p>
<p class=MsoNormal style='text-autospace:none'> if {
"$u_prompt" == "" } {<o:p></o:p></p>
<p class=MsoNormal style='text-autospace:none'>-
set u_prompt "(Username|login|user name):"<o:p></o:p></p>
<p class=MsoNormal style='text-autospace:none'>+
#added "Name" for 5406zl<o:p></o:p></p>
<p class=MsoNormal style='text-autospace:none'>+
#which has the prompt "Please Enter Login Name:"<o:p></o:p></p>
<p class=MsoNormal style='text-autospace:none'>+
set u_prompt "(Name|Username|login|user name):"<o:p></o:p></p>
<p class=MsoNormal style='text-autospace:none'> } else
{<o:p></o:p></p>
<p class=MsoNormal style='text-autospace:none'>
set u_prompt [join [lindex $u_prompt 0] ""]<o:p></o:p></p>
<p class=MsoNormal style='text-autospace:none'> }<o:p></o:p></p>
<p class=MsoNormal><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><b><span style='font-size:9.0pt'><o:p> </o:p></span></b></p>
<p class=MsoNormal><b><span style='font-size:9.0pt'>Brian Mahaffey<br>
</span></b><span style='font-size:9.0pt'>Sr. Network Engineer<br>
<b>Pelco<o:p></o:p></b></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'>(559) 292.1981 ext 5323<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'>(559) 840.5686 Mobile</span><span
style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#1C467A'><br>
</span><span style='font-size:7.5pt'>AIM/GTALK/MSN: <a
href="mailto:bmahaffey@gmail.com"><span style='color:blue'>bmahaffey@gmail.com</span></a><o:p></o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<BR>
- ------------------------------------------------------------------------------<BR>
Confidentiality Notice: The information contained in this transmission is legally privileged and confidential, intended only for the use of the individual(s) or entities named above. This email and any files transmitted with it are the property of Pelco. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any review, disclosure, copying, distribution, retention, or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you receive this communication in error, please notify us immediately by telephone call to +1-559-292-1981 or forward the e-mail to administrator@pelco.com and then permanently delete the e-mail and destroy all soft and hard copies of the message and any attachments. Thank you for your cooperation. <BR>
- ------------------------------------------------------------------------------<BR>
</body>
</html>