[ns] Random variable and Shadowing

2006-01-24 Thread giuseppe
Ok I solved. When you configure node with node-config if you want to use a different seed, you firstly have to create an object set p [new Propagation/Shaowing] $p seed heuristic 0 and then to USE -propInstance and not -propType in node-config -- -- -- G

[ns] how to use parsing file

2006-01-24 Thread cp kothari
  hi everyone, i want to know how to use parse files written in java/awk to get the delay, throughput, jitter routing overhead from the trace file. i will be grateful if u could send the script files too for the above metrics. ...kothari...

[ns] routing in ason

2006-01-24 Thread vishnupriya padmanabhan
  hi, i downloaded ns code for ason and sucessfully installed it but my problem is that i cannot use rtproto in my tcl file it gives error please help me thanks vishnu

[ns] Bug in Shadowing model

2006-01-24 Thread giuseppe
I think there is a bug. Shadowing::Shadowing() { bind("pathlossExp_", &pathlossExp_); bind("std_db_", &std_db_); bind("dist0_", &dist0_); bind("seed_", &seed_); ranVar = new RNG; ranVar->set_seed(RNG::PRED_SEED_SOURCE, seed_); printf("RANVA

[ns] Random varaibale and Shadowing

2006-01-24 Thread giuseppe
Strange things! I used Shadowing model with heuristic seed. But I get these values for the received power, very strange! They look to be the same! G INITIALIZE THE LIST xListHead INITIALIZE THE LIST xListHead Starting Simulation... channel.cc:sendUp - Calc highestAntennaZ_ and distCST_ highest

[ns] (no subject)

2006-01-24 Thread giuseppe
I used Propagation/Shadowing seed 0. I expect different received power across different simulation run. But always I get the same value, why? G -- -- -- Giuseppe De Marco, Ph.D. SkypeID:giuseppe_dem2 Dipartimento di Ingegneria dell'Informazione e Ingegne

Re: [ns] help on queue blocking

2006-01-24 Thread quyi
I am trying stop enqueue in 802.11, I find Mac::send will resume the queue (blocked = 0). I will put a condition before mac::sned to stop enqueue. you can check if your MAC do same - always get and send packets in the queue. Quoting Jesse <[EMAIL PROTECTED]>: > > Hi, All, >I have a problem

[ns] help on queue blocking

2006-01-24 Thread Jesse
Hi, All, I have a problem with queue blocking. In my simulation, I need to implement the XON/XOFF mechanism(IEEE 802.3x) in data link layer to stop th= e packet dequeueing at the switch. I tried to set blocked_ as true and unblock_on_resume_ as false at the same time. However, it just block th

Re: [ns] implementing IPV6 address scheme

2006-01-24 Thread Vincent Nauwelaers
Hello, for my thesis I have to develop a IPv6 protocol, so I also noticed this problem, I haven't tried to change anything, because I assume all the classifiers and classed that inherit from it, are written for 32-bit addresses, so I just use the 32 bit address as a simplification, because I

[ns] Transmission range

2006-01-24 Thread Tommaso Cambiasso
Hi all, I put in simulation script this row : Phy/WirelessPhy set RXThresh_8.71838e-09 ;# threshold to have a transmission range of 150m I use to create it the script threshold.cc but if I put in simulation script this position nodes $node_(0) set X_ 100 $node_

[ns] transmission range

2006-01-24 Thread Tommaso Cambiasso
Hi all, I put in simulation script this row : Phy/WirelessPhy set RXThresh_8.71838e-09 ;# threshold to have a transmission range of 150m I use to create it the script threshold.cc but if I put in simulation script this position nodes $node_(0) set X_ 100 $node_(

Re: [ns] Ack Loss

2006-01-24 Thread Andrea Occari
thanks to all. I thought was not possible On 24 Jan 2006 15:46:04 -, Mohammad Zubair Ahmad < [EMAIL PROTECTED]> wrote: > > ACK packets may certainly be lost too, specially in MANETs. The most > common occurrence is when ACK packets collide with the RTS packets from > masked/deaf nodes in a hi

Re: [ns] Agent::recv method not reached

2006-01-24 Thread Sita S. Krishnakumar
Mikael, Thanks for your reply. I have more information that may shed more light on the problem. I basically have a new agent designed. In my code, I specify that the link layer's 'up-target' is my agent node so that it can come to my recv() for processing. But looks like that is not working fine.

Re: [ns] Ack Loss

2006-01-24 Thread Pedro Vale Estrela
Of course, just like in real internet > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Andrea Occari > Sent: terça-feira, 24 de Janeiro de 2006 13:58 > To: ns-users@ISI.EDU > Subject: [ns] Ack Loss > > > Hi, > > it is possible to lose packet Ack ?

Re: [ns] Ack Loss

2006-01-24 Thread Mohammad Zubair Ahmad
ACK packets may certainly be lost too, specially in MANETs. The most common occurrence is when ACK packets collide with the RTS packets from masked/deaf nodes in a highly dynamic scenario. Close to 15% of total collisions in a 802.11 network are ACK packet collisions. Zubair   On Tue, 24 Jan

[ns] implementation RPGM sous NS2

2006-01-24 Thread fetiha becg
implementation RPGM sous NS2 _ MSN Hotmail : créez votre adresse e-mail gratuite & à vie ! http://www.imagine-msn.com/hotmail/default.aspx?locale=fr-FR

[ns] Ack Loss

2006-01-24 Thread Andrea Occari
Hi, it is possible to lose packet Ack ? or only data packet thanks, Andrea

[ns] Error adding new MANET Protoname Protocol in cygwin

2006-01-24 Thread mmulibra
Hi, I tried adding the MANET Protoname protocol as explained in "Implementing a New MANET Unicast Routing Protocol in NS2" by Francisco J.Ros and Pedro M. Ruiz. However I got the following error : trace/cmu-trace.o:cmu-trace.cc:(.text$_ZN17hdr_protoname _pkt6accessEPK6Packet[hdr_protoname_pkt ::

[ns] how to set color for the node

2006-01-24 Thread Dheepa Rajendran
hi, How to set color for the node from .cc file.I've used the following format in .cc file sprintf(d,"$node_(%d) color brown",nid) tcl.eval(d) is it correct format to set the color for a node. I used this statement in .cc file but it's showing error. Thanks for u

[ns] How can i add a new MAC protocol with agents?

2006-01-24 Thread maryam beigi
- Yahoo! Photos – Showcase holiday pictures in hardcover Photo Books. You design it and we’ll bind it!