<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div><br></div><div><br>Am 26.08.2016 um 16:41 schrieb Remsik,Robert <<a href="mailto:Robert.Remsik@colostate.edu">Robert.Remsik@colostate.edu</a>>:<br><br></div><blockquote type="cite"><div>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>No luck.</p>
<p><br>
</p>
<p>When using hlogin, I get the below even though hpui is in the same directory,:<br>
</p>
<div>rancid@truck:~/bin$ hlogin -c "show run" 10.1.3.21</div>
<div>10.1.3.21</div>
<div>spawn hpuifilter -- ssh -c -x -l LOGIN 10.1.3.21</div>
<div><br>
</div>
<div>Error: ssh failed: couldn't execute "hpuifilter": no such file or directory</div></div></div></blockquote><div><br></div>It inherits youre PATH. <div><br><blockquote type="cite"><div><div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<div><br>
</div>
Oddly enough when I get the error in the log even though it's defined as an HP switch, the log references clogin.
<p></p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="font-family:Tahoma; font-size:13px">
<div>
<div>
<p style="font-family:Tahoma; font-size:13px"></p>
<p style="font-family:Tahoma; font-size:13px"><br>
</p>
<p style="font-family:Tahoma; font-size:13px"><br>
</p>
<p>Robert Remsik</p>
<p>ACNS</p>
<p>Desk Phone: 970 491 7120</p>
<p><a href="mailto:Robert.Remsik@colostate.edu">Robert.Remsik@colostate.edu</a></p>
<p style="font-family:Tahoma; font-size:13px"></p>
</div>
</div>
</div>
</div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> heasley <<a href="mailto:heas@shrubbery.net">heas@shrubbery.net</a>><br>
<b>Sent:</b> Friday, August 26, 2016 2:55 AM<br>
<b>To:</b> Remsik,Robert<br>
<b>Cc:</b> heasley; <a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a><br>
<b>Subject:</b> Re: [rancid] Debugging Logins for netscreen and procurve switches</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Tue, Aug 23, 2016 at 05:08:22PM +0000, Remsik,Robert:<br>
> This seems to have solved the issue. The only remaining issue I'm encountering is for logging into HP switches. clogin logs in, but does nothing. I can interact with the switch normally and exit.<br>
<br>
The HPs are either HPs or foundry OEMs, hlogin or flogin, respectively. this<br>
one looks like an hp; try testing with hlogin.<br>
<br>
> In the .log:<br>
> <br>
> 10.1.3.21: missed cmd(s): all commands<br>
> 10.1.3.21: End of run not found<br>
> 10.1.3.21 clogin error: Error: Couldn't login<br>
> <br>
> <br>
> Running clogin manually:<br>
> <br>
> rancid@server:~/bin$ ./clogin 10.1.3.21<br>
> 10.1.3.21<br>
> spawn ssh -x -l LOGIN 10.1.3.21<br>
> We'd like to keep you up to date about:<br>
> * Software feature updates<br>
> * New product announcements<br>
> * Special events<br>
> Please register your products now at: <a href="http://www.hp.com/networking/register" id="LPlnk35507">
www.hp.com/networking/register</a><br>
> <br>
> <br>
> <a href="mailto:LOGIN@10.1.3.21">LOGIN@10.1.3.21</a>'s password:<br>
> HP J8692A Switch 3500yl-24G<br>
> Software revision K.15.10.0013m<br>
> <br>
> Copyright (C) 1991-2013 Hewlett-Packard Development Company, L.P.<br>
> <br>
> RESTRICTED RIGHTS LEGEND<br>
> Confidential computer software. Valid license from HP required for possession,<br>
> use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer<br>
> Software, Computer Software Documentation, and Technical Data for Commercial<br>
> Items are licensed to the U.S. Government under vendor's standard commercial<br>
> license.<br>
> HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.<br>
> 20555 State Highway 249, Houston, TX 77070<br>
> SWITCH# ^[[64;237R<br>
> SWITCH#<br>
> <br>
> --------<br>
> When I do ./clogin -c "show run" 10.1.3.21 I get the below and the prompt stays there. I have to ctrl+c out of the program:<br>
> SWITCH# ^[[64;237R<br>
> SWITCH# terminal length 0<br>
> Invalid input: 0<br>
> SWITCH#<br>
> <br>
> This is a new problem with rancid 3.4.9.9 and is not currently encountered on rancid 2.3.8. Any help is appreciated, thank you in advance,<br>
</div>
</span></font></div>
</div>
</div></blockquote></div></body></html>