[ns] Error of Installation of AOMDV in ns2.33

2011-11-21 Thread Wei Zhang
Hello All, I tried to install NS-2.33-AOMDV-Multiple-Interface patch in ns-allinone-2.33  from website http://mohittahiliani.blogspot.com/2011/07/modified-aomdv-with-multiple-interface.html.  I followed the instructions above in this blog (Paste the downloaded patch in ns-allinone-2.33 folder;

[ns] patch files (or code) of multipath routing protocols

2011-12-10 Thread Wei Zhang
Hello All, I want  patch files (or code) of multipath routing protocols such as SMR, etc to implement in NS2.33 . Could anybody tell me where they are? Thank you in advance. Wei

[ns] script for network life time

2012-02-26 Thread Wei Zhang
Hello All, I need script file to calculate network life time. Could anybody send me it? Thank you in advance. Wei

[ns] script for energy consumption

2012-05-14 Thread Wei Zhang
Hello All, I need script file to calculate energy consumption and lifetime. Could anybody send me it? Thank you in advance. Wei

[ns] how to know (or measure) the carrier sensing range of a node in practice

2012-07-30 Thread Wei Zhang
Hi All, In NS2, we set the carrier sensing range of a node, for example: Phy/WirelessPhy set CSThresh_ 9.77249e-11 // the carrier sense range is 450m Could anybody tell me how to know (or measure) the carrier sensing range of a node in practice? It is already set on a node? Thank you in adv

[ns] implement an routing algorithm by Ns2, please help me

2009-07-25 Thread Wei Zhang
Dear All,   I must implement an routing algorithm  in mobile ad hoc by Ns2 that is the same as AODV, DSR in Ns2. Who have document for guiding way to build or tell me steps to build?   Thank you in advance.  

[ns] show result DSR, DSDV in ns 2, please help me

2009-07-26 Thread Wei Zhang
  Dear all,   I try to test DSR and DSDV in ns 2(version 2.33). It run well but show nothing. I can not find its trace file. Where is its trace file or its result file? How I can see its result? who could please help me?   Thanks in advance.

[ns] perform interference or influence between two nodes in NS2, please help me

2009-08-09 Thread Wei Zhang
  Dear All,   I w­ant to perform interference or influence(not formula) between two nodes in transmission range each other in NS2. I do not  know­ ho­w to do. Could anybody please help me? I need your help.   Thank you very much. W­­ei zhang

[ns] interference or influence between two nodes in NS2, please help me

2009-08-12 Thread Wei Zhang
interference between A and B to be x in NS2?   Thank you very much for your help. Wei Zhang

[ns] call a function from TCl script

2010-03-11 Thread Wei Zhang
Hello,   Could anybody please help me: ABC() is a function writing by C++(in ns2) how to call it from TCl script? Thanks so much. Wei

[ns] find the current position of node

2010-03-15 Thread Wei Zhang
  Hello everybody, To find the current position of node i I use: int i; double x,y,z;     Node* srcnode = 0; srcnode = Node::get_node_by_address(i);      MobileNode* tmnode = (MobileNode*)srcnode;         tmnode->getLoc(&x, &y, &z); I use ubuntu 8.04, ns2.33. when I translate(use make com

[ns] trace file in ns2

2010-04-13 Thread Wei Zhang
Hello everybody,   In ns2, there existed a trace file for AODV,DSR?  Where is it? Please tell me.   Thank you so much. Wei

[ns] TCL script 50 nodes or more for DSR,AODV

2010-05-09 Thread Wei Zhang
  Hello,   I want to try a TCL script 50 nodes or more for DSR,AODV. Anyone please send me.   Thanks in advance. Wei

[ns] drop packet during transmission

2010-05-20 Thread Wei Zhang
Hello everybody, Could anybody tell me: which cases a packet drops during it was transmitted in network except having not the route from source to destination? I tested OLSR, it has no drop if having the route from source to destination. How to set up parameter in tcl script to cause drop o

[ns] the formula(way) to convert from w to m(meter)

2010-05-30 Thread Wei Zhang
Hello, For using the transmission range,receiving range,..., it is difficult to imagine if using w unit. -Does anyone has the formula to convert from w to m(meter) or an easy way to imagine  : - transmission range from w to meter? e.g 8.5872e-4 w ~ 40m the power consumption for transmis

[ns] code to add the hops(path) to source routing in the packet

2010-08-07 Thread Wei Zhang
Hello everybody, I need code to add the hops of path to source routing in the packet. If you have it please send me soon. Thank you in advance. Wei

[ns] code to add the hops(path) to source routing in the packet

2010-08-10 Thread Wei Zhang
Hello everybody, I need code to add the hops of path to source routing in the packet. If you have it please send me soon. Thank you in advance. Wei

[ns] ih->daddr() value

2010-08-16 Thread Wei Zhang
  Hello everybody,   In AODV  or OLSR , ih->daddr() function return dst_ value but where dst_ is assigned a value? I looked for that but I can not find it.   In AODV or OLSR , I only want to look for the path between a pair of definined node,  for example node 10 and node 20. How i must do? Cou

[ns] awk file to calculate energy of node

2010-09-12 Thread Wei Zhang
Hello All,   Could anybody has awk file to calculate energy of node in routing protocol in manet? Please send me.   Thank you in advance. Wei

[ns] awk file to calculate Route Discovery Frequency

2010-09-27 Thread Wei Zhang
Hello All,   Could anybody has awk file to calculate "Route Discovery Frequency" in routing protocol in manet? Please send me.   Thank you in advance. Wei

[ns] install ns2.29.3 in ubuntu 8.04, please help me

2010-11-20 Thread Wei Zhang
Hi All,   I install ns2.29.3 in ubuntu 8.04 as follows:   1) run   # sudo apt-get install build-essential # sudo apt-get install tcl8.4 tcl8.4-dev tk8.4 tk8.4-dev # sudo apt-get install libxmu-dev libxmu-headers 2) ./install   3) in ./bashrc file i add: export PATH="$PATH:/home/wei/ns-allinone

[ns] script(TCl file) for DSR

2011-02-28 Thread Wei Zhang
Hello All, I need a script(TCl file) for DSR . Could anybody please send me? Thank you in advance. Wei

[ns] Set environment in Ns2

2011-03-07 Thread Wei Zhang
Hello All, Could anybody tell me how to set " The distributed coordination function (DCF) of IEEE 802.11 for wireless LANs " in NS2 to run AODV, DSR? It is default when installing Ns-allinone2.33? Thank you in advance. Wei

[ns] Error when testing DSR in NS2 with more than 10 nodes

2011-05-24 Thread Wei Zhang
Hello All, I use Ns2.33 to run DSR. I cannot know why I test DSR with more than 10 nodes it has an error "error of segment" Could you please explain me why?  If you have a tcl script that run DSR well please send me. Thank you in advance. Wei

[ns] Ask for Tcl script for TCP connection

2011-06-13 Thread Wei Zhang
Hello All, Could anybody please tell me: How to set up a size of packet, data rate in TCP connection in TCL script? What are the most important parameters in TCP connection. How to set up all bandwidths between nodes as 5.5Mbps?  If you have got a good Tcl script for TCP connection? Please

[ns] How to to set the pause time of node in TCL script

2011-07-28 Thread Wei Zhang
Hello All, I would like you help me to set the pause time of node in TCL script. I try the following code but it has error: setdest –n –p –s –t –x –y I can only set the speed and coordinate and it is ok: $ns_ at 10 "$node_(0) setdest  300 680 5" Please help me soon.