Stjepan Groš

MIPv6 Handovers

The project's goal

TBD

Links

Unsorted material

Working with OMNeT++ simulator

OMNet++ is a discrete event based simulator written in C++. Actually, it is a framework on which different simulation models are written. For the moment I'm aware of the following ones:

  1. INET

    This framework provides implementation of the Internet protocols and some frequently used data-link layer protocols on the Internet (e.g Ethernet).

  2. xMIPv6

    This is a fork of INET protocol that has added MIPv6 functionality. It is regularly synchronized with the INET framework.

  3. MiXiM
  4. inetmanet

Compiling and running on Fedora 11

The goal was to install the simulator in the /opt/simulators/omnetpp-4.0 directory. To do that I've done the following:

  1. Create the directory /opt/simulators/ as a root user and change it's ownership to some unpriviledged user. Become the unpriviledged user, change your active directory and unpack the OMNeT++ sources. After unpacking you'll have the omnetpp-4.0 subdirectory. cd into that directory.

  2. There are some compilation problems that are related to much stricter C++ compiler shipped with Fedora (GCC 4.4). So, in all the files that can not compile you should add #include <stdio.h>.

    Here is the patch that will do that for you. Apply it in the following way (after you unpacked the OMNeT++ sources):

        $ patch -p1 < <path_and_filename_of_the_patch>
        
  3. Do configure and make steps from the documentation. (Don't forget to set PATH variable before make).

  4. After the compilation has finished, you have to one JAR in order to be able to run Eclipse IDE shipped with OMNeT++ (I found this tip on omnetpp group):

    1. Install Fedora eclipse
    2. Deleted file org.eclipse.swt.gtk.linux.x86_64_3.4.1.v3449c.jar from /opt/simulators/omnetpp-4.0/ide/plugins
    3. Copy file org.eclipse.swt.gtk.linux.x86_64_3.4.1.v3452b.jar from /usr/lib64/eclipse/plugins/ to /opt/simulators/omnet-4.0/ide/plugins

How to...

In this section I'll list some Howtos that I had to google so that the others can find it much quicker...