Search This Blog

Saturday, 16 May 2009


I just had my second shoulder arthroscopy and subacromial decompression (right shoulder) 4 weeks after my left shoulder was done. Same surgeon Simon Moyes @ the Wellington Hospital.

So far so good, similar pain as previous op. In fact very little. The nurses kept trying to pump me full of morphine but it was fine. Left shoulder is still a bit weak and I'm not allowed to raise it over 90ยบ for another 1-2 weeks. In fact it goes over, I tried it in the first week. Then physiotherapy starts.

So now I have to sit around not doing much for 6 weeks while the right heals ..

Then finally back to the gym and pain free shoulders - well pain free 'er than before I hope.

I'd had shoulder pain for 2-3 years in my left after a fall playing sport. I had physio at the time and it healed OK ... I then think I started down the normal man down gym routine and didn't pay too much attention to posture. Causing my shoulders to get impinged. More physio which didn't really work and finally an MRI scan revealed a genetic problem. The
supraspinatus tendon was basically taking a chicane as it went under the acromion. Made worse by being 30+ apparently. Tendons thicken !? .. so the operations main goal was to shave some of the bone away to allow that tendons path to smooth out. They also cleaned up some arthritus and fully re-attached the bicep tendon which they think got damaged in the fall 3-4 years ago ..

Saturday, 9 May 2009

Displaying code in a blog ...

Put the text between [code]here is some code[/code] - change the [] for <>

Why is Vista so slow copying files .. !

350MB File on a Gb network - no jumbo frames just straight vanilla config.

From vista to NAS- 60 seconds 6MB/s
NASto vista - 35 seconds 10MB/s

Tried IPerf to make sure the network was OK.

Vista as server 'iperf -s' and NAS as client - 8MB/s
NAS as server - 19MB/s

Time to hit google .. or install Windows 7

Thursday, 7 May 2009

TeraStation Pro (TS-TGL) - Home Media Server

So I 'borrowed' a TeraStation Pro (TS-TGL Models) from work. The idea is to use it as a POC before I buy my own NAS to see if it can replace my Windows 2003 server currently running in the garage. Its my file and network services (DNS, DHCP, IIS etc) server & also runs a virtual XP workstation which uses TVersity to push my media around the house. Really I have to leave it running 24x7 to get what I need from it. This is a total waste of money and since I recently installed an ecoeye mini wireless monitor I can now see how much !!

My requirement list :

1 - DNS
2 - DHCP
3 - File Serving
4 - Web Server
5 - UPnP Media Server
6 - Power off / Wake On LAN (WOL)

The Buffalos run an imbedded version of Linux. An OS I use at work on and off, comfortable enough to tackle it. I found a hacked version of the NAS firmware which allows TELNET access : and some excellent help @ the forums And so then allows you to butcher the OS and install apps enable NFS etc.

Loading the new fw was easy enough and this gave me telnet access. But its a really old Linux build so didn't have any of the package loaders. I stumbled across Ipkg for the linkstation also based on the PPC chip (same as TS-TGL) - worth a try. Downloaded, setup the repositories and it worked a dream :

Command reminders : 

ipkg update - update list of available packages
ipkg list | grep [package_name] - list package and filter on [package-name]
ipkg list_installed - list installed packages


I've used BIND before so that was my first try. There is a package in the Ipkg resources which installed and seemed OK.. But running it gave some scary errors. Googling for a fix led me to DNSMASQ which seems a way more lightweight SOHO DNS Server and probably more suited. Again it was in the repo so I installed, started, easy .. It uses /etc/hosts to serve my home domain, .. #1 Done


I have a mix of static and DHCP devices. When my servers running it serves the DHCP range, which is just a 20 host range from my home static, W2K3 also give me DDNS which is nice but not essential. My DSL router also provides DHCP and as I discovered some basic DNS resolution. With some 'manipulation' of the router from the CLI it turns out I can serve DHCP from the router which is always on and create a DNS Server entry for pointing to DNSMASQ. #2 Done

File Serving

Its a NAS, thats its job so by default comes with SMB... Setup my shares #3 Done

Web Server

Currently IIS which I run a basic Home navigation page, links to shares, HTTP views of files. Reminders of host names etc. I have an XP running TVersity which has always been fine for music, but was never great for Video, maybe lack of CPU etc but I found I could just serve my files using HTML file lists and browse using the PS3 browser and play .. works fine. So either I need to find a 100% reliable UPnP app or I need a replacement to IIS to keep doing this.

I also wanted to play with Apache :) .. The Buffalo's management app is web based, turns out being server by Apache. Its 1.3 but still does the job (2.x is in the Ipkg repo so thats a future task). I created some Virtual hosts for the sites I run and messed around with the config a little. #4 Done

10/5/2009 - I say done .. It turns out apache 1.3 has a file size limit of 2GB. Which is not good when I'm trying to push files to the PS3. This is resolved in 2.2 and I tried to upgrade but started to have problems with missing libraries. I have installed LIGHTTPD running on port 8081 to server the film part of my web site ..

Media Server

I knew this would be a pain. Having messed with TVersity for a while its pretty clear that this 'technology' is still developing. Add to that OpenSource and and OS I'm not entirely comfortable with then it becomes a world of pain. The forums discussed UShare & MediaTomb with the later tending to get the more favourable posts. Its also in the Ipkg repo.

Installed it and ..........

I ran a small test and imported a selection of files, music & pics (Theres no way this NAS CPU will do transcoding so I'll stick with my apache file lists for now) which it seemed to do OK and even better my PS3 found it.

I need to work on the list structure, the default one is OK but I prefer Artist | Album | Track so I need to get that working. It looks like the import.js script is the key to solving that. I also have a problem some file name characters. The doc talks about loading charsets which after 2 days I realised I had put in the wrong part of config.xml. Now I've corrected that MediaTomb errors with un-supported code page. # 5 In progress :)

To change mediatomb character set add :

<import hidden-files="no">

to config.xml under the 'import' section. Make sure you dont what I do and add them under the script section, cause then it wont work (well its not actually working for me but at least I get errors now) ..

09/05/2009 - Given up with the international characters. The log file reported that mediatomb didnt support the charset I was trying, in my case I tried iso-8859-1 / 10 & 15 .. Maybe the version in the optware repository is older than current.

Power off / Wake On LAN (WOL)

Not with this NAS. But assuming this one does all I need (so far so good) then I can research which onces do. At least my POC device has a lower power usage than a sodding great server ..

Friday, 1 May 2009

Paul Regan


I am Paul Regan, born Isleworth, London, UK and this is my blog of nonsense.

My Website