Promises of Progress

Wits – or GTFO

Archive for the ‘Hacking’ Category

Random selection

without comments

Having to complete an online multiple-choice personality test in a hurry, I quickly threw together a piece of javascript, that selects random radio buttons on any page.
If you are in a similar hurry, feel free to bookmark it – and use it on a page with plenty of radio buttons.

randomradio!

Enjoy.

And now I look forward to hearing about the personality profile of the javascript random().

Written by casper

January 14th, 2009 at 12:13 pm

Posted in Hacking

Tagged with , , ,

Huawei E220 on FreeBSD

without comments

I had a Huawei E220 USB HSDPA modem laying around for when I’m on the move. Having heard about it working on Linux (from here and there), I was wondering if I could use it under FreeBSD 7.

The short answer is: not without effort.

It appears that the modem is two-in-one devices. A flash memory stick (umass) and a modem (ubsa). Unfortunately once the umass device has been detected, FreeBSD does not look for the serial device. Thus leaving me with a 10MB memory stick.

The solution is apparently to create a custom kernel where umass is disabled, and then load ubsa before umass in the kernel loader.

It find it a bit much to create a custom kernel just for this single purpose, so I’m almost back to square one.

Written by casper

October 3rd, 2008 at 6:46 pm

Posted in Hacking

Tagged with , ,