LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   instal sumo and move for VANEt (https://www.linuxquestions.org/questions/linux-newbie-8/instal-sumo-and-move-for-vanet-4175580982/)

bochra 05-29-2016 03:52 PM

instal sumo and move for VANEt
 
hi sirs
i have install ns2 in Fedora19 and i want to instal sumo and move for simulate vehicular ad hoc network
i dowloads sumo -0.26.0-4.1.i686.rpm but when i want to install it i run this command rpm -ivh sumo-0.26.0-4.1.i686.rpm so i found this error :
warning: sumo-0.26.0-4.1.i686.rpm :Herder V3 DSA/SH1 Signature,Key ID 559bc40e:NOKEY
error:Failed dependencies:
libpng 16.so.16 is needed by sumo-0.26.0-4.1.i686

could you help me please
thank you

knudfl 05-29-2016 06:48 PM

Welcome to LQ.

MOVE.jar ... will work only with sumo version 0.12.3
http://www.nsnam.com/2014/09/sumo-an...imulation.html

# yum install gdal-devel proj-devel xerces-c-devel fox-devel
* But sumo-0.12.3 cannot be built with Fedora 19.
* We have the package sumo-0.12.3.fc16-1.i686.rpm, which can repacked to Fedora 19.
.. I can upload a copy of this new fc19 package ..... tomorrow.

Sumo INFO http://www.linuxquestions.org/questions/tags/sumo/
MOVE.jar https://drive.google.com/file/d/0B7S...ew?usp=sharing

Note : There is no libpng16.so.16 for Fedora 19 :
libpng16.so.16 appears first time in Fedora 20.


-

knudfl 05-29-2016 07:28 PM

Well, I found an easy solution :
One file was missing for sumo-0.12.3.fc16-1.i686.rpm to work in Fedora 19 : libtiff.so.3 .
The file is supplied in an extra package, compat-libtiff3-3.9.5-1.fc19.i686.rpm .
.. So "sumo-0.12.3.fc16-1.i686.rpm" comes with no changes.

Links :
sumo-0.12.3.fc16 https://drive.google.com/file/d/0B7S...ew?usp=sharing
compat-libtiff3 https://drive.google.com/file/d/0B7S...ew?usp=sharing

Please download the packages, and 1) $ cd Downloads/
2) # yum install compat-libtiff3-3.9.5-1.fc19.i686.rpm
3) # yum install sumo-0.12.3.fc16-1.i686.rpm


-

bochra 05-30-2016 09:24 AM

move.jar
 
thank you so much sir Knudfl:
i install sumo-0.12.3.fc16 and compat-libtiff3 succsfuly
now i want to instal MOVE.jar whith this command java-jar MOVE.jar so i found this error:
bash: java-jar :command not found ...
that means i want to install jdk?? but i can't install it on fedora 19
could you help me sir please
thank you

knudfl 05-30-2016 10:36 AM

Re #4

The right command is : java -jar MOVE.jar
I.e. : java<space>-jar<space>MOVE.jar

May be you can use openjdk : yum install java-1.7.0-openjdk



-

bochra 05-30-2016 05:55 PM

thank you sir Knudfl, it work succsfuly

bochra 06-01-2016 06:31 AM

traffic model
 
1 Attachment(s)
thank you sir for your help, i have an ather problem
i generate mobility model and i want to generate the traffic model

i have to choose NAM trace file and specify the file location but i dont generate a nam file previossly
what should i do?

knudfl 06-01-2016 09:38 AM

1 Attachment(s)
Re #4.

Seems you will only have to specify 'nam trace file' when "NAM trace" is ticked.

bochra 06-02-2016 05:34 AM

thank you sir
so i will specify only the files that is tiked?
sir in the table connections i will put connection beteen all the nodes or i have juste do connection beteen a groupe of nodes randemly
thank you sir

bochra 06-02-2016 06:30 AM

1 Attachment(s)
hi sir
when i run Run Ns-2 i found this error
could you help me please i'm beginner

knudfl 06-02-2016 08:00 AM

Re #10.

Your "ns2.tcl" : Unknown file.

Solution : Probably define w like : set w [value]
? May be : set w 1

bochra 06-02-2016 04:51 PM

thank you sir
i run ns2 in console but i want to run Nam for visualize ns2 but i can 't because in all priviouse steps of model mobility oer model traffic i did'nt create a nam file
sir could you help me to how i can create a name file in move
thank you
regards

knudfl 06-02-2016 06:13 PM

Re #12.
Quote:

I did'nt create a nam file
Well, then please edit your file ( ns2.tcl ? ) to create "out.nam", if possible.

If you want help, please attach the file(s) like ns2.tcl.txt .
( All text files must have suffix .txt to be attached.)
Attachments : That's the paper clip tool in the 'Advanced Editor'.

Or : Upload the file to 'Google Docs'.


-

bochra 06-04-2016 12:34 PM

thank you sir knudfel
I finished my simulation of protocol and i got the trace file(result.tr)
now i want to calculate some performance criteria like end to end dely ... , but i d'ont know how to do this?
could you help me please

knudfl 06-04-2016 02:10 PM

Re #14.

Some trace files can be analyzed with an awk script :
Example $ awk -f delay.awk out.tr

Delay scripts :
delay_alterado_einar.awk
delay.awk
delay-e2e.awk
delay_-_jitter_alterado_einar.awk
delay-link.awk
delay_original.awk
del-ratio.awk
e2edelay.awk
en2end-delay.awk
Endtoenddelay.awk
intervalo_confianca_delay_-_jitter.awk
intervalo_confianca_delay_-_jitter_maximo.awk
measure-delay.awk
media_simples_delay_-_jitter.awk
thr_drop_delay.awk

All ~125 scripts : awk#perl#python__scripts-10.2015.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing


-


All times are GMT -5. The time now is 03:47 AM.