[ns] RREP.RREQ packet

2011-07-07 Thread umair shah

Hi I need the syntax of grep command or simple and easy enough script to find 
out the 
RREP,RREQ.RRER packet in routing protocol for all aodv,dsr ,dsdv etc 



[ns] cannot enable debug symbols

2011-07-07 Thread Lupe Krops

Hi,


I'm using cygwin and ns2.34. I have followed the procedure listed below,
however, I couldn't get debug symbols to be enabled. Do I miss smth?

1. modify install file and
set --enable symbols in build tcl8.4.18 section 
./configure --enable-gcc --enable-symbols --disable-shared --prefix=$CUR_PATH 
|| die "tcl$TCLVER configuration failed! Exiting ..."

set --enable-debug in build tclcl section
./configure --enable-debug --with-otcl=../otcl-$OTCLVER || die "tclcl-$TCLCLVER 
configuration failed! Exiting ..."

2. modify makefile.in to include -g
CFLAGS += -g $(CCOPT) $(DEFINE)

3.  execute following commands
./install
./configure --enable-debug
[removed -Werror from makefile to disable warning messages]
make clean
make


When i run gdb ns I get the message "(no debugging symbols found)"

Any help is welcomed.

Best regards,
Lup.


[ns] add extra field in GPSR packet header

2011-07-07 Thread Zakia Khalfallah


Hi all,
I'm simulating GPSR protocol. I need to calculate delay through Timestamp in 
real time during the simulation. So i need to add the timestamp field in the 
GPSR packet header.
How can i add that ?
Thank you,
Zak
  


[ns] shell script for olsr

2011-07-07 Thread umair shah

Hey I couldn't run 
http://www.inf.ufrgs.br/~wlccordeiro/resources/olsr/README.html
shell script provided here 
the scripts run.sh and result.sh are actually a batch for processing the 
wtrace.tr file generated during the simulation execution. run.sh runs 
the simulation 10 times, using 10 different seeds for the random number 
generator, and result.sh aggregates the information about throughput, 
delay, jitter, and packet loss from all the 10 simulations, and outputs a
 .txt that contains data to plot graphics for each of these aspects 
evaluated.
but these script won't run why ?



[ns] two routing protocols implemented on all nodes

2011-07-07 Thread umair shah

hey is it possible to implement two routing protocols for adhoc network like 
all the nodes in the network have olsr and aodv routing protocol enabled and 
then they decide which one to use.


[ns] simulation of routing attack in manet

2011-07-07 Thread Rajib Das

i m trying to implement routing attack of manet. can anybody help me in this
regard?
kindly give me any code for implementing routing attack and also give me any
idea
how performance can be evaluated i.e. throughput, pdr & jitter?
how can i generate graph from trace file? please help me .. plz

-- 
*With regards*
*
Rajib Das
Contact: +919435987510/+919435375439
*


[ns] Need Help, why my Ubuntu 10.10 can't delete files in trash

2011-07-07 Thread deni yulianti

Hi all,

i've problem about my ubuntu 10.10 that i run ns-2.34.

why all files that has been deleted can't remove from trash?
my files in trash about 12 GB..

can anyone give me solution? the erroe message is "there was an error in 
deleting".

thanks for your attention.


thanks.


[ns] Help with trace format

2011-07-07 Thread Ederval Pablo Ferreira

Hi everyone

I did a simulation in NS2.34 and the same simulation (file tcl) in the NS
2.33. But the outputs are totally different in the field time. Take a look
below So...I would like to understand what happening...because the trace
file in the NS2.34 is more detailed than 2.33...(e.g. in the time field...
NS 2.34 is like.7,09827262 - 8,0928272 - 9,734646252) and (the field
time in the NS2.33 is like 5, - 6, - 7,000) second by
second... the results below are not complete because there are many lines

Can anyone here can help me

Thanks for advance

Best regards


*NS 2.33 output*
M 0.0 159 (15.00, 6.75, 0.00), (15.00, 6.75), 1.00
M 0.0 160 (2015.00, 23.25, 0.00), (2015.00, 23.25), 1.00
M 0.0 161 (15.00, 6.75, 0.00), (15.00, 6.75), 1.00
M 0.0 162 (15.00, 6.75, 0.00), (15.00, 6.75), 1.00
M 5.0 0 (15.00, 6.75, 0.00), (17.20, 10.05), 2.20
s 5.0 _0_ AGT  --- 0 tcp 40 [0 0 0 0] --- [0:0 1:0 32 0] [0 0] 0
0
r 5.0 _0_ RTR  --- 0 tcp 40 [0 0 0 0] --- [0:0 1:0 32 0] [0 0] 0
0
M 6.0 0 (16.22, 8.58, 0.00), (21.69, 13.35), 4.49
M 7.0 0 (19.60, 11.53, 0.00), (29.14, 13.35), 7.45
M 8.0 0 (26.92, 12.93, 0.00), (38.66, 13.35), 9.52
s 8.0 _0_ AGT  --- 1 tcp 40 [0 0 0 0] --- [0:0 1:0 32 0] [0 0] 0
0
r 8.0 _0_ RTR  --- 1 tcp 40 [0 0 0 0] --- [0:0 1:0 32 0] [0 0] 0
0
M 9.0 0 (36.44, 13.27, 0.00), (49.94, 13.35), 11.28
M 10.0 0 (47.72, 13.34, 0.00), (62.67, 13.35), 12.73
M 10.0 1 (2015.00, 23.25, 0.00), (2012.55, 19.95), 2.45
M 11.0 2 (15.00, 6.75, 0.00), (18.21, 10.05), 3.21
M 11.0 0 (60.45, 13.35, 0.00), (76.72, 13.35), 14.05
M 11.0 1 (2013.54, 21.28, 0.00), (2008.39, 16.65), 4.16
s 11.0 _1_ AGT  --- 2 tcp 40 [0 0 0 0] --- [1:1 3:0 32 0] [0 0]
0 0
r 11.0 _1_ RTR  --- 2 tcp 40 [0 0 0 0] --- [1:1 3:0 32 0] [0 0]
0 0
M 12.0 2 (17.24, 9.05, 0.00), (23.68, 13.35), 5.46
M 12.0 0 (74.50, 13.35, 0.00), (92.18, 13.35), 15.47
M 12.0 1 (2010.45, 18.50, 0.00), (2002.14, 16.65), 6.25
M 13.0 2 (21.78, 12.08, 0.00), (31.32, 13.35), 7.64
M 13.0 0 (89.97, 13.35, 0.00), (109.06, 13.35), 16.88
M 13.0 1 (2004.35, 17.14, 0.00), (1994.38, 16.65), 7.76
M 14.0 2 (29.35, 13.09, 0.00), (40.58, 13.35), 9.26
M 14.0 0 (106.85, 13.35, 0.00), (127.16, 13.35), 18.10
M 14.0 1 (1996.60, 16.76, 0.00), (1984.91, 16.65), 9.47
s 14.0 _0_ AGT  --- 3 tcp 40 [0 0 0 0] --- [0:0 1:0 32 0] [0 0]
0 0
r 14.0 _0_ RTR  --- 3 tcp 40 [0 0 0 0] --- [0:0 1:0 32 0] [0 0]
0 0
s 14.0 _1_ AGT  --- 4 tcp 40 [0 0 0 0] --- [1:1 3:0 32 0] [0 0]
0 0
r 14.0 _1_ RTR  --- 4 tcp 40 [0 0 0 0] --- [1:1 3:0 32 0] [0 0]
0 0


*NS 2.34 output*



M 0.0 147 (15.00, 6.75, 0.00), (15.00, 6.75), 1.00
M 0.0 148 (15.00, 6.75, 0.00), (15.00, 6.75), 1.00
M 0.0 149 (15.00, 6.75, 0.00), (15.00, 6.75), 1.00
M 0.0 150 (2015.00, 23.25, 0.00), (2015.00, 23.25), 1.00
M 0.0 151 (15.00, 6.75, 0.00), (15.00, 6.75), 1.00
M 0.0 152 (15.00, 6.75, 0.00), (15.00, 6.75), 1.00
M 0.0 153 (2015.00, 23.25, 0.00), (2015.00, 23.25), 1.00
M 0.0 154 (15.00, 6.75, 0.00), (15.00, 6.75), 1.00
M 0.0 155 (15.00, 6.75, 0.00), (15.00, 6.75), 1.00
M 0.0 156 (2015.00, 23.25, 0.00), (2015.00, 23.25), 1.00
M 0.0 157 (15.00, 6.75, 0.00), (15.00, 6.75), 1.00
M 0.0 158 (15.00, 6.75, 0.00), (15.00, 6.75), 1.00

M 0.0 159 (15.00, 6.75, 0.00), (15.00, 6.75), 1.00
M 0.0 160 (2015.00, 23.25, 0.00), (2015.00, 23.25), 1.00
M 0.0 161 (15.00, 6.75, 0.00), (15.00, 6.75), 1.00
M 0.0 162 (15.00, 6.75, 0.00), (15.00, 6.75), 1.00
M 5.0 0 (15.00, 6.75, 0.00), (17.20, 10.05), 2.20
s 5.0 _0_ AGT  --- 0 tcp 40 [0 0 0 0] --- [0:0 1:0 32 0] [0 0] 0
0
r 5.0 _0_ RTR  --- 0 tcp 40 [0 0 0 0] --- [0:0 1:0 32 0] [0 0] 0
0
s 5.0 _0_ RTR  --- 0 AODV 48 [0 0 0 0] --- [0:255 -1:255 30 0]
[0x2 1 1 [1 0] [0 4]] (REQUEST)
r 5.000988000 _2_ RTR  --- 0 AODV 48 [0  0 800] --- [0:255
-1:255 30 0] [0x2 1 1 [1 0] [0 4]] (REQUEST)
r 5.000988000 _3_ RTR  --- 0 AODV 48 [0  0 800] --- [0:255
-1:255 30 0] [0x2 1 1 [1 0] [0 4]] (REQUEST)
r 5.000988000 _4_ RTR  --- 0 AODV 48 [0  0 800] --- [0:255
-1:255 30 0] [0x2 1 1 [1 0] [0 4]] (REQUEST)
r 5.000988000 _5_ RTR  --- 0 AODV 48 [0  0 800] --- [0:255
-1:255 30 0] [0x2 1 1 [1 0] [0 4]] (REQUEST)
r 5.000988000 _7_ RTR  --- 0 AODV 48 [0  0 800] --- [0:255
-1:255 30 0] [0x2 1 1 [1 0] [0 4]] (REQUEST)
r 5.000988000 _8_ RTR  --- 0 AODV 48 [0  0 800] --- [0:255
-1:255 30 0] [0x2 1 1 [1 0] [0 4]] (REQUEST)
r 5.000988000 _9_ RTR  --- 0 AODV 48 [0  0 800] --- [0:255
-1:255 30 0] [0x2 1 1 [1 0] [0 4]] (REQUEST)
r 5.000988000 _11_ RTR  --- 0 AODV 48 [0  0 800] --- [0:255
-1:255 30 0] [0x2 1 1 [1 0] [0 4]] (REQUEST)
r 5.000988000 _12_ RTR  --- 0 AODV 48 [0  0 800] --- [0:255
-1:255 30 0] [0x2 1 

Re: [ns] Need Help, why my Ubuntu 10.10 can't delete files in trash

2011-07-07 Thread YunQiang Su

> dear sir,
> 
> now, i can enter to ubuntu because of my free space = 0 (gnome is broken)..
> 
can *not* ?
> 
> what must i do to repair that? any idea sir? thanks.
>  

Boot your computer with a LiveCD (or LiveUSB), mount the corresponding
file system and delete these files and directories.



[ns] aodv source code understanding

2011-07-07 Thread umair shah

Hey I wanna learn aodv c++ code implemented in ns2.34 step by step but I have 
poor c++ skills .Can anybody tell me how do I do that ?I have to use eclipse 
and start debugging and learn the flow of code ,somebody told me that but I 
have no idea how do I do that ?