October 2008

You are currently browsing the monthly archive for October 2008.

Satellite engineers have a very poor showing on the Internet. I started writing about satellite stuff because of how difficult it has been for me to find reliable information. I’ve had to do a lot of learning by doing. Perhaps other satellite engineers enjoy their business being a black art, but like locksmiths and security alarm salesmen, they’re just waiting for the light of responsible disclosure to toss their world upside down.

And that brings me to a trend I have noticed in the satellite Internet business. There are two camps: radio guys who somehow configure a router, and IP guys who somehow align an antenna. Usually the IP guys do better in business than the radio guys. Perhaps this is because radio guys tend to be former military and unused to competition. Perhaps this is because they think all you have to do is deliver a carrier and everyone is happy. But the customer doesn’t care about Hertz, he cares about bits. And really, the space link is still a Layer 1 problem, and the harder work is above that.

On with revealing a little black magic.

Read the rest of this entry »

Tags: ,

Update 2009-02-12: This bug appears to have been resolved with WordPress 2.7.1.

I noticed when reviewing a recent post that WordPress was “helpfully” replacing two hyphens with emdash, three dots with ellipsis, apostrophe with curly apostrophe, etc. It does this even between <code> tags – on the second line and beyond. I appreciate that WordPress does this when I’m writing in a journalistic style, but I’m also a programmer and engineer, which means it hinders as often as it helps.

Read the rest of this entry »

Tags:

KGTK is a wrapper utility that allows GTK applications to use the native KDE file open/save dialogs. I cannot stand the GTK/Gnome dialogs, and I this helps apps like Firefox maintain a consistent appearance with KDE.

I’ve packaged the latest release, 0.10.0, for Ubuntu Hardy amd64 and i386. It is available in my repository now. Source packages are provided, so any other Debian-based distro or architecture should be able to build it.

Tags: , ,

I frequently travel to the Middle East, which means I often find myself on the wrong end of a slow Internet link. Sometimes that is oversold undersea fibre, such as in Dubai. More often – because of my work – it is VSAT. I’m an engineer, which means I’m a curious monkey that takes everything apart just to understand how it works. Network topology is one of those things.

Read the rest of this entry »

Tags: , ,

I’m a network engineer, and I run Kubuntu on the desktop. Which means I often run applications as root: Wireshark, Ettercap, Zenmap, etc. I prefer a seamless desktop experience, meaning I like my GUI customisations to apply to root applications, not just those running as my own user. Secondly, I like to directly launch GUI apps from a root terminal.

Read the rest of this entry »

Tags: , ,

Update 2012-01-18: This guide has been updated for recent changes, and is safe to use on current Ubuntu and Debian releases.

One of the reasons I started this blog is to write about problems I’ve solved that I can’t find answers to already on the web. Today, let’s talk about moving your linux install to linux software raid (md raid / mdadm). This post assumes you are running Ubuntu Linux 8.04, but any Debian-based distro from the past two years, or most other distros, will have similar commands.

We start with an install on a single 80 GB SATA drive, partitioned as follows:

/dev/sda1 as /, 10GB, ext3, bootable
/dev/sda2 as swap, 1GB
/dev/sda3 as /home, 69GB, ext3

We want to add a second 80GB SATA drive and move the entire install to use RAID1 between the two drives. So the final configuration will appear:

/dev/md0 as /, 10GB, ext3
/dev/md1 as swap, 1GB
/dev/md2 as /home, 69GB, ext3

Where the raid arrays are:

md0 : active raid1 sda1[0] sdb1[1]
md1 : active raid1 sda2[0] sdb2[1]
md2 : active raid1 sda3[0] sdb3[1]

Here there be dragons. As always, back up your data first. If you don’t know how to use rsync, now is an excellent time to learn.

Read the rest of this entry »

Tags: ,