Re: [ibr-dtn] [IBR-DTN] " ERROR IPNDAgent: failed "
Hi Matheus,
again, I'm replying in public (cc: ibr-dtn@ibr.cs.tu-bs.de). Please do so, too, since I won't be able to reply the next two weeks...
Maybe you should have at first a look at the DTN architecure. In order to transmit data, you need to define on which interfaces nodes will be able to exchange data. These are the "convergence layers".
What you will need in your ibrdtnd.conf is something like this, for all embedded platforms:
-----------------------
#routing: # use prophet/epidemic/flodding instead of # "default" to be able to transmit bundles from # the banana pi to the raspberry via BB routing = prophet
#could be lo, to allow connections only from the loopback interface #api_interface is used to define where applications connect to #the local dtnd api_interface = any
#which interfaces to use net_interfaces = wlan0 wlan1
#wireless interface wlan0: net_wlan0_type = tcp #we want to use TCP as protocol net_wlan0_interface = wlan0 #listen on interface wlan0 net_wlan0_port = 4556 #with port 4556 (default)
#wireless interface wlan1: net_wlan1_type = tcp #we want to use TCP as protocol net_wlan1_interface = wlan1 #listen on interface eth0 net_wlan1_port = 4556 #with port 4556 (default)
-----------------------
This part of the config file could be used on the embeded platforms, maybe you have to adjust the interfaces for the node with internet.
Best regards and good luck, Stephan
On Sa, 2015-07-18 at 15:07 -0300, matheus oliveira wrote:
Hello Stephan,
I confess I did not understand much how to define a convergence layer for my goal. What I want is basically using the wlan0 as a point of access and the wlan1 to connect to other nodes. That's because like each node could provide both access points as well as connect to other nodes. If you give to use only the wlan0 to do both better. The connection between the nodes has to be via Wireless, with the exception of the node connected to the Internet. It would then be Ethernet to connect to the internet and Wifi to connect to other nodes.
Node with Internet Raspberry Beaglebone BananaPi
| wlan0 |<------------------- | wlan1 | | wlan0 | < ----------- | wlan1 |
| --------
| Internet | | wlan0 | <-------------- | wlan1 | | wlan0 | --------
Greetings!
2015-07-18 8:02 GMT-03:00 Stephan Rottmann rottmann@ibr.cs.tu-bs.de:
Hi Matheus, I'm replying public to the IBR-DTN-list since there are many other people reading and might have an idea, too. Thus, I also attached the files, too. Can you draw an (ASCII-Art) image of the setup (network interfaces, ...) of what you are trying to do, please? In the mail you said, you are using wlan0 for communication, but in the config, you defined wlan1 as the device, where you can reach the API. This means, that tools like dtnsend can connect to the deamon via this interface. If I get it right, there are no convergence layers defined in your config, which are needed for communication between the nodes. How are the Raspberry and BeagleBone connected to each other, via Ethernet or WLAN? Best regards, Stephan On Fr, 2015-07-17 at 13:39 -0300, MATHEUS CARMO OLIVEIRA wrote: > Thanks for answering! > The corresponding configuration file log of the previous email is > ibrconf. > > > I tested again using the default setting when installing the program, > the ibrdtnd_default.conf. The corresponding log is ibrdtn_default.log. > Attached are also the interfaces settings. > > > I would like to stress that I am only interested in connecting a > Raspberry Pi to others who are running the daemon to measure protocols > performances, be a BEAGLEBONE or Raspberry well. Oh yeah, I'm using > hostapd Program wlan0 interface. This affects something? > > > (Code attached). > > 2015-07-17 12:44 GMT-03:00 Stephan Rottmann > <rottmann@ibr.cs.tu-bs.de>: > Hi Matheus, > > can you please attach your configuration file? > > Best regards to Manaus, > Stephan > > Am Freitag, den 17.07.2015, 11:46 -0300 schrieb MATHEUS CARMO > OLIVEIRA: > > 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 !! > > > > > >
participants (1)
-
Stephan Rottmann