Jan 052011
 

Firstly I will point out that this series of blog entries has nothing to do with Apple’s OSX operating system build for the iPhone retrospectively named iOS; these are about a far older operating system from Cisco that runs on most of their routers and switches – IOS. They are intended as ‘aide memoires’ for myself – a crusty old Unix geek who wanted to find out about this IOS stuff when he finally got sick and tired of consumer grade routers.

The router I’m using for all of this is a Cisco 881W running IOS version 15. This is a ridiculously overpowered router for a domestic broadband connection, but it does have lots of interesting stuff to play with.

Now to the disclaimer part – I’m no CCIE; I’m a Unix geek and whilst I have considerable experience with networking, it has all been with networking services such as DNS and DHCP. So anything you find here could well be done better in a different way. Or perhaps I’ve encountered a feature that shouldn’t be used just yet, or perhaps I’ve found something in my ignorance that could actually be useful!

Jan 052011
 

Becoming increasingly popular are various forms of streaming media services – Last.FM has personalised radio stations I can tune into on my phone, the BBC has their iPlayer which allows me to catch up on BBC TV (or radio) programmes I’ve missed, and my film rental service even has a streaming service that allows me to watch films without being worried about discs being mailed to me. All very cool of course, and it’s even quite handy but there are a few problems that need to be solved before streaming services can beat having the real disc – compact disc for music and blueray for films.

We sometimes look at these services under the best of conditions and rarely consider how they would work under the worst of conditions.

Firstly there is the quality issue. Whilst streaming music may well approach the quality of CDs, films and other forms of video are a long way from being of the same quality of the discs – sometimes not even getting close to the quality of DVDs when Bluerays are the quality to aim for. Sure it is no big deal – the convenience of online streaming makes up for the quality to a certain extent, but it does not replace the need for quality.

Secondly, reliability is an issue. Not only does streaming media (even audio) have a tendency to stutter to the point where listening or watching becomes unbearable, but sometimes streaming services just crash through being overloaded – very frustrating when it is half-way through a film. In theory most of our network connections have more than enough bandwidth to support streaming media – at least audio. In fact my own network connection is good enough for streaming video with just the occasional stutter – maybe just once an hour – and of course the occasional stutter may well because of other activity on my network. I do after all have people visiting my “server under the stairs” for blog postings and photographs on a regular basis.

However my wireless network is sufficiently bad that even streaming audio can get very bad in the evening. Not the fault of the streaming media companies that I live in a very dense environment with lots of wireless “noise”, but it still means that I tend to avoid using wireless networking except on devices where there is no choice. And on those devices I have sometimes been forced to put them away, or switch to using 3G.

It would be helpful if media streaming companies allowed people to buffer larger amounts of the media stream to assist in this. I would not mind waiting 10 minutes for a buffer to fill up to ensure that I could watch a film all the way through without stuttering. Or indeed wait 60s for an audio stream to buffer.

On the subject of media servers crashing, it is a little hard to see what can be done about this. The obvious thing is that streaming media companies need to be very careful about the code they write (or buy) to increase reliability. Software always has bugs, but increasing the importance of bug destruction would be very wise. Less obvious is to measure how reliable the media servers are at various loads, and limit the load to the level they can support reliably.

A message saying “please wait for an available film slot” is better by far than trying to start playing a film only to have it drop out half-way through!

Dec 272010
 

These were taken over Christmas Day and Boxing Day near Winchester (Otterbourne) with just a handful of shots – the batteries for my ancient Canon 1DS are somewhat reluctant in the cold – and it was very cold on the second morning!

Grazing In The Misty Morning

Grazing In The Misty Morning

Misty Morning

Misty Morning

Mist On The Downs

Mist On The Downs

 

Dec 122010
 

A certain Pastor Jones already notorious as the idiot who threatened to burn copies of the Koran on the date of the 911 attacks is rumoured to be invited to speak at some sort of English Defence League event. Well it appears he has found his appropriate level – the gutter amongst his far right hate friends. Of course the issue of whether he should be allowed to visit the UK has been raised, and the Home Secretary is said to be considering the issue.

Pastor Jones has allegedly said that prohibiting him from visiting the UK would be “incorrect and unfair”, and even “unconstitutional”. Well I’d perhaps agree with the unfair bit, but whoever said life was supposed to be fair? As for “incorrect” and “unconstitutional”, well Pastor Jones needs to read the Wikipedia article on the UK to educate himself on the fact that the UK is not part of the US so the US constitution doesn’t apply over here, and as for “incorrect” … who knows what he means ?

On a legal level, the Home Secretary certainly has the right to prohibit aliens (which is what the Pastor Jones is if he were in the UK) from visiting within certain constraints. So it is “correct” on that level.

Of course the meanest thing to do would be to allow him to visit and then throw him into prison for incitement to religious hatred – ignoring the fact that his threat to burn the Koran would count as that, just his presence in the UK could count as incitement to religious hatred. And given his history, it seems likely that what he says is likely to count to.

Of course Pastor Jones isn’t likely to realise that he could be imprisoned over here!