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
Moreover, as it is mentioned here http://trac.ibr.cs.tu-bs.de/project-cm-2012-ibrdtn/wiki/download#OpenWRTrepo...
there should be a file /etc/ibrdtnd.conf but there is nothing for me there.
Any guesses why is this happening?
Best, Theodoros
Am 05.02.2014 12:19, schrieb Theodoros Bourchas:
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:
If you configure the daemon via /etc/config/ibrdtn you have to start/stop it via /etc/init.d/ibrdtn start|stop.
Moreover, as it is mentioned here http://trac.ibr.cs.tu-bs.de/project-cm-2012-ibrdtn/wiki/download#OpenWRTrepo...
there should be a file /etc/ibrdtnd.conf but there is nothing for me there.
The manual is for Debian-based systems. On OpenWrt this configuration file is not there.
Kind regards, Johannes Morgenroth
participants (2)
-
Johannes Morgenroth
-
Theodoros Bourchas