NinjaServer
There comes a time in every man’s life when he must begin to consider his tech nerd options. Sure, USB hard drives are convenient, somewhat reliable, and portable, but in a household with two laptops, a wireless connection, and no desktop computer, the vision and dream of a home server starts to take hold. Imagine…near-unlimited storage options, no need to plug in external drives for backup. Properly done, it’s a dream come true.
Secret, stealthy, and secure. It’s as if a ninja would be taking care of all our files.
Earlier this month, I decided that now is the time for our home server. Let’s step back and take a look into my vision for the Ninja server.
- Ninja should back up our two laptops over our wireless-G LAN at home.
- Ninja should store all our music and photos, eliminating the need to keep those files on our space-starved MacBook hard drives.
- Ninja should be accessible through VNC from other home computers and our iPhones.
- Ninja should have 1TB or more of hard drive space.
- Ninja needs to be USB 2.0 capable.
- Ninja should be cheap and not have high initial costs; i.e., what can be offset by selling some of our external hard drives.
Given that we are a Mac household, it would be much easier to run a Mac as our home server. Which model fits the bill? I wasn’t looking to spend more than $100 on the computer itself; as a quaint file server, any of the Macs produced in the last five years would be overkill, both in processing power and on my wallet.
I began perusing the Lancaster Craigslist computer parts board, which has experienced a welcome spike in traffic in the last 6-12 months. After some time and consideration, I decided that I was looking for any model of the Power Mac G4. Most G4 towers are relatively speedy computers, even to this day, and while their power consumption isn’t optimal, the G4 offers amazing expandability options, and with a minor hack, can run the latest Mac OS.
I found a cryptic listing where a fellow was trying to unload his G4 tower and a flatscreen monitor for $300. I have no use for the monitor, since my vision is that Ninja will sit happily in a corner, maybe with the cable modem on top, stealthily serving our files. I bargained down to $75 for just the tower, and picked up the computer that night. While his listing showed a Yikes/Digital Audio-era G4, what I actually bought was an anomaly: a 733mhz “Quicksilver 2002” G4 model. This omission on his part was welcome; the newer computer, the better, and I think I got a very good deal for only $75.
One of the limitations of installing Mac OS 10.5 is that the installer will refuse to run if it senses that the computer is slower than a 867mhz G4. I wanted some of the extra functionality that 10.5 offers, so I attempted a workaround (described here) to install it on Ninja. The workaround involves entering code in Open Firmware to trick the system into believing it’s faster than it really is. I did have an issue with this: my G4 did not want to boot into Open Firmware using the traditional Cmd-Opt-O-F key combo on boot. I’m certain that this problem was due to my Logitech keyboard, whose keymap drivers probably don’t load until later in the boot process. I did some digging and found that holding the programmer’s key during boot (the tiny pinhole button below the power button on the front of the Mac) would allow me to boot straight into Open Firmware.
The main hardware issue with these G4 towers is that their hard drive bus is IDE, and won’t accept drives larger than 128GB or so. Since I want to serve large media files, I purchased a Sonnet Tempo SATA PCI card, which was a bit pricey, but comes with a guarantee of plug-n-play Mac compatibility. With it, I purchased a 1TB Western Digital Green SATA hard drive as the main drive for the server. (The stock hard drive with the computer is 80GB, which I’ll keep as the boot volume, and possibly a Time Machine backup for my wife’s laptop.) I also acquired a IOGear USB 2.0 PCI card to connect our external hard drives, since this era of G4 only has USB 1.1. Both the SATA and USB cards plugged and played last night without driver installs or other issues, which was an excellent experience.
Some toys I’ve installed on Ninja so far: iStat Server, which allows me to monitor Ninja’s stats from my iPhone, and a VNC client to login to Ninja for minor maintenance tasks.
What’s left to do? Quite a bit, actually. I need to bring Ninja to its final destination near our cable modem and router, set it up as a shared volume accessible at login on our laptops, map the Pictures and Music folders to Ninja, finalize the Time Machine setup so that backups occur seamlessly over the network, and install Mozy Unlimited to give Ninja an external offsite backup.
Having a Ninja take care of our files…that will be a welcome addition to the family.