Hi, I installed IBR-DTN in OpenWrt last week.
1 - When I run "dtnd", the following messages are shown:
Wed Mar 26 02:07:51 2014 INFO Configuration: Using default settings. Call with --help for options. Wed Mar 26 02:07:51 2014 INFO NativeDaemon: IBR-DTN daemon 0.10.2 (build 1d89427) Wed Mar 26 02:07:51 2014 INFO Configuration: Using default settings. Call with --help for options. Wed Mar 26 02:07:51 2014 INFO BundleCore: Local node name: dtn://OpenWrt Wed Mar 26 02:07:51 2014 INFO BundleCore: Forwarding of bundles enabled. Wed Mar 26 02:07:51 2014 INFO NativeDaemon: using bundle storage in memory-only mode Wed Mar 26 02:07:51 2014 INFO NativeDaemon: API initialized using tcp socket: loopback:4550 Wed Mar 26 02:07:51 2014 INFO DiscoveryAgent: listen to [ff02::142]:4551 Wed Mar 26 02:07:51 2014 INFO DiscoveryAgent: listen to [224.0.0.142]:4551 Wed Mar 26 02:07:51 2014 INFO NativeDaemon: Using default routing extensions
2 - When I run "dtnd -i wlan0", the following messages are shown:
Wed Mar 26 02:08:24 2014 INFO Configuration: Using default settings. Call with --help for options. Wed Mar 26 02:08:24 2014 INFO NativeDaemon: IBR-DTN daemon 0.10.2 (build 1d89427) Wed Mar 26 02:08:24 2014 INFO Configuration: Using default settings. Call with --help for options. *Wed Mar 26 02:08:24 2014 INFO BundleCore: Local node name: dtn://OpenWrt* Wed Mar 26 02:08:24 2014 INFO BundleCore: Forwarding of bundles enabled. Wed Mar 26 02:08:24 2014 INFO NativeDaemon: using bundle storage in memory-only mode Wed Mar 26 02:08:24 2014 INFO NativeDaemon: API initialized using tcp socket: loopback:4550 Wed Mar 26 02:08:24 2014 INFO NativeDaemon: TCP ConvergenceLayer added on wlan0:4556 Wed Mar 26 02:08:24 2014 INFO DiscoveryAgent: listen to [ff02::142]:4551 Wed Mar 26 02:08:24 2014 INFO DiscoveryAgent: listen to [224.0.0.142]:4551 Wed Mar 26 02:08:24 2014 INFO DiscoveryAgent: add interface wlan0 *Wed Mar 26 02:08:24 2014 ERROR IPNDAgent: join failed on wlan0; 99: setsockopt()* Wed Mar 26 02:08:24 2014 INFO NativeDaemon: Using default routing extensions
3 - When I run "dtnd -i wlan0 -c /mnt/usb/opkg/etc/config/ibrdtn", the following messages are shown: Wed Mar 26 02:09:07 2014 INFO Configuration: Configuration: /mnt/usb/opkg/etc/config/ibrdtn Wed Mar 26 02:09:07 2014 INFO NativeDaemon: IBR-DTN daemon 0.10.2 (build 1d89427) Wed Mar 26 02:09:07 2014 INFO Configuration: Configuration: /mnt/usb/opkg/etc/config/ibrdtn *Wed Mar 26 02:09:07 2014 INFO BundleCore: Local node name: dtn://OpenWrt* Wed Mar 26 02:09:07 2014 INFO BundleCore: Forwarding of bundles enabled. Wed Mar 26 02:09:07 2014 INFO NativeDaemon: using bundle storage in memory-only mode Wed Mar 26 02:09:07 2014 INFO NativeDaemon: API initialized using tcp socket: loopback:4550 Wed Mar 26 02:09:07 2014 INFO NativeDaemon: TCP ConvergenceLayer added on wlan0:4556 Wed Mar 26 02:09:07 2014 INFO DiscoveryAgent: listen to [ff02::142]:4551 Wed Mar 26 02:09:07 2014 INFO DiscoveryAgent: listen to [224.0.0.142]:4551 Wed Mar 26 02:09:07 2014 INFO DiscoveryAgent: add interface wlan0 *Wed Mar 26 02:09:07 2014 ERROR IPNDAgent: join failed on wlan0; 99: setsockopt()* Wed Mar 26 02:09:07 2014 INFO NativeDaemon: Using default routing extensions
I have a few questions about these messages.
A) I do not have idea what is the meaning of *ERROR IPNDAgent: join failed on wlan0; 99: setsockopt()*, someone faced the same problem? Any tip will be very appreciated.
B) Note that I edited a configuration file and changed the URI, but even passing my configuration file with the -c, the local node name is always dtn://OpenWrt
#here is the option edited in my config file option uri dtn://NewID
Well, continuing: I started the daemon at the router with "dtnd -i wlan0" and received the same message as in (2) or (3). I also installed the IBR-DTN on my laptop and started it with: "dtnd -i wlan0 -v -c /etc/ibrdtn/ibrdtnd.conf"
Even with the error message shown (*ERROR* *IPNDAgent*) I am able to send files using the dtnsend and dtndrecv application in both directions (from the laptop to the router and from the router to the laptop), however, the dtnping application did not worked.
In a nutshell I'm having 3 problems:
1 - the IPNDAgent error (openwrt router). 2 - the configuration file error (openwrt router) 3 - the ping application
Thank you in advance.
Juliano Fischer Naves Informatics Professor - IFRO D.Sc. Student - IC/UFF/Brazil
Please do not send me Microsoft Office/Apple iWork documents. Send OpenDocument instead! http://fsf.org/campaigns/opendocument/ Document Freedom Day - Liberate your documents http://documentfreedom.org/ - March 26th 2014
Hi,
some short pointers
On 25 Mar 2014, at 20:31, Juliano julianofischer@gmail.com wrote:
I have a few questions about these messages.
A) I do not have idea what is the meaning of ERROR IPNDAgent: join failed on wlan0; 99: setsockopt(), someone faced the same problem? Any tip will be very appreciated.
Short answer: You can ignore it. See it as a warning at best. I think some discussion about it can be found on the mailing list
B) Note that I edited a configuration file and changed the URI, but even passing my configuration file with the -c, the local node name is always dtn://OpenWrt
#here is the option edited in my config file option uri dtn://NewID
In OpenWRT configuration is a little different. All configuration in /etc/config follows a common syntax in OpenWRT and can be edited with (l)uci . You will notice that the syntax is different from the normal IBR-DTN config file on other plattforms. The OpenWRT format is not understood by the daemon
When you look at the ibrdtn init script on OpenWRT, you will see that it converts the uci configuration to a valid IBR-DTN config file, storing it in /tmp and stats ibrdtn with it. When IBR DTN is running on OpenWRT, started by the init script, you can see via 'ps ax', what the currently used config file is by looking at the -c parameter.
If you change an option OpenWRT style in /etc/config, then you must use the init script to have this change converted and applied when starting IBR-DTN. Alternatively, if you want to start ibrdtn by hand using the -c parameter, start with an IBR-DTN config file from your PC installation, or a autogenerated one from /tmp that was generated by the init magic.
3 - the ping application
What exactly is the problem? Keep in mind the default endpoint for dtnping is „echo“, e.h. dtnping dtn://mynode/echo and not „ping“ (for CBHE IPN addresses it would be 11 IIRC)
Sebastian
Thank you very much Sebastian, I'm venturing with OpenWRT and IBR-DTN for just one week by now and you help me to solve my doubts and problems.
Thanks again!
Juliano Fischer Naves Informatics Professor - IFRO D.Sc. Student - IC/UFF/Brazil
Please do not send me Microsoft Office/Apple iWork documents. Send OpenDocument instead! http://fsf.org/campaigns/opendocument/ Document Freedom Day - Liberate your documents http://documentfreedom.org/ - March 26th 2014
2014-03-25 16:07 GMT-04:00 Sebastian Schildt schildt@ibr.cs.tu-bs.de:
Hi,
some short pointers
On 25 Mar 2014, at 20:31, Juliano julianofischer@gmail.com wrote:
I have a few questions about these messages.
A) I do not have idea what is the meaning of ERROR IPNDAgent: join
failed on wlan0; 99: setsockopt(), someone faced the same problem? Any tip will be very appreciated. Short answer: You can ignore it. See it as a warning at best. I think some discussion about it can be found on the mailing list
B) Note that I edited a configuration file and changed the URI, but even
passing my configuration file with the -c, the local node name is always dtn://OpenWrt
#here is the option edited in my config file option uri dtn://NewID
In OpenWRT configuration is a little different. All configuration in /etc/config follows a common syntax in OpenWRT and can be edited with (l)uci . You will notice that the syntax is different from the normal IBR-DTN config file on other plattforms. The OpenWRT format is not understood by the daemon
When you look at the ibrdtn init script on OpenWRT, you will see that it converts the uci configuration to a valid IBR-DTN config file, storing it in /tmp and stats ibrdtn with it. When IBR DTN is running on OpenWRT, started by the init script, you can see via 'ps ax', what the currently used config file is by looking at the -c parameter.
If you change an option OpenWRT style in /etc/config, then you must use the init script to have this change converted and applied when starting IBR-DTN. Alternatively, if you want to start ibrdtn by hand using the -c parameter, start with an IBR-DTN config file from your PC installation, or a autogenerated one from /tmp that was generated by the init magic.
3 - the ping application
What exactly is the problem? Keep in mind the default endpoint for dtnping is "echo", e.h. dtnping dtn://mynode/echo and not "ping" (for CBHE IPN addresses it would be 11 IIRC)
Sebastian
-- !! 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 (2)
-
Juliano
-
Sebastian Schildt