This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RANCID on Cygwin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]