start an Ad Hoc simulation on OMNet++

551 views
Skip to first unread message

Jhonny.CHAMOUN

unread,
Jun 11, 2011, 7:29:23 AM6/11/11
to omnetpp
hey guys i'm new to OMNet++ and i have a project to simulate Ad hoc
networks with OMNet,
In order to study the performance of AODV protocol.

I installed the INETMANET thing and i'm trying to create my network
but i didn't find any thing
related to Ad Hoc.

any help would be appreciated.

Alfonso Ariza Quintana

unread,
Jun 12, 2011, 10:30:59 AM6/12/11
to omn...@googlegroups.com
You can find several examples in the directory

examples/adhoc


> Date: Sat, 11 Jun 2011 04:29:23 -0700
> Subject: [Omnetpp-l] start an Ad Hoc simulation on OMNet++
> From: jhonny....@gmail.com
> To: omn...@googlegroups.com
> --
> You received this message because you are subscribed to the Google Groups "omnetpp" group.
> To post to this group, send email to omn...@googlegroups.com.
> To unsubscribe from this group, send email to omnetpp+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/omnetpp?hl=en.
>

Jhonny.CHAMOUN

unread,
Jun 13, 2011, 8:52:04 AM6/13/11
to omnetpp
Hey
when i'm trying to import the projects from examples/adhoc
it says that "No projects are found to import"
and the extensions of the files are not known by OMNet++.
is there any way to import the projects in order to test them???
thank you..

Alfonso Ariza Quintana

unread,
Jun 13, 2011, 3:25:11 PM6/13/11
to omn...@googlegroups.com
the project is inetmanet, is the only project

-----Mensaje original-----
From: Jhonny.CHAMOUN
Sent: Monday, June 13, 2011 2:52 PM
To: omnetpp
Subject: [Omnetpp-l] Re: start an Ad Hoc simulation on OMNet++

--

Jhonny.CHAMOUN

unread,
Jun 14, 2011, 7:07:30 AM6/14/11
to omnetpp
Hey another important question :)

how can i use cancelEvent() method in order to drop self messages
before i receive them;
what parameter should i provide, knowing that it needs cMessage, how
can i fix the self message
without receiving it??

thank you in advance.

On Jun 11, 2:29 pm, "Jhonny.CHAMOUN" <jhonny.cham...@gmail.com> wrote:

Zarrar Yousaf

unread,
Jun 14, 2011, 7:20:12 AM6/14/11
to omn...@googlegroups.com
Hi,

I have a running installation of Omnet-4.2b2 in Linux 2.6.32-31 (Ubuntu 10.04.2 LTS).

I am now trying to install the recently released INET 1.99.1 (unstable) and when i execute "make makefiles" from the comman line, i get the following error:

 cd src && opp_makemake -f --deep --make-so -o inet -O out -Xapplications/voiptool -Xnetworklayer/ipv6tunneling -Xnetworklayer/xmipv6 -Xnodes/xmipv6 -Xtransport/tcp_nsc -DWITH_TCP_COMMON -DWITH_TCP_INET -DWITH_TCP_LWIP -DWITH_IPv4 -DWITH_IPv6 -DWITH_UDP -DWITH_RTP -DWITH_SCTP -DWITH_ETHERNET -DWITH_PPP -DWITH_EXT_IF -DWITH_MPLS -DWITH_OSPFv2 -DWITH_BGPv4 -DWITH_MANET
opp_makemake: --deep is neither an existing file/dir nor a valid option
make: *** [makefiles] Error 1

help and hints would be appreciated

Thanks

Zarrar

Rudolf Hornig

unread,
Jun 14, 2011, 8:11:07 AM6/14/11
to omn...@googlegroups.com
Hi Zarrar,

the --deep parameter was not recognized by opp_makemake. This most likely means that your path points to a 3.x omnetpp installation. Check your path and set the environment to point to 4.2b2

which opp_makemake 

will reveal you which omnetpp is used.
Rudolf

Jhonny.CHAMOUN

unread,
Jun 14, 2011, 12:59:40 PM6/14/11
to omnetpp
hey i need to fix a bandwidth for the connections i have in my
network,
can i do it?? and How??
thank you in advance...

On Jun 11, 2:29 pm, "Jhonny.CHAMOUN" <jhonny.cham...@gmail.com> wrote:

Jhonny.CHAMOUN

unread,
Jun 14, 2011, 12:58:26 PM6/14/11
to omnetpp
hey i need to fix a bandwidth for the connections i have in my
network,
can i do it?? and How??
thank you in advance...

On Jun 11, 2:29 pm, "Jhonny.CHAMOUN" <jhonny.cham...@gmail.com> wrote:

Zarrar Yousaf

unread,
Jun 16, 2011, 6:59:02 AM6/16/11
to omn...@googlegroups.com
Thanks Rudolf, it compiled without a hitch after i commented out the omnet3 from the path...but then it means that i can only run one variant ?

regards

Zarrar

--- On Tue, 6/14/11, Rudolf Hornig <rudolf...@gmail.com> wrote:

Rudolf Hornig

unread,
Jun 16, 2011, 7:29:23 AM6/16/11
to omn...@googlegroups.com
No, you can have several versions of omnet on your machine, but only one of them should be in the path. Usually I have a 'setenv' script in each omnet variants root folder which adds the bin directory to the beginning of the path. (and I dont have omnetpp/bin in my .profiles or .bashrc file. When I want to compile from command line I just source the file and use that console for further build commands...

Rudolf
Reply all
Reply to author
Forward
0 new messages