-
Notifications
You must be signed in to change notification settings - Fork 18
Unable to simulate #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
ScadaSim was build using some old version of omnet++ and INET. You needs to convert it to new version. Names of some functions are changed and some other changes in INET. I tried to convert it to latest version. I removed more then 300 errors. I removed all the errors present in NED files but there are few errors present in .cc source files. I also contacted the Carlos Queiroz creator of SCADASim. I did not get any response. Now I am trying to make my own SCADA simulator. I got idea from SCADASim it will be similar to SCADASim. |
If you want to run SCADASim you need to use some old version of omnet++ and INET. I don't know exactly which version. |
I was wondering why so many errors, I think I will try to do the same, but Thank you for your response. Simon.
|
This is an old version. You would need the right old versions of inet and omnet. There is an experimental branch that may be better. I stopped working on this project 3 years ago. Cheers, Sent from my iPhone
|
Do you happen to have the installer for omnet and the inet package that you Thank you very much, Simon.
|
Mr Queiroz, do you remember which version of Inet and Omnet you worked with? I would really appreciate it. Gracias, Simon. |
I think it was version 4. You can check on the experimental branch. Cheers, Sent from my iPhone
|
Thank you very much. Simon. On Thu, Jun 18, 2015 at 10:32 AM, Carlos Queiroz [email protected]
|
Good morning Mr Queiroz, sorry to bother you, I know that you havent worked on this project for long. But I have questions. I'm using Omnet 4.1, 4.0 does tell me that I need at least 4.02 but it is not available to download, 4.1 also tells me that 4.02 at least is needed so because Im working with 4.2 and still gives me the error I bypassed that checkup. Also, besides Inet, do I have to install other packages? It has error like it cannot find sqlite3.h termios.h etc. I was wondering if I need to install other projects or open and link others that already come with Omnet. Thank you. Simon. |
Good morning Mr Queiroz, Did you by any chance read my last comment on the scadasim github? I would greatly appreciate it if you would give me a hand. Thank you, Simon Windmuller. On Wed, Jun 17, 2015 at 6:43 AM, Carlos Queiroz [email protected]
|
I have used sqlite to store some data during the simulation. You can remove the places where it is used . If you don't want to use it Cheers, Sent from my iPhone
|
But where did you get sqlite? How did you install it in Omnet++? In there any more documentation on how you built Scadasim? Maybe if you did Thank you, Simon. On Fri, Jun 26, 2015 at 10:31 AM, Carlos Queiroz [email protected]
|
You have to install SQLite on your computer. Not related to omnet at all. Cheers, Sent from my iPhone
|
Ok, thank you. Another question, did you use windows? Linux? What version? Thank you. Simon. On Fri, Jun 26, 2015 at 10:55 AM, Carlos Queiroz [email protected]
|
Never used windows . Only Linux or Mac. Cheers, Sent from my iPhone
|
Does it matter what distribution of linux to use?
|
@zaman-ahmad @saimon7777 |
You'll have to use the specific version of omnet and Inet that Queiroz used
when he developed this simulation. Try 3.2.2 and the relevant Inet package.
I warn you that I spent a good amount of time debugging the package itself
after installing it until I finally got one simulation working.
I just used ScadaSIM to learn how to use Omnet but finally designed my own
in a newer, less buggy version (4.0) to avoid wasting time dealing with
such an older simulation.
Try to learn how to use the built in simulations/examples from Inet and
just use them/modify them to your needs. And then learn about the INI files
for the simulations and the results analysis tools.
Good luck with your simulations.
Simon.
…On Sat, Aug 4, 2018, 12:57 AM MasoudKaveh, ***@***.***> wrote:
@zaman-ahmad <https://github.com/zaman-ahmad> @saimon7777
<https://github.com/saimon7777>
Hi. I am new to omnet++ and I want to work on SCADAsim. I don't know how
to execute the project that Mr @caxqueiroz <https://github.com/caxqueiroz>
puts on the following link. Please guide me. tnx.
https://github.com/caxqueiroz/scadasim
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMU9e60fMwOYdQDkyMrQdWSqqlaodcDHks5uNUXVgaJpZM4EFDFr>
.
|
Tnx a lot dear Mr. Simon for your notes. |
@saimon7777 |
Sorry brother, I can't, all materials from the thesis are protected until
November 2019. But I can tell you what example I used and modified.
If you go to INET examples there's two examples called
wiredandwirelesshostwithap and throughput. I used those to simulate
communication between two entities and measure delay between them and
throughput and graph one versus the other.
If you open the first example folder you will find an .ned file for the
simulation and the INI file. In the simulation file you can modify
topography of your simulation and on the INI file you will set simulation
parameters as times of simulation, module-specific parameters related to
travel times, space models, delay between communication, module modes, etc.
And one last thing that you might need to modify is listeners or recorders,
becase certain parameters that you want to capture are not always
implemented in the simulation.
The easiest way to modify modules would be going to the .ned file, selec a
module of the simulation, lets say a Host and going down to hierarchy
viewer and double click on the mode that you want to modify, that will
ensure that the mode that you selected in the ini file is the one that is
going to run after you modify it.
After everything runs with one set of parameters you can start doing
secuencial runs by using verbal simulation instead of graphical and using
parameter in the INI file in the form of (example) t = [1, 2, 4, 7] to run
4 simulations consecutively and have a data vector to graph.
Let me know if you have any other questions.
Cheers,
Simon.
…On Tue, Aug 7, 2018 at 11:31 PM MasoudKaveh ***@***.***> wrote:
@saimon7777 <https://github.com/saimon7777>
Hi. Mr. Simon sorry to bother you. May I have any docs or source code of
your own simulation to get an idea for creating my own simulation?? Thank
you very much. Kaveh
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMU9e6NhUeEi3KJECNUBekwd5rvXwzzMks5uOnengaJpZM4EFDFr>
.
|
@saimon7777 |
@saimon7777 |
What version of Omnet is that? Whats inside that examples/inet folder?
I deleted all my Omnet distro from my machine so you'll have to guide me
through your folder tree.
What I did was to install Omnet 5.0 and then let Omnet install all the INET
project on the first run.
Let me know.
…On Mon, Aug 13, 2018 at 12:22 AM MasoudKaveh ***@***.***> wrote:
@saimon7777 <https://github.com/saimon7777>
Hi Mr. Simon. I can not find wiredandwirelesshostwithap and throughput in
INET examples. Plz have a look at the appended picture.
[image: untitled]
<https://user-images.githubusercontent.com/42085643/44015605-f768e090-9ee6-11e8-913a-90d5ef349545.jpg>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMU9e_TCFltLzsPjOWI48hxGGcSYh0vhks5uQRs0gaJpZM4EFDFr>
.
|
@saimon7777 |
Yes, those two examples that I used for my thesis are from version 5.0, you
may not find them in version 4, or not at least with that name, something
similar but not exactly. I only used version 4.2.2 to run a part of
SCADASim and then left it alone and installed 5.0 and started fresh.
Simon.
…On Mon, Aug 13, 2018, 1:01 AM MasoudKaveh, ***@***.***> wrote:
@saimon7777 <https://github.com/saimon7777>
The version that I'm using is 4.4.1
I think I let OMNET add the INET examples at the first place too. But now
I guess that it may be a version problem. The followed pictures show the
INET/examples in my OMNET. Thank you very much.
[image: 1]
<https://user-images.githubusercontent.com/42085643/44016995-3d57a0e6-9eec-11e8-9af6-e42d1a9cf289.jpg>
[image: 3]
<https://user-images.githubusercontent.com/42085643/44016997-3dfb01c8-9eec-11e8-8703-7a35c121e38d.jpg>
[image: 4]
<https://user-images.githubusercontent.com/42085643/44016999-3e4b45fc-9eec-11e8-96c9-87fe723167ed.jpg>
[image: untitled]
<https://user-images.githubusercontent.com/42085643/44017003-3f08df36-9eec-11e8-8728-a0f0fd718f44.jpg>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMU9e9iP26idJvaiLCJMQUq5ZyfOouNfks5uQSRhgaJpZM4EFDFr>
.
|
@saimon7777 Cheers, kaveh. |
@saimon7777 thank you very much. Cheers, Kaveh. |
Hi! Unfortunately my code is hurried somewhere in a hard drive after I did
a cleanup so it's hard for me to explain. But if theres a specific question
that you have I might be able to answer.
Cheers
…On Sat, Aug 4, 2018, 12:57 AM MasoudKaveh, ***@***.***> wrote:
@zaman-ahmad <https://github.com/zaman-ahmad> @saimon7777
<https://github.com/saimon7777>
Hi. I am new to omnet++ and I want to work on SCADAsim. I don't know how
to execute the project that Mr @caxqueiroz <https://github.com/caxqueiroz>
puts on the following link. Please guide me. tnx.
https://github.com/caxqueiroz/scadasim
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMU9e60fMwOYdQDkyMrQdWSqqlaodcDHks5uNUXVgaJpZM4EFDFr>
.
|
@saimon7777 Cheers |
Ok, when you have a red X means that it hasn't been built. You have to buid
it until it builds correctly, for that you will probably need to try
several times and fix errors until it gets built. Cheers.
Simon.
…On Mon, Sep 24, 2018, 9:38 AM MasoudKaveh, ***@***.***> wrote:
@saimon7777 <https://github.com/saimon7777>
Tnx dear Mr. Saimon for your responses. For example, the following picture
shows the files that make SCDASim. I need a brief explanation for each of
them, and need to know how to run the SCADASim? I will really appreciate if
you can do this.
Cheers
Ka
[image: image]
<https://user-images.githubusercontent.com/42085643/45955299-602d5100-c01c-11e8-97ee-43acecf0bafa.png>
veh
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMU9e4vmTJeqvexkVo4Rvm1RJHEjqseeks5ueOA6gaJpZM4EFDFr>
.
|
@saimon7777 Cheers. Kaveh. |
You usually don't need to modify any source code other than ones in the
simulation folder, the rest is resources that the simulations use and it's
very rare that you need to fix anything there. If theres all those error is
either because a package like INET is not installed or not properly
installed, or in the case of that version, you will need to build the whole
thing again.
About a brief explanation of the files, as I mentioned before, they are
resources to be used or build simulations, so other than saying that is a
"distributed dos attack" there's no other explanation that I can give you.
Simon.
…On Mon, Sep 24, 2018, 10:15 AM MasoudKaveh, ***@***.***> wrote:
@saimon7777 <https://github.com/saimon7777>
I know that it has many errors. But I want to know their concepts and
meanings in the first place. for example, I think the "ddos" file means the
distributed DoS attack. If I know a brief explanation of the files, then I
will fix their errors more efficiently.
Cheers.
Kaveh.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMU9ezS4Ed5abal2Tc8g2CIThpG3B2xIks5ueOjpgaJpZM4EFDFr>
.
On Mon, Sep 24, 2018, 10:15 AM MasoudKaveh, ***@***.***> wrote:
@saimon7777 <https://github.com/saimon7777>
I know that it has many errors. But I want to know their concepts and
meanings in the first place. for example, I think the "ddos" file means the
distributed DoS attack. If I know a brief explanation of the files, then I
will fix their errors more efficiently.
Cheers.
Kaveh.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMU9ezS4Ed5abal2Tc8g2CIThpG3B2xIks5ueOjpgaJpZM4EFDFr>
.
|
@saimon7777 cheers. Kaveh. |
Hello Saimon, |
I am new to omnet++. I wanted to work on SCADAsim. I don't know how to execute a project. Please guide me how to start.
The text was updated successfully, but these errors were encountered: