plz help me in my project with inet

2,190 views
Skip to first unread message

Muthanna Abdaullah

unread,
Dec 6, 2013, 8:12:22 AM12/6/13
to omn...@googlegroups.com
when i run any project an error occur as below:

<!> Error in module (IPv4NodeConfigurator) windowsize.client.networkLayer.configurator (id=14) during network initialization: Configurator module 'configurator' not found (check the  networkConfiguratorModule' parameter).

Simulation terminated with exit code: 1
Working directory: D:/omnetpp-4.3.1-src-windows/omnetpp-4.3.1/samples/windowsize/simulations
Command line: ../src/windowsize.exe -r 0 -u Cmdenv -c General -n .;../src;../../inet/examples;../../inet/src -l ../../inet/src/inet --record-eventlog=false --debug-on-errors=false omnetpp.ini

Environment variables:
OMNETPP_ROOT=c:/omnetpp-4.3.1
PATH=;D:/omnetpp-4.3.1-src-windows/omnetpp-4.3.1/samples/inet/src;c:\omnetpp-4.3.1\bin;c:\omnetpp-4.3.1\msys\bin;c:\omnetpp-4.3.1\mingw\bin;c:/omnetpp-4.3.1/ide/jre/bin/client;c:/omnetpp-4.3.1/ide/jre/bin;c:/omnetpp-4.3.1/ide/jre/lib/i386;.;C:\omnetpp-4.3.1\msys\local\bin;c:\omnetpp-4.3.1\mingw\bin;C:\omnetpp-4.3.1\msys\bin;c:\omnetpp-4.3.1\bin;c:\Program Files\Microsoft SQL Server\80\Tools\Binn\;c:\omnetpp-4.3.1\bin;d:\omnetpp-4.3.1-src-windows\omnetpp-4.3.1\samples\inet\src;c:\omnetpp-4.3.1\bin;C:\omnetpp-4.3.1\msys\bin;c:\omnetpp-4.3.1\mingw\bin;c:\omnetpp-4.3.1\ide\jre\bin\client;c:\omnetpp-4.3.1\ide\jre\bin;c:\omnetpp-4.3.1\ide\jre\lib\i386;c:\omnetpp-4.3.1\ide;.;c:\omnetpp-4.3.1;
OMNETPP_IMAGE_PATH=c:\omnetpp-4.3.1\images


i use omnet-4.3.1 with inet 2.2 in windows 7
anyone can help me plzzzzzzzz

Ramon Hofer

unread,
Dec 6, 2013, 8:20:17 AM12/6/13
to omn...@googlegroups.com
Hi Muthanna

I'm a beginner too and am probably totally guessing in the wrong way.

But have you tried using
        configurator: IPv4NetworkConfigurator {
            parameters
:
               
@display("p=623,31");
       
}
as the address configurator?

Maybe you could post your ned and ini files so that I can try it.


Best
Ramon

Muthanna Abdaullah

unread,
Dec 6, 2013, 8:36:50 AM12/6/13
to omn...@googlegroups.com
hello hofer thanks for replying
my .ini file is as below:
[General]

network = windowsize

sim-time-limit = 100s


**.tcpType = "TCP"
**.tcp.advertisedWindow = 65535
**.tcp.delayedAcksEnabled = false
**.tcp.increasedIWEnabled = false
**.tcp.limitedTransmitEnabled = false
**.tcp.mss = 1452
**.tcp.nagleEnabled =true
**.tcp.receiveQueueClass = default
**.tcp.recordStats = true
**.tcp.sackSupport = false
**.tcp.sendQueueClass = default
**.tcp.tcpAlgorithmClass = default
**.tcp.timestampSupport = true
**.tcp.windowScalingSupport = false


**.client.numTcpApps = 1
**.client.tcpApp[*].typename="TCPBasicClientApp"
**.client.tcpApp[*].localAddress = ""
**.client.tcpApp[*].localPort = -1
**.client.tcpApp[*].connectAddress = "server"
**.client.tcpApp[*].connectPort = 80
**.client.tcpApp[*].startTime = 0s
**.client.tcpApp[*].requestLength = 350B
**.client.tcpApp[*].replyLength = 5MiB
**.client.tcpApp[*].numRequestsPerSession = 1
**.client.tcpApp[*].thinkTime = 3s
**.client.tcpApp[*].idleInterval = 10s
**.client.tcpApp[*].reconnectInterval = 50s


**.server.numTcpApps = 1
**.server.tcpApp[*].typename = "TCPSrvHostApp"
**.server.tcpApp[*].serverThreadClass = "TCPGenericSrvThread"
**.server.tcpApp[*].localAddress = ""
**.server.tcpApp[*].localPort = 80


**.tcpApp[*].dataTransferMode = "object"


**.client.ppp[*].queueType = "DropTailQueue"
**.client.ppp[*].queue.frameCapacity = 50

**.server.ppp[*].queueType = "DropTailQueue"
**.server.ppp[*].queue.frameCapacity = 50

**.ppp[*].numOutputHooks = 1
**.ppp[*].outputHook[*].typename = "OrdinalBasedDropper"

**.server.ppp[*].outputHook[*].dropsVector = "100;"

**.numPcapRecorders = 1
**.client.pcapRecorder[*].pcapFile = "clientLog.pcap"
**.server.pcapRecorder[*].pcapFile = "serverLog.pcap"

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
my .ned file is as below:
import inet.networklayer.autorouting.ipv4.FlatNetworkConfigurator;
import inet.nodes.ethernet.EtherHost;
import inet.nodes.inet.StandardHost;
import inet.nodes.xmipv6.MobileHost6;
import inet.util.ThruputMeter;
import ned.DatarateChannel;


//
// TODO documentation
//
network windowsize
{
    @display("bgb=612,331");
    submodules:
        client: StandardHost {
            @display("p=128,153");
        }
        server: StandardHost {
            @display("p=456,153;i=device/server");
        }
        Configurator: FlatNetworkConfigurator {
            @display("p=279,45");
        }
    connections:
        client.pppg++ <--> DatarateChannel {  delay = 0.02s; datarate = 56000bps; } <--> server.pppg++;

Ramon Hofer

unread,
Dec 6, 2013, 8:47:20 AM12/6/13
to omn...@googlegroups.com
I had the same problems some days ago. You need to use IPv4NetworkConfigurator instead of FlatNetworkConfigurator.

ned
package windowsize;

import inet.networklayer.autorouting.ipv4.IPv4NetworkConfigurator;

import inet.nodes.ethernet.EtherHost;
import inet.nodes.inet.StandardHost;
import inet.nodes.xmipv6.MobileHost6;
import inet.util.ThruputMeter;
import ned.DatarateChannel;

@license(LGPL);


network windowsize
{
   
@display("bgb=612,331");
    submodules
:
        client
: StandardHost {
           
@display("p=128,153");
       
}
        server
: StandardHost {
           
@display("p=456,153;i=device/server");
       
}

        configurator
: IPv4NetworkConfigurator {
            parameters
:
               
@display("p=623,31");
       
}

    connections
:
        client
.pppg++ <--> DatarateChannel {  delay = 0.02s; datarate = 56000bps; } <--> server.pppg++;
}

ini
Best,

Muthanna Abdaullah

unread,
Dec 6, 2013, 9:02:51 AM12/6/13
to omn...@googlegroups.com

Irene Rüngeler

unread,
Dec 6, 2013, 9:50:06 AM12/6/13
to omn...@googlegroups.com
Hi Muthamma,

did you include the line

import inet.networklayer.autorouting.ipv4.IPv4NetworkConfigurator;

at the beginning of your .ned file?

Best regards

Irene

--
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

*****************************************

Dr. Irene Rüngeler 
Fachhochschule Münster, Abt. Steinfurt 
FB Elektrotechnik und Informatik 
Labor für Netzwerkprogrammierung, Datenbanklabor 
Bismarckstr. 11 
Tel.: 02551-962561 
Fax: 02551-962563 
EMail: I.Rue...@fh-muenster.de





Muthanna Abdaullah

unread,
Dec 6, 2013, 9:53:24 PM12/6/13
to omn...@googlegroups.com
hello Dr.Irene
 yes, i include it to my project and thank gad it works well

best regards

Muthanna Abdaullah

unread,
Dec 6, 2013, 9:56:58 PM12/6/13
to omn...@googlegroups.com
thank u hofer so much your advice help me a lot......may gad bless you.


best regards

Dhiral Patel

unread,
Dec 7, 2013, 2:09:25 AM12/7/13
to omn...@googlegroups.com, muth...@gmail.com
Hello all,

I have problem in running a project of omnet++.

Following are the runtime errror shown in consol:
**************************************************
Starting...

$ cd D:/omnet++/omnetpp-4.3.1/samples/dmt1_basic
$ dmt1_basic.exe -r 0 -c General omnetpp.ini

OMNeT++ Discrete Event Simulation  (C) 1992-2013 Andras Varga, OpenSim Ltd.
Version: 4.3.1, build: 130913-19cda8a, edition: Academic Public License -- NOT FOR COMMERCIAL USE
See the license for distribution terms and warranty disclaimer
Setting up Tkenv...
Loading NED files from .: 2

<!> Error: module type has no gate `a', required by interface `ned.IBidirectionalChannel', at D:\omnet++\omnetpp-4.3.1\samples\dmt1_basic\dmt1_basic.ned:20.


End.

Simulation terminated with exit code: 1
Working directory: D:/omnet++/omnetpp-4.3.1/samples/dmt1_basic
Command line: dmt1_basic.exe -r 0 -c General omnetpp.ini

Environment variables:
PATH=;D:\omnet++\omnetpp-4.3.1\bin;D:\omnet++\omnetpp-4.3.1\msys\bin;D:\omnet++\omnetpp-4.3.1\mingw\bin;D:/omnet++/omnetpp-4.3.1/ide/jre/bin/client;D:/omnet++/omnetpp-4.3.1/ide/jre/bin;D:/omnet++/omnetpp-4.3.1/ide/jre/lib/i386;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;c:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;c:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\;c:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\;c:\Program Files (x86)\Common Files\Roxio Shared\OEM\12.0\DLLShared\;c:\Program Files (x86)\Roxio\OEM\AudioCore\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Java\jdk1.6.0\bin;;D:\omnet++\omnetpp-4.3.1\ide;
OMNETPP_IMAGE_PATH=D:\omnet++\omnetpp-4.3.1\images

**************************************************************************


Can you guide me plz as I am beginner in omnet++ tool. 
I am not able to run my project.
My future plan is make a testbed condition of mobile network and implement IPv6 on it.


--
Thanks,

DHIRaL
dmt1_basic.ned
omnetpp.ini
dmt1_basic.cc
Reply all
Reply to author
Forward
Message has been deleted
0 new messages