Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: RANCID: Users

(no subject)

 

 

RANCID users RSS feed   Index | Next | Previous | View Threaded


esteinke at speakeasy

Jun 13, 2006, 7:15 AM

Post #1 of 6 (1179 views)
Permalink
(no subject)

Greetings!

Any hints on getting an Aruba Wireless switch working with Rancid? The OS=
is somewhat like the Cisco IOS. I succesfully tested the clogin porti=
on and after the initial setup it was able to pull the config. Then it st=
arted emailing about not being able to contact the router. Looking at =
the logs I see that it is waiting for resposnes to commands which the =
Aruba doesn't support (show vlan) being one. Is there a way to customize =
rancid for this device?
Thanks!
Liz


karpenko at willers

Jun 13, 2006, 7:42 AM

Post #2 of 6 (1112 views)
Permalink
Re: (no subject) [In reply to]

I would make a copy of clogin (expect script) and rancid (perl script) and then modify the rancid (perl script) to send the commands your want or comment out the commands you do or don't want it to send; the commands that are sent is what rancid (perl script) parses. The rancid (perl script) calls the clogin (expect script). You would need to make sure and replace the "clogin" with the name of the copy that you made. Dunno if this is what your looking for, but HTH.

/karpenko/

On Tue, 13 Jun 2006 esteinke at speakeasy.net wrote:

> Greetings!
>
> Any hints on getting an Aruba Wireless switch working with Rancid? The OS=
> is somewhat like the Cisco IOS. I succesfully tested the clogin porti=
> on and after the initial setup it was able to pull the config. Then it st=
> arted emailing about not being able to contact the router. Looking at =
> the logs I see that it is waiting for resposnes to commands which the =
> Aruba doesn't support (show vlan) being one. Is there a way to customize =
> rancid for this device?
> Thanks!
> Liz
>
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>


gabbawp at gmail

Jul 20, 2011, 2:27 AM

Post #3 of 6 (1114 views)
Permalink
Re: (no subject) [In reply to]

Hi Alejandro,

It sounds like clogin is referencing another .cloginrc file.

You can make sure by using the -f flag when running clogin - clogin -f
/location/of/.cloginrc

Cheers,

Gareth

2011/7/20 Alejandro Sanchez <Alejandro.Sanchez [at] sitel>

> Hi team,****
>
> My .cloginrc file is not working properly. ****
>
> For some reason, is not using what I put on .cloginrc file****
>
> ** **
>
> I just have ****
>
> Add user * username ****
>
> Add password * password enablepassword****
>
> Add method * ssh****
>
> ** **
>
> ** **
>
> But when I test the login with clogin x.x.x.x, it then try to use telnet
> and the old credentials****
>
> ** **
>
> Any idea?****
> **CONFIDENTIAL NOTICE**
> This e-mail and any files transmitted with it may contain PRIVILEGED or
> CONFIDENTIAL information and may be read or used only by the intended
> recipient. If you are not the intended recipient of the e-mail or any of its
> attachments, please be advised that you have received this e-mail in error
> and that any use, dissemination, distribution, forwarding, printing, or
> copying of this e-mail or any attached files is strictly prohibited. If you
> have received this e-mail in error, please immediately purge it and all
> attachments and notify the sender by reply e-mail.
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss [at] shrubbery
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>


Alejandro.Sanchez at sitel

Jul 20, 2011, 3:03 AM

Post #4 of 6 (1110 views)
Permalink
Re: (no subject) [In reply to]

Solved, thanks



I was logged as root and there were 2 .cloginrc files on both root and rancid2 user

Removed the root one



________________________________

De: Gareth Hopkins [mailto:gabbawp [at] gmail]
Enviado el: miércoles, 20 de julio de 2011 11:27
Para: Alejandro Sanchez
CC: rancid-discuss [at] shrubbery
Asunto: Re: [rancid] (no subject)



Hi Alejandro,



It sounds like clogin is referencing another .cloginrc file.



You can make sure by using the -f flag when running clogin - clogin -f /location/of/.cloginrc



Cheers,



Gareth

2011/7/20 Alejandro Sanchez <Alejandro.Sanchez [at] sitel>

Hi team,

My .cloginrc file is not working properly.

For some reason, is not using what I put on .cloginrc file



I just have

Add user * username

Add password * password enablepassword

Add method * ssh





But when I test the login with clogin x.x.x.x, it then try to use telnet and the old credentials



Any idea?

**CONFIDENTIAL NOTICE**
This e-mail and any files transmitted with it may contain PRIVILEGED or CONFIDENTIAL information and may be read or used only by the intended recipient. If you are not the intended recipient of the e-mail or any of its attachments, please be advised that you have received this e-mail in error and that any use, dissemination, distribution, forwarding, printing, or copying of this e-mail or any attached files is strictly prohibited. If you have received this e-mail in error, please immediately purge it and all attachments and notify the sender by reply e-mail.


_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss



**CONFIDENTIAL NOTICE**
This e-mail and any files transmitted with it may contain PRIVILEGED or CONFIDENTIAL information and may be read or used only by the intended recipient. If you are not the intended recipient of the e-mail or any of its attachments, please be advised that you have received this e-mail in error and that any use, dissemination, distribution, forwarding, printing, or copying of this e-mail or any attached files is strictly prohibited. If you have received this e-mail in error, please immediately purge it and all attachments and notify the sender by reply e-mail.


maddockg at gmail

Apr 16, 2013, 7:55 AM

Post #5 of 6 (639 views)
Permalink
Re: (no subject) [In reply to]

Well, I solved that easy... I had commented out: add autoenable 10.1.1.1 1
while trouble shooting prior to firmware upgrade. All is working now.
Thanks anyway


On Mon, Apr 15, 2013 at 5:08 PM, Gerry Maddock <maddockg [at] gmail> wrote:

> I have rancid working with my Dell Powerconnect 8024F & PowerConnect 7048.
> I am having issues with powerconnect 5448 and similar models. I thought a
> firmware update may do the trick, but still having problems after firmware
> upgrade.
>
>
> Trying to get all of the configs.
> opened network stream from 10.1.1.1 if () at /usr/lib/rancid/bin/drancid
> line 272.
> found_end = 0, clean_run = 0
> 10.1.1.1 dlogin error: Error: no enable password for 10.1.1.1 in
> /var/lib/rancid/.cloginrc.
> 10.1.1.1: missed cmd(s): show version,show running-config,show vlan
> 10.1.1.1: End of run not found
> !
> =====================================
> Getting missed routers: round 1.
> opened network stream from 10.1.1.1 if () at /usr/lib/rancid/bin/drancid
> line 272.
> found_end = 0, clean_run = 0
> 10.1.1.1 dlogin error: Error: no enable password for 10.1.1.1 in
> /var/lib/rancid/.cloginrc.
> 10.1.1.1: missed cmd(s): show version,show running-config,show vlan
> 10.1.1.1: End of run not found
> !
> =====================================
> Getting missed routers: round 2.
> opened network stream from 10.1.1.1 if () at /usr/lib/rancid/bin/drancid
> line 272.
> found_end = 0, clean_run = 0
> 10.1.1.1 dlogin error: Error: no enable password for 10.1.1.1 in
> /var/lib/rancid/.cloginrc.
> 10.1.1.1: missed cmd(s): show version,show running-config,show vlan
> 10.1.1.1: End of run not found
> !
> =====================================
> Getting missed routers: round 3.
> opened network stream from 10.1.1.1 if () at /usr/lib/rancid/bin/drancid
> line 272.
> found_end = 0, clean_run = 0
> 10.1.1.1 dlogin error: Error: no enable password for 10.1.1.1 in
> /var/lib/rancid/.cloginrc.
> 10.1.1.1: missed cmd(s): show version,show running-config,show vlan
> 10.1.1.1: End of run not found
> !
> =====================================
> Getting missed routers: round 4.
> opened network stream from 10.1.1.1 if () at /usr/lib/rancid/bin/drancid
> line 272.
> found_end = 0, clean_run = 0
> 10.1.1.1 dlogin error: Error: no enable password for 10.1.1.1 in
> /var/lib/rancid/.cloginrc.
> 10.1.1.1: missed cmd(s): show version,show running-config,show vlan
> 10.1.1.1: End of run not found
>
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss [at] shrubbery
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>


heas at shrubbery

May 5, 2014, 7:17 AM

Post #6 of 6 (297 views)
Permalink
Re: (no subject) [In reply to]

Thu, May 01, 2014 at 01:21:42PM -0400, Gerhard Mourani:
> Hello,
>
> I'm using Rancid 3.0 to check FortiGate configuration changes and it is
> working except that I receive every time when the script is running, the
> following diff.
>
> - set password ENC
> ttKtc1dKyMz19Q6J7FQ6TLuM4ijBajn0gOgs8OvSaaExqFScZf1ngJTXpyHOrg8gdkcZLYKnTAWNGooEasQAYgnzwTq1siZvMrE37H1tQaBhDvenHB94CP7W+Esp/82LBKVA57xuaAVpehH0WCeFLIjdogE+N8yBfcmObOqBYewbTt9xRL/MG+XwQqtjHeyGC5tsrw==
> + set password ENC
> Ig68IRG3Y25jMaueDr6VTnROaGLp2DbwMKjK7AzIkDserF+TDqcdSOKof+vGSfBL52TPZGNN/JXsC6SRIZcBrPm2yE3ciRgkX9FxoNmN2WieUBr8GEaEdwD4HpHFe31D13Sc+k9tHLczdXOCYnGVFXMZNH2zaa6ZIzSIQuYPPaWBltJolkCcdEHQoUjQ4tB8imTGmw==

this should fix that.

Index: bin/fnrancid.in
===================================================================
--- bin/fnrancid.in (revision 2837)
+++ bin/fnrancid.in (working copy)
@@ -225,7 +225,7 @@
}
}
# filter cycling password encryption
- if (/^\s*(set [^\s]*)\s(Enc\s[^\s]+)(.*)/i && $filter_pwds > 0 ) {
+ if (/^\s*(set [^\s]*)\s(enc\s[^\s]+)(.*)/i && $filter_pwds > 0 ) {
ProcessHistory("ENC","","","#$1 ENC <removed> $3\n");
next;
}

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo/rancid-discuss

RANCID users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.