[rancid] hp hlogin failing

heasley heas at shrubbery.net
Fri Feb 24 01:18:54 UTC 2017


Fri, Feb 24, 2017 at 12:22:25AM +0000, Jessica Cohen:
> expect: does " \r\r\nProCurve J9279A Switch 2510G-24\r\r\n\rSoftware revision Y.11.44\r\r\n\r\r\r\n\rCopyright (C) 1991-2013 Hewlett-Packard Co.  All Rights Reserved.\r\n\r\r\n\r                           RESTRICTED RIGHTS LEGEND\r\n\r\r\n\r Use, duplication, or disclosure by the Government is subject to restrictions\r\n\r as set forth in subdivision (b) (3) (ii) of the Rights in Technical Data and\r\n\r Computer Software clause at 52.227-7013.\r\n\r\r\n\r         HEWLETT-PACKARD COMPANY, 3000 Hanover St., Palo Alto, CA 94303\r\n\r\r\n\rPress any key to continue" (spawn_id exp6) match glob pattern "Press any key to continue"? yes
> expect: set expect_out(0,string) "Press any key to continue"
> expect: set expect_out(spawn_id) "exp6"
> expect: set expect_out(buffer) " \r\r\nProCurve J9279A Switch 2510G-24\r\r\n\rSoftware revision Y.11.44\r\r\n\r\r\r\n\rCopyright (C) 1991-2013 Hewlett-Packard Co.  All Rights Reserved.\r\n\r\r\n\r                           RESTRICTED RIGHTS LEGEND\r\n\r\r\n\r Use, duplication, or disclosure by the Government is subject to restrictions\r\n\r as set forth in subdivision (b) (3) (ii) of the Rights in Technical Data and\r\n\r Computer Software clause at 52.227-7013.\r\n\r\r\n\r         HEWLETT-PACKARD COMPANY, 3000 Hanover St., Palo Alto, CA 94303\r\n\r\r\n\rPress
> any key to continue"
> send: sending " " to { exp6 }
> expect: continuing expect
> 
> expect: does "" (spawn_id exp6) match glob pattern "Press any key to continue"? no
> "[Pp]assword:"? Gate "?assword:"? gate=no
> ">"? no
> p2-test-rack#
> expect: does "p2-test-rack# " (spawn_id exp6) match glob pattern "Press any key to continue"? no
> "[Pp]assword:"? Gate "?assword:"? gate=no
> ">"? no

did you truncate the output?  or are you using a really old version of
rancid?

it looks like it just spits the prompt out after the space is sent.  is
that what happens when you do a manual login?



More information about the Rancid-discuss mailing list