Delay-/Disruption- Tolerant Networking on Maemo Linux-based OS
DTN implementation porting for Maemo 4.1.x (codename Diablo)

 

After some experiments in porting DTN architecture on Maemo 5, codename Fremantle, we decided to try another port: DTN architecture on Maemo 4.1.x codename Diablo.
We found a certain amount of problems with the compilation of packages ’cause of unresolved dependencies (old packages in Diablo distribution) but rather other problems that were encountered with the version for Fremantle were easily overcome.

Maemo OS Version: Maemo 4.1.x codename Diablo
Latest Stable Version: 2.7.0maemo-diablo10
Date of release: Fri, 23 Jul 2010

Tested on firmware: 5.2008.43-7

Packages Needed (in order of installation):

1) liboasys_1.4.0maemo-diablo2_armel.deb
2) dtn_2.7.0maemo-diablo10_armel.deb

Installation depends on some packages including:

- liboasys –> tcl8.5, libxerces27
- dtn –> adduser


IMPORTANT NOTES:

- the dependencies are normally resolved automatically if you activate one of the extras repository (we have tested with extras-devel repository active)


OTHER NOTES:

- in this DTN packages compiled for Maemo 4 all features are enabled (also external convergence layer support and external decision plane support)
- there isn’t python-dtn api support in diablo version of DTN packages
- in repository tree are not available i386 architecture compiled packages of DTN packages for Diablo


INSTALLATION PROCEDURE

    > Maemo 4 Diablo Complete Installation Procedure


IF YOU HAVE TO REMOVE DTN INSTALLATION

Please open XTerminal in “Other Applications” menu and become root with “sudo gainroot” (if rootsh app installed) or “ssh root@127.0.0.1” (if Open Ssh Client & Server app installed); after insert these commands:

    apt-get remove dtn
    apt-get remove liboasys

If for any reason apt-get does not work properly type

    dpkg -r dtn
    dpkg -r liboasys


IF YOU DON’T WANT DTN DAEMON AS SYSTEM SERVICE

Please open XTerminal in “Other Applications” menu and become root with “sudo gainroot” (if gainroot app installed) or “ssh root@127.0.0.1” (if Open Ssh Client & Server app installed); after type

    update-rc.d -f dtnd remove


KNOWN BUGS OF LATESTS STABLE VERSION

- [PARTLY RESOLVED] The DTN daemon (dtnd) doesn’t start/stop/restart in normal init mode.
      In addition /etc/init.d/dtnd start and /etc/init.d/dtnd stop are not working properly.
- [CURRENTLY UNRESOLVED] The upgrade of various stable releases of packets doesn’t work from graphic interface (the Applications Manager of Maemo). For now we recommend to upgrade from X-Terminal.


CHANGELOG OF LATEST STABLE VERSION

* Added two other patches:
    – fix-filename-parsing-dtnperf-client.patch
    – fix-fragment-offset-dtn.patch
*Added bugtracker link in ../debian/crontrol

[relevant changes in the past release instead]

* Fixed a problem in creating "dtn" user: added a --no-create-home flag in line 13 of ../debian/dtn.postinst.
* added two patches:
    – optifing-tools-uninstall-sh.patch to optify file tools/uninstall.sh
    – optifing-servlib-cmd-storagecommand.patch to optify servlib/cmd/StorageCommand.cc
* added patch:
    – optifing-dtn-default-conf-file.patch) to modify default dtn.conf for Maemo OS usage
    – fix error in quilt configuration
* added patches:
    – fix-changing-of-TMP-in-maemo-inst.patch to change temp default folder used by dtnd
    – optifing-dtnperf-client.patch to store tmp bundles in /opt/dtn/dtnperf
    – optifing-dtnperf-server.patch to store tmp bundles in /opt/dtn/dtnperf
* Correction of some parameters in preinstalled dtn.conf
* Applying fix-rename-fail-dtnperf-server.patch to fix rename files fail in dtnperf-server when files are not in the same filesystem
* debian/rules:
    – added quilt support
    – added dh_makeshlibs in binary_arch
* debian/control:
    – added quilt as Build-Depends
    – added liboasys at Depends in dtn package (#FIX_ME#)
* Fix test fails in debian/dtn.postinst


FINAL COMMENTS:

- Please help testing and report bug(s)!!!