LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to patch DYMOUM routing protocol in ns-2.33 ! (https://www.linuxquestions.org/questions/linux-software-2/how-to-patch-dymoum-routing-protocol-in-ns-2-33-a-919095/)

omar11 12-16-2011 12:41 PM

How to patch DYMOUM routing protocol in ns-2.33 !
 
Hello,

I have a problem to patch Dymoum routing protocol in ns-2.33

I have followed the commands provided in this website
http://masimum.inf.um.es/fjrm/?page_id=126
but Im still getting errors.

I have downloaded dymoum-0.3.tgz and dymoum-0.3_ported_to_ns-2.33.patch

knudfl 12-16-2011 02:50 PM

Welcome to LQ.

Not quite clear if you are using ns-allinone -2.28 or -2.33.

The files must match the version, you want to use it for ?
Quote:

$ tar xvf dymoum-0.1.tgz
.
.
.... patch -p1 < dymoum-0.3_ported_to_ns-2.33.patch
The "dymoum-0.3 patches" are for dymoum-0.3 only, I guess.
http://sourceforge.net/projects/dymoum/

And the command sequence for the patching in ns-2.33 is :
cd ns-allinone-2.33/ns-2.33/dymoum-0.3/
&& patch -p1 < dymoum-0.3_ported_to_ns-2.33.patch

..

omar11 12-16-2011 08:52 PM

Quote:

Originally Posted by knudfl (Post 4551927)
Welcome to LQ.

Not quite clear if you are using ns-allinone -2.28 or -2.33.

The files must match the version, you want to use it for ?

The "dymoum-0.3 patches" are for dymoum-0.3 only, I guess.
http://sourceforge.net/projects/dymoum/


..

sorry I just quoted the wrong command in the previous post. I have ns-2.33

I have downloaded dymoum-0.3.tgz and dymoum-0.3_ported_to_ns-2.33.patch

I have followed these commands:

$ cd ns-allinone-2.33/ns-2.33/
$ tar zxvf dymoum-0.3.tgz
$ cd ns-allinone-2.33/ns-2.33/dymoum-0.3
$ patch -p1 < dymoum-0.3_ported_to_ns-2.33.patch
then I installed ns ./install

the installation completed successfully

but the problem Is that I get an error when I run a test_2n.tcl example which is in dymoum-0.3/ns/test

Code:

invalid command name "Agent/DYMOUM"
    while executing
"Agent/DYMOUM set debug_ true"
    (file "test_2n.tcl" line 42)


omar11 12-17-2011 10:56 AM

Anyone can help me to solve this problem ?

I have Installed ns 2 and dymoum again and the installation process went well, but still getting the same error when I try to run an example of dymoum !

knudfl 12-17-2011 11:44 AM

Ref. your link http://masimum.inf.um.es/fjrm/?page_id=126
→ Section "ns2" ( Line 195 ) :

$ns_ node-config -adhocRouting DYMOUM

More info http://netlab.cse.yzu.edu.tw/ns2/html/doc/node46.html
Line 5 : $ns node-config -adhocRouting <New Node>
May be? the command $ns_ node-config -adhocRouting DYMOUM
or $ns node-config -adhocRouting DYMOUM
must be written into the tcl file ?

.

omar11 12-18-2011 08:59 PM

Thanks knudfl I did all that but it stil show the same message.. May be there is something wrong with this patch.

Anyway, thanks for ur help.

khinmyo 08-15-2012 04:48 AM

hello all,


after patching aodu-uu in ns2,
it show that >>>>> ns: command not found when I type ns
why is it?
before patching , it show % when I type ns and it is ok to test .tcl files.

so, please help me.
it is important for me!!!!!

knudfl 08-15-2012 05:15 AM

# 7, @khinmyo :

Please use your own thread to ask questions about aodv-uu.
http://www.linuxquestions.org/questi...-a-4175421818/


All times are GMT -5. The time now is 08:19 PM.