[ns] [NS-ANS]: how to change the node color with energy consumption

2011-08-13 Thread Mohit Tahiliani
Hello, Node colors for Energy Model are defined in the following file: ns-allinone-2.xx/ns-2.xx/trace/cmu-trace.cc See line number 758 to 769 on the following link: http://www-rp.lip6.fr/ns-doc/ns226-doc/html/cmu-trace_8cc-source.htm Hope it helps. Regards,Mohit P. Tahiliani

[ns] [NS-ANS]: Problems with Xgraph

2011-08-26 Thread Mohit Tahiliani
Hello, Go in dialog.c and search for "getline" function. Replace it by "getmyline" everywhere! Hope it helps. Regards, Mohit P. Tahiliani

Re: [ns] [NS-ANS] counting control packet in trace file

2011-09-11 Thread Mohit Tahiliani
Hello, I have uploaded AWK Script to calculate Normalized Routing Load on the following link: http://mohittahiliani.blogspot.com/2011/08/awk-scripts-for-normalized-routing.html Hope it helps. Regards, Mohit P. Tahiliani 

Re: [ns] [NS-ANS] Trace file

2011-09-11 Thread Mohit Tahiliani
Hello, The following link describes how to interpret the trace file: http://nsnam.isi.edu/nsnam/index.php/NS-2_Trace_Formats#New_Wireless_Trace_Formats Hope it helps. Regards, Mohit P. Tahiliani

[ns] [NS-ANS]: Regarding wireless network

2011-10-01 Thread Mohit Tahiliani
Hello, You can modify the default settings of colors used in Energy Model in cmu-trace.cc file available in the following directory: ns-allinone-2.xx/ns-2.xx/trace For example see line number 00742 to 00769 on the following link: http://www-rp.lip6.fr/ns-doc/ns226-doc/html/cmu-trace_8cc-sourc

Re: [ns] [NS-ANS] Setdest (mobility model) (samira h)

2011-10-21 Thread Mohit Tahiliani
Hello, You need to give  ./setdest instead of just "setdest" Hope it helps. Regards, Mohit P. Tahiliani

[ns] Nonlinear RED (NLRED) and Refined Adaptive RED (Re-ARED or RARED) patches for NS-2

2012-01-15 Thread Mohit Tahiliani
Hello Everyone, I have designed patches for Nonlinear RED (NLRED) and Refined Adaptive RED (Re-ARED or RARED) using ns-2.34. References for NLRED and Re-ARED (or RARED): (1) "Nonlinear RED: A simple yet efficient active queue management scheme", Kaiyu Zhou, Kwan L. Yeung, Victor O. K. Li, E

[ns] Links - NLRED and Re-ARED patches

2012-01-15 Thread Mohit Tahiliani
Hello Everyone, The links which I have provided in my previous post may not work because there is an extra space at the end of each one. Please remove that space and try again or else you can use the links provided in this post. Hereby I am providing the links again for ease: http://mohittahil

[ns] Patch for Blackhole Attack in ns-2 developed!

2014-05-22 Thread Mohit Tahiliani
Dear ns-2 users, Patch for Blackhole attack in ns-2 has been designed and made available on the following link: Note that presently this patch works only with ns-2.35! Kindly let me know if there are any bugs. Mohit P. Tahiliani: Blackhole Attack in ns-2  Hope it helps. Regards, Mohit P.

[ns] Patch for Blackhole Attack in ns-2 developed! - Link went missing in previous mail

2014-05-22 Thread Mohit Tahiliani
Sorry, the link went missing somehow in the previous mail !!! Dear ns-2 users, Patch for Blackhole attack in ns-2 has been designed and made available on the following link: Note that presently this patch works only with ns-2.35! Kindly let me know if there are any bugs. http://mohittahilian

[ns] Patch for Blackhole Attack in ns-2 developed! - Link went missing in previous mail

2014-05-22 Thread Mohit Tahiliani
Sorry, the link went missing somehow in the previous mail !!! Dear ns-2 users, Patch for Blackhole attack in ns-2 has been designed and made available on the following link: Note that presently this patch works only with ns-2.35! Kindly let me know if there are any bugs. http://mohittahilian

[ns] [Answer]: Re: Ns-users Digest, Vol 129, Issue 2

2014-09-05 Thread Mohit Tahiliani
Dear Basant, I am not very sure of the error you have mentioned. However, you may be interested to look into the Blackhole patch given on the following link: http://mohittahiliani.blogspot.in/2014/05/blackhole-attack-in-ns-2.html Hope it helps. Best Regards, Mohit P. Tahiliani On Thursda

[ns] Power Consumption of a node

2009-01-16 Thread Mohit Tahiliani
Hello all, In NS-2 we can measure residual Energy easily by looking at the trace file. But how can we measure the total power consumption of a node at a particular point in time. (e.g.: between 1sec and 5sec i.e. within an interval of 5-1=4 sec what is the power consumption of a node) Is there

[ns] Dynamic co-ordinates for a node

2009-01-29 Thread Mohit Tahiliani
Hello Everyone,   Can we dynamically assign the destination co-ordinates for a mobile node by using C++ code?   Thank you   Sincerely, Mohit P. Tahiliani 

[ns] C++ code for "setdest" in TCL

2009-01-31 Thread Mohit Tahiliani
Hello Everyone,   When we manually set the destination of the mobile node by using "setdest" in TCL, which function is called in C++??   Is it MobileNode::set_destination(double x, double y, double s) in MobileNode.cc ??   Thank you,   Sincerely, Mohit P. Tahiliani

[ns] Calculating drop packets and total sent packets in C++

2009-02-01 Thread Mohit Tahiliani
Hello Everyone, Is there a variable in C++ that keeps track of total packets sent and total packets dropped in the network? We can calculate through trace file but i want to calculate on the run-time. Thank you, Sincerely, Mohit P. Tahiliani

[ns] Packet drop due to Queue Full

2009-02-03 Thread Mohit Tahiliani
Hello Everyone,   I am able to calculate the number of drop packets due to queue being full through C++ code. Everything is working fine except that I cannot determine that the number of drop packets are related to which Link (or queue).   I have seven links (hence seven queues) and the number o

[ns] How to determine the link number for wireless networks?

2009-02-04 Thread Mohit Tahiliani
Hello Everyone,   I am able to calculate the number of drop packets through C++ code. Everything is working fine except that I cannot determine that the number of drop packets are related to which Link.   I have seven links and the number of drop packets on every link is different. I am getting

Re: [ns] how to calculate delay/jitter

2009-08-15 Thread Mohit Tahiliani
Hello Tom, Here are some of the AWK scripts required for post processing. An AWK script to calculate average jitter is also available here.  http://mohit.ueuo.com/AWK_Scripts.html  or on this link http://www.mohittahiliani.741.com/AWK_Scripts.html Hope it helps. Regards,Mohit P. Tahiliani --- On

[ns] Output file of mesh.tcl

2009-11-25 Thread Mohit Tahiliani
Hello Everyone, I have installed the ns2mesh network patch from the list of Contributed code and executed the sample tcl script given. It gives an output file named "out" which is not in human readable format. The authors mention in "README" file that we have to use "recover" function of ns2meas

Re: [ns] output file of mesh.tcl

2009-11-26 Thread Mohit Tahiliani
Hello Everyone, I was able to interpret the output file generated by mesh.tcl with the help of this link  http://cng1.iet.unipi.it/wiki/index.php/Ns2mesh80216_FAQ Thanks and Regards,Mohit P. Tahiliani

[ns] Fw: Few AWK scripts which may be useful

2010-02-07 Thread Mohit Tahiliani
--- On Mon, 2/8/10, Mohit Tahiliani wrote: From: Mohit Tahiliani Subject: Few AWK scripts are available here To: ns-users@ISI.EDU Date: Monday, February 8, 2010, 10:00 AM Hello Maimoon, You can find AWK scripts on the following link: http://mohittahiliani.blogspot.com/2009/12/awk-script

[ns] Useful references for ANT implementations

2010-02-09 Thread Mohit Tahiliani
Hello, You can find some useful material regarding ANT implementations and other genetic routing algorithms on these links: http://www.lavina.scibrary.com/antnet/ http://www.idsia.ch/~gianni/antnet.html http://antnet.wordpress.com/ http://www.springerlink.com/content/n6511860l57852n8/ http://comj

[ns] References for MobiWan patch on ns2.33

2010-02-09 Thread Mohit Tahiliani
Hello, MobiWan patch for ns2.33 has been designed. Please refer the following the link for more details: http://www.nicta.com.au/people/mehanio/nsmisc or click on this link to download the patch directly: http://www.nicta.com.au/people/mehanio/nsmisc/ns-233-mobiwan-1.patch The patch is also develo

[ns] AODV implementation tutorial

2010-02-09 Thread Mohit Tahiliani
Hello,  You can find the details of AODV implementation from the tutorial prepared by Mubashir Rehmani on this link: http://www-npa.lip6.fr/~rehmani/aodv_v2.pdf Hope it helps. Regards,Mohit P. Tahiliani

[ns] AODV implementation tutorial

2010-02-09 Thread Mohit Tahiliani
Hello, You can use the following tutorial prepared by Mubashir Rehmani for AODV implementation details: http://www-npa.lip6.fr/~rehmani/aodv_v2.pdf Hope it helps. Regards,Mohit P. Tahiliani

[ns] NS2.26 with NRLSensorsim on Fedora 8

2010-02-10 Thread Mohit Tahiliani
Hello, Due to newer versions of gcc, ns2.26 with nrlsensorsim cannot be installed directly. Hence i have designed few patches that help to install ns2.26 with nrlsensorsim on fedora 8 (and possibly with other linux distributions having similar gcc version). The patches and the installati

[ns] AWK Scripts for Wireless Simulations

2010-02-22 Thread Mohit Tahiliani
Hello, In my previous blog post, AWK Script for average end-to-end delay was not available. Also the AWK script for throughput was not working on some trace files as mailed by few of the users.  Hence I have posted yet another AWK Script for throughput which can be used for Old Wireless trace f

Re: [ns] WSN NS-2 Resources

2010-03-01 Thread Mohit Tahiliani
Hello, To simulate WSN in NS-2 either you can use Mannasim patch with ns2.29 or you can use NRL Sensorsim patch with ns2.26 or ns2.27. Following are some of the useful links: NRL Sensorsim details: http://mohittahiliani.blogspot.com/2010/02/installing-ns226-with-nrlsensorsim-on.html Mannasim pat

[ns] AWK Scripts for New Trace Format

2010-03-04 Thread Mohit Tahiliani
Hello, I have uploaded AWK Script for throughput that supports new trace format on the following link: http://mohittahiliani.blogspot.com/2010/03/awk-script-for-ns2-supporting-new-trace.html AWK Scripts for average end-to-end delay, packet delivery fraction, etc that support new trace format wil

[ns] Multiple Interface Support in NS-2

2010-03-15 Thread Mohit Tahiliani
Hello, A patch for multi-channel multi-interface support has been designed depending on the document named "Adding Multiple Interface Support in NS-2" by Ramon Aguero Calvo and Jesus Perez Campo, University of Cantabria. The patch can be found on the following link: http://mohittahiliani.blogspo

[ns] Example TCL Script for "Adding Multiple Interface Support in NS-2" patch

2010-04-12 Thread Mohit Tahiliani
Hello, Example tcl scripts along with awk scripts for "Adding Multiple Interface Support in NS-2" patch are available on the following link: http://mohittahiliani.blogspot.com/2010/04/revised-adding-multiple-interface.html Also the previous patch has been modified so as to work correctly. Hope it

[ns] DCCP Patches for different versions of NS-2

2010-05-11 Thread Mohit Tahiliani
Hello, DCCP patches for various versions of ns-2 such as ns-2.26, ns-2.28, ns-2.29, ns-2.31, ns-2.33, ns-2.34, ns-2.35 and the dccp patch compatible with MobiWAN are available on the following link: http://mohittahiliani.blogspot.com/2010/05/dccp-patches-for-ns-2.html More details about the auth

[ns] Modified DSDV for Multiple Interface Support in NS-2

2010-06-18 Thread Mohit Tahiliani
Hello, The document named "Adding multiple interface support in NS-2" prepared by Ramon Aguero Calvo and Jesus Perez Campo helps to incorporate multiple channel support to the core of the ns-2 simulator. There are few modifications required in the routing protocols such as DSDV, AODV and DSR to

Re: [ns] plotting xgraph with various shapes

2010-12-15 Thread Mohit Tahiliani
Hello, You can find the details of plotting graphs using Xgraph on the following link: http://mohittahiliani.blogspot.com/2010/08/xgraph-and-awk-scripts-in-ns-2_06.html Hope it helps. Regards,Mohit P. Tahiliani

Re: [ns] Multiple channel interface

2010-12-15 Thread Mohit Tahiliani
Hello, The patch for Adding Multiple Support in NS-2 (for ns-2.33) is available on the following link: http://mohittahiliani.blogspot.com/2010/04/revised-adding-multiple-interface.html Also note that AODV routing protocol has also been modified in the same patch as per the guidelines given in th

Re: [ns] Routing table generation

2010-12-15 Thread Mohit Tahiliani
Hello, A Tutorial on implementation of AODV in NS-2 by Mubashir Hussain Rehmani is available on the following link: http://www-npa.lip6.fr/~rehmani/aodv_v2.pdf See section 5.3.2 "Functions for Routing Table Management" Hope it helps. Regards,Mohit P. Tahiliani

Re: [ns] node color problem: my node just dont show color!

2011-02-03 Thread Mohit Tahiliani
Hello, Please check the following link to know how to set colors for nodes: http://enggedu.com/source_code/ns2/ns2/wireless/Tcl_script_to_create_dynamic_wirless_nodes_set_initial_postion_and_set_color_of_node_with_AODV.php Hope it helps. Regards, Mohit P. Tahiliani

Re: [ns] instant awk script old trace format

2011-05-01 Thread Mohit Tahiliani
Dear Mike, Some AWK scripts are available on the following link: http://www.reti.polito.it/fiore/trace2stats_v05b.tgz and other on: http://www.megaupload.com/?f=0211SAG1 Hope it helps. Regards, Mohit P. Tahiliani

Re: [ns] LEACH Implementation

2011-05-01 Thread Mohit Tahiliani
Hello Sachin, Following link may be of some help: http://www.internetworkflow. com/resources/ns2leach.pdf Hope it helps. Regards, Mohit P. Tahiliani

Re: [ns] can not change RED to original form (without gentle)

2011-05-17 Thread Mohit Tahiliani
Dear Aquila, Following are the parameters you need to set to simulate Original RED (1993 paper by S. Floyd and Van Jacobson): Queue/RED set thresh_ 5 Queue/RED set maxthresh_ 15 Queue/RED set q_weight_ 0.001 Queue/RED set bytes_ false Queue/RED set queue_in_bytes_ false Queue/RED set gentle_ fa

Re: [ns] HOW TO GET THE POSITION OF NODE IN C++ CODE ??

2011-05-17 Thread Mohit Tahiliani
Hello, Please see the link below. It explains how to obtain a node position as well as energy. http://elmurod.net/?p=348 Hope it helps. Regards, Mohit P. Tahiliani

Re: [ns] PMIPv6 ns-2 module

2011-05-24 Thread Mohit Tahiliani
Hello, Go in the following directory ns-allinone-2.29/ns-2.29/sctp and open the file named "sctp.h". Go to line number 705 in that file and delete "SctpAgent::" from that line. Via terminal go to ns-allinone-2.29/ns-2.29 and give the following commands: ./configure make clean make make ins

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

2011-05-24 Thread Mohit Tahiliani
Hello, Instead of using Queue/DropTail/PriQueue as ifq type use the following while simulating DSR CMUPriQueue Hope it helps. Regards, Mohit P. Tahiliani