[ns] how do i change the node color for animations

2011-05-09 Thread Moses Mbira
Hie all. When I run my simulation the animation nodes are being displayed with a green color rather than a default color black. I have tried to use the $node_(0) color blue/red/black but still nothing is changing. The node_(0) is my node name. Can anyone assist me please I have

[ns] FW: how do i change the node color for animations in smac

2011-05-09 Thread Moses Mbira
Hie all. When I run my simulation the animation nodes are being displayed with a green color rather than a default color black. I have tried to use the $node_(0) color blue/red/black but still nothing is changing. The node_(0) is my node name. Can anyone assist me please I have

[ns] awk file for control overhead

2011-04-29 Thread Moses Mbira
Hello, I need awk file to calculate routing/control overhead of AODV,DSR...Could anyone please send me? Thank you in advance. Moses Only a life lived for others is a life worthwhile. ~Albert Einstein

[ns] which files need to be edited when intergrating a new module in ns2.34

2011-04-20 Thread Moses Mbira
hello NS-users: I create another identical SMAC file in Ns-2.34 but I would like it to be renamed as moses and renamed all SMAC files (.cc .h) to moses files (.cc .h). Then I clone the code and I have changed all the words where the SMAC word appears by the moses word (C++

[ns] Smac simulation help

2011-04-19 Thread Moses Mbira
Hie guys Can anyone give me an idea on how to add this mechanism below to file smac.cc using NS2.34 so that the changes will take effect. When I tried myself I'm seeing no difference at all from the previous mechanism in smac. If (ACK lost or ACK time out) {if (fragmen(k+l)=

[ns] smac simulation problem

2011-04-18 Thread Moses Mbira
Below is my tcl script for smac simulation. I'm having a problem were my trace file is showing that the sending node is the one receiving that data again at the same time. So if anyone can help me find were I went wrong on my tcl code. set val(chan)Channel/WirelessChannel; set

[ns] anyone help me with the description of this trace file

2011-04-17 Thread Moses Mbira
Can anyone help me with the description of this sample trace file from smac simulation stating the order as in $1- meaning, $2-meaning , $3-meaning and so on. Thanks in advance s 43.229835229 _0_ AGT --- 12 cbr 512 [0.00 0 0] [energy 965.871369 ei 33.949 es 0.009 et 0.092 er

[ns] Packet transmission of smac

2011-04-11 Thread Moses Mbira
Hie Can anyone help me why my tcl script is not showing the packets movement but its showing nodes range and movement in the nam window. This is my tcl script. set opt(chan)Channel/WirelessChannel set opt(prop)Propagation/TwoRayGround set opt(netif)

[ns] How to disable packet Fragmentation in ns2.34

2011-04-03 Thread Moses Mbira
Hie Everyone Can anyone tell me how to disable fragmentation of packets in NS 2.34. Which file do I have to edit to disable it. Or a tcl script to disable it. -- Regards Panganai Mbira Only a life lived for others is a life worthwhile. ~Albert Einstein

[ns] Tcl soucre code for fragmentation and defragmentation of packets

2011-03-21 Thread Moses Mbira
Can anyone help me with a tcl code for fragmentation and defragmentation of large quantities of data.

[ns] Does anyone know an algorithm which break down large data into small packets and sent it over a network using ns2.34

2011-03-15 Thread Moses Mbira
Does anyone have an idea of an algorithm which break down large data into small packets and send it over a network and recompile it again to one on the receiver.

[ns] help with a tcl code which breakdown large data into small packets

2011-03-15 Thread Moses Mbira
Hie Can anyone help me with a tcl code which break down large data into small packets and sent it over two nodes. I'm using ns2.34 -- Regards Panganai Mbira Cell: 0772487215 Only a life lived for others is a life worthwhile. ~Albert Einstein