[ns] sleep node

2008-02-06 Thread juan manuel gomez garcia


Hi ns_users:
 
I'm working with ns2 and its energy model. How I can sleep a node?.
Please help me with any tutorial or web page.
Thank you very much.
_
La vida de los famosos al desnudo en MSN Entretenimiento
http://entretenimiento.es.msn.com/



[ns] sleep node

2008-02-06 Thread juan manuel gomez garcia


Hi ns_users:

I want to sleep some nodes in my simulations. How I can do it?
I don't understand what is T_sleep_.
Please help me.
Thank you.
_
MSN Video. 
http://video.msn.com/?mkt=es-es



[ns] sleepTime parameter

2008-02-06 Thread juan manuel gomez garcia


Hi:
Could anyone explain me what is sleepTime parameter in the node_config 
procedure?.
Please, what is its default value?
Thank you.
_
MSN Noticias
http://noticias.msn.es/comunidad.aspx



[ns] scheduler event UID no valid

2008-01-31 Thread juan manuel gomez garcia


Hi ns-users:

I executed my own tcl script and obtain the following error:
Scheduler:event UID not valid!

Can you help me,please?

Thank you very much.
_
Tecnología, moda, motor, viajes,…suscríbete a nuestros boletines para estar 
siempre a la última
http://newsletters.msn.com/hm/maintenanceeses.asp?L=ESC=ESP=WCMaintenanceBrand=WLRU=http%3a%2f%2fmail.live.com



[ns] bind variables

2008-01-27 Thread juan manuel gomez garcia


 Hello: I want to bind two variables in TCL with two variables in C++. I 
realize the following thing:  In TCL script:  set zigbee [new Agent/ZIGBEE] 
$zigbee set DestinoPaqID 79 $zigbee set OrigenPaqID 2  In lib/ns-default.tcl:  
Agent/ZIGBEE set OrigenPaqID 1 Agent/ZIGBEE set DestinoPaqID 1  In C++: In 
constructor function: bind(OrigenPaqID,OrigenPaqID); 
bind(DestinoPaqID,DestinoPaqID);  The problem is that if I execute the 
following sentence inside one C++ function, for example recv():  
fprintf(stdout,OrigenID=%d\n\n,OrigenPaqID); 
fprintf(stdout,DestinoID=%d.\n\n,DestinoPaqID);  I always obtain:  OrigenID=1 
DestinoID=1  How I can see OrigenID=2 and DestinoID=79? What is the problem? 
Why I always obtain the same thing?   Thank you. 
_
La vida de los famosos al desnudo en MSN Entretenimiento
http://entretenimiento.es.msn.com/


[ns] bind variables

2008-01-24 Thread juan manuel gomez garcia


Hello:
I want to bind two variables in TCL with two variables in C++. I realize the 
following thing:

In TCL script:

  set zigbee [new Agent/ZIGBEE]
  $zigbee set DestinoPaqID 79
  $zigbee set OrigenPaqID 2

In lib/ns-default.tcl:

  Agent/ZIGBEE set OrigenPaqID 1
  Agent/ZIGBEE set DestinoPaqID 1

In C++:
   In constructor function:
 bind(OrigenPaqID,OrigenPaqID);
 bind(DestinoPaqID,DestinoPaqID);

The problem is that if I execute the following sentence inside one C++ 
function, for example recv():

fprintf(stdout,OrigenID=%d\n\n,OrigenPaqID);
fprintf(stdout,DestinoID=%d.\n\n,DestinoPaqID);

I always obtain:

OrigenID=1
DestinoID=1

How I can see OrigenID=2 and DestinoID=79? What is the problem? Why I always 
obtain the same thing? 

Thank you.




_
Tecnología, moda, motor, viajes,…suscríbete a nuestros boletines para estar 
siempre a la última
Guapos y guapas, clips musicales y estrenos de cine. 



[ns] energy model

2007-05-21 Thread juan manuel gomez garcia

Hi all:
Can anyone tell me how work the energy model? I know that in the ns-3.31 
there are news funtions about energy model, for example, wakeupNode, 
putNodetoSleep; but I dont see in my trace files anything about the energy 
model? I see in the cmu-trace.cc file that there are some variables like 
ei,es,er,et but how i can see this variables in my trace files?
Please, help me.

_
Dale rienda suelta a tu tiempo libre. Mil ideas para exprimir tu ocio con 
MSN Entretenimiento. http://entretenimiento.msn.es/



[ns] parameters of energy

2007-05-21 Thread juan manuel gomez garcia

Hi ns-users:
I have making simulations about enegy consumptions in ns2 with my own 
routing protocol. I want to know which is the correct values for energy 
parameters like :

initialEnergy
rxPower
txPower
sleepPower
idlePower
transitionPower
TransitionTime

Thank you very much.

_
Grandes éxitos, superhéroes, imitaciones, cine y TV... 
http://es.msn.kiwee.com/ Lo mejor para tu móvil.



[ns] problem with debugger

2007-04-26 Thread juan manuel gomez garcia

Hi ns-Users:

Recently I install the debugger in my system following the Tae-hyung Kim 
manual. All run ok.
But when I changed a file, for example, p802_15_4mac.cc and then do 'make 
clean', 'make'; I dont see the changes. Why? The gdb say me: warning: 
Source file is more recent than executable.
My tcl script is in ns-allinone/ns-2.31/tcl/ex/wpan.
What is the problem?

_
Grandes éxitos, superhéroes, imitaciones, cine y TV... 
http://es.msn.kiwee.com/ Lo mejor para tu móvil.



Re: [ns] include file error

2007-04-17 Thread juan manuel gomez garcia

Hi Matthias:
Thank you very much for your reply.
I have doubts on my code because I have not found any error in my code. Then 
I delette all my ns2 installation. I was using ns-2.29.
Now I downloaded ns2-2.31 and installed it. All run ok and my code is not 
present.
The one modification that I do is:
#include wpan/p802_15_4mac.h  in aodv.h file.
And I obtain the following errors:
g++ -c -Wall  -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG 
-DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H 
-DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H 
-DHAVE_LIBTCL8_4 -DHAVE_TCL_H  -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC 
-DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test  -I. 
-I/home/nargothrond/juanma/ns-allinone-2.31/tclcl-1.19 
-I/home/nargothrond/juanma/ns-allinone-2.31/otcl-1.13 
-I/home/nargothrond/juanma/ns-allinone-2.31/include 
-I/home/nargothrond/juanma/ns-allinone-2.31/include -I/usr/include/pcap 
-I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac 
-I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast 
-I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr 
-I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv 
-I./satellite -I./wpan -o aodv/aodv_logs.o aodv/aodv_logs.cc
In file included from wpan/p802_15_4phy.h:58,
 from wpan/p802_15_4mac.h:57,
 from aodv/aodv.h:45,
 from aodv/aodv_logs.cc:31:
mac/wireless-phy.h:130: error: syntax error before 'r'
mac/wireless-phy.h:130: error: missing ';' before right brace
mac/wireless-phy.h: In member function `bool WirelessPhy::Is_node_on()':
mac/wireless-phy.h:97: error: `node_on_' undeclared (first use this 
function)
mac/wireless-phy.h:97: error: (Each undeclared identifier is reported only 
once
   for each function it appears in.)
mac/wireless-phy.h: In member function `bool WirelessPhy::Is_sleeping()':
mac/wireless-phy.h:98: error: `status_' undeclared (first use this function)
mac/wireless-phy.h: At global scope:
mac/wireless-phy.h:131: error: `bool node_on_' used prior to declaration
mac/wireless-phy.h:132: error: no matching function for call to 
`Sleep_Timer::
   Sleep_Timer()'
mac/wireless-phy.h:56: error: candidates are: Sleep_Timer::Sleep_Timer(const
   Sleep_Timer)
mac/wireless-phy.h:58: error:
   Sleep_Timer::Sleep_Timer(WirelessPhy*)
mac/wireless-phy.h:133: error: `int status_' used prior to declaration
mac/wireless-phy.h:135: error: syntax error before `private'
mac/wireless-phy.h: In function `EnergyModel* em()':
mac/wireless-phy.h:143: error: `node' undeclared (first use this function)
mac/wireless-phy.h: At global scope:
mac/wireless-phy.h:145: error: `friend' can only be specified inside a class
mac/wireless-phy.h:147: error: syntax error before `}' token
make: *** [aodv/aodv_logs.o] Error 1

Please help me. I need to access to Aodv agent from the 802_15_4mac level.
Thank you very much.

From: Matthias Kuhnert [EMAIL PROTECTED]
To: juan manuel gomez garcia [EMAIL PROTECTED]
Subject: Re: [ns] include file error
Date: Thu, 12 Apr 2007 17:04:57 +0200

Which ns2 version are you using?
There are some bugfixes contained in the most recent release.
But what is somehow strange is the message
about zaodv.
Is that some code written by yourself, or from one of the
older original versions of Zheng's code that contained some
changes of the aodv routing to make it look more like zigbee routing?
Apart from that, it looks just like a missing ; at some part of your 
code.


Greets,
  Matthias

  hi ns-users:
 
  It is very simple: Before doing anything, everything works well.
  Later I only do: #include wpan/p802_15_4mac.h  in aodv.h file. And 
when
  I
  do make clean, make, I obtain the errors:
 
  In file included from wpan/p802_15_4phy.h:58,
   from wpan/p802_15_4mac.h:57,
   from zaodv/zigbee.cc:9:
  mac/wireless-phy.h:129: error: syntax error before 'r'
  mac/wireless-phy.h:129: error: missing ';' before right brace
  mac/wireless-phy.h: In member function `bool 
WirelessPhy::Is_node_on()':
  mac/wireless-phy.h:97: error: `node_on_' undeclared (first use this
  function)
  mac/wireless-phy.h:97: error: (Each undeclared identifier is reported 
only
  once
 for each function it appears in.)
  mac/wireless-phy.h: In member function `bool 
WirelessPhy::Is_sleeping()':
  mac/wireless-phy.h:98: error: `status_' undeclared (first use this
  function)
  mac/wireless-phy.h: At global scope:
  mac/wireless-phy.h:130: error: `bool node_on_' used prior to declaration
  mac/wireless-phy.h:131: error: no matching function for call to
  `Sleep_Timer::
 Sleep_Timer()'
  mac/wireless-phy.h:56: error: candidates are:
  Sleep_Timer::Sleep_Timer(const
 Sleep_Timer)
  mac/wireless-phy.h:58: error:
 Sleep_Timer::Sleep_Timer(WirelessPhy*)
  mac/wireless-phy.h:132: error: `int status_' used prior to declaration
  mac/wireless-phy.h:134: error: syntax error before `private

[ns] include file error

2007-04-12 Thread juan manuel gomez garcia

hi ns-users:

It is very simple: Before doing anything, everything works well.
Later I only do: #include wpan/p802_15_4mac.h  in aodv.h file. And when I 
do make clean, make, I obtain the errors:

In file included from wpan/p802_15_4phy.h:58,
 from wpan/p802_15_4mac.h:57,
 from zaodv/zigbee.cc:9:
mac/wireless-phy.h:129: error: syntax error before 'r'
mac/wireless-phy.h:129: error: missing ';' before right brace
mac/wireless-phy.h: In member function `bool WirelessPhy::Is_node_on()':
mac/wireless-phy.h:97: error: `node_on_' undeclared (first use this 
function)
mac/wireless-phy.h:97: error: (Each undeclared identifier is reported only 
once
   for each function it appears in.)
mac/wireless-phy.h: In member function `bool WirelessPhy::Is_sleeping()':
mac/wireless-phy.h:98: error: `status_' undeclared (first use this function)
mac/wireless-phy.h: At global scope:
mac/wireless-phy.h:130: error: `bool node_on_' used prior to declaration
mac/wireless-phy.h:131: error: no matching function for call to 
`Sleep_Timer::
   Sleep_Timer()'
mac/wireless-phy.h:56: error: candidates are: Sleep_Timer::Sleep_Timer(const
   Sleep_Timer)
mac/wireless-phy.h:58: error:
   Sleep_Timer::Sleep_Timer(WirelessPhy*)
mac/wireless-phy.h:132: error: `int status_' used prior to declaration
mac/wireless-phy.h:134: error: syntax error before `private'
mac/wireless-phy.h: In function `EnergyModel* em()':
mac/wireless-phy.h:142: error: `node' undeclared (first use this function)
mac/wireless-phy.h: At global scope:
mac/wireless-phy.h:144: error: `friend' can only be specified inside a class
mac/wireless-phy.h:146: error: syntax error before `}' token
make: *** [aodv/aodv.o] Error 1

Why??. I have not modified anything anymore. Please, help me.
Thank you.

_
Descubre la descarga digital con MSN Music. Más de un millón de canciones. 
http://music.msn.es/



Re: [ns] How to implement my own protocol?

2007-02-15 Thread juan manuel gomez garcia

Hi Mallesh:
This is a very good thing to read:

http://masimum.dif.um.es/nsrt-howto/pdf/nsrt-howto.pdf

I hope I help you.


From: Mallesh, Kavuluri (IE10) [EMAIL PROTECTED]
To: ns-users@ISI.EDU
Subject: [ns] How to implement my own protocol?
Date: Thu, 15 Feb 2007 17:06:29 +0530


Hai ,



   Actually I want to override a existing node class  or any
class in ns and do some simple manipulation.



Later I want to try my own protocol. Can any one help me in overriding
any class in ns?



=20



-regards,



 Mallesh






_
Descarga gratis la Barra de Herramientas de MSN 
http://www.msn.es/usuario/busqueda/barra?XAPID=2031DI=1055SU=http%3A//www.hotmail.comHL=LINKTAG1OPENINGTEXT_MSNBH



[ns] connect two diferents C++ objects

2007-02-15 Thread juan manuel gomez garcia

Hi ns-users:

I'm running a simple tcl script with AODV and mac 802_11 with wireless 
nodes.
I know that I create a AODV object in the AODV code with:

static class AODVclass : public TclClass {
public:
AODVclass() : TclClass(Agent/AODV) {}
TclObject* create(int argc, const char*const* argv) {
  assert(argc == 5);
  //return (new AODV((nsaddr_t) atoi(argv[4])));
  return (new AODV((nsaddr_t) Address::instance().str2addr(argv[4])));
}
} class_rtProtoAODV;

I have a little question:

How I can modify an AODV-packet  member variable, for example, seqno, in 
802_11 object?
I need that when a node receives a 802_11 packet, then an 802_11 fuction, 
for example,recvRTS, modify seqno of the AODV object?
I have very problems with segmentation fault.
I dont know :
   -if I need to create a new AODV object in 802_11 and connect it with the 
AODV object created in AODV.
   -if I dont need to create a new AODV object, only I need connect in 
802_11code with a AODV object created in AODV code.

Please help me.

Thank you.

_
Acepta el reto MSN Premium: Protección para tus hijos en internet. 
Descárgalo y pruébalo 2 meses gratis. 
http://join.msn.com?XAPID=1697DI=1055HL=Footer_mailsenviados_proteccioninfantil



[ns] Functionality of this module

2007-01-24 Thread juan manuel gomez garcia


Hello Ns_users:

Can someone explain me what is the functionality of the p802_15_4transac.h
and .cc? I dont know why these modules are necesary and what happen if I
dont use them?
Please, I need some help to continue with my work.
Thank you very much.

_
Un amor, una aventura, compañía para un viaje. Regístrate gratis en MSN Amor 
 Amistad. http://match.msn.es/match/mt.cfm?pg=channeltcid=162349



[ns] a simple question

2006-12-18 Thread juan manuel gomez garcia

Hi ns-users:
I don't know what is the difference between

Packet::free(p)  anddrop(p).

Thank you for your help.

_
Descarga gratis la Barra de Herramientas de MSN 
http://www.msn.es/usuario/busqueda/barra?XAPID=2031DI=1055SU=http%3A//www.hotmail.comHL=LINKTAG1OPENINGTEXT_MSNBH



[ns] aodv question

2006-12-15 Thread juan manuel gomez garcia

Hi ns-users:
What is the purpose of the file 'aodv.tcl' of the directory aodv in Ns2?
I dont know what it does.
Thank you very much.

_
Grandes éxitos, superhéroes, imitaciones, cine y TV... 
http://es.msn.kiwee.com/ Lo mejor para tu móvil.



[ns] zigbee routing

2006-12-12 Thread juan manuel gomez garcia

Hello:
Has someone an implementation of zigbee protocol? or know a web page.
Thank very much.

_
¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en 
MSN Motor. http://motor.msn.es/researchcentre/



[ns] energy model

2006-12-01 Thread juan manuel gomez garcia

Hi ns-users:
Recently I update my ns2 energy model using the steps in :
   http://www.isi.edu/ilense/software/smac/ns2_energy.html
My initial idea was to use  the Iyappan implementation 
(http://students.washington.edu/iyappan/)
but It dont work ok because Iyappan only suppose one hop topologies. Then I 
leave this idea.
But when I run my tcl script I obtain in the trace file this line:
N -t 1.100640 -n 3 -e 98.899226
What this means? I dont found any file where explain this.
Thank very much.

_
Descubre la descarga digital con MSN Music. Más de un millón de canciones. 
http://music.msn.es/



Re: [ns] sleep a node

2006-11-29 Thread juan manuel gomez garcia

Hi Matthias :

I'm investigating the energy consumption in zigbee routing protocol. For 
that I need that the nodes sleep.
Then I found the code of Iyappan. This are the steps that I do:

· Delette the files of ns2.
· Copy the files of Iyappan.
· 'make clean'
· 'make'
but the 'make' dont finish because I obtain the next error:

mac/mac-tdma.cc: In member function `void MacTdma::radioSwitch(int)':
mac/mac-tdma.cc:484: error: `node_wakeup' undeclared (first use this 
function)
mac/mac-tdma.cc:484: error: (Each undeclared identifier is reported only 
once
   for each function it appears in.)
mac/mac-tdma.cc:494: error: `node_sleep' undeclared (first use this 
function)
make: *** [mac/mac-tdma.o] Error 1

I have not modified anything.
What are the changes that you do for Iyappan code run ok?

Thank you very much for your help.



l für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

_
Descubre la descarga digital con MSN Music. Más de un millón de canciones. 
http://music.msn.es/



[ns] sleep a node

2006-11-28 Thread juan manuel gomez garcia

Hello ns-users:

I working with IEEE 802_15_4. How I can sleep  the nodes?.
I see the Iyappan's home page:   http://students.washington.edu/iyappan
But when I changed the files, I obtain a error and I cant do make in ns 
konsole.
Is necessary change this files to sleep a node or is possible another 
solutions?
Thank you very much.

_
Descarga gratis la Barra de Herramientas de MSN 
http://www.msn.es/usuario/busqueda/barra?XAPID=2031DI=1055SU=http%3A//www.hotmail.comHL=LINKTAG1OPENINGTEXT_MSNBH



[ns] aodv implementations

2006-11-22 Thread juan manuel gomez garcia

Hello:
Can someone tell me what is the version or the implementations of AODV that 
have ns2-2.28 :

KERNEL-AODV NIST Implementation ?
AODV-UU Uppsala University Implementation?
AODV Windows Implementation?
UoBWinAODV Windows Implementation?
AODV-UIUC Implementation?
AODV-UCSB Implementation?
UoB-JAdhoc AODV Implementation?
AODV For IPv6?
HUT AODV For IPv6?

And what is the best and last version?

Thank you.

_
¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en 
MSN Motor. http://motor.msn.es/researchcentre/



Re: [ns] Mail from NS-2

2006-11-14 Thread juan manuel gomez garcia

Hi:
This is an useful web page to install ns2 in windows:

http://140.116.72.80/~smallko/ns2/setup_en.html

(If this URL dont work, open Google and find in it)


From: G Shafiullah [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Mail from NS-2
Date: Tue, 14 Nov 2006 12:34:17 +1000


Dear User,
I am trying to install NS-2 under Windows XP. But I have face problem in
TCL section, it said TCL not found. I have used ns-all-in-one-2.29. Ca
you give me a brief how can I install NS-2 successfully.
Thanks for giving me your useful time. If you have no problem we  may
share knowledge.
Thanks

GM


G M Shafiullah
Master of Engineering (Research) Student
Centre for Railway Engineering (CRE)
Faculty of Sciences, Engineering and Health
Central Queensland University
Rockhampton, Qld 4702
AUSTRALIA

Phone: 61 7 4930 6901
Mobile:61 4 3208 5800
Email: [EMAIL PROTECTED],  [EMAIL PROTECTED], [EMAIL PROTECTED]


_
Dale rienda suelta a tu tiempo libre. Mil ideas para exprimir tu ocio con 
MSN Entretenimiento. http://entretenimiento.msn.es/



[ns] Problems found with input data

2006-11-13 Thread juan manuel gomez garcia

Hi ns-users:

Some time ago I install the ns2 simulator. All works ok. I run my
simulations and obtain the trace files. The last week I install Tracegraph
OK to analized the trace file. And now, when I run a simulations I obtain
the next message:
...
Error in file `demo1.tr' at line 1112:
  Unknown line type
Error in file `demo1.tr' at line 1113:
  Unknown line type
Error in file `demo1.tr' at line 1114:
  Unknown line type
Error in file `demo1.tr' at line 1115:
  Unknown line type
Problems found with input data.

But the simulations run ok and the trace file is created ok. I dont know
what this message want to say.

Thank you for your help.

_
Descarga gratis la Barra de Herramientas de MSN 
http://www.msn.es/usuario/busqueda/barra?XAPID=2031DI=1055SU=http%3A//www.hotmail.comHL=LINKTAG1OPENINGTEXT_MSNBH



Re: [ns] need help for Make fail

2006-11-13 Thread juan manuel gomez garcia

This message wants to say that everything is still equal, that there are not 
any change. In other words, 'make' dont make anything. Dont worry, all work 
fine.


From: pooja Vyavahare [EMAIL PROTECTED]
To: ns ns ns-users@ISI.EDU
Subject: [ns] need help for Make fail
Date: Mon, 13 Nov 2006 15:24:06 + (GMT)


Hi all,

I am using NS-2.28 on fedora-2 ... I am using NS from
long time and everything was working fine... Now
recently I added some files in it...But these files
are also building properly but when I run make
command the following error is coming...
epa indep-utils/webtrace-conv/nlanr
indep-utils/webtrace-conv/ucb; do ( cd $i; make all; )
done
make[1]: Entering directory
`/root/Desktop/ns-allinone-2.28/ns-2.28/indep-utils/cmu-scen-gen/setdest'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/root/Desktop/ns-allinone-2.28/ns-2.28/indep-utils/cmu-scen-gen/setdest'
make[1]: Entering directory
`/root/Desktop/ns-allinone-2.28/ns-2.28/indep-utils/webtrace-conv/dec'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/root/Desktop/ns-allinone-2.28/ns-2.28/indep-utils/webtrace-conv/dec'
make[1]: Entering directory
`/root/Desktop/ns-allinone-2.28/ns-2.28/indep-utils/webtrace-conv/epa'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/root/Desktop/ns-allinone-2.28/ns-2.28/indep-utils/webtrace-conv/epa'
make[1]: Entering directory
`/root/Desktop/ns-allinone-2.28/ns-2.28/indep-utils/webtrace-conv/nlanr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/root/Desktop/ns-allinone-2.28/ns-2.28/indep-utils/webtrace-conv/nlanr'
make[1]: Entering directory
`/root/Desktop/ns-allinone-2.28/ns-2.28/indep-utils/webtrace-conv/ucb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/root/Desktop/ns-allinone-2.28/ns-2.28/indep-utils/webtrace-conv/ucb'

I cant understand as I didnt change any of the above
folders... Pleasse help me...Its URGENT...
thanks in advance,

regards,
POOJA VYAVAHARE



__
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/


_
Acepta el reto MSN Premium: Protección para tus hijos en internet. 
Descárgalo y pruébalo 2 meses gratis. 
http://join.msn.com?XAPID=1697DI=1055HL=Footer_mailsenviados_proteccioninfantil



[ns] confusion on the timers implementation

2006-05-31 Thread juan manuel gomez garcia

Hello Ns-users:
I have doubts about the implementation of the timers because there are two 
forms.
In AODV, they use:

class HelloTimer : public Handler {
public:
HelloTimer(AODV* a) : agent(a) {}
voidhandle(Event*);
private:
AODV*agent;
Event intr;
};

But the Ns2 manual form is:

class RTPTimer : public TimerHandler {
public:
RTPTimer(RTPAgent *a) : TimerHandler() { a_ = a; }
protected:
virtual void expire(Event *e);
RTPAgent *a_;
};

I do not know which form is better. Somebody can explain me how work both 
forms?

Thank you.

_
Un amor, una aventura, compañía para un viaje. Regístrate gratis en MSN Amor 
 Amistad. http://match.msn.es/match/mt.cfm?pg=channeltcid=162349



[ns] I want to know the address

2006-04-27 Thread juan manuel gomez garcia

Hello Ns-users:
I don't know if it is posible but I want that my tcl script write me ( on 
file or on monitor) the Mac and routing node address. I see that in the 
trace file there are the parametres Is, Id,Md and  Ms but it are node 
identifier, not hexadecimal address like .nsaddr_t or  u_int32_t.
Thank you.

_
Acepta el reto MSN Premium: Protección para tus hijos en internet. 
Descárgalo y pruébalo 2 meses gratis. 
http://join.msn.com?XAPID=1697DI=1055HL=Footer_mailsenviados_proteccioninfantil



[ns] doubts zigbee routing

2006-04-24 Thread juan manuel gomez garcia

Hello Ns-users:
I am making a project of wireless sensor networks  based on the protocol
Zigbee, in particular,  a comparison between the wireless routing protocols
AODV and ZIGBEE. For this, I need to implement the zigbee protocol. But
there are certain aspects that I do not finish understanding because zigbee
don't use IP packet but AODV yes. What agent or aplication I use in Zigbee?
What address I use to do my routing protocol? Can I use the IP header? The
lower level is 802_15_4. Aodv run ok over 802_15_4 using IP header and UDP
agent.
I need  your help to understand it.I would appreciate much your
collaboration to understand these aspects.  If you work in similar aspects,
please help me.

Thank you very much.

_
¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en 
MSN Motor. http://motor.msn.es/researchcentre/



Re: [ns] Routing protocol OK

2006-04-04 Thread juan manuel gomez garcia

Hi Mohammad:
This are the files that I've been changed:
 packet.h
 cmu_trace.h
 cmu_trace.cc
 ns_packet.tcl
 ns_default.tcl
 ns_lib.tcl
 priqueue.cc
 ns-mobilenode.tcl
 ns-agent.tcl
Makefile


Mohammad Abu Zaid [EMAIL PROTECTED] wrote:

Dear Jaun,
  Can u plz verify the files I need to change
packet.h
make file
ns-packet.tcl

Do I have to modify trace(cmu-trace.cc/h), and priority Queue
I just need to repeat yr scenario,

Thanks


_
Moda para esta temporada. Ponte al día de todas las tendencias. 
http://www.msn.es/Mujer/moda/default.asp



Re: [ns] Routing protocol OK

2006-04-04 Thread juan manuel gomez garcia

Hi Mohammad:
This are the files that I've been changed:
 packet.h
 cmu_trace.h
 cmu_trace.cc
 ns_packet.tcl
 ns_default.tcl
 ns_lib.tcl
 priqueue.cc
 ns-mobilenode.tcl
 ns-agent.tcl
Makefile


Mohammad Abu Zaid [EMAIL PROTECTED] wrote:

Dear Jaun,
  Can u plz verify the files I need to change
packet.h
make file
ns-packet.tcl

Do I have to modify trace(cmu-trace.cc/h), and priority Queue
I just need to repeat yr scenario,

Thanks


_
Descarga gratis la Barra de Herramientas de MSN 
http://www.msn.es/usuario/busqueda/barra?XAPID=2031DI=1055SU=http%3A//www.hotmail.comHL=LINKTAG1OPENINGTEXT_MSNBH



[ns] Routing protocol OK

2006-03-27 Thread juan manuel gomez garcia

Hello NS-users:
I  create another identical AODV ad hoc routing  protocol  in Ns-2 but I  
renamed  it as ZIGBEE.
I copy all the files in AODV to a new folder call zigbee and renamed all 
AODV files (.cc  .h) to zigbee files (.cc  .h). Then I clone the code and  
I have changed all the words where the aodv word appears by the zigbee word 
(C++ classes, packet headers, variables, TCL bindings,...). I do all 
modifications that are needed to integrate a new module  in NS2 (tutorial 
http://masimum.dif.um.es/nsrt-howto/html/ and Marc Greis s tutorials are 
very helpful).
My first error was:

(zigbee/zigbee.o:(.bss+0x10): multiple definition of `hdr_zigbee::offset_'
zigbee/zigbee.o:(.bss+0x10): first defined here
/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.5-20050130/../../
...)

It happened because in 'makefile' there was two lines with zigbee/zigbee.o.

After this error, I have obtained that 'make' does not give me errors. Then 
the next step was to simulate a tcl script.  I have taken a script that 
works with AODV and I have changed val(rp)=AODV for val(rp)=zigbee ($ns_ 
node-config -adhocRouting $val(rp) ). But when I run the ns, I obtain the  
new error:

/home/ns-allinone-2.29/ns-2.29/tcl/ex/wpan $ ns demo1.tcl
num_nodes is set 4

(_o14 cmd line 1)
invoked from within
_o14 cmd addr
invoked from within
catch $self cmd $args ret
invoked from within
if [catch $self cmd $args ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error error when calling class $cls: $args $...
(procedure _o14 line 2)
(SplitObject unknown line 2)
invoked from within
_o14 addr
(eval body line 1)
invoked from within
eval $node addr $args
(default arm line 2)
invoked from within
switch -exact $routingAgent_ {

DSDV {
set ragent [$self create-dsdv-agent $node]
}
DSR {
$self at 0.0 $node start-dsr
}
AODV {
set ragent [$self cr...
(procedure _o3 line 11)
(Simulator create-wireless-node line 11)
invoked from within
_o3 create-wireless-node
(eval body line 1)
invoked from within
eval $self create-wireless-node $args
(procedure _o3 line 23)
(Simulator node line 23)
invoked from within
$ns_ node
(for body line 2)
invoked from within
for {set i 0} {$i  $val(nn) } {incr i} {
set node_($i) [$ns_ node]
$node_($i) random-motion 0  ;# disable random motion
}
(file demo1.tcl line 110)


Then I go to .../tcl/lib/ns-lib.tcl and I verified that I have been mistaken 
in the zigbee word. The correct word is ZIGBEE.
Finally I run the ns script and all run ok. I have a new protocol name 
ZIGBEE that it is the same that AODV.
The following step is to modify this protocol so that it does exactly what I 
want.  But this is other history.
I hope that this message helps more people.  Thank you.

_
¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en 
MSN Motor. http://motor.msn.es/researchcentre/



[ns] Routing protocol

2006-03-23 Thread juan manuel gomez garcia

Hello Pedro:
I duplicate the BroadcastTimer object to myBroadcastTimer but I obtain a 
new error. I have observed
that this error say that the multiple definitions are in zigbee.cc but I 
don't add nothing. I don't understand it.
The error is:

zigbee/zigbee.o:(.bss+0x10): multiple definition of `hdr_zigbee::offset_'
zigbee/zigbee.o:(.bss+0x10): first defined here
/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.5-20050130/../../../../sparc-unknown-linux-gnu/bin/ld:
 
Disabling relaxation: it will not work with multiple definitions
zigbee/zigbee.o: In function `zigbee::command(int, char const* const*)':
zigbee.cc:(.text+0x0): multiple definition of `zigbee::command(int, char 
const* const*)'
zigbee/zigbee.o:zigbee.cc:(.text+0x0): first defined here
zigbee/zigbee.o: In function `myBroadcastTimer::handle(Event*)':
zigbee.cc:(.text+0x848): multiple definition of 
`myBroadcastTimer::handle(Event*)'
zigbee/zigbee.o:zigbee.cc:(.text+0x848): first defined here
zigbee/zigbee.o: In function `myRouteCacheTimer::handle(Event*)':
zigbee.cc:(.text+0x9bc): multiple definition of 
`myRouteCacheTimer::handle(Event*)'
zigbee/zigbee.o:zigbee.cc:(.text+0x9bc): first defined here
zigbee/zigbee.o: In function `zigbee::zigbee[not-in-charge](int)':
zigbee.cc:(.text+0x428): multiple definition of 
`zigbee::zigbee[not-in-charge](int)'
zigbee/zigbee.o:zigbee.cc:(.text+0x428): first defined here
zigbee/zigbee.o: In function `zigbee::zigbee[in-charge](int)':
zigbee.cc:(.text+0x638): multiple definition of 
`zigbee::zigbee[in-charge](int)'
zigbee/zigbee.o:zigbee.cc:(.text+0x638): first defined here
zigbee/zigbee.o: In function `zigbee::id_purge()':
zigbee.cc:(.text+0xc4c): multiple definition of `zigbee::id_purge()'
zigbee/zigbee.o:zigbee.cc:(.text+0xc4c): first defined here
zigbee/zigbee.o: In function `myHelloTimer::handle(Event*)':
zigbee.cc:(.text+0x8b8): multiple definition of 
`myHelloTimer::handle(Event*)'
zigbee/zigbee.o:zigbee.cc:(.text+0x8b8): first defined here
zigbee/zigbee.o: In function `zigbee::sendHellos()':
zigbee.cc:(.text+0x3bec): multiple definition of `zigbee::sendHellos()'
zigbee/zigbee.o:zigbee.cc:(.text+0x3bec): first defined here
zigbee/zigbee.o: In function `myNeighborTimer::handle(Event*)':
zigbee.cc:(.text+0x94c): multiple definition of 
`myNeighborTimer::handle(Event*)'
zigbee/zigbee.o:zigbee.cc:(.text+0x94c): first defined here
collect2: ld returned 1 exit status
make: *** [ns] Error 1

My TCL hooks are :

int hdr_zigbee::offset_;
static class zigbeeHeaderClass : public PacketHeaderClass {
public:
zigbeeHeaderClass() : PacketHeaderClass(PacketHeader/zigbee,
  sizeof(hdr_all_zigbee)) {
  bind_offset(hdr_zigbee::offset_);
}
} class_rtProtozigbee_hdr;

static class zigbeeclass : public TclClass {
public:
zigbeeclass() : TclClass(Agent/zigbee) {}
TclObject* create(int argc, const char*const* argv) {
  assert(argc == 5);
  //return (new zigbee((nsaddr_t) atoi(argv[4])));
  return (new zigbee((nsaddr_t) Address::instance().str2addr(argv[4])));
}
} class_rtProtozigbee;

Thank you.

_
Descarga gratis la Barra de Herramientas de MSN 
http://www.msn.es/usuario/busqueda/barra?XAPID=2031DI=1055SU=http%3A//www.hotmail.comHL=LINKTAG1OPENINGTEXT_MSNBH



[ns] error messages

2006-03-14 Thread juan manuel gomez garcia

Hello ns-users:
I make a new protocol. It is the same that ping protocol but with other 
name. I make the necessary changes in ns2 that  Marc Greis' tutorial said. 
But when I run the ping.tcl changing ping agent for my own agent, I obtain 
the follow error:

ns: _o59 recv 2 42.0:
(_o59 cmd line 1)
invoked from within
_o59 cmd recv 2 42.0
invoked from within
catch $self cmd $args ret
invoked from within
if [catch $self cmd $args ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error error when calling class $cls: $args $...
(procedure _o59 line 2)
(SplitObject unknown line 2)
invoked from within
_o59 recv 2 42.0

Please , help me. Thank you very much.

_
Horóscopo, tarot, numerología... Escucha lo que te dicen los astros. 
http://astrocentro.msn.es/



[ns] error messages

2006-03-14 Thread juan manuel gomez garcia

Hello ns-users:
I make a new protocol. It is the same that ping protocol but with other 
name. I make the necessary changes in ns2 that  Marc Greis' tutorial said. 
But when I run the ping.tcl changing ping agent for my own agent, I obtain 
the follow error:

ns: _o59 recv 2 42.0:
(_o59 cmd line 1)
invoked from within
_o59 cmd recv 2 42.0
invoked from within
catch $self cmd $args ret
invoked from within
if [catch $self cmd $args ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error error when calling class $cls: $args $...
(procedure _o59 line 2)
(SplitObject unknown line 2)
invoked from within
_o59 recv 2 42.0

Please , help me. Thank you very much.

_
Dale rienda suelta a tu tiempo libre. Mil ideas para exprimir tu ocio con 
MSN Entretenimiento. http://entretenimiento.msn.es/



[ns] new network protocol

2006-03-13 Thread juan manuel gomez garcia

Hello ns- users:
I'm making a new protocol. In order to know how I can do it, I make the same 
ping protocol but  with other name. I create a new folder in ns folder. 
Inside I create two files (zigbee.h and zigbee.cc) with the content of the 
ping files. Then I modify the follow files: packet.h , ns-packet.tcl , 
ns-default.tcl , ns-lib.tcl and Makefile. Later I do 'make'. The problem is 
that when I run anyone tcl example that not use this new protocol, I obtain 
the error  :

/ns-allinone-2.29/ns-2.29/tcl/ex/wpan $ ns demo1.tcl
ns:
[code omitted because of length]
: invalid command name Agent/zigbee
while executing
Agent/zigbee set packetSize_ 64

I don't understand it.
Please, help me. Thank very much.

_
Moda para esta temporada. Ponte al día de todas las tendencias. 
http://www.msn.es/Mujer/moda/default.asp



[ns] new network protocol

2006-03-13 Thread juan manuel gomez garcia

Hello ns- users:
I'm making a new protocol. In order to know how I can do it, I make the same 
ping protocol but  with other name. I create a new folder in ns folder. 
Inside I create two files (zigbee.h and zigbee.cc) with the content of the 
ping files. Then I modify the follow files: packet.h , ns-packet.tcl , 
ns-default.tcl , ns-lib.tcl and Makefile. Later I do 'make'. The problem is 
that when I run anyone tcl example that not use this new protocol, I obtain 
the error  :

/ns-allinone-2.29/ns-2.29/tcl/ex/wpan $ ns demo1.tcl
ns:
[code omitted because of length]
: invalid command name Agent/zigbee
while executing
Agent/zigbee set packetSize_ 64

I don't understand it.
Please, help me. Thank very much.

_
Descarga gratis la Barra de Herramientas de MSN 
http://www.msn.es/usuario/busqueda/barra?XAPID=2031DI=1055SU=http%3A//www.hotmail.comHL=LINKTAG1OPENINGTEXT_MSNBH



[ns] new network protocol

2006-03-13 Thread juan manuel gomez garcia

Hello ns- users:
I'm making a new protocol. In order to know how I can do it, I make the same 
ping protocol but  with other name. I create a new folder in ns folder. 
Inside I create two files (zigbee.h and zigbee.cc) with the content of the 
ping files. Then I modify the follow files: packet.h , ns-packet.tcl , 
ns-default.tcl , ns-lib.tcl and Makefile. Later I do 'make'. The problem is 
that when I run anyone tcl example that not use this new protocol, I obtain 
the error  :

/ns-allinone-2.29/ns-2.29/tcl/ex/wpan $ ns demo1.tcl
ns:
[code omitted because of length]
: invalid command name Agent/zigbee
while executing
Agent/zigbee set packetSize_ 64

I don't understand it.
Please, help me. Thank very much.

_
Un amor, una aventura, compañía para un viaje. Regístrate gratis en MSN Amor 
 Amistad. http://match.msn.es/match/mt.cfm?pg=channeltcid=162349



[ns] new network protocol

2006-03-13 Thread juan manuel gomez garcia

Hello ns- users:
I'm making a new protocol. In order to know how I can do it, I make the same 
ping protocol but  with other name. I create a new folder in ns folder. 
Inside I create two files (zigbee.h and zigbee.cc) with the content of the 
ping files. Then I modify the follow files: packet.h , ns-packet.tcl , 
ns-default.tcl , ns-lib.tcl and Makefile. Later I do 'make'. The problem is 
that when I run anyone tcl example that not use this new protocol, I obtain 
the error  :

/ns-allinone-2.29/ns-2.29/tcl/ex/wpan $ ns demo1.tcl
ns:
[code omitted because of length]
: invalid command name Agent/zigbee
while executing
Agent/zigbee set packetSize_ 64

I don't understand it.
Please, help me. Thank very much.

_
¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en 
MSN Motor. http://motor.msn.es/researchcentre/



[ns] ping protocol

2006-03-08 Thread juan manuel gomez garcia

hello,
I make the ping protocol of Marc Greis' tutorial but when I change the 
'makefile' , I obtain the error when I do 'make':

n -o ping/ping.o ping/ping.cc
ping/ping.cc: In member function `virtual void pingAgent::recv(Packet*,
   Handler*)':
ping/ping.cc:64: error: `off_ip_' undeclared (first use this function)
ping/ping.cc:64: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
ping/ping.cc:93: error: no match for 'operator' in 'hdrip-hdr_ip::src_
*(Address::instance()-Address::NodeShift_ + 4)'
make: *** [ping/ping.o] Error 1

In my directory there isn't any ping.o file. How i make it?. I do all things 
that Marc Greis tutorial say. Please help me. Thank you.

_
¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en 
MSN Motor. http://motor.msn.es/researchcentre/



[ns] ping protocol

2006-03-08 Thread juan manuel gomez garcia

hello,
I make the ping protocol of Marc Greis' tutorial but when I change the 
'ns-default.tcl' , I obtain the next error when I run any tcl scrip

/ns-allinone-2.29/ns-2.29/tcl/ex/$ ns wireless.tcl
ns:
[code omitted because of length]
: invalid command name Agent/Ping
while executing
Agent/Ping set packetSize_ 64


Please help me. Thank you.

_
¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en 
MSN Motor. http://motor.msn.es/researchcentre/



Re: [ns] how to implement a routing protocol

2006-03-07 Thread juan manuel gomez garcia

I make the protocol that you say me in the web page but when I do  'make' , 
I obtain many errors. ¿do you know if the code in that page is complete? 
Thank you.


From: Francisco J. Ros [EMAIL PROTECTED]
To: ns-users@ISI.EDU
Subject: Re: [ns] how to implement a routing protocol
Date: Tue, 7 Mar 2006 15:42:43 +0100


Hi,

If you're interested in routing protocols for ad hoc networks, take a look
here: http://masimum.dif.um.es/?Documents

Regards,
fran

On Tuesday 07 March 2006 12:31, juan manuel gomez garcia wrote:
  Hello, I'm a new NS2 student and I want to know how I make a new routing
  protocol in NS2 and which are the necessary changes in NS2. I see the 
Marc
  Greis' tutorial but I don't understand it. Please, say me other web page 
or
  document. Thank very much.
 
  _
  Dale rienda suelta a tu tiempo libre. Mil ideas para exprimir tu ocio 
con
  MSN Entretenimiento. http://entretenimiento.msn.es/


__
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com


_
Grandes éxitos, superhéroes, imitaciones, cine y TV... 
http://es.msn.kiwee.com/ Lo mejor para tu móvil.



[ns] RFD devides in 802_15_4

2006-02-15 Thread juan manuel gomez garcia

Hello,
I'm student and I'm making a project of WPAN(Wireless Personal Area 
Networks). I use the NS-2 module for IEEE 802.15.4 Standard developed by 
Jianliang Zheng for simulations but the devides model present in NS-2 does 
not support RFD devides. I need the code modifications for RFD devides.
Thank You.

_
Acepta el reto MSN Premium: Protección para tus hijos en internet. 
Descárgalo y pruébalo 2 meses gratis. 
http://join.msn.com?XAPID=1697DI=1055HL=Footer_mailsenviados_proteccioninfantil