LinuxQuestions.org
Review your favorite Linux distribution.
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 03-15-2015, 02:48 AM   #1
naren.ad.13
LQ Newbie
 
Registered: Mar 2015
Posts: 5

Rep: Reputation: Disabled
Smile Problem at time of running OLSR file in NS 2.35 in ubuntu 14.10


I am workin on OLSR in ns 2.35 ubuntu 14.10.

I perform all steps and install ns 2.35 and patch um-olsr-ns-2.35_v1.0.patch file after that olsr example run succesfully but problem is every example not run succesfully they showing me fatal error or any line error.

so can u tell me how to solve it

os : ubuntu 14.10 i686.

Last edited by naren.ad.13; 03-22-2015 at 03:53 AM. Reason: missed to mention os version
 
Old 03-18-2015, 02:14 PM   #2
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,706

Rep: Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294
Welcome to LQ.

Your post isn't readable : Color is for a single word >>> red or blue.
Please edit your post.
Editing : The 'Edit' button.

OLSR : Please start from scratch with ...
$ tar xvf ns-allinone-2.35_gcc482.tar.gz (Updated version, for gcc -4.6 .. -4.9)
https://drive.google.com/file/d/0B7S...ew?usp=sharing
$ patch -p0 < umolsr-ns235_v1.0-2014.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing
$ ./install
$ cd ns-2.35/
$ sudo make install

-
 
1 members found this post helpful.
Old 03-18-2015, 03:20 PM   #3
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,706

Rep: Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294
OLSR examples : umolsr-examples-04.2014.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing

OLSR info :
. http://www.linuxquestions.org/questi...-4175521224/#6
. http://www.linuxquestions.org/questions/tags/olsr/
. http://network-simulator-ns-2.7690.n...57.html#a29459
. http://network-simulator-ns-2.7690.n...olsr&sort=date
. https://groups.google.com/forum/?fro...olsr|sort:date


-
 
1 members found this post helpful.
Old 03-21-2015, 11:51 AM   #4
naren.ad.13
LQ Newbie
 
Registered: Mar 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thank you.

But still same problem came.

old patch was succesfully working to but some of tcl file were not working in that.
 
Old 03-21-2015, 01:10 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,187

Rep: Reputation: 4404Reputation: 4404Reputation: 4404Reputation: 4404Reputation: 4404Reputation: 4404Reputation: 4404Reputation: 4404Reputation: 4404Reputation: 4404Reputation: 4404
Quote:
Originally Posted by naren.ad.13 View Post
Thank you.
But still same problem came. old patch was succesfully working to but some of tcl file were not working in that.
And since you still don't tell us what the "same problem" is, there's not much we can tell you. In your first post, all you say is "problem is every example not run succesfully they showing me fatal error or any line error."...and you've not said anything else. Please read the "Question Guidelines" link in my posting signature, and also see the LQ Rules about text-speak, and not using it.

We will be happy to try to help you, but without details, there is nothing we can do.
 
1 members found this post helpful.
Old 03-21-2015, 01:24 PM   #6
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,706

Rep: Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294
When you have found out which of the examples are "not working", you may get an answer.


But : You will still have to edit post #1.




-
 
1 members found this post helpful.
Old 03-22-2015, 03:51 AM   #7
naren.ad.13
LQ Newbie
 
Registered: Mar 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
Smile

Thank you for your reply.

I installed ns 2.35 in ubuntu 14.10 32bit than I patch OLSR.
At the time of starting phase olsr patch not working than i Found I have to use ns-umolsr instead of ns at time of execute olsr program.

Than I get the example for OSLR from google in which 2 examples are working and rest of not. so I think that is problem of OLSR patch (#post :1)
st
than I made 1 by my self an execute in ns2 an it will work (#Post :4).

Now I am trying to add malicious nodes in OLSR but show me error like this,

num_nodes is set 35
INITIALIZE THE LIST xListHead
Loading connection pattern...
Loading scenario file...
Load complete...
Starting Simulation...
ns: _o173 hacker :
(_o173 cmd line 1)
invoked from within
"_o173 cmd hacker"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o173" line 2)
(SplitObject unknown line 2)
invoked from within
"_o173 hacker "


Help me with this.

I attached file please tell me what is error in it.
Attached Files
File Type: txt simple-wireless .tcl.txt (9.2 KB, 13 views)
 
  


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
Get Error after run tcl file for OLSR....anyone please help AUJU Linux - Newbie 21 10-28-2015 06:42 AM
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
running nam file in ns2 it gives warning as trace file events are not sorted by time s20 Linux - Software 0 07-19-2013 09:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration