[rancid] hp hlogin failing

Jessica Cohen jcohen at AllenTek.com
Thu Feb 23 23:33:50 UTC 2017


<When you SSH, do you have to press something to see the prompt?

No. It's just there. If I press anything, nothing happens. It acts like it's hung. I'm going to upgrade to 3.6 and see if that helps. It was working and then stopped. I don't know what changed.


On 23/02/17 20:20, Jessica Cohen wrote:
Hlogin is failing for some reason on my HP2410G. The logs show

192.168.0.7 clogin error: Error: TIMEOUT reached
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
192.168.0.7: End of run not found

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.

When you SSH, do you have to press something to see the prompt?


Suggestions? Response from hlogin below.

rancid at net-mgmt2:~/logs$ /usr/lib/rancid/bin/hlogin 192.168.0.7
192.168.0.7
spawn hpuifilter -- ssh -c 3des -x -l admin 192.168.0.7
We'd like to keep you up to date about:
  * Software feature updates
  <snip>
         HEWLETT-PACKARD COMPANY, 3000 Hanover St., Palo Alto, CA 94303

Press any key to continuemgmt-OOB-sw1#


It looks like RANCID doesn't recognise the prompt, but it seems like it has pressed something.

A quick google suggests a change in 3.5 might be relevant:

"hlogin: when refactoring prompt, eat full lines before looking for the prompt"

alexd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20170223/a42c83f4/attachment.html>


More information about the Rancid-discuss mailing list