Hello,
the problem seems to be that dtnoutbox uses the --remove-files parameter of (GNU) Tar, see line 182 here http://git.ibr.cs.tu-bs.de/?p=ibrdtn.git;a=blob;f=ibrdtn/tools/src/dtnoutbox...
As your OpenWRT installation uses the busybox tar (which only supports a subset of all tar options), it does not recognize that parameter.
At the moment I am on a MAC, and the BSD tar also does not support that option, so I can not say what exactly it does. You might want to try recompiling ibrdtn tools without that options. Maybe Johannes can add some information why that parameter is important and whether it could/should be removed or rpelaced in future releases. If you do not have a cross compile environment, from looking at the dtnoutbox source code it sems simple enough, that maybe it can be simulated writing your own small script that peridocially checks a folder, tars the contents and pipes that into dtnsend.
Sebastian
Am 11.04.2013 um 21:40 schrieb Dimitrios Giotas dimigiotas@gmail.com:
Hello,
I require some help with the dtnoutbox command on my OpenWrt router
My current setup is a router and 2 computers, all running ibr dtn, configured with epidemic routing. I am currently trying to send a file from the router to one of the computers using the dtnoutbox command. Both the dtninbox and dtnsend/recv work perfectly in all cases (to and from the router to the computers), however when I try the dtnoutbox command I get the following error :
root@OpenWrt:/# dtnoutbox transfer /outboxFolder dtn://dell/transfer files: dell.conf tar: unrecognized option `--remove-files' BusyBox v1.15.3 (2011-11-24 00:44:20 CET) multi-call binary
Usage: tar -[czxtvO] [-X FILE] [-f TARFILE] [-C DIR] [FILE(s)]...
Create, extract, or list files from a tar file
Options: c Create x Extract t List Archive format selection: z Filter the archive through gzip File selection: f Name of TARFILE or "-" for stdin O Extract to stdout exclude File to exclude X File with names to exclude C Change to directory DIR before operation v Verbose
And it just hangs there.
On the receiving node I get :
dimitris@dimitrisDELL:~$ dtninbox transfer /home/dimitris/inboxFolder tar: This does not look like a tar archive tar: Exiting with failure status due to previous errors
Any ideas?
Thank you
!! 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.