X-Recipient: archive-cygwin@delorie.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=pl
	+AGemUbWN4WpXJuNXbbmFNbMi072oFecZpUtI3WhsW4g3YPSoT1156Yn7t/9GQG/
	oElQkJ939dSg6YjR0iYksRaGUq4g0MUBcklgomomyXe+phqejiGUxY+TsyPrM0zn
	fQYsUqlbkS/4NfNtrcEwdF0xIYj+7cVmF8kk3UrZ4=
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=hodFoUCs
	scPhBQF0mB68dkhICMI=; b=AyreYclkkNQQ0szkC0VChh8DIA/Mw3x0K6TOakNZ
	2zWfUjMH6YwzNY2/e0bfP2CoYvyeTvksDUrEpN2cwVDMXSBwsQhY2rUBGAoywxrQ
	w+4nz6mQjycAdToN2+d6g37MKrq5nWclZWp9u+WnXO++NI11Xg1UpSskQBN4PlxF
	4BY=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL autolearn=ham version=3.3.2
X-HELO: mail-pa0-f51.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:mime-version:in-reply-to:references:date         :message-id:subject:from:to:content-type;        bh=80JtGPvE8WRf26IQjZ2fwCS2ubx3pIkKUeM3vfAF8BM=;        b=DtPHUQVBbJeC+79tpF8ILAQFE1YQGlyeRjDQmwDgGgen0+iH5z9a0K9xiWCYdbS815         DbDNveYIE1fbLUEayOwDgCOPoUJxRSJ7+7BgbA0AXQ1qKT0DEpJNG3RD3UwVLIXqy/ro         41/En06Emr33cAGzqvtgSgGVOFp+O5gWOTjZk9DKxFWOYarJkJdkr3IA8+xlhmZeOQEd         +NR6Nx2NvhY9AUzpXmguK+qlRY2VbDL65x7HO1+eEoHw8Nd9bxfmubnYkOkLJFZFZivx         fy8MHrfTShej1sOh++iZ6aNdVLQbFJ3/OlCSI3B+/46xISLJhj5Yw7rvJF/i20CdYR0h         iThQ==
X-Gm-Message-State: ALoCoQlze465pOm25CfuEmoqvcW2P9PTmVPWxO5oXxllSS6Ig1jFB41+H1nUjqSu+a1LI7Lhknp/
MIME-Version: 1.0
X-Received: by 10.66.66.42 with SMTP id c10mr3519255pat.98.1381929611587; Wed, 16 Oct 2013 06:20:11 -0700 (PDT)
In-Reply-To: <5254552E.70403@tiscali.co.uk>
References: <CALKH64kEV2-S2j2LKpEMDnbLdC-6P+Hv5n8g5LbPrhkiocfxmA@mail.gmail.com>	<5254552E.70403@tiscali.co.uk>
Date: Wed, 16 Oct 2013 15:20:11 +0200
Message-ID: <CALKH64=rpv_sFHEjDM8xM7Bg5C_fbPgdBAvDoS6xXWE6YEgLjA@mail.gmail.com>
Subject: Re: RANCID on Cygwin
From: Jakub Horbacewicz <kubih@partyinfo.com.pl>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
X-IsSubscribed: yes

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@backup /home/rancid
$ /home/rancid/bin/clogin 10.1.1.4
Administrator@backup /home/rancid

I guess I have correct statements in my .cloginrc and router.db files:
add method 10.1.1.4 telnet
add user 10.1.1.4 username
add password 10.1.1.4 password enablePassword

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@tiscali.co.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

