Skip to content

{ Author Archives }

Replacing dropbear with openssh

I prefer to use OpenSSH rather than Dropbear on my devices.  The main reason is to get sftp support (which is required by sshfs).  Another reason is to get better support for agent forwarding (which is essential for bouncing from one machine to another without leaving your private keys all over the internet).
To do this [...]

Debugging gsmd failures on OpenMoko

If you’re having problems making phone calls on OpenMoko 2007.2, and wish to see what gsmd is doing, then look in /tmp/gsm.log for the gory details …
Mine fails to register automatically, as documented in http://lists.openmoko.org/pipermail/gsmd-devel/2007-August/000205.html – this seems to be a problem where libmokogsmd2 is not handling a GSMD_NETREG_UNREG_BUSY event correctly.
Update: this problem with UNREG_BUSY [...]

Stopping the OpenMoko startup sound

OpenMoko 2007.2 makes a very loud startup sound.  To mute it, do the following:
In /etc/pulse/session, replace:
 load-sample startup /usr/share/openmoko/sounds/startup_openmoko.wav
with:
 load-sample startup /usr/share/openmoko/sounds/touchscreen_click.wav
(or any other subdued wav file you wish to upload onto the device).

Update: The OpenMoko team has sensibly replaced the load startup sound with a much more unintrusive sound.

Connecting a Treo650 to an OpenEmbedded-based firmware distribution

The following should work for an NSLU2 running SlugOS or Angstrom, or a device running OpenMoko.

Install the required kernel modules for bluetooth

ipkg install kernel-module-hci-usb kernel-module-l2cap kernel-module-rfcomm
depmod -a
ipkg install bluez-utils

Edit /etc/default/bluetooth to enable hcid and dund.
Change the pin and host settings in /etc/bluetooth/hcid.conf, and make sure that the class is 0×3e0100 (not the default value, which [...]

Using vncserver on the Nokia N800

There is a VNC Server available for the Nokia N800.

Install x11vnc from http://mike.saunby.googlepages.com/x11vncfornokia7702
Select Extras->x11vnc to run it
Open VNC Viewer on your desktop and connect to <your-n800-hostname-or-ip-address>:0

Some key bindings that I have found:

F3

Selects the Applications icon in the task navigator

F4

Opens the menu for the current application

F6

Toggles full screen mode

F7

Same as the + button

F8

Same as the – [...]

Adding DCHP static mapping support to the FSG-3

The Freecom FSG-3 firmware user interface does not have the ability to set static IP addresses for hosts via DHCP. Luckily, the underlying dnsmasq program does this (and lots more) easily, and even though dnsmasq is in /usr/local/sbin for some reason on the FSG-3, it still reads the default configuration file at /etc/dnsmasq.conf (which [...]

Adding zoneedit.com dynamic DNS support to the FSG-3

ez-ipupdate already supports the zoneedit service, so all that is required is to add it to the dyndns_show.html web page and ddns init script.
/var/www/admin/content_en/dyndns_show.html changes:
<select name=”ddns_service” style=”width:200px”>
<option value=zoneedit_com>zoneedit.com</option>
<option value=dyndns_org>dyndns.org</option>
<option value=dtdns_com>dtdns.com</option>
<option value=noip_com>no-ip.com</option>
</select>
/etc/init.d/ddns changes:
if [ "$DDNS" = "zoneedit_com" ]; then
/bin/ez-ipupdate -i $EXIF -S zoneedit -u $USER:$PASSWD -h “$HOST” -d -P 300
exit 0
fi

Maemo Links

I’ll use this blog entry to record various Maemo-related links that I find.
http://box.mmapps.net/~keesj/
http://www.guardiani.us/index.php/N800_custom_packages
http://pierre.droids-corp.org/maemo/
http://danielsz.freeshell.org/code/mine/emacs-for-maemo/

Setting up my Nokia N800

I’m going to use this blog entry to capture everything I do to my new Nokia N800 when setting it up. Hopefully this will serve as a resource to other N800 users, but will also serve as a record for my own use in case I need to reinstall everything at a future date.

Download the [...]

Adding a new timezone to osso-clock

The set of cities included in the Nokia N800 does not include any city in my home timezone (GMT+9:30, Australian Central Standard Time).
Luckily, I’ve worked out how to add one (the following is an example for my home city of Adelaide):

Edit /usr/share/osso-clock/wdb-parsed.txt and add the following line:

Adelaide|AU|Australia|Australia/Adelaide|1280|650|en_AU

(The 1280 and 650 numbers are pixel coordinates on [...]