Discussion:
[rancid] hp hlogin failing
Jessica Cohen
2017-02-23 20:20:03 UTC
Permalink
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. Suggestions? Response from hlogin below.

***@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
* New product announcements
* Special events

Please register your products now at: www.ProCurve.com

***@192.168.0.7's password:
ProCurve J9279A Switch 2510G-24
Software revision Y.11.44

Copyright (C) 1991-2013 Hewlett-Packard Co. All Rights Reserved.

RESTRICTED RIGHTS LEGEND

Use, duplication, or disclosure by the Government is subject to restrictions
as set forth in subdivision (b) (3) (ii) of the Rights in Technical Data and
Computer Software clause at 52.227-7013.

HEWLETT-PACKARD COMPANY, 3000 Hanover St., Palo Alto, CA 94303

Press any key to continuemgmt-OOB-sw1#

-----------------------------------------
Improving the Patient Experience
Doesn't Have To Be Hard. Ask Us How.

Allen Technologies | www.EngageWithAllen.com<http://www.engagewithallen.com/>
Jessica Cohen, Sr. Network Engineer
o: 512/524-6520
***@engagewithallen.com<mailto:***@engagewithallen.com>
Alex DEKKER
2017-02-23 21:37:12 UTC
Permalink
Post by Jessica Cohen
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?
Post by Jessica Cohen
Suggestions? Response from hlogin below.
192.168.0.7
spawn hpuifilter -- ssh -c 3des -x -l admin 192.168.0.7
* 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
Jessica Cohen
2017-02-23 23:33:50 UTC
Permalink
<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.

***@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
heasley
2017-02-24 00:16:58 UTC
Permalink
Post by Alex DEKKER
Post by Jessica Cohen
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?
Post by Jessica Cohen
Suggestions? Response from hlogin below.
192.168.0.7
spawn hpuifilter -- ssh -c 3des -x -l admin 192.168.0.7
* Software feature updates
<snip>
HEWLETT-PACKARD COMPANY, 3000 Hanover St., Palo Alto, CA 94303
Press any key to continuemgmt-OOB-sw1#
why is it missing a \r\n? is that rancid eating that in hpuifilter or
it he box doing that? hlogin sends a space. might have to look at debug
info; hlogin -d -c 'show vers' hostname
Post by Alex DEKKER
It looks like RANCID doesn't recognise the prompt, but it seems like it
has pressed something.
"hlogin: when refactoring prompt, eat full lines before looking for the
prompt"
alexd
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Jessica Cohen
2017-02-24 00:22:25 UTC
Permalink
I'm not really sure how to sort all this. Could someone help me with reading the debugs? At a glance, it looks like it should be working.

***@net-mgmt2:~/bin$ /var/lib/rancid/bin/hlogin -d -c 'show vers' 192.168.0.7
192.168.0.7
spawn hpuifilter -- ssh -c 3des -x -l admin 192.168.0.7
parent: waiting for sync byte
parent: telling child to go ahead
parent: now unsynchronized from child
spawn: returns {5181}
Gate keeper glob pattern for '(Connection refused|Secure connection [^
]+ refused|Connection closed by)' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for '(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for 'HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?' is 'HOST IDENTIFICATION HAS CHANGED* (yes/no)\?'. Activating booster.
Gate keeper glob pattern for 'HOST IDENTIFICATION HAS CHANGED[^
]+' is 'HOST IDENTIFICATION HAS CHANGED*'. Activating booster.
Gate keeper glob pattern for 'Offending key for .* \(yes/no\)\?' is 'Offending key for * (yes/no)\?'. Activating booster.
Gate keeper glob pattern for 'Enter passphrase.*: ' is 'Enter passphrase*: '. Activating booster.
Gate keeper glob pattern for '(Username|login|user name):' is ''. Not usable, disabling the performance booster.
Gate keeper glob pattern for '([Pp]assword|passwd):' is ''. Not usable, disabling the performance booster.

expect: does "" (spawn_id exp6) match glob pattern "Press any key to continue"? no
"Enter switch number to connect to or <CR>:"? no
"(Connection refused|Secure connection [^\n\r]+ refused|Connection closed by)"? (No Gate, RE only) gate=yes re=no
"Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? Gate "HOST IDENTIFICATION HAS CHANGED* (yes/no)\?"? gate=no
"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? Gate "HOST IDENTIFICATION HAS CHANGED*"? gate=no
"Offending key for .* \(yes/no\)\?"? Gate "Offending key for * (yes/no)\?"? gate=no

expect: does "" (spawn_id exp6) match glob pattern "unknown host\r"? no

expect: does "" (spawn_id exp6) match regular expression "Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"(Username|login|user name):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd):"? (No Gate, RE only) gate=yes re=no
">"? no
"denied"? no
"% Bad passwords"? no
We'd like to keep you up to date about:
* Software feature updates
* New product announcements
* Special events

Please register your products now at: www.ProCurve.com

***@192.168.0.7's password:
expect: does "We'd like to keep you up to date about:\r\r\n * Software feature updates\r\r\n * New product announcements\r\r\n * Special events\r\r\n\r\r\nPlease register your products now at: www.ProCurve.com\r\r\n\r\r\***@192.168.0.7's password: " (spawn_id exp6) match glob pattern "Press any key to continue"? no
"Enter switch number to connect to or <CR>:"? no
"(Connection refused|Secure connection [^\n\r]+ refused|Connection closed by)"? (No Gate, RE only) gate=yes re=no
"Host is unreachable"? no
"No address associated with name"? no
"(Host key not found |The authenticity of host .* be established).* \(yes/no\)\?"? (No Gate, RE only) gate=yes re=no
"HOST IDENTIFICATION HAS CHANGED.* \(yes/no\)\?"? Gate "HOST IDENTIFICATION HAS CHANGED* (yes/no)\?"? gate=no
"HOST IDENTIFICATION HAS CHANGED[^\n\r]+"? Gate "HOST IDENTIFICATION HAS CHANGED*"? gate=no
"Offending key for .* \(yes/no\)\?"? Gate "Offending key for * (yes/no)\?"? gate=no

expect: does "We'd like to keep you up to date about:\r\r\n * Software feature updates\r\r\n * New product announcements\r\r\n * Special events\r\r\n\r\r\nPlease register your products now at: www.ProCurve.com\r\r\n\r\r\***@192.168.0.7's password: " (spawn_id exp6) match glob pattern "unknown host\r"? no

expect: does "We'd like to keep you up to date about:\r\r\n * Software feature updates\r\r\n * New product announcements\r\r\n * Special events\r\r\n\r\r\nPlease register your products now at: www.ProCurve.com\r\r\n\r\r\***@192.168.0.7's password: " (spawn_id exp6) match regular expression "Enter passphrase.*: "? Gate "Enter passphrase*: "? gate=no
"(Username|login|user name):"? (No Gate, RE only) gate=yes re=no
"([Pp]assword|passwd):"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "password:"
expect: set expect_out(1,string) "password"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "We'd like to keep you up to date about:\r\r\n * Software feature updates\r\r\n * New product announcements\r\r\n * Special events\r\r\n\r\r\nPlease register your products now at: www.ProCurve.com\r\r\n\r\r\***@192.168.0.7's password:"
send: sending "@llen1PS\r" to { exp6 }
Gate keeper glob pattern for '[Pp]assword:' is '?assword:'. Activating booster.

expect: does " " (spawn_id exp6) match glob pattern "Press any key to continue"? no
"[Pp]assword:"? Gate "?assword:"? gate=no
">"? no


expect: does " \r\r\n" (spawn_id exp6) match glob pattern "Press any key to continue"? no
"[Pp]assword:"? Gate "?assword:"? gate=no
">"? no
ProCurve J9279A Switch 2510G-24
Software revision Y.11.44

Copyright (C) 1991-2013 Hewlett-Packard Co. All Rights Reserved.

RESTRICTED RIGHTS LEGEND

Use, duplication, or disclosure by the Government is subject to restrictions
as set forth in subdivision (b) (3) (ii) of the Rights in Technical Data and
Computer Software clause at 52.227-7013.

HEWLETT-PACKARD COMPANY, 3000 Hanover St., Palo Alto, CA 94303


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\r" (spawn_id exp6) match glob pattern "Press any key to continue"? no
"[Pp]assword:"? Gate "?assword:"? gate=no
">"? no
Press any key to continue
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



-----Original Message-----
From: Rancid-discuss [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of heasley
Sent: Thursday, February 23, 2017 6:17 PM
To: Alex DEKKER <***@ale.cx>
Cc: rancid-***@shrubbery.net
Subject: Re: [rancid] hp hlogin failing
Post by Alex DEKKER
Post by Jessica Cohen
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?
Post by Jessica Cohen
Suggestions? Response from hlogin below.
192.168.0.7
spawn hpuifilter -- ssh -c 3des -x -l admin 192.168.0.7
* Software feature updates
<snip>
HEWLETT-PACKARD COMPANY, 3000 Hanover St., Palo Alto, CA 94303
Press any key to continuemgmt-OOB-sw1#
why is it missing a \r\n? is that rancid eating that in hpuifilter or it he box doing that? hlogin sends a space. might have to look at debug info; hlogin -d -c 'show vers' hostname
Post by Alex DEKKER
It looks like RANCID doesn't recognise the prompt, but it seems like
it has pressed something.
"hlogin: when refactoring prompt, eat full lines before looking for
the prompt"
alexd
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
heasley
2017-02-24 01:18:54 UTC
Permalink
Post by 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?
Jessica Cohen
2017-02-24 07:57:38 UTC
Permalink
I copied and pasted. Did not truncate. Using ## rancid 2.3.8
Post by 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?
Viktor Steinmann
2017-02-24 08:59:12 UTC
Permalink
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
Post by Jessica Cohen
I copied and pasted. Did not truncate. Using ## rancid 2.3.8
Post by 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
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
heasley
2017-02-24 15:51:34 UTC
Permalink
Post by Viktor Steinmann
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
Post by Jessica Cohen
I copied and pasted. Did not truncate. Using ## rancid 2.3.8
yeah, please also upgrade rancid. i'm not supporting 2.3.8 any longer.
Post by Viktor Steinmann
Post by Jessica Cohen
Post by 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
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Loading...