View Single Post
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#12
You can interact in the dtnd shell. For example:
Code:
% route dump
to show your routing table and links. Try "help" to see a list off commands to get more help on. You can daemonize the dtnd like so:

Code:
# dtnd  -d -o dtnd.log
and then

Code:
# telnet localhost 5050
to get back into the dtnd shell.

A good first test is:

Code:
#dtnping localhost
There is also the other apps like dtntraceroute, dtnping, dtncat, etc. If you are feeling more adventurous, you could try adding a link (in the dtnd shell) or in the dtn.conf file (follwed by a dtnd restart) to my server, as below:

Code:
% link add tcp0 delaytolerant.net ONDEMAND tcp
then to set up a route,

Code:
% route add dtn://*.delaytolerant.net/* tcp0
Whether you ad the link and route in the shell or edit the conf and restart the daemon, you'll need to run

Code:
% link open tcp0
To bring up the link.

My nodes run the Delay Tolerant Link State Router (dtlsr) instead of the Static router, so if you switch to that in the conf file, you should get a whole bunch of new routes added and be able to dtping and dtntraceroute to my nodes.

I'll see if I can get DT-Talkie working later. My N800 is at dtn://n800.delaytolerant.net

Appending .dtn is optional. I'd leave it off if your EID is for a host with a fully resolvable name that will offer an internet routable interface, but add it if its just a host on the local domain. In practice, it doesn't really matter.

Good luck.
__________________
Class .. : Lame hacker & beardy boffin
Humour . : [#######---] Alignment: Apathetic anarchist
Patience : [####------] Weapon(s): My cat, my code.
Agro ... : |#---------] Relic(s) : N900, MacBookPro, NSLU2, N800, SheevaPlug, Eee-901, Core2-Quad, PS3
"In theory, theory and practice are the same. In practice, they're not."
--
Beware of extras-devel.
 

The Following 2 Users Say Thank You to fnordianslip For This Useful Post: