[rancid] get running-config to other network

vincent vincent at autistici.org
Mon Jan 30 15:32:53 UTC 2012


Il 24/01/2012 11:02, vincent ha scritto:
> Hi,
> thanks theodoros
>
> I have modified my version on /home/rancid/bin/clogin but don't work.
>
> This is the diff from the original clogin file:
> http://paste.debian.net/153437/
>
> I suppose the reason is the different version of clogin
>
> This is my .cloginrc file on /home/rancid/
>
> add user * user
> add method 10.10.10.1 telnet
> add method 10.10.10.1 dssh:20.20.20.1
> add password 10.10.10.1 password password
> add password 20.20.20.1 password password

Hi,
i tried to download the old clogin version [2.3.2a8*] for apply this 
patch:

http://www.shrubbery.net/pipermail/rancid-discuss/2006-May/001490.html

But isn't possibile download it for permission error:

$ wget ftp://ftp.shrubbery.net/pub/rancid/.old/rancid-2.3.2a8.tar.gz
--2012-01-30 16:03:58--  
ftp://ftp.shrubbery.net/pub/rancid/.old/rancid-2.3.2a8.tar.gz
=> `rancid-2.3.2a8.tar.gz'
Resolving ftp.shrubbery.net... 129.250.47.99
Connecting to ftp.shrubbery.net|129.250.47.99|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/rancid/.old ... done.
==> SIZE rancid-2.3.2a8.tar.gz ... 316677
==> PASV ... done.    ==> RETR rancid-2.3.2a8.tar.gz ...
No such file `rancid-2.3.2a8.tar.gz'.

But the file is present on the directory:
ftp://ftp.shrubbery.net/pub/rancid/.old/

Do you know other ways to download this old version?

If I try to apply the patch in the current version of clogin [2.3.6], 
this is the result:

$ patch clogin patch-2006.diff
patching file clogin
Hunk #1 FAILED at 288.
Hunk #2 succeeded at 352 with fuzz 2 (offset 33 lines).
Hunk #3 FAILED at 642.
Hunk #4 succeeded at 871 with fuzz 2 (offset 103 lines).
2 out of 4 hunks FAILED -- saving rejects to file clogin.rej

this is the content of my clogin.rej files:

http://paste.debian.net/plainh/23ab99c5



[*: http://www.gossamer-threads.com/lists/rancid/users/3285]

-- 
vincent

+---------------------------------------------------------------------+
| GPG KeyID: 2048R/0C42E44E 2011-06-14             http://pgp.mit.edu |
| Fingerprint GPG: AFD5 80B0 22C1 DCCB A2C5  8A4B F52F 0621 0C42 E44E |
| ()  ascii ribbon campaign - against html e-mail                     |
| /\  www.asciiribbon.org   - against proprietary attachments         |
+---------------------------------------------------------------------+


More information about the Rancid-discuss mailing list