Omnet aloha testing

467 views
Skip to first unread message

Likitha Vijjapu

unread,
Nov 17, 2017, 3:04:53 PM11/17/17
to OMNeT++ Users
Hi,

I have installed omnet and am using it for the first time, when i was trying to check my installation tried calling aloha and got this error. how do i go about this ?

D-10-156-29-44:aloha sgaruda$ ./aloha

OMNeT++ Discrete Event Simulation  (C) 1992-2017 Andras Varga, OpenSim Ltd.

Version: 5.2, build: 170929-f95315d, edition: Academic Public License -- NOT FOR COMMERCIAL USE

See the license for distribution terms and warranty disclaimer


Setting up Cmdenv...


Loading NED files from .:  4


Preparing for running configuration General, run #0...

Assigned runID=General-0-20171117-11:42:53-28144

Setting up network "Aloha"...


<!> Error: The simulation wanted to ask a question, set cmdenv-interactive=true to allow it: "Enter parameter 'Aloha.host[0].iaTime' (unassigned):" -- in module (aloha::Host) Aloha.host[0] (id=3), during network setup


End.

Michael Kirsche

unread,
Nov 17, 2017, 5:25:47 PM11/17/17
to OMNeT++ Users
Well you are running your Aloha simulation under the command environment and you did not set a necessary parameter and you did not enable the "interactive questioning" feature of the command environment, where you can enter parameters directly on the command line. So what should OMNeT do?
Either a) set all necessary parameters prior to the start of the simulation, or b) enable the interactivity feature of the command environment, or c) run your simulation under the graphical user interface and enter the required parameters in the GUI.
All ways are described in the OMNeT++ simulation manual with lots of background information too, so check it out.
Reply all
Reply to author
Forward
0 new messages