LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-11-2012, 06:08 AM   #31
khinmyo
Member
 
Registered: Aug 2012
Posts: 37

Original Poster
Rep: Reputation: Disabled

Thank you .sir!!
Now, it is successful to run nam files!
Your instructions are useful for me!
 
Old 09-11-2012, 06:21 AM   #32
khinmyo
Member
 
Registered: Aug 2012
Posts: 37

Original Poster
Rep: Reputation: Disabled
How to install zrp in ns2.33?

Hi sir,

When I patch PatchZRP.patch, I encounter as follows,
khinmyo@ubuntu:~/ns-allinone-2.33/ns-2.33$ patch -p1 < ./zrp/PatchZRP.patch
patching file ns-2.33/common/packet.h
Hunk #1 FAILED at 67.
Hunk #2 FAILED at 180.
Hunk #3 FAILED at 303.
3 out of 3 hunks FAILED -- saving rejects to file ns-2.33/common/packet.h.rej
patching file ns-2.33/Makefile
Hunk #1 FAILED at 53.
Hunk #2 FAILED at 259.
2 out of 2 hunks FAILED -- saving rejects to file ns-2.33/Makefile.rej
patching file ns-2.33/tcl/lib/ns-agent.tcl
Hunk #1 FAILED at 192.
1 out of 1 hunk FAILED -- saving rejects to file ns-2.33/tcl/lib/ns-agent.tcl.rej
patching file ns-2.33/tcl/lib/ns-default.tcl
Hunk #1 FAILED at 1337.
1 out of 1 hunk FAILED -- saving rejects to file ns-2.33/tcl/lib/ns-default.tcl.rej
patching file ns-2.33/tcl/lib/ns-lib.tcl
Hunk #1 FAILED at 621.
Hunk #2 FAILED at 791.
2 out of 2 hunks FAILED -- saving rejects to file ns-2.33/tcl/lib/ns-lib.tcl.rej
patching file ns-2.33/tcl/lib/ns-packet.tcl
Hunk #1 FAILED at 167.
1 out of 1 hunk FAILED -- saving rejects to file ns-2.33/tcl/lib/ns-packet.tcl.rej
patching file ns-2.33/trace/cmu-trace.cc
Hunk #1 FAILED at 54.
Hunk #2 FAILED at 464.
Hunk #3 FAILED at 1218.
3 out of 3 hunks FAILED -- saving rejects to file ns-2.33/trace/cmu-trace.cc.rej
patching file ns-2.33/trace/cmu-trace.h
Hunk #1 FAILED at 149.
1 out of 1 hunk FAILED -- saving rejects to file ns-2.33/trace/cmu-trace.h.rej
khinmyo@ubuntu:~/ns-allinone-2.33/ns-2.33$

So, please help me what I should do!!!
 
Old 09-11-2012, 10:21 AM   #33
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
# 32

This is an "aodv-uu" thread.

See post # 28 : If you have zrp questions : Please start a new thread.
http://www.linuxquestions.org/questi...ux-software-2/ > New Thread
 
Old 09-12-2012, 12:57 AM   #34
khinmyo
Member
 
Registered: Aug 2012
Posts: 37

Original Poster
Rep: Reputation: Disabled
sorry sir!!
I will do now!
 
Old 02-01-2013, 08:43 PM   #35
sakha
LQ Newbie
 
Registered: Feb 2013
Posts: 5

Rep: Reputation: Disabled
dear Mr knudfl

Sory sir, I have some question about AODV on NS2
I install NS 2 allinone 2.35 on my ubuntu, not work with patch AODV UU ?

what's the solution that I did not install again NS 2 older version ?
 
Old 02-02-2013, 02:34 AM   #36
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Post # 35, @ sakha : Welcome to LQ.
Quote:
I install NS 2 allinone 2.35 on my ubuntu, not work with patch AODV UU ?
No, I don't think so.
And why use version 2.35, when you easily can install all the other versions ?
... Please read all posts about aodv-uu carefully.
 
Old 02-03-2013, 09:00 PM   #37
sakha
LQ Newbie
 
Registered: Feb 2013
Posts: 5

Rep: Reputation: Disabled
sory Sir,

I have some error when install patch ns-2.32-aodv-uu.patch

this result :

Code:
root@sakha-K43SV:~/ns-allinone-2.32/ns-2.32/aodv-uu-0.9.6/patches# patch -p0 < ns-2.32-aodv-uu.patch 
patching file ns-2.32/common/packet.h
Hunk #1 FAILED at 170.
Hunk #2 FAILED at 268.
2 out of 2 hunks FAILED -- saving rejects to file ns-2.32/common/packet.h.rej
patching file ns-2.32/Makefile.in
Hunk #1 FAILED at 52.
Hunk #2 FAILED at 71.
Hunk #3 FAILED at 310.
Hunk #4 FAILED at 366.
Hunk #5 FAILED at 376.
Hunk #6 FAILED at 506.
6 out of 6 hunks FAILED -- saving rejects to file ns-2.32/Makefile.in.rej
patching file ns-2.32/queue/priqueue.cc
Hunk #1 FAILED at 92.
1 out of 1 hunk FAILED -- saving rejects to file ns-2.32/queue/priqueue.cc.rej
patching file ns-2.32/tcl/lib/ns-agent.tcl
Hunk #1 FAILED at 192.
1 out of 1 hunk FAILED -- saving rejects to file ns-2.32/tcl/lib/ns-agent.tcl.rej
patching file ns-2.32/tcl/lib/ns-default.tcl
Hunk #1 FAILED at 1370.
1 out of 1 hunk FAILED -- saving rejects to file ns-2.32/tcl/lib/ns-default.tcl.rej
patching file ns-2.32/tcl/lib/ns-lib.tcl
Hunk #1 FAILED at 615.
Hunk #2 FAILED at 671.
Hunk #3 FAILED at 691.
Hunk #4 FAILED at 755.
4 out of 4 hunks FAILED -- saving rejects to file ns-2.32/tcl/lib/ns-lib.tcl.rej
patching file ns-2.32/tcl/lib/ns-mobilenode.tcl
Hunk #1 FAILED at 887.
1 out of 1 hunk FAILED -- saving rejects to file ns-2.32/tcl/lib/ns-mobilenode.tcl.rej
patching file ns-2.32/tcl/lib/ns-packet.tcl
Hunk #1 FAILED at 161.
1 out of 1 hunk FAILED -- saving rejects to file ns-2.32/tcl/lib/ns-packet.tcl.rej
patching file ns-2.32/trace/cmu-trace.cc
Hunk #1 FAILED at 51.
Hunk #2 FAILED at 885.
Hunk #3 FAILED at 1179.
3 out of 3 hunks FAILED -- saving rejects to file ns-2.32/trace/cmu-trace.cc.rej
patching file ns-2.32/trace/cmu-trace.h
Hunk #1 FAILED at 133.
1 out of 1 hunk FAILED -- saving rejects to file ns-2.32/trace/cmu-trace.h.rej
root@sakha-K43SV:~/ns-allinone-2.32/ns-2.32/aodv-uu-0.9.6/patches#
please help where the fault,

Thanks Sir

Last edited by sakha; 02-06-2013 at 06:53 PM.
 
Old 02-04-2013, 07:12 AM   #38
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
# 37 : Please edit post #37 to use code tags :
http://www.linuxquestions.org/questi....php?do=bbcode
( The # button in the 'Advanced Editor' will also do code tags.)

Your errors : You are applying the patch from the wrong location.

Please copy the patch to ns-allinone-2.32/, and then do :
1) cd ns-allinone-2.32/
2) pwd : To make sure, that you are at ns-allinone-2.32/.
3) patch -p0 < ns-2.32-aodv-uu.patch
.. This is what I get :
Code:
patching file ns-2.32/common/packet.h
patching file ns-2.32/Makefile.in
Hunk #1 succeeded at 52 with fuzz 1.
patching file ns-2.32/queue/priqueue.cc
patching file ns-2.32/tcl/lib/ns-agent.tcl
patching file ns-2.32/tcl/lib/ns-default.tcl
patching file ns-2.32/tcl/lib/ns-lib.tcl        
patching file ns-2.32/tcl/lib/ns-mobilenode.tcl 
patching file ns-2.32/tcl/lib/ns-packet.tcl     
patching file ns-2.32/trace/cmu-trace.cc        
patching file ns-2.32/trace/cmu-trace.h
.. Next command : export CC=gcc41 CXX=g++41 && ./install
? Any questions ? : Please tell which OS you are using : Name and version.

Important note : Some files are missing in aodv-uu-0.9.6.tar.gz .
Please use "aodv-uu-0.9.6-2012.tar.gz" instead :
https://docs.google.com/file/d/0B7S2...it?usp=sharing

-

Last edited by knudfl; 02-04-2013 at 07:29 AM.
 
Old 02-04-2013, 05:28 PM   #39
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
AODV-UU info.

The attached file : Please rename to aodv-uu__links.html

* aodv-uu__links.html contains about 35 links.


AODV-UU_examples https://docs.google.com/file/d/0B7S2...it?usp=sharing
> aodv-uu__examples.tar.bz2 ( 16 kB ).
-
Attached Files
File Type: txt aodv-uu__links.html.txt (6.8 KB, 21 views)

Last edited by knudfl; 02-04-2013 at 05:40 PM.
 
Old 02-05-2013, 07:50 PM   #40
sakha
LQ Newbie
 
Registered: Feb 2013
Posts: 5

Rep: Reputation: Disabled
thanks Sir for helping me, it's work

but I have problem in next command : export CC=gcc41 CXX=g++41 && ./install, this result :


Code:
root@sakha-K43SV:~/ns-allinone-2.32# export CC=gcc41 CXX=g++41 && ./install
============================================================
* Testing for Darwin (OS X) environment
============================================================
============================================================
* Testing for Cygwin environment
============================================================
Cygwin not detected, proceeding with regular install.
============================================================
* Build XGraph-12.1
============================================================
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking if malloc debugging is wanted... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for X... (cached) libraries , headers 
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for float.h... (cached) yes
checking for limits.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking for strcasecmp... (cached) yes
creating ./config.status
creating Makefile
creating autoconf.h
autoconf.h is unchanged
gcc -DHAVE_CONFIG_H -I. -I. -I.        -g    -c dialog.c
dialog.c: In function ‘make_msg_box’:
dialog.c:780:5: warning: passing argument 2 of ‘getline’ from incompatible pointer type
/usr/include/stdio.h:671:20: note: expected ‘size_t * __restrict__’ but argument is of type ‘char *’
dialog.c:780:5: error: too few arguments to function ‘getline’
/usr/include/stdio.h:671:20: note: declared here
dialog.c: In function ‘getline’:
dialog.c:893:9: error: argument ‘lptr’ doesn’t match prototype
/usr/include/stdio.h:671:20: error: prototype declaration
dialog.c:899:1: error: number of arguments doesn’t match prototype
/usr/include/stdio.h:671:20: error: prototype declaration
make: *** [dialog.o] Error 1
Can not create xgraph; But xgraph is an optional package, continuing...
============================================================
* Build CWeb
============================================================
Making cweb
gcc -g   -c -o ctangle.o ctangle.c
ctangle.w:75:12: warning: conflicting types for built-in function ‘strlen’
gcc -g -DCWEBINPUTS=\"/usr/local/lib/cweb\" -c common.c
common.w:1409:12: warning: conflicting types for built-in function ‘strlen’
common.w: In function ‘fatal’:
common.w:1176:1: warning: format not a string literal and no format arguments
gcc -g -o ctangle ctangle.o common.o 
gcc -g   -c -o cweave.o cweave.c
cweave.w:79:12: warning: conflicting types for built-in function ‘strlen’
cweave.w: In function ‘print_cat’:
cweave.w:1739:1: warning: format not a string literal and no format arguments
gcc -g -o cweave cweave.o common.o
ln: creating symbolic link `cweave': File exists
ln: creating symbolic link `ctangle': File exists
============================================================
* Build Stanford GraphBase
============================================================
Making sgb
gcc41 -g -I/usr/local/sgb/include  test_io.c gb_io.o -o test_io
make: gcc41: Command not found
make: *** [test_io] Error 127
Unable to create sgb library, but it's optional, so continuing...
============================================================
* Build GT-ITM
============================================================
gcc  -I../include -L../lib  -DFBSD -o ../bin/itm itm.o geog.o ts.o dfs.o -lm -lgb
gcc  -I../include -L../lib  -DFBSD -o ../bin/sgb2alt sgb2alt.o  -lm -lgb 
gcc  -I../include -L../lib  -DFBSD -o ../bin/edriver edriver.o eval.o -lm -lgb
gt-itm has been installed successfully.
gcc  -I../include -L../lib  -o ../bin/sgb2comns sgb2comns.o -lm -lgb
gcc  -I../include -L../lib  -o ../bin/sgb2hierns sgb2hierns.o -lm -lgb
gcc  -I../include -L../lib  -o ../bin/sgb2ns sgb2ns.o -lm -lgb 
sgb2ns has been installed successfully.
============================================================
* Build zlib
============================================================
Building static library libz.a version 1.2.3 with gcc41.
Checking for unistd.h... No.
Checking whether to use vs[n]printf() or s[n]printf()... using s[n]printf()
Checking for snprintf() in stdio.h... No.
  WARNING: snprintf() not found, falling back to sprintf(). zlib
  can build but will be open to possible buffer-overflow security
  vulnerabilities.
Checking for return value of sprintf()... No.
  WARNING: apparently sprintf() does not return a value. zlib
  can build but will be open to possible string-format security
  vulnerabilities.
Checking for errno.h... No.
Checking for mmap support... No.
make: Nothing to be done for `all'.
Zlib has been installed successfully.
============================================================
* Build tcl8.4.15
============================================================
rm -f *.a *.o libtcl* core errs *~ \#* TAGS *.E a.out \
		errors tclsh tcltest lib.exp Tcl
cd dltest ; make clean
make[1]: Entering directory `/home/sakha/ns-allinone-2.32/tcl8.4.15/unix/dltest'
rm -f *.o config.cache config.log config.status
rm -f lib.exp ../dltest.marker
rm -f *.so
make[1]: Leaving directory `/home/sakha/ns-allinone-2.32/tcl8.4.15/unix/dltest'
rm -rf Makefile config.status config.cache config.log tclConfig.sh \
		SCRPtcl.* prototype *.plist Tcl.framework
cd dltest ; make distclean
make[1]: Entering directory `/home/sakha/ns-allinone-2.32/tcl8.4.15/unix/dltest'
rm -f *.o config.cache config.log config.status
rm -f lib.exp ../dltest.marker
rm -f *.so
rm -f Makefile
make[1]: Leaving directory `/home/sakha/ns-allinone-2.32/tcl8.4.15/unix/dltest'
creating cache ./config.cache
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... gcc41
checking whether the C compiler (gcc41  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
tcl8.4.15 configuration failed! Exiting ...
Tcl is not part of the ns project.  Please see www.Scriptics.com
to see if they have a fix for your platform

I dont know where the error, I use ubuntu 10.04 with NS2 2.32
I'm doing essay about modification AODV, I'm newbie about NS2 Sir

Please guide me

Thanks You

Last edited by sakha; 02-06-2013 at 06:52 PM.
 
Old 02-06-2013, 03:05 AM   #41
khinmyo
Member
 
Registered: Aug 2012
Posts: 37

Original Poster
Rep: Reputation: Disabled
Dear Sakha,
I installed ns-2.34 on ubuntu 10.04 . It is ok!


1. Install ns-allinone-2.34
2. Download from Sourceforge: AODV-UU at Sourceforge.net
(Latest ver. 0.9.5)

3. Extract AODV-UU in "ns-allinone-2.34/ns-2.34" folder

4. Down & copy "ns-2.34-aodv-uu.patch" to folder("ns-2.34/aodv-uu-0.9.5/patches")
ns-2.34-aodv-uu.patch


5. Make symbolic link ( The path is "ns-allinone-2.34/ns-2.34" )
$ ln -s ./aodv-uu-0.9.5 ./aodv-uu

6. Execute below
$ patch -p1 < ./aodv-uu/patches/ns-2.34-aodv-uu.patch
$ ./configure; make clean ; make

If you see no error messages, installation will be successful.
 
1 members found this post helpful.
Old 02-06-2013, 04:27 AM   #42
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
# 40 :
If you want to call a certain compiler, you will have to install it beforehand:

Ubuntu 10.04 : sudo apt-get install g++-4.1
Using : export CC=gcc-4.1 CXX=g++-4.1


About post #41 : "ns-2.34-aodv-uu.patch" is here ..
http://sonumb.tistory.com/attachment...D63A8CD9.patch


Important note to @sakha :
Please use 'code tags' / please edit your posts and put error code inside code tags.
http://www.linuxquestions.org/questi....php?do=bbcode
End with [/code], start with [code]. You can also use the '#' button.

-
 
Old 02-07-2013, 02:35 AM   #43
sakha
LQ Newbie
 
Registered: Feb 2013
Posts: 5

Rep: Reputation: Disabled
#Dear Khinmyo: Thanks you for guide

#Dear Mr Knudfl:

I'm sory Sir about "code tags", already fixed

Sir, how do I know, patch AODV UU correctly installed in my ubuntu 10.04? and how to porting and recompile AODV-UU into NS-2 ?

Thanks you Sir


-Ubuntu 10.04, NS allinone 2.32-
 
Old 02-07-2013, 04:12 AM   #44
khinmyo
Member
 
Registered: Aug 2012
Posts: 37

Original Poster
Rep: Reputation: Disabled
Dear Sakha!

You can know if u installed AODV_UU correctly in ns2 in this way:

ns-allinone-2.34>>>ns-2.34>>>tcl>>>ex>>wireless-demo-csci694.tcl

set opt(chan) Channel/WirelessChannel
set opt(prop) Propagation/TwoRayGround
set opt(netif) Phy/WirelessPhy
set opt(mac) Mac/802_11
set opt(ifq) Queue/DropTail/PriQueue
set opt(ll) LL
set opt(ant) Antenna/OmniAntenna
set opt(x) 670 ;# X dimension of the topography
set opt(y) 670 ;# Y dimension of the topography
set opt(ifqlen) 50 ;# max packet in ifq
set opt(seed) 0.0
set opt(tr) 694demo.tr ;# trace file
set opt(nam) 694demo.nam ;# nam trace file
set opt(adhocRouting) AODVUU ###########You must change as this!
set opt(nn) 3 ;# how many nodes are simulated
set opt(cp) "../mobility/scene/cbr-3-test"
set opt(sc) "../mobility/scene/scen-3-test"
set opt(stop) 200.0 ;# simulation time

# =====================================================================
# Other default settings

LL set mindelay_ 50us
LL set delay_ 25us
LL set bandwidth_ 0 ;# not used

Agent/Null set sport_ 0
.
.
.
And then,
You can run this TCL file .
you must see 694demo.tr trace file !!!
If u see as follow ..........., you install AODVUU successfully:

M 33.00000 0 (83.36, 239.44, 0.00), (89.66, 283.49), 19.15
M 50.00000 2 (591.26, 199.37, 0.00), (369.46, 170.52), 3.37
M 51.00000 1 (257.05, 345.36, 0.00), (221.83, 80.86), 14.91
s 127.936679222 _0_ AGT --- 0 cbr 512 [0 0 0 0] ------- [0:0 2:0 32 0] [0] 0 3
s 127.948171836 _0_ MAC --- 1 AODVUU 102 [0 ffffffff 0 800] ------- [0:255 -1:255 1 0] [0x1 0 0 [2 0] [0 2]] (REQUEST)
r 127.948988642 _1_ MAC --- 1 AODVUU 44 [0 ffffffff 0 800] ------- [0:255 -1:255 1 0] [0x1 0 0 [2 0] [0 2]] (REQUEST)
s 128.192897331 _0_ MAC --- 2 AODVUU 102 [0 ffffffff 0 800] ------- [0:255 -1:255 3 0] [0x1 0 1 [2 0] [0 3]] (REQUEST)
r 128.193714137 _1_ MAC --- 2 AODVUU 44 [0 ffffffff 0 800] ------- [0:255 -1:255 3 0] [0x1 0 1 [2 0] [0 3]] (REQUEST)
s 128.198866172 _1_ MAC --- 3 AODVUU 102 [0 ffffffff 1 800] ------- [1:255 -1:255 2 0] [0x1 1 1 [2 0] [0 3]] (REQUEST)
r 128.199682748 _2_ MAC --- 3 AODVUU 44 [0 ffffffff 1 800] ------- [1:255 -1:255 2 0] [0x1 1 1 [2 0] [0 3]] (REQUEST)
r 128.199682979 _0_ MAC --- 3 AODVUU 44 [0 ffffffff 1 800] ------- [1:255 -1:255 2 0] [0x1 1 1 [2 0] [0 3]] (REQUEST)
s 128.200002748 _2_ MAC --- 0 ARP 86 [0 ffffffff 2 806] ------- [REQUEST 2/2 0/1]
r 128.200691324 _1_ MAC --- 0 ARP 28 [0 ffffffff 2 806] ------- [REQUEST 2/2 0/1]
s 128.201286324 _1_ MAC --- 0 RTS 44 [52e 2 1 0]
r 128.201638900 _2_ MAC --- 0 RTS 44 [52e 2 1 0]
s 128.201648900 _2_ MAC --- 0 CTS 38 [3f4 1 0 0]
r 128.201953475 _1_ MAC --- 0 CTS 38 [3f4 1 0 0]
s 128.201963475 _1_ MAC --- 0 ARP 86 [13a 2 1 806] ------- [REPLY 1/1 2/2]
r 128.202652051 _2_ MAC --- 0 ARP 28 [13a 2 1 806] ------- [REPLY 1/1 2/2]
s 128.202662051 _2_ MAC --- 0 ACK 38 [0 1 0 0]
r 128.202966627 _1_ MAC --- 0 ACK 38 [0 1 0 0]
s 128.203176051 _2_ MAC --- 0 RTS 44 [58e 1 2 0]
r 128.203528627 _1_ MAC --- 0 RTS 44 [58e 1 2 0]
s 128.203538627 _1_ MAC --- 0 CTS 38 [454 2 0 0]
r 128.203843203 _2_ MAC --- 0 CTS 38 [454 2 0 0]
s 128.203853203 _2_ MAC --- 4 AODVUU 98 [13a 1 2 800] ------- [2:255 1:255 255 1] [0x2 0 [2 1] [0] 20000.000000] (REPLY)
r 128.204637778 _1_ MAC --- 4 AODVUU 40 [13a 1 2 800] ------- [2:255 1:255 255 1] [0x2 0 [2 1] [0] 20000.000000] (REPLY)
s 128.204647778 _1_ MAC --- 0 ACK 38 [0 2 0 0]
r 128.204952354 _2_ MAC --- 0 ACK 38 [0 2 0
 
1 members found this post helpful.
Old 02-07-2013, 05:26 AM   #45
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
# 44 : Confirm. Works OK. Thank you.
(Line 53 edited to : set opt(adhocRouting) AODVUU ).


@khinmyo : Why not also edit your posts to 'code tags' ?
Ref. the note in post # 42.

-
 
  


Reply

Tags
aodv-uu, ns2


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
ns2-aodv hello packet indumit18 Linux - Software 0 03-05-2012 05:33 AM
manet in ns2-wormhole attack(modifying aodv) indumit18 Linux - Software 2 02-02-2012 04:12 AM
after doing some modifications in aodv.cc file in ns2.34 i will get error breeze259 Linux - Newbie 1 01-05-2012 09:04 PM
tunnel formation between two malicious node by modifying aodv ns2 indumit18 Linux - Newbie 0 10-28-2011 06:38 AM
error in ns2-while trying to print routing table in aodv indumit18 Linux - Software 1 09-24-2011 05:29 AM


All times are GMT -5. The time now is 02:38 PM.

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