[ns] Help me!Problem when running LEACH with ns-2.27

2007-03-27 Thread Nguyen Vo Minh Chau
Please help me ! When I run the LEACH with ns-2.27,it show an error like that : ns: _o2042 send_now 0x 0x 0 84 2 139.0 0: invalid command name "//puts" while executing "//puts "Warning dst_ is no longer being supported in NS. $args"" (procedure "_o2039" line 3) (Agent

[ns] Problem when running LEACH with NS-2.27

2007-03-24 Thread Nguyen Vo Minh Chau
Hi all, Please help me,urgent ! When i've installed LEACH (mit.tar.gz) with ns-2.27,and i type ./test to test LEACH protocol but it show error: "invalid command name "Resource/Energy" while executing "Resource/Energy instproc setParams {args} { $self instvar energyLevel_ alarmLevel_

[ns] How to run the Directed Diffusion protocol in NS-2

2007-03-21 Thread Nguyen Vo Minh Chau
Hi all, In NS-2 , i see the Diffusion3 and Diffusion directorry .But I don't know how to run them. Can anyone help me ? I'm waiting for your reply Thanks alot :) - Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A.

[ns] Question about wireless testing ?

2007-03-17 Thread Nguyen Vo Minh Chau
Hi, I've a question about NS-2.30: When I run some example about wireless (or wireless sensor) like : diffusion (in ns-2.30\tcl\ex or ns-2.30\tcl\ex\diffusion...)...I received the same result like this : num_nodes is set 3 warning: Please use -channel as shown in tcl/ex/wireles

[ns] Can anyone help me with LEACH and SPIN code ?

2007-03-15 Thread Nguyen Vo Minh Chau
Hi, I am a student,and i am researching about wireless sensor netword. I tried my best to install LEACH (SPIN and DIFFUSION) on NS-2.30 but all failed... I also did follow this article :http://www.internetworkflow.com/resources/ns2leach.pdf. but it's not work... Now i need your help,can you giv