LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack 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: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,196

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
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: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,196

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
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: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,196

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

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


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to patch GPSR routing protocol to ns-2.34 nimacasino Linux - Software 229 Yesterday 01:49 AM
How to install ZRP (Zone routing protocol) patch in ns-2.34 hassan329 Ubuntu 202 04-10-2014 07:39 AM
How to install ZRP (Zone routing protocol) patch in ns-2.35 dmaa Linux - Software 19 12-19-2011 11:46 AM
LXer: Tutorial: Border Gateway Protocol, The Routing Protocol of the Internet LXer Syndicated Linux News 0 11-13-2008 05:11 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration