Skip to content

{ Category Archives } NSLU2-Linux

Connecting a Treo650 to a Freecom DataTank 2

Install bluez2-utils from Optware
Install the following kernel modules: bluetooth, hci_usb, l2cap, bnep, rfcomm, hidp
Create /dev/rfcomm0 as follows:
mknod /dev/rfcomm0 c 216 0
Enable routing from ppp0 to eth1 (don’t do this if you use ppp for your internet connection):

/etc/init.d # diff -u routing.orig routing
— routing.orig Sat Mar 22 18:57:23 [...]

Five new NSLU2 firmware releases in five days

In the last five days, we have made five new NSLU2 firmware releases:
2007-12-31 – Unslung 6.10-beta Release
2007-12-30 – SlugOS 4.8-beta Release
2007-12-29 – OpenWrt/NSLU2 Kamikaze 7.09 Release
2007-12-28 – Angstrom/NSLU2 2007.12 Release
2007-12-27 – Debian/NSLU2 Stable 4.0r2 Release
All of these new releases are available at
http://www.slug-firmware.net/
See http://article.gmane.org/gmane.comp.misc.nslu2.linux/20610 for
an explanation of the pros and cons of each different firmware
distribution, and [...]

Setting the OpenMoko timezone

If you want to set the timezone on your phone correctly, do the following:

ipkg install tzdata
ipkg install your desired tzdata-* packages.  For instance, I use “tzdata-australia“.
Enable your desired timezone by symlinking it to “/etc/localtime“.  Adjust the following example command line for your locality.

ln -s /usr/share/zoneinfo/Australia/Adelaide /etc/localtime

The “date” command should now show the correct time for [...]

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 [...]

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 [...]

MokoSlug Custom Firmware for the NSLU2

The NSLU2 is a good low-cost companion server for the Neo 1973 (the initial hardware platform for OpenMoko). It has one 10/100 ethernet port, two USB 2.0 ports, and easily supports connectivity with the Neo via Bluetooth (using a low-cost USB Bluetooth dongle).
I am creating a MokoSlug firmware distribution for the NSLU2 for this [...]