Mailing List Archive

clogin with CatOS + autoenable
Hi,

Been using rancid with CatOS that required login password and then
manually enable with enable password, it was working fine.
We changed the CatOS switch (5500) to use aaa server which enters user
directly to enable mode and the clogin seems to be unable to deal with
that:

$clogin cat55
spawn telnet cat55

Cisco Systems Console

Username: rancid

Password:
cat55-u-b> (enable)
Error: TIMEOUT reached
$


the login succeeds but seems the clogin will not recognize the enable
prompt and expecting the # sign.

the .cloginrc config is:

add user cat55 rancid
add password cat55 {rancidpassword}
add autoenable cat55 1

before I go hacking the clogin, is this really not supported or am I
missing something ?

Thanks
Yuval
clogin with CatOS + autoenable [ In reply to ]
Fri, Jan 02, 2004 at 02:29:26PM +0200, Yuval Ben-Ari:
> Hi,
>
> Been using rancid with CatOS that required login password and then
> manually enable with enable password, it was working fine.
> We changed the CatOS switch (5500) to use aaa server which enters user
> directly to enable mode and the clogin seems to be unable to deal with
> that:
>
> $clogin cat55
> spawn telnet cat55
>
> Cisco Systems Console
>
> Username: rancid
>
> Password:
> cat55-u-b> (enable)
> Error: TIMEOUT reached
> $
>
>
> the login succeeds but seems the clogin will not recognize the enable
> prompt and expecting the # sign.
>
> the .cloginrc config is:
>
> add user cat55 rancid
> add password cat55 {rancidpassword}
> add autoenable cat55 1
>
> before I go hacking the clogin, is this really not supported or am I
> missing something ?

this (clogin + autoenable + catos) does not work properly, ATM. I have
a patch for the next release, but nothing to test it on. please contact
me directly if you're willing to debug with me or provide access to one
remotely.