Friday, April 6, 2007

Subversion on LinkStation #2 - Set up LinkStation

(#2 in my series about Subversion on a LinkStation.)

Before I replaced the LinkStation's factory-provided firmware with FreeLink I wanted to make sure that the LinkStation was operational. (I also wanted to ensure that I could restore the factory-provided firmware in case I messed something up, which is the next step.)

I connected its ethernet port to my router and turned it on. It got an IP address from my router via DHCP and fired up its services. Its default network name is "HD-HGLAN3BE".

It's got an SMB-based file share that, by default, shares up some files from its hard drive that would be handy for a Windows user. When I install FreeLink I'll be disabling the SMB shares and wiping away these files, but just for the record here's what you get from the factory:




Navigating over to http://hd-hglan3be and logging in with the default, incredibly unsafe user/password combo of "root/", I see the web configuration utility:



(Note: That screen shot and many others have been redacted. For security reasons I've blotted out IP addresses and such.)

The current firmware number is right there on that screen. Mine was 1.42. If you're following along with your own installation, make sure you take note of your firmware version number at this point.

Next: Be able to recover from a firmware mistake

Subversion on LinkStation #1 - Plan

I'm a source control freak. I keep all of my important documents in Subversion. OK, I keep all of my unimportant documents there, too.

I recently decided to set up a Subversion server on a LinkStation, replacing Archie, the Windows-based Subversion server that I've been running for a couple of years. Archie sucks up a lot of electicity, makes a lot of noise and hasn't been as secure as I'd like it to be.

Josh Carter did pretty much the same thing and he documented it in his article, "Build Your Own NAS/Subversion/Web/Anything Micro-Server". Unlike Josh, I'm going to use the FreeLink firmware (Josh used OpenLink) and my server is going to be dedicated exclusively to Subversion (Josh added Netatalk for Mac-friendly SMB sharing).

My LinkStation, which I purchased for US$284 at my local Best Buy, is a model HD-HG400LAN.



That means it's got a 400GB IDE hard drive, 266Mhz PowerPC processor, 4MB of flash memory, 10MB/100MB/1GB ethernet and two USB ports.

So here's my plan:
  1. Plan (done)
  2. Set up LinkStation (done)
  3. Be able to recover from a firmware mistake (done)
  4. Install Linux (done)
  5. Linux Security and Settings (pending)
  6. Install Subversion on the LinkStation (pending)
  7. Configure Subversion (pending)
  8. Backup procedures (pending)
  9. Uninterruptible power supply (pending) (reference)
  10. Import from previous Subversion server(pending)

Next: Set up LinkStation

Hello world!

TSIA.