Little T in the Cog linux

Raspberry Pi


I've finally ordered my Raspberry Pi! I've been sitting on the fence about getting one of these little guys for a while but the new model "B" with double the RAM (now 512MB) and more importantly on board ethernet pushed me into buying one (and hey, at only NZ $55 delivered it's hardly a massive outlay). I plan on replacing my Intel Atom with it (so run my DNS, DHCP, probably this website etc) but if I get bored of that I'll grab another and then see if I can get it set up as a media player to replace the Mac Mini in the lounge - that would require some sort of Flash playback however as we do stream a lot of shows, and at a decent resolution that could be a big ask.

I'll probably end up running the Raspbian distro on the device, which is basically Debian "Wheezy" optimized for the Raspberry Pi hardware so I'll still have access to pretty much all the standard packages that I know and use (other than Xen virtualization which is i386/x64 only, so I'll investigate getting Linux VServer set up on it).

The only problem with this is just after I ordered off Element14 I received an email saying that it won't arrive for nearly a month - at least that gives a bit of time for my PiBow case to turn up!

New Webserver


I've decided to give the Hiawatha webserver a try. There are a few reasons for this - I've been using Nginx on this box for the last few months and while it has a much smaller memory footprint than apache apparently Hiawatha has an even smaller one (it is used on embedded systems) and is just as quick serving static content. It also has a very strong focus on security (with built in protection for things like XSS and SQL Injections) and a really clear, easy to understand configuration syntax. Not that I can make use of it on this site as this blog is all plain HTML, but if you're using PHP/Perl/Ruby it has a nice built in fast CGI service tha is very easy to set up.

Anyway we'll see how it goes - it's not like I can't switch back again if needed :-)

Final Firmware Update Released for the N9


Nokia have released the third (and final) update for the N9 - by the time I bought mine the first two were already released. I'm not totally sure what this update will bring as I'm still waiting for it to appear in my phone's update app, but apparently it is more of a bug fix release rather than introducing new changes. A limited "change log" can be found here.

How do I know it is the final release? Because on the same day they announced it they also bid farewell to the remaining MeeGo devs, meaning there is nobody left at Nokia building any OS software any more (Symbian development has long since moved to Accenture).

This truly is a sad day for Nokia - they have completed their transformation into a pure hardware maker depending on others for their software and ecosystem, no longer in charge of their own destiny. And seeing as Windows Phone 7 hasn't exactly worked wonders for them* I wonder if there will be a Nokia in two years...

* Their share price is currently sitting around "junk" status - as of writing it is $2.12 and has been dropping steadily for months now.

New Linux Toy


I've just gone and got myself another Linux based toy :-) Yup, I now have in my possession a shiny new Nokia N9! I ummd and ahhd about it for quite some time - I know it's been effectively cut loose by Nokia, I know that Nokia's share price is so low right now that they are in danger of completely collapsing (though I note that the N9 is one of the phones that kept them afloat - it has been amazingly well received everywhere it was actually launched). I am well aware that I'm buying into yet another dying platform.

So why did I buy it then knowing all that? Well, basically I'm a tech magpie and a sucker for a new toy and I *really* liked MeeGo after playing with it in a store (it's super smooth, as smooth as my girlfriends iPhone 4 at least). I like the way it multitasks (right up there with my beloved webOS), I love the Skype/google/etc integration, I love the hardware (sooo well built and sexy to boot!). And the real kicker? The guys (and gals?) over at Nitdroid have released alpha 2 of their port of Android 4.0 and it's looking really good - the hardware is well suited to Ice Cream Sandwich seeing as it has no buttons on the front and youtube clips of it in action are looking really good. It's still a few months away (at least!) from prime time but the developers are steaming ahead at a rapid pace so it's nice to know that should Nokia fold tomorrow and cease all support for MeeGo (they have promised updates until 2014) that an Android port is a viable option. It also helps that it is waaaay less buggy than webOS on my Veer is (though I'm still getting used to the on screen keyboard - the Veer's keyboard is really nice considering how small it is). And finally, it was on sale so I couldn't resist!

Did I mention it's shiny? :-)

Another Linux Workstation


My trusty old Apple PowerBook is now running Debian. I've recorded the tweaks needed to make everything work here.



I've just switched this site over to Nginx from Apache. The main reason for doing this is Nginx is far better suited to lightweight sites like this as it is especially fast at serving static content while using a lot less ram and seeing as I'm not doing any fancy URL re-writing or other things like that Apache was a bit overkill. The reason I went with Apache in the first place when I first started this site a few years ago was simply it was what I was used to - all the web servers I've configured over the years have been Apache servers so it was all I knew. But since switching jobs about a month back I've been exposed to Nginx and after doing a bit of reading about it have decided that this little Intel Atom box with this very lightly trafficked site would be much happier with something a bit smaller and simpler. My first thought was to go with something like Araneum as it is really tiny and efficient with very few options so securing it is pretty easy. However Araneum isn't in the Debian repositories and the only .deb package available from the Araneum website is for i386 (I'm running amd64 on this box) and I certainly don't want to rely on compiling from source each time the server is updated, so Nginx it is*.

To be honest this site sees so little traffic I could probably run pretty much any web server :-)

* I do like how Araneum provides a Haiku package though - BeOS represent!

Ubuntu 11.10


And I'm back to using a Linux workstation <3

I've recently switched jobs, leaving the telco for a web hosting outfit. In my new workplace we can choose which OS we want to use on our workstations (or even provide our own workstations - a bunch of guys are running Macs, the rest pretty evenly split between Win 7 and Linux) and I'm happily running Ubuntu 11.10 on my nice dual 22" screen rig. Well, when I say happily it's nearly all rosy - I can't say I'm thrilled with Unity. It's not that the concept is bad, or I can't work with it, no it's that it is simply a bit too buggy for my liking. The last version of Ubuntu I used was 10.10 and even then there were some regressions in regards to stability (and IPSec broke as well...) but 11.10 seems to take it to a new level, it honestly feels like I'm using a beta OS a lot of the time as I've had a few strange issues (I've "lost" windows a few times now, once I unlocked the desktop only to be greeted by a white screen, every kernel update seems to break the ATi drivers, terminal has crashed twice now...).

I'm actually thinking about installing vanilla Debian, the only thing putting me off is the fact that it would take me a day or two of tweaking to get all my apps installed and set up the way I like. I'll give Ubuntu 12.04 a whirl when it comes out in two months but if that isn't up to scratch I'll go back to tried and true Debian Squeeze.

Tweaking vim


Well it's only taken me about 5 years but I've finally discovered the spell plugin for vim. Seeing as I use vim to blog with and my spelling is terrible (hey, I'm a child of the spell-checker-on-phone generation!) I thought I'd install the plugin and give it a whirl - suffice to say pretty much every entry on this blog had at least one typo/spelling error!

Hopefully from now on you'll notice fewer spelling errors going forward :-)



I've now got a full Nagios build running at home, monitoring various systems (my ADSL router, the bare metal Xen host, all the guests, my NAS etc) in my house. I originally installed it simply so I could check when updates were available for the Debian systems I have running here (rather than having to apt-get update manually to check) by using snmp coupled with a script that checks every night for updates but soon got carried away and now I'm monitoring and graphing (with cacti) a whole bunch of stuff.

I've installed Nagios before but it was a long time ago - either I knew less back then than I do now (quite possibly!) or it's got a lot easier because within about an hour I had monitoring, email alerts etc all working (and that time includes building the virtual host!)

<3 Nagios

Apache Bug


I was just reading about this vulnerability in Apache (the web server that pretty much owns the internet). Quite nasty, a single machine can crash a web server with a simple http request. The Apache guys are scrambling for a fix which should be out in the next few days but until then there are a bunch of things you can do to mitigate the bug.

Guess which web server I'm running on this box... <gulp!>

UPDATE: And it's fixed - go get your apt-get update on.