Nodes discover each other, but do not communicate ?
Hi you all, *== this is not a question, but an answer ==* I went through an issue, in order to help others who might had the same problem I'm writing down the problem description and the solution. Actually I found the solution while writing the "question" e-mail.
*TL;DR:* Ibr-dtn nodes discover each other but do not ping, neither send to another ? Make you sure you stopped the service:* #service ibrdtnd stop*
When you dtnsend, if the service is running, in the same time that your dtnd -i <nic>, the dtnsend use the service and then, maybe, the wrong interface and the wrong configuration file -as far as I understand-. Make sure you're using your own conf file with dtnd command (and the option -c <path to conf file>) and the right interface by shutting down the service.
Environment:
- #dtnd -i wlan0 -v - PC can ssh each other - ibr-dtn had been installed from package
I do not know if it worth adding this in the FAQhttp://trac.ibr.cs.tu-bs.de/project-cm-2012-ibrdtn/wiki/FAQ, that's up to you to choose.
Have a nice day!
Am 07.03.2014 10:31, schrieb Maël Auzias:
Have a nice day!
Thanks!
If the daemon is installed using the Debain packages a configuration file is located in /etc/ibrdtn/ibrdtnd.conf. This is very common for packages which install some kind of server / service. Take a look at the configuration file. It is commented and need some changes to listen to the right network interfaces.
By default, the daemon does not listen to any interface!
To listen on wlan0 at least this configuration is required...
net_interfaces = wifi net_wifi_type = tcp net_wifi_interface = wlan0 net_wifi_port = 4556
Then the "-i wlan0" option is no longer necessary.
Kind regards, Johannes Morgenroth
Hi Johannes, First of all thanks for the details !
I was already playing with this file but using the -c and -i option. I feel more comfortable using this than the service ;)
Also I'm going to used mixed nodes network with DTN2/IBR-DTN, any tips ?
Thanks again !
Best regards, --- Auzias Maël - http://auzias.net PhD candidate http://auzias.net/?p=phd - IRISA GSM : *0033 695 118 774*
On Fri, Mar 7, 2014 at 10:41 AM, Johannes Morgenroth < morgenroth@ibr.cs.tu-bs.de> wrote:
Am 07.03.2014 10:31, schrieb Maël Auzias:
Have a nice day!
Thanks!
If the daemon is installed using the Debain packages a configuration file is located in /etc/ibrdtn/ibrdtnd.conf. This is very common for packages which install some kind of server / service. Take a look at the configuration file. It is commented and need some changes to listen to the right network interfaces.
By default, the daemon does not listen to any interface!
To listen on wlan0 at least this configuration is required...
net_interfaces = wifi net_wifi_type = tcp net_wifi_interface = wlan0 net_wifi_port = 4556
Then the "-i wlan0" option is no longer necessary.
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://mail.ibr.cs.tu-bs.de/listinfo/ibr-dtn.
Hi Johannes, First of all thanks for the details !
I was already playing with this file but using the -c and -i option. I feel more comfortable using this than the service ;)
Also I'm going to used mixed nodes network with DTN2/IBR-DTN, any tips ?
Thanks again !
On Fri, Mar 7, 2014 at 10:41 AM, Johannes Morgenroth < morgenroth@ibr.cs.tu-bs.de> wrote:
Am 07.03.2014 10:31, schrieb Maël Auzias:
Have a nice day!
Thanks!
If the daemon is installed using the Debain packages a configuration file is located in /etc/ibrdtn/ibrdtnd.conf. This is very common for packages which install some kind of server / service. Take a look at the configuration file. It is commented and need some changes to listen to the right network interfaces.
By default, the daemon does not listen to any interface!
To listen on wlan0 at least this configuration is required...
net_interfaces = wifi net_wifi_type = tcp net_wifi_interface = wlan0 net_wifi_port = 4556
Then the "-i wlan0" option is no longer necessary.
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://mail.ibr.cs.tu-bs.de/listinfo/ibr-dtn.
participants (3)
-
Johannes Morgenroth
-
Maël Auzias
-
Maël Auzias