Twonkymedia

So next in my quest for the slug was to get the device streaming audio/video/pictures to my X-box 360.  This isn’t quite as simple as it should be.  The 360 requires a uPnP Media Server to feed media to it.  It just so happens that media player 11 and Windows media connect are uPnP Media servers, but fear not…

There are quite a few uPnP Media Servers available for the NSLU2, and after trying a couple, I decided on sticking with Twonkymedia as it worked so much better than the others.  The installation was a breeze, with a windows executable doing almost all the hard work for me, then I simply configured it in the web interface and it was up and running.

After just a few hours I purchased a licence key for the software and now have it set up and running like a dream.

Unslung it…

So on purchasing the NSLU2 (known affectionately as ‘the slug’) the very first thing I did was to move all the data off my 2 500GB external USB disks to make them empty.

The slug supports NTFS file systems (Windows 2000/XP) but only on one of the USB sockets, and its preferable to format the disks using the web interface of the slug – formatting them to the linux EXT3 standard.

So – once I’d formatted it, and got it to boot up, I created a share within the web interface and copied a few files to it to make sure it worked, and all was good.  The only challenging bit – if you haven’t got a linksys network you’ll have to change the IP address on the slug – this is defaulted to 192.168.1.77.  I’ve got a linksys router so I found it straight away, but I stil changed the IP.

Of course – this means that the slug is simply acting as a file server on the network, enabling my USB drives as network attached storage –  but it doesn’t stop there…

The next stop was: http://www.nslu2-linux.org/

Given that the slug is essentially a linux server, the source for the operating system has been released by linksys under the GPL, so is available for all.  Some enterprising people have taken the said source, and have created various firmwares to flash onto the slug to make it do an awful lot more.

 I read a few pages and then decided I’d install the Unslung firmware (http://www.nslu2-linux.org/wiki/Unslung/NewUsersGuide) given it is the version most similar to the Linksys firmware and the most straight forward for beginners.  I read through the install guide (http://www.nslu2-linux.org/wiki/HowTo/InstallUnslungFirmware) and then decided to flash my slug using the Linksys web interface, knowing there was no easy way back should it all go wrong…

The install went perfectly fine – within minutes I was ‘unslung’.  I then followed the instructions to the letter in order to ‘unsling’ my slug – i.e. get linux running on the hard disk rather than from a ram disk in the slugs limited memory.

Again this wen’t well and within a couple of hours, I had a linux box running on the network with 1TB of space!

Linksys NSLU2

I’ve recently purchased a Linksys NSLU2, enabling me to turn my PC off much more and leave the NSLU2 running on the network to stream media and files to the other devices in my house.

I’ll try and document the things I do on my NSLU2 in the coming weeks so others can take advantage of my findings/changes!

Windows XP Suspend/Hibernate USB Hub issues

On waking from a suspend or hibernate, Windows XP doesn’t seem to redetect/activate my USB hub, so all the devices that are plugged into it aren’t available until I unplug/plug it in again to allow the hub to be redetected. This is a pain for me, as I use media center and it wakes from hibernate to record TV programs via my DVB TV Tuner.

To work around this issue, I’ve got a script below which I place in my windows start menu/startup folder. This script listens for the suspend/hibernate/wake notifications from windows and disables/enables my USB Hub correctly, as well as renewing my IP address from the router.

If you want to try this, you can download it from here:
[download#14#nohits]

Though you’ll need to figure out your device ID for your hub and modify a few of the files. There is very brief instructions in the zip.

Budding Photographer!??!

I’ve added a new photography section which displays a few photos from my ‘portfolio’.

If you want to take a look, either press on the photography link from the menu, or follow this link to the page. 
When you get there, click on the thumbnails to see a higher resolution version.