Delay-/Disruption- Tolerant Networking on Maemo Linux-based OS
DTN implementation porting for Maemo 5 (codename Fremantle)

 

Maemo OS Version: Maemo 5 codename Fremantle
Latest Stable Version: 2.7.0maemo-fremantle10
Date of release: Fri, 23 Jul 2010

Tested on firmware: 10.2010.19-1 (PR1.2)

Packages Needed (in order of installation):

1) liboasys_1.4.0maemo-fremantle2_armel.deb
2) dtn_2.7.0maemo-fremantle10_armel.deb
3) python-dtn_2.7.0maemo-fremantle10_all.deb (optional)

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)
- packages should now be completely optified then the installation of liboasys, dtn and python-dtn (with their dependencies) requires about 2% of rootfs partition
- we recommend to execute in x-terminal as root these commands after installation to clean local temp repository

      apt-get check
      apt.get autoclean
      apt-get clean


OTHER NOTES:

- in this DTN packages compiled for Maemo 5 all features are enabled (also external convergence layer support and external decision plane support)
- in repository tree are available also i386 architecture packages and sources packages for Scratchbox Virtual Cross-Compilation Machine (used by Maemo 5 SDK)


INSTALLATION PROCEDURE

    > Maemo 5 Fremantle Complete Installation Procedure


IF YOU HAVE TO REMOVE DTN INSTALLATION

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 insert these commands:

    apt-get remove python-dtn (if installed)
    apt-get remove dtn
    apt-get remove liboasys

If for any reason apt-get does not work type

    dpkg -r python-dtn (if installed)
    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

- [CURRENTLY UNRESOLVED] 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:

- Nokia N900: It’s a computer with a phone, not a phone that can compute.
- Please help testing and report bug(s)!!!