NEmu

Network Emulator for Mobile Universes

Documentation - Setup

The NEmu archive contains the following architecture:

nemu.d/
|-- init.py             # init script
|-- LICENSE            	# license
|-- nemu/              	# source files
|-- nemu.py            	# launcher
|-- rcd/               	# core files
|--  |-- nemo/          # mobilizer core files
|    |-- nemu.bmp      	# logo
|    |-- tools/        	# various tools
|    |-- vrouter/      	# VRouter core files
|    |-- vnd/           # VLink core files
|-- README             	# readme, what else ?
|-- VERSION            	# NEmu version
|-- VERSION.all        	# sub-modules version

The nemu.d directory can be install anywhere in the file system. You have to launch the init.py script in order to build NEmu sub-modules.

$ ./init.py

NEmu requires several dynamic libraries in order to work. If several ones are not installed in the default system directory, you need to add them in rcd/tools/Makefile before running init.py. For instance, on Mac OS X, you have to add some extra directories if you have installed libraries from macports:

...
# --------- Lib & include directories ---------
INCLUDE_DIRS= /opt/local/include
LIB_STATIC_DIRS=
LIB_SHARED_DIRS= /opt/local/lib
# ---------------------------------------------
...

An environment variable called NEMUROOT has to be set with the path of nemu.d. You can (or rather should) also setup an alias.

$ export NEMUROOT={path to nemu.d}
$ alias nemu="$NEMUROOT/nemu.py"
$ nemu