Re: [ns] adding variable to ./bashrc file

2008-09-23 Thread Vishal Agarwal
On Wed, Sep 24, 2008 at 12:05 PM, <[EMAIL PROTECTED]> wrote: > > Welcome to posting to the ns-users mailing list! > > We automatically send this message to every new person who sends mail > to the list. You should only receive it once. My apologies if the > program contacts you twice, perhaps b

[ns] Problems with CSThresh_ using theshold.o with different MAC

2008-09-23 Thread al ch
Hello, Since I want set transmission range to 10m and interference range to 30m, I use the indep-utils/.../"threshold" utility to calculate transmission and interference range. Firstly I use: threshold -m TwoRayGround -Pt 0.1 -fr 2.4e+9 10 Receiving threshold RXThresh_ is: 9.89465e-08

[ns] Re garding the destination node(s) for a packet:

2008-09-23 Thread wastedige
Hello everyone I've been messing with some sourcecodes in NS2 RTP/RTCP. I want to take control of the packet's destination, but I don't see anything useful in the sendpkt() procedure to alter. This is the code: void RTPAgent::sendpkt() { Packet* p = allocpkt(); lastpkttime_ = S

[ns] Lost packets

2008-09-23 Thread Mubashir Rehmani
Hello Belal LQI means Linq Quality Indication. You can found the code here : http://www.ece.uvic.ca/~emads/ns-2.29/p802__15__4mac_8cc-source.html Hope it helps Regards -- Mubashir Husain Rehmani Mobile : 00 33 (0)6 32

[ns] how to establish wireless links from 1 source to 2 destinations?

2008-09-23 Thread Chuah Seong Ping
Dear all, I wish to establish wireless links to connect a source node to 2 destination nodes: set udp0 [new Agent/myUDP] $udp0 set_filename src_tr0 $ns attach-agent $node_(0) $udp0 set rcvr1 [new Agent/LossMonitor] $rcvr1 set_trace_filename dst_tr1 $ns attach-agent $node_(1) $rcvr1

[ns] ifq length is always zero

2008-09-23 Thread Amita Singh
Hi, To get interface queue length, I make the following additions in AODV source code: (AODV.CC) PriQueue *pq=pq->prhead.lh_first; int curq=(int(pq->curq_); (PriQueue.CC) curq_=q_->length(); But when I run the script, the interface queue length is always reported as 0(zero). Why? What else ne

[ns] How to generate a Tracefile for the Application/Traffic/Trace input

2008-09-23 Thread Mayur
Dear NS-Lovers, How to generate a "_*binary format file*_" (with two columns, ) as expected by the *Application/Traffic/Trace*? Any readymade utility code? I don't understand the exact format, that is expected here. And hence how to generate it I tried on the net, but could not find. Per