[ns] Simulating a routing protocol for Mobile Ad-Hoc Network

2008-02-04 Thread abdullah qawasmeh
Hi All, I am currently working on developing a new routing protocol for Mobile Ad hoc Networks, the protocol uses the location information of each node in the network minimize the number of packet retransmissions. I am considering Network Simulator 2 for simulating the performance of the

[ns] Reading Node Location during wireless simulation

2008-02-24 Thread abdullah qawasmeh
Hi All, Does anybody know how to get the location of a node from the routing agent class?. I know that the Node Object has three instance variables (X,Y,and Z), but how can I read these values from the routing agent class?. I need to read these variables because I am developing a new ad hoc

[ns] invalid command name .kj

2008-03-22 Thread abdullah qawasmeh
Hi, I have just added a new protocol to NS. I have also successfully compiled NS. However, when I run the new executable (using command ns filename.tcl, or simply ns alone) I get the following message: ns: [code omitted because of length] : invalid command name .kj while executing .kj

[ns] using Mac 802.11for simulations with Heterogenous Nodes

2008-03-22 Thread abdullah qawasmeh
Hi, I am trying to send packets in a wireless simulation using unidirectional link. So, not all of the nodes in the simulation have the same transmission range. Does Mac 802.11 permit this?, I know that Mac 802.11 requires that RTS (Request to Send ) and CTS (Clear to Send) packets be

[ns] Change IP Packet size

2008-03-26 Thread abdullah qawasmeh
Hi, does anybody know how the network simulator decides the IP packet size?, and how it decides how many MAC frames are required to transmit one IP Packet? Thank you, Abdulla - Looking for last minute shopping deals? Find them fast with Yahoo! Search.

[ns] Segmentation fault in Scheduler when scheduling a new packet

2008-03-28 Thread abdullah qawasmeh
hi, Whenever I make the following call ( Scheduler::instance.schedule(target ,p ,0.0) ) I get a segmentation fault. has anybody come across this problem before? Regards, Abdulla - Looking for last minute shopping deals? Find them fast with Yahoo!

[ns] Changing individual node transmission range

2008-03-29 Thread abdullah qawasmeh
Hi All, Does any body know how to change the transmission range of individual nodes in ns?. The NS manual suggests using the following command Phy/WirelessPhy set RXThresh_ value. This, however, will change the transmission range of all the nodes in the simulation. Regards, Abdulla

[ns] Direction for pkt-flow not specified; Sending pkt up the stack on default.

2008-03-30 Thread abdullah qawasmeh
Hi All, I am getting a weird message ( Direction for pkt-flow not specified; Sending pkt up the stack on default. ) when I run a wireless simulation with a protocol that I wrote. I have checked all my code, and every time before I schedule a packet I set the common header's direction to

[ns] Trace analyzer.

2008-03-30 Thread abdullah qawasmeh
Hi All. Does anybody know a good trace file analyzer for wireless traces? Regards, Abdulla - Like movies? Here's a limited-time offer: Blockbuster Total Access for one month at no cost.

[ns] how to read the node's Pt_ value

2008-04-12 Thread abdullah qawasmeh
Hi all, how can I get the Pt_ value from C++ code for a specific mobile node during a simulation ?. Regards, Abdulla __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

[ns] unique packet identifier

2008-04-13 Thread abdullah qawasmeh
Hi all, what is the best way to uniquely identify a packet. I am working with wireless simulations and I want a node to drop a packet if it received it before. I tried using the common header's variable uid, but that doesn't seem to work, because it gets set after scheduling the packet. so

[ns] sending a broadcast packet

2008-04-16 Thread abdullah qawasmeh
Hi All, how can I setup a cbr stream that sends broadcasts packet in wireless simulations using tcl code? regards, - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

[ns] how to bind static variables

2008-04-17 Thread abdullah qawasmeh
Hi All, How can I bind static class variables, so that I can access them from TCL code? Regards, Abdulla - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

[ns] How to change transmission rate in wireless simulations

2008-04-17 Thread abdullah qawasmeh
Hi all, how can I change the data transmission rate and delay for wireless nodes in NS? and what are the default values?. Thank you... Abdulla - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

[ns] Rescheduling packets after a specific time.

2008-04-22 Thread abdullah qawasmeh
Hi All, I am developing a routing protocol for MANET. My protocol needs to save packets for a specific time and then decide if they should be send or dropped. To achieve this I keep an array of pending packets at each node and installed a timer on each one of them, then I schedule the timer

[ns] node movement files for wireless simulations

2008-04-22 Thread abdullah qawasmeh
Hi all, does anybody have node movement files (like the ones created using setdest) for a number of nodes more than 400? it takes forever to generate these files. regards, Abdulla - Be a better friend, newshound, and know-it-all with Yahoo! Mobile.

[ns] getting a reference to the routing agent

2008-04-23 Thread abdullah qawasmeh
Hi all, how can I get a reference to the routing agent on a specific node from TCL code? [$node_ agent 255] doesn't work! regards, Abdulla - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

[ns] node transmission radius

2008-05-01 Thread abdullah qawasmeh
Hi all, I am trying to set the transmission radius of individual wireless nodes to a specific distance. To do that I have adjusted the threshold.cc code under /indep-utils/propagation, so that it returns the Pt_ power for the desired distance instead of RXthresh_. the program gives the right

[ns] node movement files for wireless simulations

2008-05-04 Thread abdullah qawasmeh
Hi all, does anybody know a tool for generating random node movement files for wireless simulations (for large number of nodes)? I tried the one available with the NS for 400 nodes and it took 1 days and didn't even finish so I stopped it. Thank you... Abdulla