[rancid] is there scripts for 3com router

heasley heas at shrubbery.net
Fri Jul 27 15:56:14 UTC 2018


Thu, Jul 26, 2018 at 09:25:54PM +0000, Piegorsch, Weylin William:
> Hello,
> 
> I tried the SMC script and, well...
> 
> Weylin
> 
> 
> [rancid at nsgv-prod-59 ~]$ NOPIPE=yes rancid -d -t smc babc273-1032es02.bu.edu
> loadtype: device type smc
> loadtype: found device type smc in /usr/local/rancid/etc/rancid.types.base
> executing hlogin -t 90 -c"" babc273-1032es02.bu.edu
> inloop is not configured for device type smc at /usr/local/rancid/bin/rancid line 126.

have you altered the smc definition?  It should be as follows:
smc;script;srancid
smc;login;hlogin

and that works properly.  you would add a definition similar this to
etc/rancid.type.conf for your own v2-like (or v3) script.  see the manpage.

> [rancid at nsgv-prod-59 ~]$
> 
> 
> -----Original Message-----
> From: heasley <heas at shrubbery.net> 
> Sent: Wednesday, December 27, 2017 2:02 PM
> To: Piegorsch, Weylin William <weylin at bu.edu>
> Cc: heasley <heas at shrubbery.net>; Adrian Dimitrov <adrian.dimitrov at efellows.bg>; rancid-discuss at shrubbery.net
> Subject: Re: [rancid] is there scripts for 3com router
> 
> Tue, Dec 26, 2017 at 04:39:09AM +0000, Piegorsch, Weylin William:
> > Would a script from v1 work in v3?  That’s what we upgraded from; the old server was circa 2002 or so.
> 
> it should, if the login script hasn't changed in an incompatible way with the device.  to use a v1 or v2 script in v3, the device type must be added to your rancid.types.conf; see an existing v2 entry in rancid.types.base, such as smc.
> 
> > Anyway, thanks for the SMC info; I’ll check that out.  Our 3COMs are so old I doubt it (the oldest we have running were installed around 1990 I think, with further installations until sometime 1999 - 2002).  But, it can’t hurt to check, maybe we can restore rancid’s service to some of them at least.
> > 
> > weylin
> > 
> > -----Original Message-----
> > From: heasley <heas at shrubbery.net>
> > Date: Monday, October 30, 2017 at 04:32
> > To: Weylin Piegorsch <weylin at bu.edu>
> > Cc: Adrian Dimitrov <adrian.dimitrov at efellows.bg>, 
> > "rancid-discuss at shrubbery.net" <rancid-discuss at shrubbery.net>
> > Subject: Re: [rancid] is there scripts for 3com router
> > 
> >     Thu, Oct 26, 2017 at 08:13:10PM +0000, Piegorsch, Weylin William:
> >     > There are no 3com scripts.  My predecessor had configured an SNMP thing, but that stopped working when we upgraded to rancid v3.  If you find one, let me know because I would love to use it.
> >     
> >     theres no reason that i can think of that a script from v2 would not work in
> >     v3.
> >     
> >     anyway, some SMC swtiches were marketed under a 3com name, so the smc device
> >     type may support it.
> >     
> >     > From: Adrian Dimitrov <adrian.dimitrov at efellows.bg>
> >     > Date: Thursday, October 26, 2017 at 06:57
> >     > To: "rancid-discuss at shrubbery.net" <rancid-discuss at shrubbery.net>
> >     > Subject: [rancid] is there scripts for 3com router
> >     > 
> >     > Hello team ,
> >     > 
> >     > Hope all of you guys are doing well. I have my rancid set up working perfectly fine for a long time now. I am backing up a lot of different devices successfully, but now I have to back up “3COM” router and I can’t find scripts for this type of device.
> >     > Is there someone who can help with this?
> >     > 
> >     > Best Regards,
> >     > Adrian Dimitrov
> >     > System Administrator
> >     > [Fellows-Mark-RGB_Sign]
> >     > Direct line:  ; Mobile: +359 876 7744 41; SIP URI (Telepresence): adrian.dimitrov at efellows.bg<mailto:adrian.dimitrov at efellows.bg> ; Website: http://www.efellows.bg<http://www.efellows.bg/>;
> >     >
> >     
> >     
> >     
> >     > _______________________________________________
> >     > Rancid-discuss mailing list
> >     > Rancid-discuss at shrubbery.net
> >     > http://www.shrubbery.net/mailman/listinfo/rancid-discuss
> >     
> >     
> > 



More information about the Rancid-discuss mailing list