The Mobile Mesh software was developed for a Linux 2.2.X kernel. It's
quite possible that it may run under 2.3.X kernels as well, but, the
author has not tested this.  

Take the following steps to build and install the Mobile Mesh
software:

1) make depends

This will update the file "depends.mk" with your system's header file
locations.


2) make

This step will build all the Mobile Mesh binaries including:
  mmdiscover
  mmrp
  mmborder
  mmtodot

You may want to edit the Makefile. My system's include file
<asm/socket.h> does not define SO_ATTACH_FILTER which is needed by the
Mobile Mesh software. I have provided a newer version of this header
file (taken from the kernel sources) under the "include-fixes"
directory that does define SO_ATTACH_FILTER. If you wish to use your
own system's header file, edit the Makefile and remove the
"-Iinclude-fixes" part of the CXXFLAGS statement.


3) make install

Note: You must be root to do this.

This step will:

  a) install the binaries and executable shell scripts in /usr/bin

  b) create the directory /var/run/mobilemesh. This directory is where
  the Unix sockets that provide interprocess communication amongst the
  Mobile Mesh programs reside.

  c) create the directory /etc/mobilemesh and install default
  configuration files in it.


4) make install-man

This step will install man pages for the Mobile Mesh programs in the
system's man directory.

Once you have completed step 3, you may run the Mobile Mesh tools
mmdiscover, mmrp.  Some of the other tools require additional Open
Source software:

mmborder requires iproute2 which may be obtained from:
ftp://ftp.sunet.se/pub/Linux/ip-routing/

The Mobile Mesh visualization tools mmtodot and mmrpviz require
GraphViz which may be obtained from:
http://www.graphviz.org

See the Mobile Mesh FAQ for help installing these tools.



