LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-16-2011, 12:41 PM   #1
omar11
LQ Newbie
 
Registered: Dec 2011
Posts: 5

Rep: Reputation: Disabled
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

Last edited by omar11; 12-16-2011 at 09:25 PM.
 
Old 12-16-2011, 02:50 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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

..

Last edited by knudfl; 12-16-2011 at 02:52 PM.
 
1 members found this post helpful.
Old 12-16-2011, 08:52 PM   #3
omar11
LQ Newbie
 
Registered: Dec 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
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)

Last edited by omar11; 12-16-2011 at 09:34 PM.
 
Old 12-17-2011, 10:56 AM   #4
omar11
LQ Newbie
 
Registered: Dec 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
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 !
 
Old 12-17-2011, 11:44 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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 ?

.
 
Old 12-18-2011, 08:59 PM   #6
omar11
LQ Newbie
 
Registered: Dec 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
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.
 
Old 08-15-2012, 04:48 AM   #7
khinmyo
Member
 
Registered: Aug 2012
Posts: 37

Rep: Reputation: Disabled
Red face

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!!!!!
 
Old 08-15-2012, 05:15 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 7, @khinmyo :

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


Reply



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
How to install ZRP (Zone routing protocol) patch in ns-2.34 hassan329 Ubuntu 225 03-24-2018 06:58 AM
How to install ZRP (Zone routing protocol) patch in ns-2.35 dmaa Linux - Software 42 01-09-2016 05:19 PM
How to patch GPSR routing protocol to ns-2.34 nimacasino Linux - Software 287 06-10-2014 12:27 PM
LXer: Tutorial: Border Gateway Protocol, The Routing Protocol of the Internet LXer Syndicated Linux News 0 11-13-2008 05:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07: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