[ns] find the idle time of node

2011-02-21 Thread neeraj gupta
Hi In mac802.11 one of the state the system can enter is idle state. We have a three variable rx_state_ , tx_state and nav_. Can anybody tell how can we calculate the the idle time before the station enters either in transmit or receive mode. Neeraj Neeraj Gupta

Re: [ns] Why do we have this group?

2011-02-21 Thread Mariam A. Moustafa
Fine, I suggest two method we can follow 1- All reply for all. 2- All relpy in perivate and then the person who was asking the question, gather the replys and forward them as an answer of that question (we will only have one collected reply). //may be use a tag in the subject of the reply mail

Re: [ns] How to implement the wireless link queue

2011-02-21 Thread sancale
Hello, I'm trying to monitor queue size in wireless scenario. I've read this topic: http://old.nabble.com/how-to-monitor-the-queue-on-a-wireless-node-to30608840.html how-to-monitor-the-queue-on-a-wireless-node And do the things explained in: http://hpds.ee.ncku.edu.tw/~smallko/ns2/qa_en.htm

Re: [ns] Why do we have this group?

2011-02-21 Thread farzin parsa
the latter one is much better, --- On Mon, 2/21/11, Mariam A. Moustafa elansary@gmail.com wrote: From: Mariam A. Moustafa elansary@gmail.com Subject: Re: [ns] Why do we have this group? To: Ahmad arasem...@yahoo.com, ns-users@ISI.EDU Date: Monday, February 21, 2011, 4:38 AM Fine, I

[ns] queue length measure

2011-02-21 Thread Akalyadevi Karpagavinayagam
hi how the queue length of each node was calculated in wireless network? how will alter the queue length ? regards akalya

Re: [ns] instaling ns2 in redhat linux

2011-02-21 Thread gzkhan
Hi, I got the same error while recompiling (when enter 'make')ns2.34 on ubuntu 9.10. Did you figure out this error?? If yes, kindly share your experience. Thank you. -- View this message in context: http://old.nabble.com/instaling-ns2-in-redhat-linux-tp30870975p30977959.html Sent from the

Re: [ns] instaling ns2 in redhat linux

2011-02-21 Thread Ilias Tsompanidis
On 21 Φεβ 2011, at 3:32 μ.μ., gzkhan wrote: Hi, I got the same error while recompiling (when enter 'make')ns2.34 on ubuntu 9.10. Did you figure out this error?? If yes, kindly share your experience. Thank you. You can try: make clean in ns 2.34 directory and ./install in ns-allinone

Re: [ns] Why do we have this group?

2011-02-21 Thread Teerawat@UBC
Hi, The problem with the latter one (i.e., when a questioner gets the answer, repost the answer back to the mailing list) is that the person who's got the answer may not forward the answer back to the mailing list. Even when you have the rule written say in FAQ, new persons who recently

Re: [ns] Why do we have this group?

2011-02-21 Thread El Hadi Cherkaoui
Hi all, I agree with Teerawat, the replay to all with special tag is more efficient , However we can define special tag for different questions : For example I have noted that most of the question is related to the problem of installation : ns2.29 on ubuntu , on fedora , bad version of

Re: [ns] Why do we have this group?

2011-02-21 Thread Teerawat@UBC
Hi Hadi, Thanks for the support. I understand that you'd like to make tag more specific to fit the readers' need. However, there is a wide variety of question in this mailing list. For example, - Installation basic NS2 - Installation of patch (which some people don't even know that they are

Re: [ns] Lacking of Sample code for Clustering Routing Protocol

2011-02-21 Thread Érico Porto
Have someone answered this to you? Érico V. Porto On Tue, Feb 15, 2011 at 3:41 PM, lim shia yok shia...@gmail.com wrote: Hi, Most of us are lacking the code information about clustering based routing protocol, pls help, thanks I need your help on how do I collect the weight for cluster

Re: [ns] interference model

2011-02-21 Thread Érico Porto
I was looking at the mac802_11.cc implementation, and looking at the following function: Mac802_11::recv It seems that it also has another type of decision clause: if(pktRx_-txinfo_.RxPr / p-txinfo_.RxPr = p-txinfo_.CPThresh) { capture(p); } else { collision(p); } From this code I think a

Re: [ns] distance calculation of the nodes

2011-02-21 Thread Érico Porto
In this case is easier if you just make a tcl function that do that to you. something like (don't know if the syntax is right) proc calcDist { node_a node_b } { set x1 [$node_a set X_] set y1 [$node_a set Y_] set x2 [$node_b set X_] set y2 [$node_b set Y_] set distance [expr

[ns] Send a multicast packet

2011-02-21 Thread David Rodenas
Hi all I have, for example, a tree topology composed of 9 nodes. Imagine that node 4 is connected to nodes 1, 2, 3, and 5 and I want to send a broadcast packet to nodes 2, 3 and 5 but no to node 1. How can I do that in C++? I want nodes 2, 3 and 5 receives the packet at same time (it

Re: [ns] Send a multicast packet

2011-02-21 Thread David Rodenas
Hi the problem is that I have collisions. Imagine the same example (multihop network), node 4 and node 7 are directly connected to 1 (1 is their parent) and they do the same at the same time, broadcast/multicast a packet to their childrens (4 to 2, 3 and 5; 7 to 8 and 9). In a normal

Re: [ns] Send a multicast packet

2011-02-21 Thread David Rodenas
Hi Stephan you are right but that is not really the point. As you say, If I want to do what I explain, with a broadcast I can't control where the packets go, but I need to do exactly that. I need all children nodes receive at same time a packet from their parent. In a single PAN tree

Re: [ns] Why do we have this group?

2011-02-21 Thread Ahmad
I agree, I think we should go with the first option otherwise I can tell you that it will be not likelky a person will sit down to collect all the answer and send it to the group.. lets face it, laziness plays a factor here. However when a person is answering the question, it is very simple