LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem at time of running OLSR file in NS 2.35 in ubuntu 14.10 (https://www.linuxquestions.org/questions/linux-newbie-8/problem-at-time-of-running-olsr-file-in-ns-2-35-in-ubuntu-14-10-a-4175536777/)

naren.ad.13 03-15-2015 02:48 AM

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.

knudfl 03-18-2015 02:14 PM

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

-

knudfl 03-18-2015 03:20 PM

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


-

naren.ad.13 03-21-2015 11:51 AM

Thank you.

But still same problem came.

old patch was succesfully working to but some of tcl file were not working in that.

TB0ne 03-21-2015 01:10 PM

Quote:

Originally Posted by naren.ad.13 (Post 5335612)
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.

knudfl 03-21-2015 01:24 PM

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.




-

naren.ad.13 03-22-2015 03:51 AM

1 Attachment(s)
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.


All times are GMT -5. The time now is 07:50 PM.