[rancid] hp hlogin failing

Viktor Steinmann stony at stony.com
Fri Feb 24 08:59:12 UTC 2017


I recently stumbled across a similar issue with my Brocade/Foundry 
devices. Solution was to change autoenable. Try to change

set avautoenable 0

to

set avautoenable 1

in the hlogin file.

Kind regards,
Viktor

On 24.02.2017 08:57, Jessica Cohen wrote:
> I copied and pasted. Did not truncate. Using ## rancid 2.3.8
>
> 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?
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss



More information about the Rancid-discuss mailing list