[ns] to create wormhole node

2008-03-20 Thread Zaw Tun


Hi all
I would like to know how to create wormhole nodes in wireless ah hoc
networks.
I anyone has source code for it plz share me.
give any advice.
thanks
-- 
View this message in context: 
http://www.nabble.com/to-create-wormhole-node-tp16174582p16174582.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] to save rq_timestamp and rp_timestamp in trace file

2008-03-03 Thread Zaw Tun


Hi all, 
I want to save the value of rq_timestamp and rp_timestamp to the trace file
for each node. 
How can I save those values. 
Thanks
-- 
View this message in context: 
http://www.nabble.com/to-save-rq_timestamp-and-rp_timestamp-in-trace-file-tp15799908p15799908.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] time of RREQ and RREP

2008-02-07 Thread Zaw Tun


 Roughly, In AODV routing protocol,if a source want to start communicate, it
will check a route cache to determine whether the route already exist or
not. If the route expired or don't exist, then they will initiate a route
discovery process by broadcasting a RREQ. Then the neighbors will forward
the RREQ to another node untill it reach the destination. The destination
then response with RREP and send back to the source. Once the source
received RREP, the communication will start. The algorithm also involves
updating routing table, set timer,accumulating the address of each node
between source and destination, rejecting a loop route and etc.
How can we know the route request time and route reply time?
Can we know the number of neighbors in this protocol?

-- 
View this message in context: 
http://www.nabble.com/time-of-RREQ-and-RREP-tp15329850p15329850.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] how to know request time and reply time

2008-02-04 Thread Zaw Tun


Hello all
I would like to know a node RREQ forward and RREQ accept time.
How this can implement in AODV protocol?
Please any suggestion for that case.

-- 
View this message in context: 
http://www.nabble.com/how-to-know-request-time-and-reply-time-tp15264094p15264094.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] error in runing

2007-12-30 Thread Zaw Tun


Hello All, 

After installing NS2 and I ran example1b.tcl I found the following error. 
I use ns-allinone2.29.3 and cygwin2.573.2.2. 
How can I fix these problems. 
[EMAIL PROTECTED] ~ 
$ cd .. 

[EMAIL PROTECTED] /home 
$ cd .. 

[EMAIL PROTECTED] / 
$ cd usr/local 

[EMAIL PROTECTED] /usr/local 
$ ls 
binexample3.tclns.exe   wireless2.tcl 
etcexample4.tclping.tcl wireless3.tcl 
example1a.tcl  lib simple-wireless.tcl 
example1b.tcl  ns-allinone-2.29.3  template.tcl 
example2.tcl   ns-allinone-2.29.3.zip  wireless1.tcl 

[EMAIL PROTECTED] /usr/local 
$ ns example1b.tcl 
ns: finish: couldn't execute nam: no such file or directory 
while executing 
exec nam out.nam  
(procedure finish line 7) 
invoked from within 
finish 

[EMAIL PROTECTED] /usr/local 
$ 

-- 
View this message in context: 
http://www.nabble.com/error-in-runing-tp14553883p14553883.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] ns example running error

2007-12-30 Thread Zaw Tun


 I now successfully install NS-2 version ns-allinone2.29.3 with cygwin
2.573.2.2 and OS is WindowXP SP-2 and when I run the example I found the
following error.

[EMAIL PROTECTED] ~
$ cd ..

[EMAIL PROTECTED] /home
$ cd ..

[EMAIL PROTECTED] /
$ cd usr/local

[EMAIL PROTECTED] /usr/local
$ ls
binexample3.tclns.exe   wireless1.tcl
etcexample4.tclout.nam  wireless2.tcl 
example1a.tcl  lib ping.tcl wireless3.tcl
example1b.tcl  ns-allinone-2.29.3  simple-wireless.tcl
example2.tcl   ns-allinone-2.29.3.zip  template.tcl

[EMAIL PROTECTED] /usr/local
$ ns example3.tcl
ns: finish: couldn't execute nam: no such file or directory
while executing
exec nam out.nam  
(procedure finish line 7)
invoked from within
finish

[EMAIL PROTECTED] /usr/local
$

How can I fix this error?

Is it the lack of configuration of system variables or category I choose is
wrong?

I choose the following categories when I installed

XFree86-base,XFree86-bin,XFree86-prog,XFree86-lib,XFree86-etc

make

patch

perl

gcc

gcc-g++

gawk

gnuplot

tar

gzip

Plz any suggestion to me


-- 
View this message in context: 
http://www.nabble.com/ns-example-running-error-tp14554304p14554304.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] error in running ns example

2007-12-30 Thread Zaw Tun


 I now successfully install NS-2 version ns-allinone2.29.3 with cygwin
2.573.2.2 and OS is WindowXP SP-2 and when I run the example I found the
following error.

[EMAIL PROTECTED] ~
$ cd ..

[EMAIL PROTECTED] /home
$ cd ..

[EMAIL PROTECTED] /
$ cd usr/local

[EMAIL PROTECTED] /usr/local
$ ls
binexample3.tclns.exe   wireless1.tcl
etcexample4.tclout.nam  wireless2.tcl 
example1a.tcl  lib ping.tcl wireless3.tcl
example1b.tcl  ns-allinone-2.29.3  simple-wireless.tcl
example2.tcl   ns-allinone-2.29.3.zip  template.tcl

[EMAIL PROTECTED] /usr/local
$ ns example3.tcl
ns: finish: couldn't execute nam: no such file or directory
while executing
exec nam out.nam  
(procedure finish line 7)
invoked from within
finish

[EMAIL PROTECTED] /usr/local
$

How can I fix this error?

Is it the lack of configuration of system variables or category I choose is
wrong?

I choose the following categories when I installed

XFree86-base,XFree86-bin,XFree86-prog,XFree86-lib,XFree86-etc

make

patch

perl

gcc

gcc-g++

gawk

gnuplot

tar

gzip

Plz any suggestion to me


-- 
View this message in context: 
http://www.nabble.com/error-in-running-ns-example-tp14554770p14554770.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] installation problem

2007-12-02 Thread Zaw Tun


When I install ns2.29 on windowXP, I found the following error

Copying skeleton files.
These files are for the user to personalise
their cygwin experience.

These will never be overwritten.

`./.bashrc' - `/home/luckybd//.bashrc'
`./.bash_profile' - `/home/luckybd//.bash_profile'
`./.inputrc' - `/home/luckybd//.inputrc'

[EMAIL PROTECTED] ~
$ cd ..

[EMAIL PROTECTED] /home
$ cd ..

[EMAIL PROTECTED] /
$ ls
bin   cygwin.bat  dev  home  proc  usr
cygdrive  cygwin.ico  etc  lib   tmp   var

[EMAIL PROTECTED] /
$ cd usr

[EMAIL PROTECTED] /usr
$ cd local

[EMAIL PROTECTED] /usr/local
$ ls
bin  etc  lib  ns-allinone-2.31  ns-allinone-2.31.tar.gz

[EMAIL PROTECTED] /usr/local
$ cd ns*

[EMAIL PROTECTED] /usr/local/ns-allinone-2.31
$ ls
INSTALL.WIN32  installsgb xgraph-12.1
README nam-1.13   tcl8.4.14   zlib-1.2.3
cweb   ns-2.31tclcl-1.19
gt-itm otcl-1.13  tk8.4.14

[EMAIL PROTECTED] /usr/local/ns-allinone-2.31
$ ./install
./install: line 20: $'\r': command not found
./install: line 21: syntax error near unexpected token `$'{\r''
'/install: line 21: `die() {

[EMAIL PROTECTED] /usr/local/ns-allinone-2.31
$ ./install
./install: line 20: $'\r': command not found
./install: line 21: syntax error near unexpected token `$'{\r''
'/install: line 21: `die() {

[EMAIL PROTECTED] /usr/local/ns-allinone-2.31
$ ./install
./install: line 20: $'\r': command not found
./install: line 21: syntax error near unexpected token `$'{\r''
'/install: line 21: `die() {

[EMAIL PROTECTED] /usr/local/ns-allinone-2.31
$


how can I install successfully
-- 
View this message in context: 
http://www.nabble.com/installation-problem-tf4934559.html#a14124428
Sent from the ns-users mailing list archive at Nabble.com.



[ns] how to implement wormhole attacks with NS2

2007-11-30 Thread Zaw Tun


Dear all 

please guide me an adviuce how to implement wormhole attacks in ns2. if
anybody working in same 
area please reply. 
I'm trying to implement wormhole attack detection mechanism.

thanks 

-- 
View this message in context: 
http://www.nabble.com/how-to-implement-wormhole-attacks-with-NS2-tf4902134.html#a14042390
Sent from the ns-users mailing list archive at Nabble.com.