In /etc/config/ibrdtn , the only thing that I have changed is the routing mode (epidemic), the hostname and the network interface in order to point at wlan0.
I initialize the daemons with:
dtnd -c /tmp/ibrdtn.config --badclock. 

*****************
root@OpenWrt:~# dtnd -c /tmp/ibrdtn.config
Tue Feb 11 13:40:45 2014 INFO Configuration: Configuration: /tmp/ibrdtn.config
Tue Feb 11 13:40:45 2014 INFO NativeDaemon: IBR-DTN daemon 0.10.2 (build 1d89427                  )
Tue Feb 11 13:40:45 2014 INFO Configuration: Configuration: /tmp/ibrdtn.config
Tue Feb 11 13:40:45 2014 INFO BundleCore: Local node name: dtn://host1
Tue Feb 11 13:40:45 2014 INFO BundleCore: Forwarding of bundles enabled.
Tue Feb 11 13:40:45 2014 INFO NativeDaemon: using simple bundle storage in /tmp/ibrdtn/bundles
Tue Feb 11 13:40:45 2014 INFO NativeDaemon: using BLOB path: /tmp/ibrdtn/blobs
Tue Feb 11 13:40:45 2014 INFO SimpleBundleStorage: 0 Bundles restored.
Tue Feb 11 13:40:45 2014 INFO NativeDaemon: API initialized using tcp socket: loopback:4550
Tue Feb 11 13:40:45 2014 INFO NativeDaemon: TCP ConvergenceLayer added on wlan0:                  4556
Tue Feb 11 13:40:45 2014 INFO DiscoveryAgent: listen to [ff02::142]:4551
Tue Feb 11 13:40:45 2014 INFO DiscoveryAgent: listen to [224.0.0.142]:4551
Tue Feb 11 13:40:45 2014 INFO DiscoveryAgent: add interface wlan0
Tue Feb 11 13:40:45 2014 INFO DHTNameService: DHT initialized on Port: 9999 with                   ID:
Tue Feb 11 13:40:45 2014 ERROR IPNDAgent: join failed on wlan0; 99: setsockopt()
Tue Feb 11 13:40:45 2014 INFO NativeDaemon: Using epidemic routing extensions
Tue Feb 11 13:40:45 2014 INFO EpidemicRoutingExtension: Initializing epidemic routing module


 I don't know if I should do sth else to synchronize the nodes.
After that when I send/receive files no messages appear in the daemon like the ones that I have seen in mailing list :
> 1.bundle received
> 2.queue bundle event
> 3.bundle event
> 4.transfercompleted event
> 5.bundle event:bundle forwarded

But still packages less than 4Mbyte are retrieved (even without explicit notification).
Do I miss sth?
Best,
Theodoros



On Tue, Feb 11, 2014 at 1:12 PM, Johannes Morgenroth <morgenroth@ibr.cs.tu-bs.de> wrote:
Hello Theodoros.

Am 11.02.2014 11:43, schrieb Theodoros Bourchas:
>
> Tue Feb 11 10:33:49 2014 WARNING BundleCore: bundle rejected: bundle
> has expired ([0.66] dtn://host2/outboxSender)
> Tue Feb 11 10:33:49 2014 WARNING TCPConnection: bundle has been
> rejected: bundle is expired
The bundle protocol requires that the clocks of all nodes are in sync
and have a valid timestamp (> 2000-01-01 00:00:00). Fix that and it will
work.

> Is there a limit in how big are the data packets?
Yes. The protocol limits the size to 2^64 bytes. Additional your
platform may limit the file sizes on 32-bit systems this is usually 2^32
byte.

> Furthermore, is there any more extended tutorial where the parameters
> of the configuration file and how to change them according to our
> needs, are explained in more detail?

There exists the configuration file for the standard dtnd without the
UCI wrapper for OpenWrt. This file shows more details on the settings,
but does not match to /etc/config/ibrdtn.
https://github.com/ibrdtn/ibrdtn/blob/master/ibrdtn/daemon/etc/ibrdtnd.conf

In any case you should first know what you want and then check the
configuration options to achieve it.

Kind regards,
Johannes Morgenroth

--
Johannes Morgenroth     Institut fuer Betriebssysteme und Rechnerverbund
Tel.: +49-531-391-3249                           Muehlenpfordtstrasse 23
Fax.: +49-531-391-5936      TU Braunschweig         D-38106 Braunschweig