LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-18-2015, 07:09 AM   #16
kruvi
LQ Newbie
 
Registered: Apr 2015
Posts: 8

Rep: Reputation: Disabled
help


i m using ubuntu 14.04.1 and ns-2.35..

after extracting $ tar xvf umolsr-examples-04.2015.tar.gz this file

what to do next?????
 
Old 04-18-2015, 08:59 AM   #17
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,661

Rep: Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281
Re #16.

? What to do next ?

Assuming that you have a usable "ns-olsr" in /usr/local/bin/,
.. like the build example here ...
http://network-simulator-ns-2.7690.n...l-td29457.html
.... then : $ cd umolsr-examples-04.04.2015/
(The folder 'umolsr-examples-04.04.2015/' can have any location in /home/[name]/)
And : $ ns-olsr ddebbie90-scenario.tcl


The updated examples, umolsr-examples-04.04.2015.tar.gz :
https://drive.google.com/file/d/0B7S...ew?usp=sharing


-

Last edited by knudfl; 04-18-2015 at 05:34 PM.
 
Old 04-19-2015, 11:07 PM   #18
kruvi
LQ Newbie
 
Registered: Apr 2015
Posts: 8

Rep: Reputation: Disabled
still error

still getting error while run the following command

The safe way : Make a copy of the right 'ns' to 'ns-olsr' :
$ cd ns-2.35/
$ cp ns ns-olsr
$ sudo cp ns-olsr /usr/local/bin/
... Then you can run all the olsr simulations like :
$ ns-olsr ddebbie90-scenario.tcl
OLSR examples : umolsr-examples-04.2015.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing
( "olsr.tcl" is an unknown file.)

after doing this .tcl file generate error....

and cant patch
$ cd ns-allinone-2.35/ns-2.35/
$ tar zxvf um-olsr.tgz
$ ln -s ./um-olsr ./olsr
$ patch -p1 < olsr/um-olsr_ns-2.35_v1.0.patch
 
Old 04-20-2015, 04:51 AM   #19
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,661

Rep: Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281
Re #18.

"still getting error while run the following command" : Which error ? Which command ?


The updated build of ns-2.35 + OLSR was shown in post #6. ('Oct 2014')
Latest is ( 'Nov 2014' ) :
$ tar xvf ns-allinone-2.35_gcc482.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing
$ cd ns-allinone-2.35/
$ patch -p0 < umolsr-ns235_v1.0-2014.patch
$ ./install
$ cd ns-2.35/
$ cp ns ns-olsr
$ sudo cp ns-olsr /usr/local/bin/

-
 
Old 05-11-2015, 07:35 AM   #20
kruvi
LQ Newbie
 
Registered: Apr 2015
Posts: 8

Rep: Reputation: Disabled
error

Sir i m using ubuntu 14.04.1

$ tar xvf ns-allinone-2.35.tar.gz && cd ns-allinone-2.35/

$ patch -p0 < umolsr-ns235_v1.0-2014.patch

when i run above two commands then it succesfully run but while run following command then

$ export CC=gcc-4.4 CXX=g++-4.4 && ./install

it return

bash: ./install: Permission denied

now, what i have to do for it??
 
Old 05-11-2015, 08:21 AM   #21
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,661

Rep: Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281
Re #20.

Please download a new ns-allinone-2.35_gcc482.tar.gz , see post #19,
instead of the old 2011 version.

And please unpack ns-allinone-2.35_gcc482.tar.gz in /home/[name]/[ns2]/, see #19.
! The Desktop/ cannot be used !



-
 
Old 05-15-2015, 07:14 AM   #22
kruvi
LQ Newbie
 
Registered: Apr 2015
Posts: 8

Rep: Reputation: Disabled
Smile

Thanks for your valuable Reply...
Now i can run OLSR...
Thank u very much....
 
Old 05-15-2015, 07:21 AM   #23
kruvi
LQ Newbie
 
Registered: Apr 2015
Posts: 8

Rep: Reputation: Disabled
modify

i want to modify OLSR protocol as per my steps or proposed scheme For VANET..i m really confused

for this purpose what i need to do??
which file have to modified??
how much and which files i required??
how to add my algorithm steps??
how to modified OLSR algorithm??


Thank u.....
 
Old 05-17-2015, 07:15 AM   #24
kruvi
LQ Newbie
 
Registered: Apr 2015
Posts: 8

Rep: Reputation: Disabled
need help

i want to modify OLSR protocol as per my steps or proposed scheme For VANET..i m really confused

for this purpose what i need to do??
which file have to modified??
how much and which files i required??
how to add my algorithm steps??
how to modified OLSR algorithm??
 
  


Reply

Tags
ns2, olsr, olsr-235


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
NS2 - AODV & OLSR - Ubuntu david_diamond Linux - Newbie 11 06-03-2014 01:11 AM
olsr patch for ns2.35 ubuntu 12.10 alr_m Linux - Software 1 01-15-2014 09:11 AM
ns2 installation on ubuntu with olsr patch giving following error bhushan0710 Linux - Newbie 8 01-21-2013 04:09 AM


All times are GMT -5. The time now is 01:31 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration