LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-21-2016, 10:52 AM   #1
Adaramola ojo jayeola
LQ Newbie
 
Registered: Jun 2016
Posts: 15
Blog Entries: 2

Rep: Reputation: Disabled
using VanetMobisim


good day everybody;

please I am working on VANET routing protocol that required to be simulated using NS2 to evaluate the protocol and VanetMobisim simulator for mobility modelling. I have successfully installed these two simulators. But I am completely new in using these simulators. please what command do I need to start my VanetMobisim. your contribution will be highly appreciated

thank you
ojo
 
Old 07-21-2016, 01:35 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by Adaramola ojo jayeola View Post
good day everybody;

please I am working on VANET routing protocol that required to be simulated using NS2 to evaluate the protocol and VanetMobisim simulator for mobility modelling. I have successfully installed these two simulators. But I am completely new in using these simulators. please what command do I need to start my VanetMobisim. your contribution will be highly appreciated
You've been told in almost ALL of your previous threads, that YOU need to show effort of your own...and yet you still don't. You've been working with this for going on two months now. Have you not learned ANYTHING in that time?? Have you not, despite being asked to, read the "Question Guidelines" link?

Try putting "how to run vanetmobisim" into Google...try reading the first three links, that have instructions and documentation. Perhaps watch the YouTube video that SHOWS YOU step by step. But please, stop asking us to look things up for you and hand you links...show effort of your own.
 
Old 07-26-2016, 12:40 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
INFO, vanetmobisim http://www.linuxquestions.org/questi.../vanetmobisim/

The vanetmobisim manual http://vanet.eurecom.fr/VanetMobiSim_1_0__Manual.pdf

Using : java -jar VanetMobiSim-1.1.jar [scenario.xml]

Scenarios : Unpack "VanetMobiSim-samples.jar".
The best working samples are IDM_LC.xml, trafficLights.xml .
* The samples are from year 2007.



-

Last edited by knudfl; 07-26-2016 at 12:54 PM.
 
Old 07-26-2016, 02:01 PM   #4
Adaramola ojo jayeola
LQ Newbie
 
Registered: Jun 2016
Posts: 15

Original Poster
Blog Entries: 2

Rep: Reputation: Disabled
thank you for your reply. But this kind of error i have been getting by using the command:

ojo@ojo-VirtualBox:~/Documents/VanetMobiSim-1.1-1/samples$ java -jar VanetMobiSim-1.1-1.jar IDM_LC.xml

Error: Unable to access jarfile VanetMobiSim-1.1-1.jar

ojo@ojo-VirtualBox:~/Documents/VanetMobiSim-1.1-1/samples$
 
Old 07-26-2016, 05:12 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #4.

Then make a copy of VanetMobiSim-1.1.jar to Documents/VanetMobiSim-1.1-1/

... I don't known the "VanetMobiSim-1.1-1.jar". I have VanetMobiSim-1.1.jar.
 
Old 07-27-2016, 05:45 AM   #6
Adaramola ojo jayeola
LQ Newbie
 
Registered: Jun 2016
Posts: 15

Original Poster
Blog Entries: 2

Rep: Reputation: Disabled
I really appreciate your help but after copied and several attempts, i still got this error. though i am still trying to know were the problem lies. maybe the VanetMobiSim-1.1.jar not working properly.


ojo@ojo-VirtualBox:~/Documents/VanetMobiSim-1.1/samples$ ls
GDFGenerator.xml points_fast.txt TIGERReader.xml
graph_walk_with_spatial.xml points_slow.txt trafficLights.xml
IDM_IM.xml space_graph_model.xml userGraph_walk.xml
IDM_LC.xml speedLimits.txt VanetMobiSim-1.1.jar
META-INF speed_path_selection.xml
ojo@ojo-VirtualBox:~/Documents/VanetMobiSim-1.1/samples$ java -jar VanetMobiSim-1.1.jar [IDM_LC.xml]

Error loading model from [IDM_LC.xml]

java.io.FileNotFoundException: [IDM_LC.xml] (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.io.FileInputStream.<init>(FileInputStream.java:93)
at Runner.loadModel(Unknown Source)
at Runner.<init>(Unknown Source)
at Runner.main(Unknown Source)
ojo@ojo-VirtualBox:~/Documents/VanetMobiSim-1.1/samples$
 
Old 07-27-2016, 08:27 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #6.

The command is : java -jar VanetMobiSim-1.1.jar IDM_LC.xml

If you see something like [file] or <file> it usually means :
Replace [file] or <file> with the real file name, without the brackets.


-
 
1 members found this post helpful.
Old 07-27-2016, 09:23 AM   #8
Adaramola ojo jayeola
LQ Newbie
 
Registered: Jun 2016
Posts: 15

Original Poster
Blog Entries: 2

Rep: Reputation: Disabled
Great it works when i used the command:

java -jar VanetMobiSim-1.1.jar IDM_LC.xml

i have spent several days on this particular problem. The problem is solved now.

you are such a wonderful person. I really appreciate your effort sir. Time for me to fly.

kudos sir.
 
Old 07-27-2016, 11:22 AM   #9
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by Adaramola ojo jayeola View Post
The problem is solved now.
Hi...

Good to hear. If you would, please mark this thread as "SOLVED" by clicking on "Thread Tools" directly above your initial post. Thanks!

Regards...
 
  


Reply

Tags
ns2, vanetmobisim


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I can not run the VanetMobiSim hemo Linux - Networking 2 06-13-2015 04:58 PM
ERROR vanetmobisim hemo Linux - Networking 1 05-21-2015 04:59 PM
car density vanetmobisim farfattou Programming 0 03-08-2013 12:45 PM
vanetmobisim on ubuntu 11.04 farfattou Linux - Software 9 02-27-2013 08:58 AM
VanetMobiSim/ ns2 khedidja Linux - Networking 5 12-28-2012 07:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration