[ns] LEACH (how to calculate the level of energy of sensor node????)

2009-02-22 Thread Batbold Toiruul
Dear ns-users, I am working on LEACH protocol. How can I calculate the level of energy of sensor node? by formula? or ??? very appreciate any help Bold

[ns] hello (ZRP)

2008-11-18 Thread Batbold Toiruul
Dear ns users, from zrp.cc code, Could anyone explain below piece of code to me, please? if (hdrc-ptype() == PT_ZRP) { jem = hdrip-ttl(); hdrip-ttl() -= 1; assert(jem == (hdrip-ttl() + 1) ); if (hdrip-ttl() 0) { zdrop(p, DROP_RTR_TTL); return; }

[ns] about NDP for ZRP

2008-10-23 Thread Batbold Toiruul
hi guys, Mac/802_11 set dataRate_ 1Mb for {set i 0} {$i $val(nn) } {incr i} { set r_($i) [$node_($i) set ragent_] $ns_ at 0.0 $r_($i) radius 3.0 # @@@ $ns_ at 0.4 $r_($i) beacon_period 12.0 # @@@ $ns_ at 0.0 $r_($i) radius 1.0 } could anyone tell what exactly is it

[ns] error make re-compiling after make clean

2008-10-13 Thread Batbold Toiruul
hi guys, I made following command for debugging. ./configure --enable-debug make clean make however, i got the error during make procedure. error: /diffserv -I./satellite -I./wpan -o trace/trace.o trace/trace.cc trace/trace.cc: In member function `virtual void DequeTrace::recv(Packet*,

[ns] error about ZRP

2008-10-13 Thread Batbold Toiruul
could anyone tell me about this error, please? num_nodes is set 22 INITIALIZE THE LIST xListHead (_o18 cmd line 1) invoked from within _o18 cmd port-dmux _o31 invoked from within catch $self cmd $args ret invoked from within if [catch $self cmd $args ret] { set cls [$self info

[ns] hi help ((no debugging symbols found))

2008-10-12 Thread Batbold Toiruul
Hi guys, I am using gdb debuggar to find program error. However, when I use gdb, i have some errors: [EMAIL PROTECTED] ~/ns-allinone-2.33/ns-2.33 $ gdb ns GNU gdb 6.8.0.20080328-cvs (cygwin-special) Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later

[ns] how to install gdb with cygwin

2008-10-04 Thread Batbold Toiruul
hi guys, can gdb install with cygwin on whindows xp? because i am using cygwin under windows.

Re: [ns] error compile ZRP

2008-10-03 Thread Batbold Toiruul
:30 PM, Batbold Toiruul [EMAIL PROTECTED]wrote: Hi guys, i am implementing ZRP on ns-2.27. But I compile the codes of ns-2.27 using 'make' command after finish all changes. I received error. error: autoconfig.h:85: error: namespace CPP_NAMESAPCE undeclared. i am new at ns-2. So please

[ns] segmentation fault (core dumped) using ZRP in ns-2.27

2008-10-03 Thread Batbold Toiruul
Dear ns-users, I installed Zone Routing Protocol (ZRP) on ns-2.27. However, when i use ZRP to run below example, I got the segmentation fault (Core Dumped). I don't know why this kind of error is occured. if anyone knows, please help me. thank you very much in advance sincerely, Batbold

[ns] error compile ZRP

2008-10-02 Thread Batbold Toiruul
Hi guys, i am implementing ZRP on ns-2.27. But I compile the codes of ns-2.27 using 'make' command after finish all changes. I received error. error: autoconfig.h:85: error: namespace CPP_NAMESAPCE undeclared. i am new at ns-2. So please, if anyone knows, help me? sincerely, Bold

[ns] segmentation fault (core dumped) in ns-2.27

2008-10-02 Thread Batbold Toiruul
Dear ns-users, I installed ZRP on ns-2.27. However, when I using ZRP to run example, the ns2 will segmentation fault (core dumped). *if *anyone knows about this error, help me thank you for helping sincerely, Bold * *

[ns] error, help me

2008-09-17 Thread Batbold Toiruul
Hello everybody, I am studying NS-2 and working on examples of Marc Greis. http://www.isi.edu/nsnam/ns/tutorial/index.html i completed all the guidance on the section 9, however i received e off_srmrror from ns. Error: ns: [code omitted because of length] :invalid command name SRMEXT

Re: [ns] hello, error please help??

2008-09-12 Thread Batbold Toiruul
of 'ping'. Good luck, Hisyam - Original Message From: Batbold Toiruul [EMAIL PROTECTED] To: ns-users@ISI.EDU Sent: Thursday, 11 September, 2008 16:59:46 Subject: [ns] hello, error please help?? Hello everybody, I am studying NS-2 and working on examples of Marc Greis. http

[ns] hello, error please help??

2008-09-11 Thread Batbold Toiruul
Hello everybody, I am studying NS-2 and working on examples of Marc Greis. http://www.isi.edu/nsnam/ns/tutorial/index.html i completed all the guidance on the section 7, however i received some errors when i recompile ns using 'make' command. Errors: ping.o(.text+0x10a):ping.cc: multiple

[ns] problem intsalling ZRP on the NS-2.27#8207;

2008-03-27 Thread Batbold Toiruul
on the ns-2.27?? regards, Batbold Batbold Toiruul, Database and Multimedia Lab Computer Science Department, Sun Moon University Asan campus, Chungnam 336-708, Korea (ROK) (082) 041-530-2886, (082) 011-9689-2624 - Never miss a thing. Make Yahoo