Discussion:
[rancid] Rancid 2.3.4 with Extreme XOS - Black Diamonds
Patty Luxton
2010-11-29 19:44:35 UTC
Permalink
I've seen several posts regarding clogin not working correctly with the
8810s, however, I never saw a solution posted for this problem. So I
apologize if this is a duplicate problem surfacing again that has already
been solved.

We are running rancid version 2.3.4 with expect version 5.43.0-5.1, and have
rancid installed on Linux.

We have successfully deployed rancid for Cisco, Netscreen, Netscaler, and a
few others, including Extreme 48si's with Extremeware on it.

However, I am unable to get clogin to work with the Black Diamonds with XOS.

It seems as if an extra carriage return is getting submitted, causing
nothing to be input for the password, but then the password gets used for
the next login attempt:



[***@lhr2-mgmt-net-01 ~]$ bin/clogin device.name
device.name
spawn telnet device.name
Trying 172.26.15.101...
Connected to device.name.
Escape character is '^]'.

telnet session telnet0 on /dev/ptyb0

login: rancid.user
password:

Login incorrect
login: rancid.password
password:

Login incorrect
login: rancid.password <mailto:***@ncidConfigs>
password:

Login incorrect
Maximum number of login attempts reached!
Connection closed by foreign host.

Error: Connection closed (telnet): device.name



Since our passwords have characters in it, I've tried clearing those out,
but it make no difference. I've tried multiple changes to the .cloginrc,
including curly brackets around passwords, usernames, and have added the
autoenable line. I've even tried to add the login and password prompt
arguments to the .cloginrc, but no change.

Is there a solution for this problem that I have not seen yet?



Thank you,

Patty
john heasley
2010-11-30 19:49:15 UTC
Permalink
Post by Patty Luxton
I've seen several posts regarding clogin not working correctly with the
8810s, however, I never saw a solution posted for this problem. So I
apologize if this is a duplicate problem surfacing again that has already
been solved.
We are running rancid version 2.3.4 with expect version 5.43.0-5.1, and have
rancid installed on Linux.
We have successfully deployed rancid for Cisco, Netscreen, Netscaler, and a
few others, including Extreme 48si's with Extremeware on it.
However, I am unable to get clogin to work with the Black Diamonds with XOS.
It seems as if an extra carriage return is getting submitted, causing
nothing to be input for the password, but then the password gets used for
try clogin -d to what is really being sent for the username.
Patty Luxton
2010-11-30 22:07:25 UTC
Permalink
I've attached the output from the clogin -d. Note that the username is
lax\blackd.user - radius had been set up on a windoze domain. I've tried
using a local login and get the same results. This format is working okay
for all our other devices, provided that I put {} around the username in the
.cloginrc file, so I'm hoping it's not the username that's the problem.
I've seen an online post where you may have seen this problem before - it
seems the person having the problem decided to use jlogin instead of clogin.
That works for logging in, but then it hangs after it logs in, as if it
didn't see the final prompt that it expected. So if I go the jlogin route,
I'll need to modify the jlogin script to accommodate this.
Thanks in advance for any help you provide.
Regards,
Patty


-----Original Message-----
From: john heasley [mailto:***@shrubbery.net]
Sent: Tuesday, November 30, 2010 11:49 AM
To: Patty Luxton
Cc: rancid-***@shrubbery.net
Subject: Re: [rancid] Rancid 2.3.4 with Extreme XOS - Black Diamonds
Post by Patty Luxton
I've seen several posts regarding clogin not working correctly with
the 8810s, however, I never saw a solution posted for this problem.
So I apologize if this is a duplicate problem surfacing again that has
already been solved.
We are running rancid version 2.3.4 with expect version 5.43.0-5.1,
and have rancid installed on Linux.
We have successfully deployed rancid for Cisco, Netscreen, Netscaler,
and a few others, including Extreme 48si's with Extremeware on it.
However, I am unable to get clogin to work with the Black Diamonds with XOS.
It seems as if an extra carriage return is getting submitted, causing
nothing to be input for the password, but then the password gets used
try clogin -d to what is really being sent for the username.

Loading...