delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/10/16/20:30:08

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=Cr
jhr+ah4EqZr9R9uv7HPM4uzdetvigntloDcJNPSdM12B/lLC+EtrVimYuArTDKSv
0A/c4PCjNE3GIodQLmRL3bZZ9fR6fizrGoQIm/p8qrdSjuLeG180jUHgGQIDMybY
w/6mhJ83S01sSCkIjVzyb3KRtp8u5j9vLZx5qOqYA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=KnO+Cc7B
s+ZQD8xdLBY560dQkRY=; b=lvGQ8ZnFXpmSvOWEKoSW8esHRIKp5zDXLUpuO5q0
bu9m+jQTJlW/5wWiABHqCYq+WxahGQundNuCwBkwAWGEhYWmOxFmAzavkuvi7ng2
TbaLT/jUjZ1EEYy4mKzCJH/cYa9eF73o6QiQm+82x/kFBSjiheFkaV/ThyZGDjCp
aGk=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_20,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-we0-f173.google.com
MIME-Version: 1.0
X-Received: by 10.180.37.227 with SMTP id b3mr4494322wik.24.1381969786950; Wed, 16 Oct 2013 17:29:46 -0700 (PDT)
In-Reply-To: <CALKH64=rpv_sFHEjDM8xM7Bg5C_fbPgdBAvDoS6xXWE6YEgLjA@mail.gmail.com>
References: <CALKH64kEV2-S2j2LKpEMDnbLdC-6P+Hv5n8g5LbPrhkiocfxmA AT mail DOT gmail DOT com> <5254552E DOT 70403 AT tiscali DOT co DOT uk> <CALKH64=rpv_sFHEjDM8xM7Bg5C_fbPgdBAvDoS6xXWE6YEgLjA AT mail DOT gmail DOT com>
Date: Wed, 16 Oct 2013 20:29:46 -0400
Message-ID: <CAD8GWsvWfC-Pc2Jg+mgM5J5RWWoSDu8apzE6dRD2J4ptW6L0uw@mail.gmail.com>
Subject: Re: RANCID on Cygwin
From: Lee <ler762 AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

On 10/16/13, Jakub Horbacewicz <kubih AT partyinfo DOT com DOT pl> wrote:
> OK, thank you guys for your help. Fortunately I've installed Rancid
> (with http://openmaniak.com/rancid_tutorial.php help) on cygwin but
> now facing next problem - can't login into any device using clogin. I
> can ping, telnet/ssh to any device from my test environment, but
> Rancid can not. Always happens nothing, just like that:
>
> Administrator AT backup /home/rancid
> $ /home/rancid/bin/clogin 10.1.1.4
> Administrator AT backup /home/rancid
>
> I guess I have correct statements in my .cloginrc and router.db files:

nope, cloginrc is incorrect

> add method 10.1.1.4 telnet
> add user 10.1.1.4 username
> add password 10.1.1.4 password enablePassword

man cloginrc
   ...
   Note: the braces ({}) surrounding the values is significant when
the values include TCL meta-characters.

I'd suggest always using curly braces - eg:
add user         {10.10.10.10}    {me}
add password  {10.10.10.l0}    {foo}
add method    *  {ssh}

Regards,
Lee


>
> And:
> 10.1.1.4:cisco:up
>
> Can anyone help with that? I'm not sure if it's cygwin or only-rancid
> issue.
>
> Regards,
> jh
>
> 2013/10/8 David Stacey <drstacey AT tiscali DOT co DOT uk>:
>> On 08/10/2013 14:53, Jakub Horbacewicz wrote:
>>>
>>> I have to use Windows server for making backups of network devices. To
>>> accomplish that I have to run Rancid, so I need to install Cygwin. Can
>>> you help me with compiling Rancid through Cygwin? I cannot find any
>>> tutorial or tips in google.
>>
>>
>> If you download and unpack the RANCID sources, there is a 'README' file
>> in
>> there with some quick installation instructions. Simply follow the 12
>> steps
>> listed in that document.
>>
>> I don't know much about RANCID, but this might get you started: It
>> appears
>> that RANCID is mostly written in script languages (perl, expect), with a
>> very small amount of C code that has to be compiled. So, from a Cygwin
>> terminal:
>>
>>     # Download and unpack the sources.
>>     wget ftp://ftp.shrubbery.net/pub/rancid/rancid-2.3.8.tar.gz
>>     tar -xf rancid-2.3.8.tar.gz
>>     cd rancid-2.3.8
>>
>>     # Configure.
>>     ./configure --prefix=/usr
>>     # This gets stuck checking for 'ping'.
>>     # I had to open up Windows Task Manager and kill 'ping.exe'.
>>
>>     # Compile.
>>     make
>>
>> Then you can 'make install' to do the installation. This gets you past
>> step
>> 2 of the installation instructions in the README file; I'll leave it up
>> to
>> you to read and complete the remaining steps.
>>
>> Cheers,
>>
>> Dave.
>>
>>
>>
>>
>> --
>> Problem reports:       http://cygwin.com/problems.html
>> FAQ:                   http://cygwin.com/faq/
>> Documentation:         http://cygwin.com/docs.html
>> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019