Discussion:
[rancid] access-problem
Fischer Bernhard
2009-05-15 09:47:20 UTC
Permalink
Hi All,

I'm a Rancid-Newby and have try a testinstallation on CentOS5.3 in a VM.
For testing I've configured a Cisco C3560 and user rancid over
Tacacs-Server. With clogin I can login and authenticate and become the
prompt, but I can't execute any commands and receive a timeout. If I use
the telnet-command all is working fine.
Where is the error or where I can search?

Thanks a lot in advance !!

Bernhard
<file:///C:/Documents%20and%20Settings/fischerb/Application%20Data/Micro
soft/Signatures/www.kurz.de>


LEONHARD KURZ Stiftung & Co. KG, Sitz der Gesellschaft: Furth, Registergericht Furth HR A 5526,
personlich haftende Gesellschafterin: Leonhard Kurz Verwaltungs-Stiftung, Sitz der Stiftung: Furth, Registergericht Furth HR A 8969, Vorstande: Walter Kurz, Peter Kurz
__________________________________
Alle Lieferungen und Leistungen von KURZ erfolgen ausschlie?lich auf der Grundlage unserer Allgemeinen Bedingungen fur die Lieferung von Folie, bzw. Maschinen und Ersatzteilen an Unternehmer, jeweils vom Stand November 2007 (AGB/AGBM), sowie der Technischen Spezifikation (TS) fur den jeweiligen Folien- bzw. Maschinentyp. Alle Lieferungen und Leistungen an KURZ erfolgen ausschlie?lich auf der Grundlage unserer Einkaufsbedingungen, Stand April 2008 (EKB). Die AGB/AGBM/EKB konnen Sie im Internet auf unserer Homepage unter www.kurz.de abrufen. Die AGB/AGBM/EKB und die TS senden wir Ihnen auf Wunsch auch gerne zu.

All supplies and services of KURZ shall exclusively be subject to our Terms and Conditions of Sale of Foil or Machines/Machine Parts, respectively, to Business Customers, each of Edition November 2007 (T&C/T&CM), as well as the Technical Specification (TS) of the respective foil/machine. All supplies and services to KURZ shall exclusively be subject to our Terms and Conditions of Purchase, Edition April 2008 (T&C Purchase). You may find our T&C/T&CM and T&C Purchase on our homepage www.kurz.de. On request we will provide you with a paper copy of the T&C/T&CM/T&C Purchase and TS.
Ron Whitney
2009-05-15 11:15:15 UTC
Permalink
Post by Fischer Bernhard
With clogin I can login
and authenticate and become the prompt, but I can't execute
any commands and receive a timeout.
When you log in, are you already in privlidged exec mode? (IWO, already
enabled?) If so, Rancid may be waiting for the user exec prompt so it
can issue the 'enable' command. The 'set autoenable {routername}'
option in your .cloginrc should get around that. Good luck.

Ron
alex
2009-05-16 16:00:44 UTC
Permalink
Post by Ron Whitney
Post by Fischer Bernhard
With clogin I can login
and authenticate and become the prompt, but I can't execute
any commands and receive a timeout.
When you log in, are you already in privlidged exec mode? (IWO, already
enabled?) If so, Rancid may be waiting for the user exec prompt so it
can issue the 'enable' command. The 'set autoenable {routername}'
option in your .cloginrc should get around that.
Rancid should print a hint like this along with the timeout message, as it
appears to be a very FAQ!

alexd
john heasley
2009-05-18 16:24:30 UTC
Permalink
Post by alex
Post by Ron Whitney
Post by Fischer Bernhard
With clogin I can login
and authenticate and become the prompt, but I can't execute
any commands and receive a timeout.
When you log in, are you already in privlidged exec mode? (IWO, already
enabled?) If so, Rancid may be waiting for the user exec prompt so it
can issue the 'enable' command. The 'set autoenable {routername}'
option in your .cloginrc should get around that.
Rancid should print a hint like this along with the timeout message, as it
appears to be a very FAQ!
it doesn't seem a good investment of time to add the complexity to
figure out of its a timeout due to misconfiguration vs. another problem.
and, that configuration knob is right at the top of cloginrc(5) and its
mentioned in the sample cloginrc.

has anyone tried/tested the patch for clogin that i posted to eliminate
autoenable?

Fischer Bernhard
2009-05-15 12:01:24 UTC
Permalink
Hi All,

Many thanks to Ron, absolute correct: the reason was the -autoenable
flag. Now is it working.

Anymore thanks to All for the help.


Bernhard



________________________________

From: Fischer Bernhard
Sent: Freitag, 15. Mai 2009 11:47
To: 'rancid-***@shrubbery.net'
Subject: access-problem


Hi All,

I'm a Rancid-Newby and have try a testinstallation on CentOS5.3 in a VM.
For testing I've configured a Cisco C3560 and user rancid over
Tacacs-Server. With clogin I can login and authenticate and become the
prompt, but I can't execute any commands and receive a timeout. If I use
the telnet-command all is working fine.
Where is the error or where I can search?

Thanks a lot in advance !!

Bernhard
<file:///C:/Documents%20and%20Settings/fischerb/Application%20Data/Micro
soft/Signatures/www.kurz.de>


LEONHARD KURZ Stiftung & Co. KG, Sitz der Gesellschaft: Furth, Registergericht Furth HR A 5526,
personlich haftende Gesellschafterin: Leonhard Kurz Verwaltungs-Stiftung, Sitz der Stiftung: Furth, Registergericht Furth HR A 8969, Vorstande: Walter Kurz, Peter Kurz
__________________________________
Alle Lieferungen und Leistungen von KURZ erfolgen ausschlie?lich auf der Grundlage unserer Allgemeinen Bedingungen fur die Lieferung von Folie, bzw. Maschinen und Ersatzteilen an Unternehmer, jeweils vom Stand November 2007 (AGB/AGBM), sowie der Technischen Spezifikation (TS) fur den jeweiligen Folien- bzw. Maschinentyp. Alle Lieferungen und Leistungen an KURZ erfolgen ausschlie?lich auf der Grundlage unserer Einkaufsbedingungen, Stand April 2008 (EKB). Die AGB/AGBM/EKB konnen Sie im Internet auf unserer Homepage unter www.kurz.de abrufen. Die AGB/AGBM/EKB und die TS senden wir Ihnen auf Wunsch auch gerne zu.

All supplies and services of KURZ shall exclusively be subject to our Terms and Conditions of Sale of Foil or Machines/Machine Parts, respectively, to Business Customers, each of Edition November 2007 (T&C/T&CM), as well as the Technical Specification (TS) of the respective foil/machine. All supplies and services to KURZ shall exclusively be subject to our Terms and Conditions of Purchase, Edition April 2008 (T&C Purchase). You may find our T&C/T&CM and T&C Purchase on our homepage www.kurz.de. On request we will provide you with a paper copy of the T&C/T&CM/T&C Purchase and TS.
Loading...