Menu

Tree [882947] default tip /
 History

Read Only access


File Date Author Commit
 libs 2010-03-26 Alex McMahon Alex McMahon [882947] Title update
 net 2010-03-24 Alex McMahon Alex McMahon [f23422] oasys-1.4.0 / DTN-2.7.0
 README 2010-03-24 Alex McMahon Alex McMahon [f23422] oasys-1.4.0 / DTN-2.7.0

Read Me

OpenWrt is described as a Linux distribution for embedded devices. This is a package feed for a mercurial build of DTN2 and oasys for OpenWrt Kamikaze (r18047) configuration

DTN Reference Implementation
============================

This is an OpenWrt (see http://openwrt.org) package feed for the Delay Tolerant Networking reference implementation (See http://www.dtnrg.org). Add the following feed to you Kamikaze environment to build DTN2/oasys (currently only DTN2-2.6.0 and oasys-1.3.0)

The feed is: 

####
src-hg dtnkamikaze http://dtn.hg.sourceforge.net/hgweb/dtn/kamikaze-dtn/
####

To use this feed you will require a working Kamikaze environment. Doumentation for OpenWrt and Kamikaze is available here: http://kamikaze.openwrt.org/docs/openwrt.html

 configured you should be able to select the following packages to be built for DTN release 2.6.0


Libraries/Oasys/liboasys-1.3.0
Libraries/Oasys/liboasys/liboasys-1.3.0-dev
Network/DTN2/dtn-2.6.0-daemon
Network/DTN2/dtn-2.6.0-apps
Network/DTN2/dtn-2.6.0-test-utils


or for DTN release 2.7.0 you may select the following packages:

Libraries/Oasys/liboasys-1.4.0
Libraries/Oasys/liboasys/liboasys-1.4.0-dev
Network/DTN2/dtn-2.7.0-daemon
Network/DTN2/dtn-2.7.0-apps
Network/DTN2/dtn-2.7.0-test-utils

##########################################################
For a quick build summary checkout Kamikaze branch and packages with git

git clone git://nbd.name/openwrt.git

add the following line: 'src-hg dtnkamikaze http://dtn.hg.sourceforge.net/hgweb/dtn/kamikaze-dtn/' to openwrt/feeds.conf.default

then install the feeds amd make symlinks:

openwrt$ ./scripts/feeds update dtnkamikaze
openwrt$ ./scripts/feeds install -p dtnkamikaze
openwrt$ make package/symlinks
openwrt$ make menuconfig

for DTN version 2.6.0 select:

Libraries/Oasys/liboasys-1.3.0
Libraries/Oasys/liboasys/liboasys-1.3.0-dev
Network/DTN2/dtn-2.6.0-daemon
Network/DTN2/dtn-2.6.0-apps
Network/DTN2/dtn-2.6.0-test-utils

Or for DTN version 2.7.0 select:

Libraries/Oasys/liboasys-1.4.0
Libraries/Oasys/liboasys/liboasys-1.4.0-dev
Network/DTN2/dtn-2.7.0-daemon
Network/DTN2/dtn-2.7.0-apps
Network/DTN2/dtn-2.7.0-test-utils

### Note 1

When dtnd is started for the first time you may have to set the clock on your embedded system which may be  'Thu Jan  1 00:00:00 UTC 1970' by default and will give an error like below.

root@OpenWrt:# dtnd 
[4545.043913 /dtnd notice] random seed is 43888
[4545.044589 /dtnd notice] DTN daemon starting up... (pid 861)
ASSERTION FAILED ((u_int)now.tv_sec >= TIMEVAL_CONVERSION) at bundling/BundleTimestamp.cc:39
NO STACK TRACE AVAILABLE ON THIS ARCHITECTURE
Aborted