[ns] [Fwd: Re: how to add a cpp file to ns2]

2009-08-15 Thread Daniel Vigueras

Read this: http://masimum.inf.um.es/nsrt-howto/html/node20.html I think
it can help you.

kundavi wrote:
 hello friends,

 i downloaded some cpp files of odmrp protocol and i want to implement it in
 NS2.33.

 for example,

 i added rtragent.cc and supporting files of it too

 but then also i get an error as invalid command name Agent/RTRAgent.

 to make it as a valid command name ..plz help me to make a link between the
 c file and tcl file,

 with regards

 sangeetha.k

   




[ns] mobile nodes

2009-08-15 Thread neeraj gupta


hi all

 i just made certain changes in mac802_11.cc file to find out the neighbors of 
nodes. right now whenever i run the script it is showing me all the current 
nodes and their neighboring nodes a simulation time passes on. i like to find 
it out for particular node how can i do it.

also b default the netif_ - nodes()- energymodel() is returning 0. and the 
netif_-node()- adaptivefidelity() is giving segemntation fault. what can be 
possible reasons.

i need your help ugently.


Neeraj Gupta
Assistant Professor
HOD, CSE  IT Department
Hindu College of Engineering
Sonepat


[ns] WSN residual energy

2009-08-15 Thread manel manel


Hi  ns users ,


I want to elect cluster heads with the residual energy of the nodes within 
clusters.
So i want to get the residual energy of the nodes within clusters in 
Decideclusterhead () LEACH procedure.  (under mannasim , ns-2 module extension) 

please give me some advice how should i do if i want to get this parameter.
 
looking for your reply soon.
_
Avec Windows Live, vous organisez, retouchez et partagez vos photos.
http://www.microsoft.com/northafrica/windows/windowslive/products/photo-gallery-edit.aspx


[ns] awk script for calculating end to end delay in a wired-wireless scenario

2009-08-15 Thread Oladapo Oluwadiya

hello,

does anyone have the awk script to calculate delay,throughput,packet loss in a 
mixed scenario i.e. wired-wireless scenario?
i will really appreciate it.
regards.



  


[ns] error running test_tcp on eurane

2009-08-15 Thread danny kamel

I installed ns-2.30 on ubuntu 8.0.4 and the eurane patch as required but
when i try to run the test_tcp.tcl file i get the following error. Any
suggestions??

d...@dk-laptop:~$ ns test1.tcl

   (_o3 cmd line 1)
   invoked from within
_o3 cmd create-Umtsnode
   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 _o3 line 2)
   (SplitObject unknown line 2)
   invoked from within
$ns create-Umtsnode
   invoked from within
set rnc [$ns create-Umtsnode]
   (file test1.tcl line 28)
d...@dk-laptop:~$


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