DTN Quick Start for Linux

Ubuntu and Debian

The DTN2 source code distribution can automate the creation of deb packages. We just followed the recipe on a couple systems to create these packages.

1. Install the Oasys and DTN2 package appropriate for your architecture. If your package manager doesn't offer to install them automatically just download them and run: sudo dpkg -i *.deb.

Ubuntu 9.04

i386

liboasys_1.4.0_i386.deb dtn_2.7.0_i386.deb

Ubuntu 10.04

i386

liboasys_1.4.0_i386.deb dtn_2.7.0_i386.deb

Debian Squeeze

amd64

liboasys_1.4.0_amd64.deb dtn_2.7.0_amd64.deb

2. Put up a useful configuration file and restart the daemon. Writing a config file for DTN2 can be confusing. Here is an example that does flood routing and neighbor discovery on a wireless interface configured to use a link-local (ipv4 auto-config) address.

3. Download and run the PyGTK GUI. This will let you view your link status, bundle inventory, and send and receive bundles.

Notes:: :: Unlike many other systems Ubuntu's network manager won't fall back to IPv4 auto-config if DHCP fails. To enable IPv4 auto-config on an ad-hoc network you have previously discovered on recent Ubuntu systems do the following:

:: The debian packages do some extra work that does not happen when you install from source.

Other Linuxes

For other Linux distributions you still have to build from source. For 32-bit systems this us pretty easy. As mentioned above, debian packages do some extra work that does not happen when you install from source. For one thing the dtnd daemon will not automatically run. The config script mentioned in instruction 2, and the GUI in instruction 3 are still applicable, though.

QuickStart/Linux (last edited 2010-09-17 01:34:56 by Brenton Walker)