[rancid] Re: Connecting to a Cisco Service Control Engine
Manuel Noriega
mnoriega at amnetcorp.com
Fri Jan 26 18:52:40 UTC 2007
I had a similar situation with Tellabs equipment which don't ask for
user or password and login immediately. What I used in .cloginrc was:
add userprompt tellabs* ">"
I guess in your case something similar may work using
add enableprompt 10.0.0.1 ">"
Sincerely,
Manuel Noriega
ISP Engineer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AmnetDatos-Little.jpg
Type: image/jpeg
Size: 12703 bytes
Desc: not available
Url : http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20070126/0f0cd616/attachment.jpg
-------------- next part --------------
13 CALLE 3-40, ZONA 10
15 NIVEL, OFICINA 15-01
GUATEMALA CITY, C.A.
PBX (502) 2279 0099
FAX (502) 2279 0003
www.amnetdatos.com
On Jan 25, 2007, at 4:07 PM, Sherrill, Justin wrote:
> I've got a number of Cisco SCE units (formerly known as P-Cube). They
> don't prompt for a username, just a password. Connecting to them with
> clogin will log in, but they hang once the user prompt shows.
>
> The prompt is the normal type that Rancid recognizes -
> "hostname>". It
> appears that Rancid emits the password normally, and then waits for
> something other than the user prompt, which leads to the timeout. I
> don't know what that something is.
>
> Looking at clogin, it appears that it should enter the password and
> happily continue when it sees the '>' in the prompt, unless I'm
> reading
> it wrong.
>
> Will clogin look for the user prompt if the username hasn't been
> entered?
>
> (Details - .cloginrc):
>
> add password 10.0.0.1 pass1 pass2
> add method 10.0.0.1 {telnet}
>
> (what I see)
>
> $ ./bin/clogin -c 'show vers' 10.0.0.1
> 10.0.0.1
> spawn telnet 10.0.0.1
> Trying 10.0.0.1...
> Connected to 10.0.0.1 (10.0.0.1).
> Escape character is '^]'.
>
>
> User Access Verification
>
> Password:
> hostname>
> Error: TIMEOUT reached
>
> -----------------------------------------
> Justin C. Sherrill - CURRENT Communications
> 220 Kenneth Drive
> Rochester, New York 14623
> P: 585.486.0549 F: 585.486.0030
>
>
>
> ***CONFIDENTIALITY NOTICE***
> The information in this email may be confidential and/or
> privileged. This email is intended to be reviewed by only the
> individual or organization named above. If you are not the intended
> recipient or an authorized representative of the intended
> recipient, you are hereby notified that any review, dissemination
> or copying of this email and its attachments, if any, or the
> information contained herein is prohibited. If you have received
> this email in error, please immediately notify the sender by return
> email and delete this message from your system.
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>
More information about the Rancid-discuss
mailing list