The Nokia 770 is the latest craze to hit the playground. First it was Pogs, Go-Gos, Diablos and then Yo-Yos. But now it seems everyone and their dog has got a 770, and is busy customising, crashing, hacking and rebooting their way to mobile internetdom*.

*As long as you are near a wifi point, or have one of the 5 models of mobile phone that actually work through bluetooth with the 770 :)

IT2007 HE tips

Creating an application icon

Having installed kismet, and used it in conjunction with my GPS, I decided it would be useful to be able to launch it from a single button-press on the home screen rather than have to open xterm and then start it by typing several lines into the shell.

The first step was to write a script that turned these several lines into a single command - first, I have to connect to the GPS unit, wait for the connection to be established, start gpsd and then fire up kismet as root (so that it can manipulate the wifi interface). I had already allowed my user to sudo without a password, so this was simply a case of writing a straightforward script, which I put in /usr/local/sbin. So far so good - as long as the GPS device is switched on and in range, the script connects to it, starts gpsd and fires up kismet. If the GPS cannot be connected to, gpsd fails to start and kismet quits because it can't talk to gpsd, which is fine.

Having done this, it's time to create a menu item. To do this, you need to add kismet.desktop to /usr/share/applications/hildon. Once it's there, you should see a new Kismet icon on the applications menu under "Extras". You can use the Navigation control panel to move this where you want it.

Clicking on the menu item runs the kismet script inside an xterm. When the script finishes, xterm closes - perfect!

However, I wanted to have an icon on my desktop. I use both IDEA! and Simple Launcher as IDEA! gives me nice big icons I can press with a finger and Simple Launcher gives me lots of smaller icons (which I'm using for games). Both require an item to be a service in order for it to run, so you need to put kismet.service into /usr/share/dbus-1/services. Once this is in place, you can add the icon to whichever tool you prefer giving you single click initiation of kismet.

Upgrades to install

Upgrades that will break your 770 

Restoring from a continually rebooting device

A number of times over the last couple of days, I have managed to get my 770 into a state where it starts booting, fails part way through and then resets and starts the process again. Under these circumstances, the only way to recover is to reflash the operating system to the device. This is a documentation of the steps I am now using in this situation.

How to recover when you have a complete backup

Links