Category Archives: Hardware

Home Improvements – Here endeth the lesson

For the story so far see Part 1 and Part 2. If you’re totally bored, then please don’t read on… this is the longest post yet!

So I got my Linksys NSLU2 home. I thought I’d fire it up and make sure it worked. There’d be nothing more frustrating than flashing it with the Linux OS, find it doesn’t work and then wonder whether the issue is with the new Firmware or the actual hardware.

Plugged it in, fired it up, plugged in and formatted a blank external drive I dug out of the cupboard. All good so far! I can’t plug in a disk with anything on it because the LinkSys requires disks to be formatted with EXT3.

Hmmm… what’s this… a firmware upgrade to the NSLU2 that allows it to read NTFS! That’d make the device usable until I get my head around the Linux options!

Loaded up the upgrade, all went smoothly. Plugged in my external hard drive to see if it works. Get “Drive not formatted” message in the NSLU2 admin screen, so it must not support NTFS after all. Oh well. Plugged the external drive back into my desktop PC.

“This disk is not formatted. Do you want to format it now? Yes/No”

My

heart

stopped.

An entire disk’s worth of data… gone. Video from when the kids were little, lots of photos… gone. I know what you’re all thinking… why wasn’t this data backed up? I have two responses to this. 1) It’s not that easy to back up a 14GB video file. 2) Part of the reason I was setting up this solution is to make automated backups more accessible!

Some have said that I shouldn’t have trusted the device with my data, but in my defence, it’s a shrink wrapped consumer device that’s designed to have drives plugged in to it. If I can’t trust this device with my data, I don’t have much use for it!

I kicked off a File Recovery scan and went to bed very sad.

In the morning, the file recovery had found a bunch of deleted files, but none of the files that were not deleted at the time of the corruption! I tried loading the drive up in a couple of EXT3 file viewers, but they couldn’t read the drive either.

I’d pretty much given up hope of getting my data back.

Then my neighbour nonchalantly suggests I try a partition table repair tool. I load one up and run it. It tells me “The partition table on the disk is incorrect. Would you like to fix it?” I click “Yes”. Bang. All my data is back!!!

Yay! Waves of relief! Not to mention proof that the Linksys had screwed up the disk. The partition table was written for an EXT3 disk, even though it was still formatted in NTFS.

Yesterday I took the Linksys back to Harris Technology and threw it at them as hard as I could. Actually I didn’t and they were incredibly helpful, giving me a full refund without any hassle.

So back to the drawing board. Now that I realise how precious that data is to me, I’m going to have to get a proper, RAID based network drive solution. More money 🙁 I’ll probably go for a Thecus N2100.

Lesson the First
Imagine losing all your data that is not backed up. How do you feel about that?

Lesson the Second
No, really. Losing it. Right now. Seriously, how do you feel about that?

Weigh your reaction to the above questions against the cost of getting dedicated backup.

Here endeth the lesson.

Update: I was talking to Josh last night and he said it wasn’t clear that I hadn’t installed the funky open source firmware on the LinkSys box yet. It was running the latest official firmware release. I probably also didn’t emphasize enough that I wouldn’t recommend anyone buying one of these pieces of junk

Home Improvements – Part 2

I’ve purchased my Linksys NSLU2 🙂

Now I want to make some modifications. The issue is that there are a number of different firmware options to choose from.

My requirements:
– Serve files for media (Basic functionality for all firmware)
– Read from FAT32 formatted external drives (isn’t provided by the base firmware!! The device requires all disks to be formatted!)
Bittorent client
Subversion server

Based on this comparison of different firmware options I’m going to have to look at a full linux based OS. Unfortunately I’ve never used Linux, so trying to get it to work on a small memory/slow processor device is going to be a steep learning curve.

Stay tuned for the next exciting episode.

Home Improvements

I’ve annexed a room at my house to be my ‘den’. First order of business is getting some entertainment in there.

Requirements:

  • Watch DVDs
  • Watch other media from my computer
  • Reasonably inexpensive

My current solutions contains the following components:

  • Xbox running XBMC as a games/media streaming console (just purchased from Global Consoles)
  • Some sort of network storage so I don’t need to have my PC running constantly.

The network storage decision is narrowing down. I considered solutions such as the Thecus N1200. I dismissed this as being overpriced and probably overkill for my needs.

My current front runner is a Linksys NSLU2. It doesn’t have any internal disks, but has two USB ports to plug in external drives. The real beauty of the device (affectionately known as the ‘slug’ by fanboyz) is that there is an open source Linux based operating system that can be installed to it. This adds lots of extra functionality like all sorts of servers (print, bittorrent, iTunes, media/photos). I was even thinking I could install svn on it and it can be my source control repository.

I’ll let you know how my plans proceed. Any advice/comments would be very welcome!

Paper and the metric system

Everything you’ve ever wanted to know about ISO paper sizes (such as A4), which is used worldwide. Well, except in North America. Maybe one day they’ll catch up. Maybe not. The article talks about the resultant difficulties of exchanging documents between North America and The Rest Of The World, and also notes the different hole punch standards.

It’s related to the uptake of metric, of course. So how many countries are resisting going to metric? According to this FAQ a survey some time ago concluded not many: Liberia, Burma, and the USA.

Mind you others, like the UK, haven’t totally switched, and still use imperial for things like distances.

Communication with pre-vocalisation humans: a review

Earlier I mentioned that Cathy and I were trying to communicate with Owen using sign language. I’m here to report how that went.

It took a while. Our signing was persistent, and eventually we started seeing him signing back at us, although because of his impaired fine motor skills (what with being a baby and all) he didn’t do a good job of making the “correct” or taught signs. But we knew what he meant, and we consistently “corrected” him (by repeating our understanding back using the right sign), and saw no change. Once he’d figured out the sign for something, and he was getting the right response, he was happy. It took more than six months for him to change his sign for Cat from his personal sign (sticking his fingers to his lips) to that similar to the right one (pulling at whiskers on your face). He’s still signing “more” incorrectly, but we know exactly what he means – and he couples it with a spoken “Mor” nowadays.

One thing that I noticed was that his vocabulary was expanding steadily, until it suddenly collapsed. And that coincided with him beginning to vocalise – as soon as he started making distinguishable sounds, it seemed like all the hand signs fell out of his head. They’ve slowly returned, but it was a major disappointment to go from understanding most of his wants to understanding few of them.

A downside of sign language is that it’s hard to read in darkness. So going to a crying baby in the middle of the night and getting him to tell me what was wrong/what he wanted didn’t work so good.

In balance, I’d say that signing helped a lot. Owen’s a very calm child, which I partially attribute to his ability to tell his parents what he wants – and when we’re able to tell him that we understand, but he’s not getting any more chocolate until tomorrow, his frustration isn’t due to a communications failure.

More broadband in Crikey and the ABC

Economist Joshua Gans has taken up my cause of “what the hell do we need fast broadband for?” in CoreEcon More broadband in Crikey and the ABC – he asks, “why should we give money/monopoly rights/subsidization to Telstra to create a higher speed network? If there was some economic benefit in it then it would fund itself.”

Would someone please ask Kevin Rudd that same question? Please don’t spend $10b of my taxes so that pimply-faced teenagers can download porn faster.

Japan and Korea has pervasive 100Mb networks. Has there been a big business uptake? No, they’re using that bandwidth for gaming. Don’t get me wrong, gaming’s great and all, but I’d rather you spent my tax dollars on… I dunno… stopping global warming. If I want to game, let me spend my money on it, not the taxpayers’.

It used to be that TV was the opiate of the masses. Now it appears to be downloadable video is.

The easy way to record any audio playback in Windows

People jump through all sorts of hoops trying to record audio direct from the source, which is particularly tricky when it’s a WMA or Real streaming cast.

But it’s actually dead simple to do this, at least for short periods: (Instructions for Windows XP)

Windows XP volume control1. Double-click on the Volume Control speaker in the taskbar. The full Volume Control will open up, with lots of different levels.

2. Click Options / Properties. Then in Adjust Volume For, choose Recording. Then make sure either Mono Mix or Stereo Mix are turned on. (Obviously Mono is sufficient for streaming of AM radio stations, for instance.) Then click OK.

3. The recording levels will then be displayed. Click on Select for the Mono or Stereo Mix option you’re going to use, and adjust the volume to something sensible. This will tell Windows which of the many “inputs” you wish to record audio from.

4. Leave the recording levels visible, and go and open Sound Recorder, as well as whatever sound source you want. When you click Record in Sound Recorder, you should find it successfully records whatever sounds are outputting from the computer at the time. Adjust the volume level to suit.

As many know, Sound Recorder will only record up to 60 seconds at a time. So it’s not perfect, but it is built-in to Windows, so everybody has it, so it’s a good quick’n’dirty solution for short recordings.

I’d assume that other recording tools that can record for longer periods would also use the Volume Control applet to choose which input they’re taking. At least I hope so.

Mediagate MG35 media player

Many of us watch video on our computers. But I reckon most of us would prefer to be reclined on the couch watching them on our TV instead. Sure, you can burn the content onto a DVD, but it’s time-consuming, and not really worth it for once-off viewing.

There are solutions though: Apple TV is one, though it’s been criticised for its poor picture quality and of course it’s somewhat tied to the iTunes ecosystem. And as far as I can see the most popular torrent formats such as DivX/XVid aren’t supported. (For when you’re playing those… umm… public domain movie torrents…)

The killer for me though is that it needs a widescreen TV. Call me a luddite, but I don’t have one yet. I’ve got a 5-year-old 4:3 TV that is doing just fine thanks, and I’m not planning on replacing it for a few years yet.

Mediagate MG35Someone put me onto the Mediagate MG35, though admittedly I was primarily looking for a network shared drive at the time. This turns out, in a way, to be both a shared drive and a media player. Bonus. And when Zazz had it on special, I threw caution into the wind and ordered it. You can get them either without a drive (just install an IDE drive yourself) or with one already installed. I was feeling lazy and went for it with a 250Gb drive pre-installed (which beats the crap out of AppleTV’s 40Gb version…)

It’s got a white Apple-like front, which doesn’t fit in brilliantly with my livingroom setup (mostly black, which I prefer, it fades into the background while watching telly) but given it’s not large, and the sides/back are black, it looks okay. A bright blue light goes on when it’s running, but you can choose to turn this off. It’s quiet, and fairly easy to setup. You either plug it via USB directly into your computer, or use an RJ-45 and plug it into a router. It picks up an IP address, and you’re away. (Note the manual warns against both USB and Ethernet connections simultaneously).

USB it happily sees the device as a drive, and you can copy files to/from it. By Ethernet you have to install a driver (which I’m fast realising is a disadvantage with most domestic-grade network drive devices) before you can copy files. USB is faster than Ethernet, but the other advantage of the Ethernet connection is that it can play files off a computer over the network, onto your TV, by creating a Shared Drive on your computer. There’s also a Wireless version if you prefer not to have blue cables trailing around your house.

(The manual is a bit vague about it, but it turns out the share needs to be accessible to one of the following username/password combinations: Guest / (blank); Administrator / (blank); Media / gate.)

It supports numerous formats including MPEG 1,2,4 and XVid, as well as various music formats and JPEG photos. I had some trouble with a couple of MP4 file I tried (an ABC “Vodcast”); it recognised them but wouldn’t play them, so that requires further investigation (and possibly the latest firmware). You choose which file(s) by browsing the device or a shared drive using a nice little remote control, powered by a watch battery.

Connection to the TV/stereo is by S-Video, optical, component or olde fashioned RCA/Composite.

And the playback quality? Well I’m no videophile, but I reckon the quality is pretty nice; very watchable, and the sound is good. Provided the source file is good, of course.

So all in all I’m very happy with it.Thumbs up!

The downsides? Not as many supported formats as the rival DLink DSM-320. In particular no WMV or MOV support, so protected legal movie/TV downloads will remain stuck on the computer.

Priced from A$190 (without HDD). Other cheaper variants such as the MG-25 (which is USB-only) are also still available.

Re-arranging my AV cables

I’ve almost got my MG-35 media player box thingy working. (More to come on this). One of the hurdles was finding somewhere to plug everything in.

Perhaps my TV (a Loewe Profil Plus 9472) is not the best-endowed in the world, but it only has two Scart connectors (which I can obviously use with adaptors to accept Composite/RCA) and an antenna input. It also has audio output, so I can feed back to an amp. Oh, and composite/RCA at the front for camcorders and/or messy people.

But two isn’t quite enough when you’re dealing with:

  • DVD player
  • VCR (remember them?)
  • XBox
  • Digital media player

On the audio-only side, I’ve got the CD Player and the iPod (dock). Thankfully no turntable or cassette deck. The amplifier I’m trying to feed these into doesn’t do too badly, with inputs for two VCRs, CD player, tape, turntable. (Actually it’s a Receiver, since it also has a tuner, but I usually think of it as an amp).

So, how could I get this all working without going out and buying a new switchbox or anything? Well I ended up sitting down with a piece of paper and mapping it all out. I tried to resist firing up Visio to work it all out.

Hifi cables diagram

The priority here was to get absolutely everything plugged-in so that switching between them would involve pressing buttons, not plugging/unplugging. And no cables hanging out the front of the various devices. As tidy as possible.

And miraculously I managed it. After a bunch of re-arranging and rummaging behind things, it’s all plugged in. The only thing that didn’t work was the iPod going into the Phono socket. I forgot those sockets use some different standard thingy so you get distortion. It’s going into the Tape Monitor inputs instead.

Yes it’s true that sound/video quality will obviously degrade slightly each time it gets switched through something, but at present this is not a huge priority. It all looks okay, though if I decide later that the XBox picture looks too fuzzy, I can re-route it direct into the TV (if I have the energy).

Next steps:

  • Teach the others in the house how to run everything
  • Check nothing’s overheating. The XBox sits right on top of the amp, which is not ideal — the amp probably needs some breathing space.
  • Figure out a way of consolidating the remotes (I do have a “universal” remote, but it only talks to about half of it)
  • Sort out a way of plugging everything except the VCR through a switch that can be turned off from the socket, to save power. 7 number of devices sitting on Standby most of the time isn’t efficient, and wastes energy.

I might also get some new hifi furniture. That old Ikea setup isn’t very pretty.

And next time I buy a TV? It’ll be one with plenty of inputs.

Greening via virtualisation

Ars Technica reports that multicore processors and virtualisation will see the (physical) server market shrink. (Not actually a reduction in the number of servers, mind you, but a slowing of growth from 61% over 3 years to 39%).

Turns out this could be good for the planet. As Treehugger says, virtualisation is a good way to green your servers by not over-providing for occasional peak processing loads. Makes sense, especially if the stats are right: that most servers only run at a load of 5-12%, but burn hundreds of dollars worth of power every month.

Technology lets down playback

I can think of two examples where digital media has limitations which affect the fidelity of playback in a major way: with music it’s gapless playback, often noticeable on MP3 players and with CDs on some players. With DVDs it’s layer changes, again, worse on some players than others.

This shouldn’t be the case, of course. Digital media of course is meant to be better than analogue, in every respect. I don’t know if there are standards mandated in the relevant formats, but perhaps there should be… or at least some documented workarounds, such as recommending where DVD authors place layer-changes.

After all, these kinds of things can ruin the enjoyment of a movie or piece of music if handled badly.