[ns] OLSR in ns-2.29

2007-08-23 Thread mikel larrañaga negro
I have tried to use OLSR in 2.29 but I cant. I have followed this steps : 1. untar the package into your ns source tree directory you should have done this already if you are reading this or get it from pf.itd.nrl.navy.mil 2. Change your makefile.in to include the nrlolsr code should be

[ns] GPSR compile and simulation

2007-08-21 Thread mikel larrañaga negro
Dear all I want to use GPSR protocol in ns2.27. I have done all this steps that I have found in internet 1- Create a directory gpsr with gpsr.cc and gpsr.h in it. 2- Declare gpsr packets in common/packet.h, adding PT_GPSR and in packet.h with name_[PT_GPSR] = GPSR 3- The tracing support

Re: [ns] Require Awk script for Old Trace Format File

2007-08-01 Thread mikel larrañaga negro
Thanks for all the scripts that all of you have send to this list, they have been very interesting for my work. Anyway, I have a doubt. I use new wireless trace format, but I can't diference between routing and information packets. When I use DSR, routing packet is the one with RTR word, isn't

Re: [ns] How to calculate packet loss ratio in ns-2

2007-07-29 Thread mikel larrañaga negro
I have found this script, and it works well. Greetings BEGIN { for (i in send) { send[i] = 0 } for (i in recv) { recv[i] = 0 } tx = 0 drop = 0 pkt_loss = 0 } { # Trace line format: normal

[ns] Energy Model in NS2

2007-07-27 Thread mikel larrañaga negro
Dear Users of NS2, I need to take some results regarding energy consumption of my protocol. I m wondering about the behaviour of Energy Model class in NS2. I set some initial energy for say X nodes. Some nodes are generating traffic and sending packets with dsdv protocol. But after some time,

[ns] class OldSim error

2007-05-11 Thread mikel larrañaga negro
After installing ns2.9... without any errors and a perfect validation now the ns spits the error error when calling class OldSim: example1.tcl Thanks for your answers - LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo