[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 Thursday, September 4, 2014 5:34 AM, ns-users-requ...@isi.edu 
ns-users-requ...@isi.edu wrote:
 


Send Ns-users mailing list submissions to
ns-users@isi.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.isi.edu/mailman/listinfo/ns-users
or, via email, send a message with subject or body 'help' to
ns-users-requ...@isi.edu

You can reach the person managing the list at
ns-users-ow...@isi.edu

When replying, please edit your Subject line so it is more specific
than Re: Contents of Ns-users digest...


Today's Topics:

   1. request joining (i kok)
   2. Different Packets Priority (How can I do packet priority for
  wireless nodes in ns2 ? ) (i kok)
   3. Implementation of Black-hole attack against AODV protocol in
  NS2 (basant subba)


--

Message: 1
Date: Wed, 3 Sep 2014 12:48:16 +0300
From: i kok ikok.c...@gmail.com
Subject: [ns] request joining
To: ns-users@isi.edu
Message-ID:
cap3po8hzoexi-krcjed1vvyx-lgqt2ed4prj2cbym71yzyi...@mail.gmail.com
Content-Type: text/plain; charset=UTF-8




--

Message: 2
Date: Wed, 3 Sep 2014 13:16:35 +0300
From: i kok ikok.c...@gmail.com
Subject: [ns] Different Packets Priority (How can I do packet priority
for wireless nodes in ns2 ? )
To: ns-users@isi.edu
Message-ID:
CAP3pO8F_g-ZboyGEoMYap=_4rgczhtbr0n22p5uyvpvjz_h...@mail.gmail.com
Content-Type: text/plain; charset=UTF-8

Hi ,
I want to  simulate packet priority for mobile nodes, How can I do this in
ns 2 ?
Could you show me a way ? Links,.Tcl file or etc.



Thanks..


--

Message: 3
Date: Wed, 3 Sep 2014 17:36:14 +0530
From: basant subba basantsu...@gmail.com
Subject: [ns] Implementation of Black-hole attack against AODV
protocol inNS2
To: ns-users@isi.edu
Message-ID:
CAMRmPAG2voRLMHUc4865N=m1dcpvgqeh_tnfpnnqskpw0zq...@mail.gmail.com
Content-Type: text/plain; charset=UTF-8

Hello everyone
I am trying to implement a blackhole attack in AODV protocol in NS2(version
2.35). After making all the necessary changes in ns-lib.tcl,
ns-default.tcl, ns-packet.tcl, cmu-trace.cc, priqueue.cc and Makefile, when
I ran my tcl script it threw this error.

(_o14 cmd line 1)
invoked from within
_o14 cmd addr
invoked from within
catch $self cmd $args ret
invoked from within
if [catch $self cmd $args ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error error when calling class $cls: $args $...
(procedure _o14 line 2)
(SplitObject unknown line 2)
invoked from within
_o14 addr
(eval body line 1)
invoked from within
eval $node addr $args
(default arm line 2)
invoked from within
switch -exact $routingAgent_ {
DSDV {
set ragent [$self create-dsdv-agent $node]
}
DSR {
$self at 0.0 $node start-dsr
}
AODV {
set ragent [$self cre...
(procedure _o3 line 14)
(Simulator create-wireless-node line 14)
invoked from within
_o3 create-wireless-node
(eval body line 1)
invoked from within
eval $self create-wireless-node $args
(procedure _o3 line 23)
(Simulator node line 23)
invoked from within
$ns_ node
(for body line 2)
invoked from within
for {set i 0} {$i  $val(nn) } {incr i} {
set node_($i) [$ns_ node]
$node_($i) random-motion 0;# disable random motion
}
(file simple-wireless.tcl line 93)

Has any1 else encountered this problem while implementing a new protocol?
If anyone knows how to fix this problem please help. Thanks and Regards.
CHEERS...!!


--

___
Ns-users mailing list
Ns-users@isi.edu
http://mailman.isi.edu/mailman/listinfo/ns-users


End of Ns-users Digest, Vol 129, Issue 2



[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. Tahiliani
 
   Mohit P. Tahiliani: Blackhole Attack in ns-2
The patch provided in this post enables a ns-2 user to simulate Blackhole 
Attack in ns-2 for Mobile Ad hoc Network (MANET) Simulations.   
View on mohittahiliani.blogs... Preview by Yahoo  


[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://mohittahiliani.blogspot.in/2014/05/blackhole-attack-in-ns-2.html 

Hope it helps.

Regards,
Mohit P. Tahiliani


[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://mohittahiliani.blogspot.in/2014/05/blackhole-attack-in-ns-2.html
 
Hope it helps.

Regards,
Mohit P. Tahiliani

P.S.: If the link does not work, please copy and paste it in the address bar in 
browser.


[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://mohittahiliani.blogspot.com/2011/08/random-early-detection-red-in-ns-2-tcl.html

http://mohittahiliani.blogspot.com/2012/01/nonlinear-red-nlred-patch-for-ns-2.html

http://mohittahiliani.blogspot.com/2012/01/refined-adaptive-red-re-ared-or-rared.html


Hope it helps.

Regards,
Mohit P. Tahiliani


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] [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-source.htm


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 


[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] 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 install

Hope it helps.

Regards,
Mohit P. Tahiliani


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


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_ false
Queue/RED set mean_pktsize_ 1000

Please change mean packet size as per the packet size in your scenario.

Hope it helps.

Regards,
Mohit P. Tahiliani


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] 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] 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] 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 the tutorial by Ramon Aguero Calvo and Jesus 
Perez Campo.
Hope it helps.
Regards,Mohit P. Tahiliani


  


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


  


[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 use multiple interface support in ns-2. Ramon Aguero Calvo and 
Jesus Perez Campo have modified the AODV protocol for which code is available 
in the document they have provided.
Based on the guidelines provided in Chapter 5 of the document we have 
successfully made modifications in DSDV routing protocol. The patch for the 
same is available on the link given below:
http://mohittahiliani.blogspot.com/
Hope it helps.
Regards,Mohit P. Tahiliani
P.S.: The modifications are still under review and if you find any 
bugs/mistakes please report to us.


  


[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 authors of these patches is also available on the same 
link.
Hope it helps.
Regards,Mohit P. Tahiliani


  


[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 helps.
Regards,Mohit P. Tahiliani


  


  


[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.blogspot.com/2010/03/adding-multiple-interface-support-in-ns.html
Hope it helps.
Regards,Mohit P. Tahiliani


  


[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 will be uploaded soon.
Hope it helps.
Regards,Mohit P. Tahiliani


  


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 patch: http://www.mannasim.dcc.ufmg.br/
Hope it helps.
Regards,Mohit P. Tahiliani


  


[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 format.
Also a single AWK Script giving number of generated packets, received packets, 
dropped packets, packet delivery fraction and average end-to-end delay has been 
posted.
Follow this link to download AWK Scripts:
http://mohittahiliani.blogspot.com/2010/02/few-more-awk-scripts-for-ns2.html
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 installation procedure can be found on the link given below:



http://mohittahiliani.blogspot.com/2010/02/installing-ns226-with-nrlsensorsim-on.html



Hope it helps.



Regards,

Mohit P. Tahiliani


  


[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://comjnl.oxfordjournals.org/cgi/content/abstract/bxn007v2
http://www.actapress.com/PaperInfo.aspx?PaperID=30354reason=500
http://uespro.blogfa.com/post-2.aspx
http://www.slideshare.net/guest4c60e4/ant-colony-algorithm
http://www.ingentaconnect.com/content/klu/tels/2001/0018/F0030001/00352998
http://www.faqs.org/patents/app/20090052321
http://findarticles.com/p/articles/mi_m0VVT/is_2_2/ai_n24986963/
http://trg.fke.utm.my/members/kashif/ijcnis09.pdf
http://www2.computer.org/portal/web/csdl/doi/10.1109/SecTech.2008.49
http://www.q2s.ntnu.no/~wittner/ns/ ( This link gives patch and material on 
Mobile ANT Agents in NS-2)
Hope it helps.
Regards,Mohit P. Tahiliani



  


[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 developed for ns2.28 but its not downloadable from the above 
given links.
Also a MobiWan patch compatible with DCCP can be found on the above given links.
Hope it helps.
Regards,Mohit P. Tahiliani


  


[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] Fw: Few AWK scripts which may be useful

2010-02-07 Thread Mohit Tahiliani



--- On Mon, 2/8/10, Mohit Tahiliani mohit.ni...@yahoo.com wrote:

From: Mohit Tahiliani mohit.ni...@yahoo.com
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-for-ns2.html

and few more will be uploaded soon.

Hope it helps.

Regards,
Mohit P. Tahiliani

--- On Sat, 2/6/10, ns-users-requ...@isi.edu ns-users-requ...@isi.edu wrote:

From: ns-users-requ...@isi.edu ns-users-requ...@isi.edu
Subject: Ns-users Digest, Vol 74, Issue 5
To: ns-users@ISI.EDU
Date: Saturday, February 6, 2010, 6:30 AM

Send Ns-users mailing list submissions to
    ns-users@isi.edu

To subscribe or unsubscribe via the
 World Wide Web, visit
    http://mailman.isi.edu/mailman/listinfo/ns-users
or, via email, send a message with subject or body 'help' to
    ns-users-requ...@isi.edu

You can reach the person managing the list at
    ns-users-ow...@isi.edu

When replying, please edit your Subject line so it is more specific
than Re: Contents of Ns-users digest...


Today's Topics:

   1. need of awk scripts (maimoon begum)
   2. syntax error in awk scripts (maimoon begum)
   3. NS2/VanetMobiSim traffic generation using TIGER data sets
      (Mustafa
 Kamal)
   4. Leach implementation in NS2 (Aakash)
   5. Delay in the wifi (Gabriel Novy)
   6.  802.11s patch in ns2.29 (meriem bouzouita)
   7. error on installing ns-2.33 after patched with
      Ns2mesh80216(IEEE 802.16d Wireless Mesh Networks simulation) (rpavan)
   8.  how to simulate wireless mesh networks using ns-2.34 (rpavan)
   9. Directed broadcast (waqar haq)
  10. regarding performance measures (gayathri devi)


--

Message: 1
Date: Fri, 5 Feb 2010 13:56:52 +0530 (IST)
From: maimoon begum maimoonnim...@yahoo.co.in
Subject: [ns] need of awk scripts
To: ns-users@ISI.EDU
Message-ID: 938321.7251...@web95408.mail.in2.yahoo.com
Content-Type: text/plain; charset=iso-8859-1

Hi all,
I need the awk scripts for calculating packet delivery ratio, average end to 
end delay, and energy consumption in AODV simulation scenario using new trace 
file format

As I am short of time schedule... any one help little faster kindly..

thank u ..


With Regards,
 H.Maimoon Begum


      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
http://in.yahoo.com/

--

Message: 2
Date: Fri, 5 Feb 2010 14:56:19 +0530 (IST)
From: maimoon begum maimoonnim...@yahoo.co.in
Subject: [ns] syntax error in awk scripts
To: ns-users@ISI.EDU
Message-ID: 124655.29053...@web95406.mail.in2.yahoo.com
Content-Type: text/plain; charset=iso-8859-1

I?tried this script... Its coming that syntax error... 
?
anyone can help this...
?
?
BEGIN??? { 
 sends=0; 
 recvs=0; 
 routing_packets=0.0; 
 droppedPackets=0; 
 highest_packet_id =0; 
 sum=0; 
 recvnum=0; 
?? } 
??? { 
??? time = $3; 
??? packet_id = $41; 
?
 
??? # CALCULATE PACKET DELIVERY FRACTION 
??? if (( $1 == s) ? ( $35 == tcp )  ( $19==AGT )) { 
sends++; } 
? 
??? else if (( $1 == r) ? ( $35 == tcp )  ( $19==AGT ))?? { 
recvs++; } 
? 
??? # CALCULATE DELAY 
??? if ( start_time[packet_id] == 0 ){? 
??start_time[packet_id] = time; ?}
??? else if (( $1 == r) ? ( $35 == tcp )  ( $19==AGT )) { 
???end_time[packet_id] = time;? } 
 else {? end_time[packet_id] = -1;? } 
?END {??? 
?for(i in end_time )
?
??? { 
??? start = start_time[i]; 
??? end = end_time[i]; 
??? packet_duration = end - start; 
??? if ( packet_duration  0 )?? 
??? {??? sum += packet_duration; 
 recvnum++; 
??? } 
??? }
? 
?? delay=sum/recvnum; 
?? PDF =
 (recvs/sends)*100;? #packet delivery ratio[fraction] 
?? printf(send = %.2f\n,sends); 
?? printf(recv = %.2f\n,recvs); 
?? printf(routingpkts = %.2f\n,routing_packets++); 
?? printf(PDF = %.2f\n,PDF);? 
?? printf(Average e-e delay(ms)= %.2f\n,delay*1000); 
?? printf(No. of dropped data (packets) =? %d\n,droppedPackets); 
?? } 




With Regards,
 H.Maimoon Begum


      Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! 
http://downloads.yahoo.com/in/internetexplorer/

--

Message: 3
Date: Fri, 5 Feb 2010 03:17:31 -0800 (PST)
From: Mustafa Kamal contact.joar...@yahoo.com
Subject:
 [ns] NS2/VanetMobiSim traffic generation using TIGER data
    sets
To: NS2 Users ns-users@ISI.EDU
Message-ID: 84096.13105...@web45615.mail.sp1.yahoo.com
Content-Type: text/plain; charset=us-ascii

Hi,

I am working with VanetMobiSim. Can anyone specify any guide/example/tutorial 
where I can able to find how to use TIGER data set files

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] 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 
ns2measure patch.
If anyone has worked with this output file, kindly help me to install the 
recover function so that the output file can be readable.
Thanks in advance!
Mohit P. Tahiliani


  


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 Sat, 8/15/09, ns-users-requ...@isi.edu ns-users-requ...@isi.edu wrote:

From: ns-users-requ...@isi.edu ns-users-requ...@isi.edu
Subject: Ns-users Digest, Vol 68, Issue 14
To: ns-users@ISI.EDU
Date: Saturday, August 15, 2009, 5:30 AM

Send Ns-users mailing list submissions to
    ns-users@isi.edu

To subscribe or unsubscribe via the World Wide Web, visit
    http://mailman.isi.edu/mailman/listinfo/ns-users
or, via email, send a message with subject or body 'help' to
    ns-users-requ...@isi.edu

You can reach the person managing the list at
    ns-users-ow...@isi.edu

When replying, please edit your Subject line so it is more specific
than Re: Contents of Ns-users digest...


Today's Topics:

   1. Re: how to calculate delay/jitter (Tom G)
   2. Random Waypoint (ori and mish bgu)
   3. Re: Random Waypoint (Erlend Larsen)
   4. mobile ipv6 simulation (Oladapo Oluwadiya)
   5. Fw: DSR (Rania Kamal)


--

Message: 1
Date: Fri, 14 Aug 2009 08:14:32 + (GMT)
From: Tom G forenm...@yahoo.de
Subject: Re: [ns] how to calculate delay/jitter
To: Tom G forenm...@yahoo.de, ns users ns-users@ISI.EDU
Message-ID: 549825.29609...@web24712.mail.ird.yahoo.com
Content-Type: text/plain; charset=utf-8

I solved my problem.

This script is very useful I think. 
http://hpds.ee.ncku.edu.tw/~smallko/ns2/tool_en.htm
Perhaps it could help so. with similar problems

best regards
Tom




Von: Tom G forenm...@yahoo.de
An: ns users ns-users@ISI.EDU
Gesendet: Donnerstag, den 13. August 2009, 11:33:39 Uhr
Betreff: [ns] how to calculate delay/jitter


Hi,
I've got the next question.
following topology...
n0         n4
\        /
  n2n3
/        \
n1         n5

how can I get the delay between Node0 and Node4? Every manual I found regarding 
this is limited to the delay between a Node and its Neighbour e.g. delay 
between n2 and n3. Is there a possibility for getting the delay, or have I to 
calculate it?

Also I have to calculate / get the jitter between node0 and node4. Therefor I 
have no idea how to realize that

I hope someone could send me useful suggestion.

best regards
Tom


      

--

Message: 2
Date: Fri, 14 Aug 2009 14:03:29 +0300
From: ori and mish bgu oriandm...@gmail.com
Subject: [ns] Random Waypoint
To: ns-users@ISI.EDU
Message-ID:
    e5ba49130908140403h300f6b42i33f1a4666faa2...@mail.gmail.com
Content-Type: text/plain; charset=ISO-8859-1

Dear ns-users

I want to add random waypoint to my ad-hoc network.
I can use setdest command to move the nodes ..
but first I wanted to see some examples of different implementations for
random waypoint models.
I googled this but haven't found any scripts..  actually I found this page
http://lrcwww.epfl.ch/RandomTrip/ but the link to the ns2 code seems to be
dead.
Anyone can please share any examples ?

Thanks
Michael


--

Message: 3
Date: Fri, 14 Aug 2009 13:33:24 +0200
From: Erlend Larsen erlen...@gmail.com
Subject: Re: [ns] Random Waypoint
To: ns-users@ISI.EDU
Message-ID:
    5eed4b7a0908140433k4d378eddrd97e21575ce8f...@mail.gmail.com
Content-Type: text/plain; charset=ISO-8859-1

Try this link: http://monarch.cs.rice.edu/~santa/research/mobility/

Regards,
Erlend

On Fri, Aug 14, 2009 at 13:03, ori and mish bguoriandm...@gmail.com wrote:

 Dear ns-users

 I want to add random waypoint to my ad-hoc network.
 I can use setdest command to move the nodes ..
 but first I wanted to see some examples of different implementations for
 random waypoint models.
 I googled this but haven't found any scripts.. ?actually I found this page
 http://lrcwww.epfl.ch/RandomTrip/ but the link to the ns2 code seems to be
 dead.
 Anyone can please share any examples ?

 Thanks
 Michael




--

Message: 4
Date: Fri, 14 Aug 2009 04:50:05 -0700 (PDT)
From: Oladapo Oluwadiya ooluwad...@yahoo.com
Subject: [ns] mobile ipv6 simulation
To: ns-users@ISI.EDU
Message-ID: 524660.52139...@web35503.mail.mud.yahoo.com
Content-Type: text/plain; charset=iso-8859-1

i tried running the mobile ipv6 scenario i ran for the mobile ipv4 using the

scripts below but i got an error segmentation fault (core dumped)when i tried

running the simulation.what do u think is the problem

thanks





# Basic Mobile IPv6 example without using ns-topoman

# Needs proc defined in file proc-mipv6-config.tcl



Agent/MIPv6/MN set bs_forwarding_ ? ? 0



proc log-mn-movement_no_topo { } {

??global logtimer ns

??Class LogTimer -superclass Timer

??LogTimer instproc timeout {} {

?? ? ? ? global 

[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 different values but cannot identify that to which link this value 
belongs to.
 
Is there any way by which we can print the Link number (e.g.: Link 2 - 3) 
through C++ code??
 
Thank you so much
 
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 of drop packets on every 
link is different. I am getting different values but cannot identify that to 
which link this value belongs to.
 
Is there any way by which we can print the Link number (e.g.: Link 2 - 3) 
through C++ code??
 
Thank you so much
 
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] 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] 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] 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 any way to calculate the power consumption in NS-2?

Thank you,

Mohit P. Tahiliani