Great! Thanks Johannes!
After tuning some parameters it is working!

Resuming, to make it to work I initially used dtnd-safety-wrapper.sh (which is referring to the config file in /etc/config/ibrdtn) where I added
config 'network'
        option type                     tcp
        option interface        br-lan
        option port                     4556
to generate ibrdtn.config in /tmp

However, the field net_interfaces = lan0 in ibrdtn.config is wrong and I fixed it manually to be "lan"
I cannot spot which field as been set wrongly in /etc/config/ibrdtn
Why is "net_interfaces" set to "lan0"?

thank you very much,
Adriano


On Mon, Nov 18, 2013 at 9:19 AM, Johannes Morgenroth <morgenroth@ibr.cs.tu-bs.de> wrote:
Hello!

Am 15.11.2013 18:34, schrieb Adriano Galati:

I have just installed ibr-dtn on openWRT.
I execute dtnd in this way
dtnd -c /tmp/ibrdtn.config

Nice to see that you solved your previous question yourself.



but I get this ERROR
ERROR IPNDAgent: join failed on eth0; 99: setsockopt()

Depending on your ifconfig output, I assume that this issue has its roots in the fact that
your interface eth0 does not have any IP address assigned. No IP address -> no bind possible.

One solution would be to use your bridge interface (br-lan) as DTN interface instead of eth0.


Kind regards,
Johannes Morgenroth
--
!! This message is brought to you via the `ibr-dtn' mailing list.
!! Please do not reply to this message to unsubscribe. To unsubscribe or adjust
!! your settings, send a mail message to <ibr-dtn-request@ibr.cs.tu-bs.de>
!! or look at https://www.ibr.cs.tu-bs.de/mailman/listinfo/ibr-dtn.