view · edit · print · history

At the time of this writing, no package feed for the DS-101g+ exists, this means that you have to build packages yourself. This document describes the necessary steps to prepare the DS-101g+ for later ipk-package installation.


Make sure that you have enabled telnet on the DS-101g+ as described here.

1. Checkout the unslung project:

$ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/nslu co unslung


Change to the unslung directory checked out in step 1 and edit the Makefile. Set the Variable OPTWARE_TARGET to ds101g.

3. Build the toolchain and ipkg-utils

$ make directories
$ make ipkg-utils
$ make crosstool

If make crosstool complains about not being able to build "hello.c": Just ignore it.

4. Build ipkg and the bootstrap package

This will produce two ipkg packages for the DS-101g+:

  • ds101g-bootstrap: A package containing GLIBC libraries that are missing on the DS-101g+
  • ipkg: The itsy package manager
$ make ipkg-ipk
$ make ds101g-bootstrap.mk

5. Copy the packages to your DS-101g+ public share.

You might use ftp for transfering the files or mount the public share using smbfs. The following files must be copied to the DS-101g+:


6. Install

 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh bootstrap.sh

Files modified by the ds101g-bootstrap pre- and postinst script:

  • /etc/rc.local: Mount /opt at bootup
  • /etc/profile: add /opt/bin and /opt/sbin to the PATH
  • /etc/ld.so.conf: add /opt/lib to the dynamic linker configuration

Please note that init-scripts (/opt/etc/init.d/*) provided by optware-packages will not yet be started on boot. Therefore you must start those services manually.

view · edit · print · history · Last edited by mma.
Originally by mma.
Page last modified on September 01, 2005, at 02:51 PM