Hi,
I installed IBR-DTN in OpenWrt last week.

1 - When I run "dtnd", the following messages are shown:

Wed Mar 26 02:07:51 2014 INFO Configuration: Using default settings. Call with --help for options.
Wed Mar 26 02:07:51 2014 INFO NativeDaemon: IBR-DTN daemon 0.10.2 (build 1d89427)
Wed Mar 26 02:07:51 2014 INFO Configuration: Using default settings. Call with --help for options.
Wed Mar 26 02:07:51 2014 INFO BundleCore: Local node name: dtn://OpenWrt
Wed Mar 26 02:07:51 2014 INFO BundleCore: Forwarding of bundles enabled.
Wed Mar 26 02:07:51 2014 INFO NativeDaemon: using bundle storage in memory-only mode
Wed Mar 26 02:07:51 2014 INFO NativeDaemon: API initialized using tcp socket: loopback:4550
Wed Mar 26 02:07:51 2014 INFO DiscoveryAgent: listen to [ff02::142]:4551
Wed Mar 26 02:07:51 2014 INFO DiscoveryAgent: listen to [224.0.0.142]:4551
Wed Mar 26 02:07:51 2014 INFO NativeDaemon: Using default routing extensions


2 - When I run "dtnd -i wlan0", the following messages are shown:

Wed Mar 26 02:08:24 2014 INFO Configuration: Using default settings. Call with --help for options.
Wed Mar 26 02:08:24 2014 INFO NativeDaemon: IBR-DTN daemon 0.10.2 (build 1d89427)
Wed Mar 26 02:08:24 2014 INFO Configuration: Using default settings. Call with --help for options.
Wed Mar 26 02:08:24 2014 INFO BundleCore: Local node name: dtn://OpenWrt
Wed Mar 26 02:08:24 2014 INFO BundleCore: Forwarding of bundles enabled.
Wed Mar 26 02:08:24 2014 INFO NativeDaemon: using bundle storage in memory-only mode
Wed Mar 26 02:08:24 2014 INFO NativeDaemon: API initialized using tcp socket: loopback:4550
Wed Mar 26 02:08:24 2014 INFO NativeDaemon: TCP ConvergenceLayer added on wlan0:4556
Wed Mar 26 02:08:24 2014 INFO DiscoveryAgent: listen to [ff02::142]:4551
Wed Mar 26 02:08:24 2014 INFO DiscoveryAgent: listen to [224.0.0.142]:4551
Wed Mar 26 02:08:24 2014 INFO DiscoveryAgent: add interface wlan0
Wed Mar 26 02:08:24 2014 ERROR IPNDAgent: join failed on wlan0; 99: setsockopt()
Wed Mar 26 02:08:24 2014 INFO NativeDaemon: Using default routing extensions



3 - When I run "dtnd -i wlan0 -c /mnt/usb/opkg/etc/config/ibrdtn", the following messages are shown:
Wed Mar 26 02:09:07 2014 INFO Configuration: Configuration: /mnt/usb/opkg/etc/config/ibrdtn
Wed Mar 26 02:09:07 2014 INFO NativeDaemon: IBR-DTN daemon 0.10.2 (build 1d89427)
Wed Mar 26 02:09:07 2014 INFO Configuration: Configuration: /mnt/usb/opkg/etc/config/ibrdtn
Wed Mar 26 02:09:07 2014 INFO BundleCore: Local node name: dtn://OpenWrt
Wed Mar 26 02:09:07 2014 INFO BundleCore: Forwarding of bundles enabled.
Wed Mar 26 02:09:07 2014 INFO NativeDaemon: using bundle storage in memory-only mode
Wed Mar 26 02:09:07 2014 INFO NativeDaemon: API initialized using tcp socket: loopback:4550
Wed Mar 26 02:09:07 2014 INFO NativeDaemon: TCP ConvergenceLayer added on wlan0:4556
Wed Mar 26 02:09:07 2014 INFO DiscoveryAgent: listen to [ff02::142]:4551
Wed Mar 26 02:09:07 2014 INFO DiscoveryAgent: listen to [224.0.0.142]:4551
Wed Mar 26 02:09:07 2014 INFO DiscoveryAgent: add interface wlan0
Wed Mar 26 02:09:07 2014 ERROR IPNDAgent: join failed on wlan0; 99: setsockopt()
Wed Mar 26 02:09:07 2014 INFO NativeDaemon: Using default routing extensions

I have a few questions about these messages.

A) I do not have idea what is the meaning of ERROR IPNDAgent: join failed on wlan0; 99: setsockopt(), someone faced the same problem? Any tip will be very appreciated.

B) Note that I edited a configuration file and changed the URI, but even passing  my configuration file with the -c, the local node name is always dtn://OpenWrt 

#here is the option edited in my config file
option uri                      dtn://NewID


Well, continuing:
I started the daemon at the router with "dtnd -i wlan0" and received the same message as in (2) or (3).
I also installed the IBR-DTN on my laptop and started it with: "dtnd -i wlan0 -v -c /etc/ibrdtn/ibrdtnd.conf"

Even with the error message shown (ERROR IPNDAgent)  I am able to send files using the dtnsend and dtndrecv application in both directions (from the laptop to the router and from the router to the laptop), however, the dtnping application did not worked.

In a nutshell I'm having 3 problems:

1 - the IPNDAgent error (openwrt router).
2 - the configuration file error (openwrt router)
3 - the ping application

Thank you in advance.

Juliano Fischer Naves
Informatics Professor  - IFRO
D.Sc. Student - IC/UFF/Brazil

Please do not send me Microsoft Office/Apple iWork documents. Send OpenDocument instead! http://fsf.org/campaigns/opendocument/
Document Freedom Day - Liberate your documents
http://documentfreedom.org/ - March 26th 2014