I have installed ibrdtn packages in TP-LINK3040 (RUNNING OpenWRT v1.0) and I have made extroot to a USB device. 

root@OpenWrt:/etc/config# df
Filesystem           1K-blocks      Used Available Use% Mounted on
rootfs                 7699228    140032   7167312   2% /
/dev/root                 2048      2048         0 100% /rom
tmpfs                    14608       944     13664   6% /tmp
tmpfs                      512         0       512   0% /dev
/dev/sda1              7699228    140032   7167312   2% /overlay
overlayfs:/overlay     7699228    140032   7167312   2% /


But when I tried to initiate the daemon, ERROR occurred

root@OpenWrt:/etc/config# dtnd -i wlan0
Fri Jan 31 12:07:19 2014 INFO Configuration: Using default settings. Call with --help for options.
Fri Jan 31 12:07:19 2014 INFO NativeDaemon: IBR-DTN daemon 0.10.2 (build 1d89427)
Fri Jan 31 12:07:19 2014 INFO Configuration: Using default settings. Call with --help for options.
Fri Jan 31 12:07:19 2014 INFO BundleCore: Local node name: dtn://OpenWrt
Fri Jan 31 12:07:19 2014 INFO BundleCore: Forwarding of bundles enabled.
Fri Jan 31 12:07:19 2014 INFO NativeDaemon: using bundle storage in memory-only mode
Fri Jan 31 12:07:19 2014 INFO NativeDaemon: API initialized using tcp socket: loopback:4550
Fri Jan 31 12:07:19 2014 INFO NativeDaemon: TCP ConvergenceLayer added on wlan0:4556
Fri Jan 31 12:07:19 2014 INFO DiscoveryAgent: listen to [ff02::142]:4551
Fri Jan 31 12:07:19 2014 INFO DiscoveryAgent: listen to [224.0.0.142]:4551
Fri Jan 31 12:07:19 2014 INFO DiscoveryAgent: add interface wlan0
Fri Jan 31 12:07:19 2014 ERROR IPNDAgent: join failed on wlan0; 99: setsockopt()
Fri Jan 31 12:07:19 2014 INFO NativeDaemon: Using default routing extensions


Any idea about how to overcome this?
Thanks in advance,

Theodoros