[rancid] Rancid Ignores autoenable for host name but not IP address

Shane Kavanagh shane.kavanagh at gmail.com
Fri Dec 4 11:39:07 UTC 2009


All
(are there parameters on the hostname)

I have a problem with Rancid, its ignoring autoenable (and method) for new
hostnames..

Here is running clogin manually for the IP first which works and then
Hostname which does not, also see snip from my .cloginrc

*rancid at gbedub-rancid01:~$ clogin 10.132.50.103*
10.132.50.103
spawn telnet 10.132.50.103
Trying 10.132.50.103...
Connected to 10.132.50.103.
Escape character is '^]'.


User Access Verification

Username: shanek
Password:
GBEHP-SWH-Prd-WAD101#
GBEHP-SWH-Prd-WAD101#exit
Connection closed by foreign host.


*rancid at gbedub-rancid01:~$ clogin GBEHP-SWH-Prd-WAD101*
gbehp-swh-prd-wad101
spawn telnet gbehp-swh-prd-wad101
Trying 10.132.50.103...
Connected to gbehp-swh-prd-wad101.GBE.local.
Escape character is '^]'.


User Access Verification

Username: shanek
Password:
GBEHP-SWH-Prd-WAD101#*
Error: TIMEOUT reached*
rancid at gbedub-rancid01:~$


Snip from

rancid at gbedub-rancid01:~$ ls -l .cloginrc
-rw-r----- 1 rancid rancid 6333 2009-12-04 11:25 .cloginrc

 add method GBEHP-SWH-Prd-WAD101 telnet
# add method GBEHP-SWH-Prd-WAD101 ssh
 add autoenable GBEHP-SWH-Prd-WAD101 1
 add autoenable 10.132.50.103 1
 add method * telnet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20091204/3ded3f63/attachment.html 


More information about the Rancid-discuss mailing list