Free router firmware

I finally got around to upgrading the firmware on my Linksys WRT-54G wireless router. I debated a year or two ago about installing the SVEAsoft firmware, but as that cost money, I decided aginst it.

Whilst there’s nothing hugely wrong with the original firmware, the new dd-wrt.com firmware is just so much more flexible, and allows QoS, WDS and a few other funky options.

The thing that got me started on this one again was the article on lifehacker linked from the makezine which made me seem so very easy.

A couple of things caught me out on the way, and I had to do a hard reset after installing the initial minimal firmware, and as I was using the v23 SP2 version it messed up the passwords and needed the hard reset to allow me to log in, as password files changed, but apart from that it was pretty plain sailing.

I now have a nice Version 2.0 WRT54G running DD-WRT V23 SP2 and it all works fine.

LED Badges

I just bought a little LED badge off ebay, that displays programmable messages scrolling across it. It was relavitely cheap as an output device that could be attached to a server, and might provide some fun on visit days.

Of course I knew that the software that came with it would be only for Microsoft windows, and although it is possible to use the surface mounted buttons on the back to reprogram the messages, it would be rather long-winded.

So when it arrived today, the first thing that I did with it was load the software onto a windows machine and play with it to find out what the communications requirements were.

A quick test with the software determined that even with no device plugged in, the software worked – indicating that it was just “fire and forget”, there was no hand shaking going on – would make life a lot easier.

Out came the data analyzer, and after a couple of false starts, the baud rate was found to be 1200, 8 data bits, 1 stop bit, and no parity. Nice and straight forward.

Fire up the mac laptop, with a null modem cable to the keyspan USB to serial adapter, and quick edit of some WellyWanger comms code, and I can capture the data that the software is sending.

Now for the interesting bit, the data is not just an ASCII message being sent, so I have to capture the data as something other than ASCII – I prefer to look at it in decimal, besides it’s a little easier to present the data in decimal in Java than it is in Hex.

The software allows for 10 different messages to be stored on the badge, so I try sending a single character ‘A’ to channel 0 and channel 1:
The data stream captured is:

251 243 89 254 251 246 1 16 2 0 254 = 'A' channel 1
251 243 89 254 251 246 0 16 2 0 254 = 'A' channel 0

Try sending character ‘B’
251 243 89 254 251 246 0 16 2 1 254 = 'B' channel 0

Try sending ‘AB’ to see if there is a char count:
251 243 89 254 251 246 0 1 2 0 1 254 = "AB" channel 0 (no char count!)

Changing the other options and logging the output takes about 1/2 hour, and gives me a bunch of data to work with – I’ve worked out most of the protocol.

A little programming work this evening in Java has resulted in a couple of classes which run from the command line and allow programming of the badge from Mac OS X.
A GUI might have to come later on, but for now I’ve got a command line program that has a number of options, allows you to program all 10 channels, has the first 96 characters mapped out in the conversion. This gives me the ability to use the badge as a status display on a server when I’m not using it as a badge.

Chicago and Indianapolis trip

album391/DSC_2140.jpg
I’ve just been to visit a student doing his placement in Indianapolis in the US at the end of last week, and I had a really good time.

Apart from the Spiderman 3 trailer, I also got to visit the Indianapolis Speedway,
as well as the 103rd floor on the Sears Tower, the bar on the 95th floor of the John Hancock Tower, album391/DSC_2214.jpgWrigley Field,
Millennium Park, Navy Pier, as well as riding on the ‘L’ train. We also managed to visit the Voodoo lounge in the Redfish restaurant and listen to some pretty cool R&B as well as looking around the water tower.

Phew, now that I write it down, I did do quite a lot, with only 2 days in Indianapolis, and less than 24 hours in Chicago.

album391/DSC_2234.jpg

The whole gallery of 195 photos are here for you to look at, some of them are parts of panoramas that I’m going to stitch together and put up later.

Student visit

album367/AlicePit.jpg

I’ve just done my first industrial year visit, and I got a real doozie. I had to visit r0n1n, who is spending the year at CERN in Switzerland.

So whilst there I had a tour of some of the facilities on and off site, including ATLAS, ALICE and The Globe of Science and Innovation

As I was travelling light, I only took my 50mm F1.8 with me, which equates to a 75mm on the D70, so I had to take multiple photographs and then stitch them together with DoubleTake

Eclipse IDE 5 years old!

Cnet has a story on how the Eclipse IDE is now 5 years old, and has a huge impact on the development process as well as proving how successful open source can be.
Eclipse is my tool of choice, and I’ve been using it for a few years now, whilst I only use a few of the features I do find it to be an incredibly easy platform to use, and the fact that it lets me get on with coding without getting in the way of my coding just fits the way I like to work, like using MacOSX.

More Filming

We had CBBC come and film us last Monday for a new series starting in the new year. Wonderful World of Weird features a number of reporters travelling around the UK looking for weird and wonderful things to add to the map of the weird.

You’ll have to watch the show to find out if we were judged weird enough, and apparently it airs in February in a 7:30am slot, so you’ll have to be up early.

I’ll put some photos up soon.

Ubuntu Edgy Eft released

I’ve just upgraded this server from Dapper Drake LAMP server to Edgy Eft using apt-get dist-upgrade after changing all occurrences for dapper to edgy in /etc/apt/sources.list, and so far everything looks good.

There are some issues with the new release, but nothing that should affect this server – only things that might affect desktop systems.

It does have quite a lot of new features as standard including Firefox 2.0 and you can still download it unlike Fedora Core 6 which was avaiable for download for a massive 4 hours before it was pulled.

Release notes are here
Arstechnica article here

Wellies again

This will be the last welly post for a while, but we’ve just had some more nice press coverage in the Times Good University Guide – You can look at the pdf of the two page spread here.

The photo was taken by a very nice freelancer called Tim Cuff who has a gallery of six different photos which you can purchase if you feel so inclined.

I do like the magic levitating wellies.

New anti-hacking laws

It looks like the proposed new anti-hacking laws might do some good for prosecuting offenders – Denial of Service attacks are now classified as offences, but then it might also outlaw legal uses of hacking tools.

More on Spy blog and The Register

There’s a link to the text of the new bill here

Wikipedia has an article here

Wellies again

It’s been a frantic few days, mainly getting the embedded assembly language debugged on the welly wanger.
This afternoon, we transported it down to the department, and doing some testing on a grassy area outside, then the weather broke.

I moved the car next to the machine, so that I could keep the laptop dry whilst keeping firing, which we did for a short while, and we were achieving reasonable distances – I have records of over 40 metres on some shots with plenty of power to spare. The crosswinds were quite gruesome, and we nearly lost a welly a couple of times, but Tom managed to recover them every time.

The the rain really started, and we were gratful for the tarpaulins that I’d bought last weekend, as evidenced by the photo. album361/DSC_1459.jpg

We had a couple of problems – one of the motor solenoids came loose and shorted out against the chassis, causing it to activate unexpectecly. Then, as the rain started to ease, we were doing a last couple of tests, and the motor released some “magic blue smoke” – if we don’t have a big motor, we don’t have a machine, and it looked like ours was dead – nothing electrical works after the “magic blue smoke” is released.

We took the motor back to Ians, and found the problem – probably due to us runnning it at 24V we had overheated the main supply wire inside the motor case, melted the insulation, and it had shorted to the case. We spent an hour or so rebuilding the connections, and tested the motor – it works off load – we just have to re-install it tomorrow before driving down there.

Travelling tomorrow, competing Wednesday, then holiday for a few days.