Tue, 24 Nov 2009
Running RANCID on top of BZR and with multihop
Long time, no write. Been busy moving countries, as you do.
Started a new job too. Been setting up RANCID and wanted to pull together all the pieces here:
- RANCID
- Let's start in the obvious place, www.shrubbery.net/rancid/. I prefer
my own, slightly different, expansion of the acronym. Really Awesome Network
ConfIg Differ. If you are not backing up or versioning the configuration
of your networking equipment you really should take a look at it.
- Patches for RANCID to use BZR
- RANCID only offers CVS and SVN support out of the box. I've been using BZR for a while and strongly prefer it.
Thankfully someone has provided patches to
add BZR support.
- Patches for RANCID to do multihop
- One of the other things I needed to add was support to reach a device via
another device. I used the instructions from here
and the updated patch from here.
My config looks a little something like
add user HOSTNAME {USER} add password HOSTNAME {PASSWORD} add autoenable HOSTNAME 1 add method HOSTNAME usercmd add usercmd HOSTNAME {/usr/local/rancid/bin/clogin} {VIA_HOSTNAME} add usercmd_chat HOSTNAME {#} {telnet IP_ADDRESS\r} {User Access Verification} {}Note that the host we are going via is already defined so we can reuse it's clogin details to reach it (though I did need to provide the full path to clogin). - Loggerhead
- To serve the BZR repo via a web interface I turned to Loggerhead. The only issue I have is trying to hide the RANCID log directory because I am serving it as a "directory of branches" straight out of rancid/var.
[2009/11/24 / tech / software permanent link]
Tue, 17 Jun 2008
Firefox 3 Download Day

"Set a Guinness World Record, Enjoy a Better Web. Sounds like a good deal,
right? All you have to do is get Firefox 3 during Download Day to help set the
record for most software downloads in 24 hours - it's that easy."
[2008/06/17 / tech / software permanent link]
Sat, 26 Apr 2008
Some helpful addons for Apache and PHP...
Jdub
points out a couple of packages which I'm off to install right now.
I've always redirected to a "one true" FQDN on my websites by using an extra
virtualhost container and a redirect rule. libapache2-redirtoservname to the
rescue!
I don't use as much PHP as a I used to but I'm sure that what little is on
there will find php5-xcache gives it a boost.
[2008/04/26 / tech / software permanent link]
Mon, 14 Apr 2008
Forking for fun(pidgin) and profit!
So we use Jabber a lot at work for internal communication. I've always used
Gaim^WPidgin but with the upgrades flowing through from Ubuntu Hardy I came
across what I thought was a bug
to do with size of (and ability to resize) the text entry window. But no, it's a "feature"!
The Pidgin ticket has comment after comment asking for this feature to be made
optional, or even better for the feature's parameters ("default size" and
"maximum size") to be configurable in the configuration file if not the GUI
interface. I for one would love to set and forget them at "4 lines" and "50%".
The developers of Pidgin don't seem to waver from their original decision, so
welcome to the latest FOSS fork: Funpidgin!
They have a .deb available but I can't be bothered switching just yet. Might
wait and see how this pans out and what path the Ubuntu package maintainer
takes with this issue.











