Hi,
I have installed the ibrdtn, ibrdtnd, ibrdtn-tools packages and I ran the daemon.
root@OpenWrt:/tmp/overlay# dtnd
Wed Feb 5 11:09:37 2014 INFO Configuration: Using default settings. Call with --help for options.
Wed Feb 5 11:09:37 2014 INFO NativeDaemon: IBR-DTN daemon 0.10.2 (build 1d89427)
Wed Feb 5 11:09:37 2014 INFO Configuration: Using default settings. Call with --help for options.
Wed Feb 5 11:09:37 2014 INFO BundleCore: Local node name: dtn://OpenWrt
Wed Feb 5 11:09:37 2014 INFO BundleCore: Forwarding of bundles enabled.
Wed Feb 5 11:09:37 2014 INFO NativeDaemon: using bundle storage in memory-only mode
Wed Feb 5 11:09:37 2014 INFO NativeDaemon: API initialized using tcp socket: loopback:4550
Wed Feb 5 11:09:37 2014 INFO DiscoveryAgent: listen to [ff02::142]:4551
Wed Feb 5 11:09:37 2014 INFO DiscoveryAgent: listen to [224.0.0.142]:4551
Wed Feb 5 11:09:37 2014 INFO NativeDaemon: Using default routing extensions
I tried then to change the local name of the host and explicitly specify the wlan0 interface that I want in the etc/config/ibrdtn file. I rerun the daemon, but the hostname doesn't change:
root@OpenWrt:/tmp/overlay# dtnd -i wlan0
Wed Feb 5 11:16:37 2014 INFO Configuration: Using default settings. Call with --help for options.
Wed Feb 5 11:16:37 2014 INFO NativeDaemon: IBR-DTN daemon 0.10.2 (build 1d89427)
Wed Feb 5 11:16:37 2014 INFO Configuration: Using default settings. Call with --help for options.
Wed Feb 5 11:16:37 2014 INFO BundleCore: Local node name: dtn://OpenWrt
Wed Feb 5 11:16:37 2014 INFO BundleCore: Forwarding of bundles enabled.
Wed Feb 5 11:16:37 2014 INFO NativeDaemon: using bundle storage in memory-only mode
Wed Feb 5 11:16:37 2014 INFO NativeDaemon: API initialized using tcp socket: loopback:4550
Wed Feb 5 11:16:37 2014 INFO NativeDaemon: TCP ConvergenceLayer added on wlan0:4556
Wed Feb 5 11:16:37 2014 INFO DiscoveryAgent: listen to [ff02::142]:4551
Wed Feb 5 11:16:37 2014 INFO DiscoveryAgent: listen to [224.0.0.142]:4551
Wed Feb 5 11:16:37 2014 INFO DiscoveryAgent: add interface wlan0
Wed Feb 5 11:16:37 2014 ERROR IPNDAgent: join failed on wlan0; 99: setsockopt()
Wed Feb 5 11:16:37 2014 INFO NativeDaemon: Using default routing extensions
there should be a file /etc/ibrdtnd.conf but there is nothing for me there.
Any guesses why is this happening?
Best,
Theodoros