IIRC, if you start IBR-DTN with a clock set to 1970 it will notice that and switch to badclock mode (you should see a warning upon startup). It will then use the age block.
If you have a time set on both nodes and it does not work, it is probably because the clocks are not actually the same. IBR-DTN queries the UTC time form the system, and a correctly set up Linux system has the hw clock set to UTC (and all timezone information is handled by the OS). If your clock is off by a (couple of) hours you can check if you increase lifetime, i,e instead of the standard 60 sec start dtnping with
--lifetime 3660 , --lifetime 7260, ..
until it works. Then you can set the clock on ofe the times accordingly.
Sebastian
Am 12.06.2014 um 05:36 schrieb Juliano julianofischer@gmail.com:
Hi, I'm having a weird problem which I would like to share.
I have a two nodes with IBR-DTN, a laptop and a router station.
When I turn on the router, the date is Jan. 01 1970 The date of the laptop is the current date.
I tryed dtnping, dtnsend & dtnrecv, dtninbox & dtnoutbox, and it works fine with this configuration. IMO, this is a little strange, because I faced situations where synchronization is needed to reach communication with IBR-DTN.
However, the stranger is coming! (paraphrasing game of thrones)
I setup the router time to the current time too, then, dtnping, dtnsend/dtnrecv, and dtninbox/dtnoutbox stopped working.
Weird, right? Can someone help me?
PS. the config file is attached. PS2. I want to see everybody here rooting for Brazil (we will be six-times world champions)
=)
Juliano <ibrdtnd.conf>-- !! 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.