Hello Sebastian and Stephan,I'm sorry for the delay in replying. The college came into finals week and I was given a time on the project. Anyway, I wrote a configuration according to their recommendations (Attached). To make it easier for me, I decided to leave only the wlan0 interface to learn how IBRDTN works. Basically, the Raspberry Pi 2 serves as an access point for wlan0 and other devices connect to it through the wlan0 too.When I tried to start the daemon in User mode, it featured the following message:Wed Sep 2 04:17:55 2015 INFO NativeDaemon: IBR-DTN daemon 1.0.1-436 (build 9cdb0d9)Wed Sep 2 04:17:55 2015 INFO Configuration: Using default settings. Call with --help for options.Wed Sep 2 04:17:55 2015 INFO NativeDaemon: Parallel event processing enabled using 4 processes.Wed Sep 2 04:17:55 2015 INFO BundleCore: Local node name: dtn://RPi2Wed Sep 2 04:17:55 2015 INFO BundleCore: Forwarding of bundles enabled.Wed Sep 2 04:17:55 2015 INFO NativeDaemon: using bundle storage in memory-only modeWed Sep 2 04:17:55 2015 INFO NativeDaemon: API initialized using tcp socket: loopback:4550Wed Sep 2 04:17:55 2015 INFO DiscoveryAgent: listen to [224.0.0.142]:4551Wed Sep 2 04:17:55 2015 INFO NativeDaemon: Using default routing extensionsWhen I tried to start the daemon in User mode, it featured the following message:Wed Sep 2 04:18:28 2015 INFO NativeDaemon: IBR-DTN daemon 1.0.1-436 (build 9cdb0d9)Wed Sep 2 04:18:28 2015 INFO Configuration: Configuration: ibrdtnd.confWed Sep 2 04:18:28 2015 INFO NativeDaemon: use logfile for output: /home/pi/ibrdtn.logWed Sep 2 04:18:28 2015 INFO NativeDaemon: Parallel event processing enabled using 4 processes.Wed Sep 2 04:18:28 2015 INFO BundleCore: Local node name: dtn://RPi2.dtnWed Sep 2 04:18:28 2015 INFO BundleCore: Forwarding of bundles enabled.Wed Sep 2 04:18:28 2015 INFO NativeDaemon: using bundle storage in memory-only modeWed Sep 2 04:18:28 2015 INFO NativeDaemon: API initialized using tcp socket: any:4550Wed Sep 2 04:18:28 2015 INFO NativeDaemon: TCP ConvergenceLayer added on wlan0:4556Wed Sep 2 04:18:28 2015 INFO DiscoveryAgent: listen to [255.255.255.255]:4551Wed Sep 2 04:18:28 2015 INFO DiscoveryAgent: add interface wlan0Wed Sep 2 04:18:28 2015 WARNING IPNDAgent: Join to [255.255.255.255]:4551 failed on wlan0; 22: setsockopt()Wed Sep 2 04:18:28 2015 INFO NativeDaemon: Using prophet routing extensions with GRTR as forwarding strategy.Wed Sep 2 04:18:28 2015 INFO ProphetRoutingExtension: Initializing PRoPHET routing modulequestions:1 is always necessary log in as root?2. This warning in IPNDAgent can be ignored?3 The message that has in one instance on the site "Daemon ready" is to appear? Because here it never appears.I wonder what I am missing so much when using this tool.Greetings and Thanks in advance!2015-07-21 13:37 GMT-03:00 Sebastian Schildt <schildt@ibr.cs.tu-bs.de>:Hello Matheus,
the main problem seems to be, that your system does not seem to support multicast correctly
> Thu Jul 16 16:43:13 2015 ERROR IPNDAgent: failed to set-up multicast socket on <any>:4551: 97: cannot create socket
IPND, the protocol for neighbour discovery uses multicast. I am not sure if it is still possible, but you can try to force IPND to use a broadcast socket using this configuration option:
discovery_address = 255.255.255.255
(of course you need to do this on all nodes in your network, so they can still talk to each other)
if this does not work, you can try to disable discovery completely using
discovery_announce = 0
and for good measure for each of your defined convergence layers set discovery to no
net_wlan0_discovery = no
However, this is not ideal, because then, for nodes to see each other you need to configure them as static neighbors
Sebastian
> --
> On 17 Jul 2015, at 16:46, MATHEUS CARMO OLIVEIRA <mco@icomp.ufam.edu.br> wrote:
>
> Hello guys! I'm a graduate student in Computer Science from the Federal University of Amazonas. Sorry my English, because I'm trying to translate in parallel with Google Translate. Anyway, I'm on a research project on DTN, and I'm interested in using the IBR-DTN to assist me in the search. I'm using IBR-DTN program Raspberry Pi and BEAGLEBONE, both with Raspbian. It generates the output below:
>
> Thu Jul 16 16:43:13 2015 INFO NativeDaemon: IBR-DTN daemon 1.0.1-433 (build 916f576)
> Thu Jul 16 16:43:13 2015 INFO Configuration: Configuration: ibrconf
> Thu Jul 16 16:43:13 2015 INFO NativeDaemon: use logfile for output: /home/pi/ibrdtn.log
> Thu Jul 16 16:43:13 2015 INFO NativeDaemon: Parallel event processing enabled using 4 processes.
> Thu Jul 16 16:43:13 2015 INFO BundleCore: Local node name: dtn://node1.dtn
> Thu Jul 16 16:43:13 2015 INFO BundleCore: Forwarding of bundles enabled.
> Thu Jul 16 16:43:13 2015 NOTICE GlobalEvent: Internet connection is available.
> Thu Jul 16 16:43:13 2015 INFO SecurityKeyManager: initialized; path: /etc/ibrdtn/bpsec
> Thu Jul 16 16:43:13 2015 INFO NativeDaemon: using bundle storage in memory-only mode
> Thu Jul 16 16:43:13 2015 INFO NativeDaemon: API initialized using unix domain socket: /tmp/ibrdtn.sock
> Thu Jul 16 16:43:13 2015 INFO DiscoveryAgent: listen to [224.0.0.142]:4551
> Thu Jul 16 16:43:13 2015 INFO DiscoveryAgent: listen to [ff02::142]:4551
> Thu Jul 16 16:43:13 2015 INFO DHTNameService: DHT initialized on Port: 36803 with ID:
> Thu Jul 16 16:43:13 2015 ERROR IPNDAgent: failed to set-up multicast socket on <any>:4551: 97: cannot create socket
> Thu Jul 16 16:43:13 2015 INFO NativeDaemon: Using default routing extensions
> Thu Jul 16 16:43:14 2015 WARNING DHTNameService: bootstrapping from domain dtndht.ibr.cs.tu-bs.de failed with error: -2
> Thu Jul 16 16:43:15 2015 INFO DHTNameService: DHT shut down
> Thu Jul 16 16:43:15 2015 NOTICE GlobalEvent: Shutdown initiated.
>
>
> The message "Daemon is ready" never appears. Can you help me with this!
>
> Greetings !!
> !! 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://mail.ibr.cs.tu-bs.de/listinfo/ibr-dtn.