[ns] how to change the wireless transmit range

2008-11-11 Thread 胡杰
hi, I want to change the wireless node's transmit range from 250 to 100, what should i do. thanks.

Re: [ns] How to send a packet to previous node

2008-11-11 Thread Teerawat Issariyakul
Dear Howard, The easiest way to transmit from one NsObject (e.g. Nodes) to another is through a (C++ and Tcl) Connector object. A connector has two pointers to NsObjects: target_ and drop_. In the OTcl domain, it uses an OTcl commands target and drop (followed by the name of the NsObject) to

[ns] How to disable a mobileNode's movement

2008-11-11 Thread Mathiew Moussa
Hello, If i have an implementation that uses NS2's mobileNode's implementation and i decided that without changing the whole class i just want to make all the mobileNode NOT move. How does one do that, do you change the speed to ZERO ??? Thanks, Mathiew

Re: [ns] How to send a packet to previous node

2008-11-11 Thread howardgod howardgod
Deer Teerawat First, thanks for reply. My timing for send a packet to previous node is when queue received a packet I will computer some information in packet's header. And in some circumstances I will send a packet back to previous hop. Let previous hop knows the result I computer in current

[ns] Add another Agent to node with DSR

2008-11-11 Thread Fry Godwin
Hi All , I have developed a wireless protocol and would like to incorporate it with DSR. According to what i understand it is possible to have multiple agents at the same node which is selectable through the dmux. I have gone through ns-lib.tcl , ns-node.tcl , dsr.tcl and ns-mobilenode.tcl .

[ns] send packet from another agent's *.cc file

2008-11-11 Thread Breno Caetano
Hi ns-users, I have another doubt. Do i want know that exist a way to send a packet from an instance of agent A at *.cc file's Agent B. For example, in a node 1 i have 2 agents (A and B). So, Agent A may send a packet to Agent C if Agent B receive a packet. Exist a way to do this? thank you

[ns] Rv: how to synchronize nodes

2008-11-11 Thread Douglas Restrepo
Hello... 1. Some body can tell me how to synchronize nodes 2. and ...how to put them in sleep mode. thank you very much

[ns] Fwd: generate tcp traffic on a run-time

2008-11-11 Thread Tatiana Polishchuk
Hi, I have a trivial configuration of 2 nodes. Node 0 has a TCP agent attached and Node1 - sink and a tcp 1 traffice between then. I need Node 0 to start sending additional sequence of packets - generate anothor tcp flow (tcp 2) traffic at some point of my simulation then a particular

Re: [ns] How to send a packet to previous node

2008-11-11 Thread howardgod howardgod
Deer Teerawat I already know how to transmit to node. 1.generate new packet 2.fill common header and destination address 3. target-recv(p,h) but my problem is that, I can't find out previous hop's address. My purpose is to send a packet to previous node in IFQ. But when packet received by queue's

[ns] how to send an acknowledgment to the one before the previous hop in dsr SR

2008-11-11 Thread anas
Dear NS-Users Please I need to send an acknowledgment to the node which is before the previous one through the source rout in DSR, just I need to implement a TWOACK approach, I mean where should I but the code, and is there a packet format for network layer acknowledgments. Thanks in

Re: [ns] How to send a packet to previous node

2008-11-11 Thread Teerawat Issariyakul
Dear Howard, Say you have a topology like (n1)--(n2). Usually, packet will flow from (n1) to (n2). When you want to send a packet from (n2) back to (n1), you can do the following. 1. Define an instvar $conn (whose class Connector) of n2 2. Put the following in the Tcl simulation script [$n2

[ns] ns 2.28 and 2.1b8a Installation problem on Ubuntu 8.04(Unterminated quoted string...)

2008-11-11 Thread pietro.luigi.c
Hi to everybody, I'm a student and I need help to install NS2 on Ubuntu 8.04. I download and I create my ns directory. I type ./install and i have the problem shown at the end of this page. I have the same error installing this two versions(2.28 and 2.1b8a). I need them! I cannot change

[ns] How to get Pr(recieved power) in wireless simulation

2008-11-11 Thread Mirza Naveed Baig
Hi all   developing a node location tracking based on signal strength,can any one please tell me how to get the recieved power Pr in ns2 simulations.     Thanks in advance   Best Regards

Re: [ns] How to disable a mobileNode's movement

2008-11-11 Thread Mubashir Rehmani
Hi Mathiew Just include this line in your tcl script to disable motion of mobile nodes: $ns at 0.0 $node_($i) random-motion 0; # disable random motion Regards Mubashir Husain Rehmani Lip6, UPMC, Paris, France. 2008/11/11 Mathiew Moussa [EMAIL PROTECTED] Hello, If i have an

[ns] how to send an acknowledgment to the one before the previous hop in dsr SR

2008-11-11 Thread anas
Dear NS-Users Please I need to send an acknowledgment to the node which is before the previous one through the source rout in DSR, just I need to implement a TWOACK approach, I mean where should I but the code, and is there a packet format for network layer acknowledgments. Thanks in

[ns] Packet Arrival rate -- Need Help*

2008-11-11 Thread LiViAn ZaH
if (typeof YAHOO == undefined) { var YAHOO = {}; } YAHOO.Shortcuts = YAHOO.Shortcuts || {}; YAHOO.Shortcuts.hasSensitiveText = false; YAHOO.Shortcuts.sensitivityType = []; YAHOO.Shortcuts.doUlt = false; YAHOO.Shortcuts.location = us; YAHOO.Shortcuts.document_id = 0;

[ns] collisions in 802.11 or interference

2008-11-11 Thread Imad Abdeljaouad
Hello there, I am looking for the code where collisions in 802.11 occur so that I know which packet(s) collided and for how long they collided? this is a step in trying to implement interference! thank you! -- best regards, Imad Abdeljaouad

Re: [ns] collisions in 802.11 or interference

2008-11-11 Thread Imad Abdeljaouad
Hi Helber, Thanks for the prompt response. Actually, I am looking for the code in ns2 (source code) where we can detect collisions. I want to simulate interference, so I need to get the packets that were received at the same time on some node. I know interference happens on the physical layer,

[ns] Flooding algorithm

2008-11-11 Thread pallavi kb
Hi folks, I am trying to implement broadcasting for wireless nodes I am hence trying to first set up flooding in wireless scenario. It would be helpful for me to get started by looking at a flooding algorithm for wired nodes. If any 1 has the tcl script for flooding in wired or wireless

[ns] Trace file

2008-11-11 Thread bombo-claat
Hi Can you tell me more details about your simulation ? Wired or wireless ? which type of routi ng protocol is used in simulation ? and ... yamachan