Hello,
I am currently having trouble passing bundles between nodes on our system using dtnd and dtnsend or even successfully using dtnping. I have installed everything in the correct order (I believe), but dtnping and dtnsend just result in deleted bundles at the receiving node. Is there anymore documentation on how to use these programs correctly? I know they are connecting, because I can run tracepath and get the path between them, so I must be doing something else wrong.
Thanks, Carson Dunbar
Hello,
The bundles are deletet at the RECEICING node? That would at least indicate a successful transfer. Do you have the correct time on both nodes? To be sure set them to the same timezone and use ntp to sync the clocks. You can also try increasing the lifetime of bundles, i.e. with --lifetime 7200 in dtnping will generate a bundle with 2 hours lifetime. If a suffciently long lifetime works, this would also hint at some problem with your time sync between the systems.
Otherwise: What is the exact output of the receiving node? I think normally IBR-DTN should give some hint why it deleted some bundle
MfG
Sebastian
Am 29.11.2011 um 23:13 schrieb Carson Dunbar:
Hello,
I am currently having trouble passing bundles between nodes on our system using dtnd and dtnsend or even successfully using dtnping. I have installed everything in the correct order (I believe), but dtnping and dtnsend just result in deleted bundles at the receiving node. Is there anymore documentation on how to use these programs correctly? I know they are connecting, because I can run tracepath and get the path between them, so I must be doing something else wrong.
Thanks, Carson Dunbar -- !! 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://www.ibr.cs.tu-bs.de/mailman/listinfo/ibr-dtn.
Hi, Thanks for the quick response. Yeah I realized time could have been an issue, but from what I see, they both have the correct time (at least relative to each other). The output i'm getting from dtnd on the receiving node is as follows:
Tue Nov 29 17:32:18 2011 NOTICE: QueueBundleEvent: New bundle queued [375921138.53] dtn://v001/filetransfer Tue Nov 29 17:32:18 2011 NOTICE: BundleEvent: bundle [375921138.53] dtn://v001/filetransfer received Tue Nov 29 17:32:18 2011 NOTICE: BundleEvent: bundle [375921138.53] dtn://v001/filetransfer deleted
Thanks, Carson
On Tue, Nov 29, 2011 at 5:20 PM, Sebastian Schildt schildt@ibr.cs.tu-bs.dewrote:
Hello,
The bundles are deletet at the RECEICING node? That would at least indicate a successful transfer. Do you have the correct time on both nodes? To be sure set them to the same timezone and use ntp to sync the clocks. You can also try increasing the lifetime of bundles, i.e. with --lifetime 7200 in dtnping will generate a bundle with 2 hours lifetime. If a suffciently long lifetime works, this would also hint at some problem with your time sync between the systems.
Otherwise: What is the exact output of the receiving node? I think normally IBR-DTN should give some hint why it deleted some bundle
MfG
Sebastian
Am 29.11.2011 um 23:13 schrieb Carson Dunbar:
Hello,
I am currently having trouble passing bundles between nodes on our
system using dtnd and dtnsend or even successfully using dtnping. I have installed everything in the correct order (I believe), but dtnping and dtnsend just result in deleted bundles at the receiving node. Is there anymore documentation on how to use these programs correctly? I know they are connecting, because I can run tracepath and get the path between them, so I must be doing something else wrong.
Thanks, Carson Dunbar -- !! 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://www.ibr.cs.tu-bs.de/mailman/listinfo/ibr-dtn.
-- !! 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://www.ibr.cs.tu-bs.de/mailman/listinfo/ibr-dtn.
Hello,
That is strange. It really "should" work :) Maybe for better comparison, here a succesful transfer, and the corresponding commands and log messages:
SENDER Node (smokedtn):
$ md5sum test.cpp a0e5878a7c99c8936955674309b668c1 test.cpp
$ dtnsend dtn://sbase.dtn/myapp test.cpp Transfer file "test.cpp" to dtn://sbase.dtn/myapp
$ tail -f /tmp/ibrdtn.log Tue Nov 29 23:48:46 2011 NOTICE: BundleReceivedEvent: Bundle received [375922126.196663] dtn://smokedtn.ibr.cs.tu-bs.de/filetransfer -> dtn://sbase.dtn/myapp Tue Nov 29 23:48:46 2011 NOTICE: QueueBundleEvent: New bundle queued [375922126.196663] dtn://smokedtn.ibr.cs.tu-bs.de/filetransfer Tue Nov 29 23:48:46 2011 NOTICE: BundleEvent: bundle [375922126.196663] dtn://smokedtn.ibr.cs.tu-bs.de/filetransfer received Tue Nov 29 23:48:46 2011 NOTICE: TransferCompletedEvent: transfer of bundle [375922126.196663] dtn://smokedtn.ibr.cs.tu-bs.de/filetransfer to dtn://sbase.dtn completed Tue Nov 29 23:48:46 2011 NOTICE: BundleEvent: bundle [375922126.196663] dtn://smokedtn.ibr.cs.tu-bs.de/filetransfer forwarded Tue Nov 29 23:48:46 2011 NOTICE: singleton bundle delivered and removed: [375922126.196663] dtn://smokedtn.ibr.cs.tu-bs.de/filetransfer Tue Nov 29 23:48:46 2011 NOTICE: BundleEvent: bundle [375922126.196663] dtn://smokedtn.ibr.cs.tu-bs.de/filetransfer deleted
------------------------
RECEIVER Node (sbase):
# dtnrecv --file received.txt --name myapp Wait for incoming bundle... Bundle received (1). done.
# tail -f /mnt/sda1/ibrdtn.log Tue Nov 29 22:48:46 2011 NOTICE: BundleReceivedEvent: Bundle received [375922126.196663] dtn://smokedtn.ibr.cs.tu-bs.de/filetransfer -> dtn://sbase.dtn/myapp Tue Nov 29 22:48:46 2011 NOTICE: QueueBundleEvent: New bundle queued [375922126.196663] dtn://smokedtn.ibr.cs.tu-bs.de/filetransfer Tue Nov 29 22:48:46 2011 NOTICE: BundleEvent: bundle [375922126.196663] dtn://smokedtn.ibr.cs.tu-bs.de/filetransfer received Tue Nov 29 22:48:46 2011 NOTICE: BundleEvent: bundle [375922126.196663] dtn://smokedtn.ibr.cs.tu-bs.de/filetransfer delivered
# md5sum received.txt a0e5878a7c99c8936955674309b668c1 received.txt
Does this help?
MfG
Sebastian
Am 29.11.2011 um 23:37 schrieb Carson Dunbar:
Hi, Thanks for the quick response. Yeah I realized time could have been an issue, but from what I see, they both have the correct time (at least relative to each other). The output i'm getting from dtnd on the receiving node is as follows:
Tue Nov 29 17:32:18 2011 NOTICE: QueueBundleEvent: New bundle queued [375921138.53] dtn://v001/filetransfer Tue Nov 29 17:32:18 2011 NOTICE: BundleEvent: bundle [375921138.53] dtn://v001/filetransfer received Tue Nov 29 17:32:18 2011 NOTICE: BundleEvent: bundle [375921138.53] dtn://v001/filetransfer deleted
Thanks, Carson
On Tue, Nov 29, 2011 at 5:20 PM, Sebastian Schildt schildt@ibr.cs.tu-bs.de wrote: Hello,
The bundles are deletet at the RECEICING node? That would at least indicate a successful transfer. Do you have the correct time on both nodes? To be sure set them to the same timezone and use ntp to sync the clocks. You can also try increasing the lifetime of bundles, i.e. with --lifetime 7200 in dtnping will generate a bundle with 2 hours lifetime. If a suffciently long lifetime works, this would also hint at some problem with your time sync between the systems.
Otherwise: What is the exact output of the receiving node? I think normally IBR-DTN should give some hint why it deleted some bundle
MfG
Sebastian
Am 29.11.2011 um 23:13 schrieb Carson Dunbar:
Hello,
I am currently having trouble passing bundles between nodes on our system using dtnd and dtnsend or even successfully using dtnping. I have installed everything in the correct order (I believe), but dtnping and dtnsend just result in deleted bundles at the receiving node. Is there anymore documentation on how to use these programs correctly? I know they are connecting, because I can run tracepath and get the path between them, so I must be doing something else wrong.
Thanks, Carson Dunbar -- !! 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://www.ibr.cs.tu-bs.de/mailman/listinfo/ibr-dtn.
-- !! 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://www.ibr.cs.tu-bs.de/mailman/listinfo/ibr-dtn.
Hi.
Am 29.11.2011 23:37, schrieb Carson Dunbar:
The output i'm getting from dtnd on the receiving node is as follows:
To which endpoint id are you sending the bundle? Do you send it directly to the node without an application part?
e.g. dtn://abc123 is just a node. The node will drop all bundles. dtn://abc123/echo is an application which response to bundles with a copy of the bundle.
Please check if you sent your bundle to dtn://v001/filetransfer to receive it with dtnrecv.
Johannes
Hi Thanks for the response, it is working now. I was forgetting to add the /echo and /filetranfer to my eids. Thank you.
Carson
On Wed, Nov 30, 2011 at 2:22 AM, Johannes Morgenroth < morgenro@ibr.cs.tu-bs.de> wrote:
Hi.
Am 29.11.2011 23:37, schrieb Carson Dunbar:
The output i'm getting from dtnd on the receiving node is as follows:
To which endpoint id are you sending the bundle? Do you send it directly to the node without an application part?
e.g. dtn://abc123 is just a node. The node will drop all bundles. dtn://abc123/echo is an application which response to bundles with a copy of the bundle.
Please check if you sent your bundle to dtn://v001/filetransfer to receive it with dtnrecv.
Johannes
-- Johannes Morgenroth Institut fuer Betriebssysteme und Rechnerverbund Tel.: +49-531-391-3249 Muehlenpfordtstrasse 23 Fax.: +49-531-391-5936 TU Braunschweig D-38106 Braunschweig
-- !! 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://www.ibr.cs.tu-bs.de/mailman/listinfo/ibr-dtn.
participants (3)
-
Carson Dunbar
-
Johannes Morgenroth
-
Sebastian Schildt