[ns] modified random waypoint model patch/script

2009-09-29 Thread saaidal

Good day to all,

i want t know if anyone have tried using modified random waypoint
model in their simulation, i know some of the papers that desribe
this, but seems that i can't fond any patch or script for this. I'm
using ns2.33 and as far as i'm concern, the directory
ns-2.33/indep-utils/cmu-scen-gen/setdest is an original Random
Waypoint Model, but i wanna use Modified Random Waypoint Model, any
helps are really appreciated, tq.

UNIVERSITY OF MALAYA  -   The Leader in Research  Innovation 



[ns] Optimal Active Route Timeout for AODV protocol

2009-10-14 Thread saaidal

Does anyone has a finding in what is an optimal value for Active Route
Timeout (ART) for AODV protocol, especially for mobile node. The
default value is 3, and in Charles E. perkin (Defining an optimal
Active Route Timeout for AODV protocol..), semms that agree with this
value (3 seconds), but from my simulation, it's 0-4 to 0-8 seconds.
Appreciate if someone has done this type of simukation to obtain
optimal value of mobile node.

Tq

UNIVERSITY OF MALAYA  -   The Leader in Research  Innovation 



[ns] AODV Expanding Ring Search in NS2

2009-10-22 Thread saaidal

Good day,  just several questions i want to ask

1. IS AODV's Expanding Ring search implemented in current NS-2?

2. If yes, can i know the file location, source code etc?

Thx in advanced

UNIVERSITY OF MALAYA  -   The Leader in Research  Innovation 



[ns] DYMOUM patch installation in NS-2.33

2009-12-09 Thread saaidal

Good day,

Has anyone successfully install DYMOUM protocol in ns-2.33? I have a
problem with the patch file when i try to run this command and it
said this:

patch -p1  dymoum/dymoum-0.3_ported_to_ns-2.33.patch

can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--
|diff -burN dymoum-0.3/blacklist.c dymoum-0.3_ported/blacklist.c
|--- dymoum-0.3/blacklist.c2006-08-28 19:14:50.0 +0200
|+++ dymoum-0.3_ported/blacklist.c2009-07-16 11:35:34.0
+0200
--
File to patch:

there are 2 files option to patch, which one is old file and another
one is a new file. When i selected the new file, it will say that
file does not exist, and error occur if i select the new file. I try
to search if any documentation on this installation but it's no
avail. Anyone that has successfully isntall dymoum-0.3 version in
ns-2.33 using the ns-2.33 dymoum-0.3-ns2.33 patch, i will really
appreciate your help. Here is the link of DYMO-UM software:

http://masimum.inf.um.es/?Software:DYMOUM:Installation

UNIVERSITY OF MALAYA  -   The Leader in Research  Innovation 

'This email and any files transmitted with it are confidential and  
intended solely for the use of the individual or entity to whom they  
are addressed.  If you have received this email in error, please  
notify the system manager.  Please note that any views or opinions  
presented in this email are solely those of the author and do not  
necessarily represent those of the University.  Finally, the recipient  
should check this email and any attachments for the presence of  
viruses.  The University accepts no liability for any damage caused by  
any virus transmitted by this email.'



[ns] Checking Number of link changes/broken in ns2 from trace file

2010-03-01 Thread saaidal

Hi good day,

I'm having problem to know how many link changes or broken in ns2
(for new wireless trace file format). Any help will be appreciated.

tq

UNIVERSITY OF MALAYA  -   The Leader in Research  Innovation 

'This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed.  If you have received this email in error, please notify 
the system manager.  Please note that any views or opinions presented 
in this email are solely those of the author and do not necessarily 
represent those of the University.  Finally, the recipient should check 
this email and any attachments for the presence of viruses.  The 
University accepts no liability for any damage caused by any virus 
transmitted by this email.'



[ns] Disabling AODV local repair

2010-04-02 Thread saaidal

Good day,

How do i disable local reapir in AODV (always starting the repir from
the source)? Appreciate your help, tq


UNIVERSITY OF MALAYA  -   The Leader in Research  Innovation 

'This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed.  If you have received this email in error, please notify 
the system manager.  Please note that any views or opinions presented 
in this email are solely those of the author and do not necessarily 
represent those of the University.  Finally, the recipient should check 
this email and any attachments for the presence of viruses.  The 
University accepts no liability for any damage caused by any virus 
transmitted by this email.'



[ns] Local Repair parameter (MIN_REPAIR_TTL, MAX_REPAIR_TTL, LOCAL_ADD_TTL)

2010-04-06 Thread saaidal

Good day,

In standard AODV RFC there are explanation on AODV local repair which
stated that if link break near the destination (no further than
MAX_REPAIR_TTL) and it also stated that RREQ ttl should intially set
value of

max(MIN_REPAIR_TTL, 0.5*#hops) + LOCAL_ADD_TTL

but i seem can't find where is this parameter in the source code (i
search all through aodv file). I wish to change some of this value to
study the performance. Appreciate if anyone can tell me where is this
parameter file location. Tq



UNIVERSITY OF MALAYA  -   The Leader in Research  Innovation 

'This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed.  If you have received this email in error, please notify 
the system manager.  Please note that any views or opinions presented 
in this email are solely those of the author and do not necessarily 
represent those of the University.  Finally, the recipient should check 
this email and any attachments for the presence of viruses.  The 
University accepts no liability for any damage caused by any virus 
transmitted by this email.'



[ns] turn on and off intermediate wireless nodes/links

2010-05-25 Thread saaidal

Good day,

is there a way to shut down wireless nodes so that it can di route
repair? I want to shut down, let say at time 200 sec, i want to shut
down node 7 so that it will do route repair. Before it being shut
down, node no 7 (intermediate node) is used in as active route to
destionation

if there is a way, appreciate if u guys can provide me a way...

tq


UNIVERSITY OF MALAYA  -   The Leader in Research  Innovation 

'This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed.  If you have received this email in error, please notify 
the system manager.  Please note that any views or opinions presented 
in this email are solely those of the author and do not necessarily 
represent those of the University.  Finally, the recipient should check 
this email and any attachments for the presence of viruses.  The 
University accepts no liability for any damage caused by any virus 
transmitted by this email.'



[ns] Shutting down link

2010-05-26 Thread saaidal

Is there anyway to shutdown the wireless link in ns2?

I want to set at certain time, link from node 3 to 4 (active route
from node to destination, 3 and 4 are intermediate nodes). If there
is a way to do this, greatly appreciate if you can provide me that. I
know in wired you can disable the link, but i can't find any in
wireless..


UNIVERSITY OF MALAYA  -   The Leader in Research  Innovation 

'This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed.  If you have received this email in error, please notify 
the system manager.  Please note that any views or opinions presented 
in this email are solely those of the author and do not necessarily 
represent those of the University.  Finally, the recipient should check 
this email and any attachments for the presence of viruses.  The 
University accepts no liability for any damage caused by any virus 
transmitted by this email.'



[ns] How many times local repair attempt?

2010-05-27 Thread saaidal

I'm trying to calculate how many route repair attempt have been made
during simulation. I try to put a counter but it's unsuccessful
(looks  like basic C++ but i failed). The source code is aodv.cc

   this  is my modification: #ifdef AODV_LOCAL_REPAIR
   /* if the  broken link is closer to the dest than source,
  attempt a local  repair. Otherwise, bring down the route. */

   int rtrepair = 0;

   if (ch-num_forwards()  rt-rt_hops) {
  local_rt_repair(rt, p); // local repair
 rtrepair++;
 //  retrieve all the packets in the ifq using this link,
 // queue  the packets for which local repair is done,
 //return;
   }
   else {
   printf(Number of Attempt route repair : %d  \n,rtrepair);
   }
   return;
#endif // LOCAL REPAIR

i define 'rtrepair' parameter, and if network attempt to do local
repair, it will justt increment it. Anything wrong with my code?

can i get number of route repair attempt in trace file? if yes, how?

appreciate all the ns2's sifu out there help

UNIVERSITY OF MALAYA  -   The Leader in Research  Innovation 

'This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed.  If you have received this email in error, please notify 
the system manager.  Please note that any views or opinions presented 
in this email are solely those of the author and do not necessarily 
represent those of the University.  Finally, the recipient should check 
this email and any attachments for the presence of viruses.  The 
University accepts no liability for any damage caused by any virus 
transmitted by this email.'



[ns] Error model in static wireless netywork

2010-05-31 Thread saaidal

Hi there,

i try to search for a way to disable link and i come across of error
model. In wired network, the link is predetermined and we can easily
insert this command, let say for to create an error link between node
1 and 2:

   $ns link-lossmodel $em $n0 $n1
How about for static wireless network that have pre-determined route?
can i select the link i want to put the error (in order to 'disable'
the link? Appreciate if u guys know the way how to do it...

Tq..


UNIVERSITY OF MALAYA  -   The Leader in Research  Innovation 

'This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed.  If you have received this email in error, please notify 
the system manager.  Please note that any views or opinions presented 
in this email are solely those of the author and do not necessarily 
represent those of the University.  Finally, the recipient should check 
this email and any attachments for the presence of viruses.  The 
University accepts no liability for any damage caused by any virus 
transmitted by this email.'



[ns] Mobile node shutdown/disable

2010-06-01 Thread saaidal

Is there any way to shut down a node in ns-2?

i found one method, but it does not work

$ns_ at 50.0 $node_(5) node-down, simulation run, but node keep on
receiving/sending packet

if anyone can provide me a help, it will be appreciated

Thx in advanced


UNIVERSITY OF MALAYA  -   The Leader in Research  Innovation 

'This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed.  If you have received this email in error, please notify 
the system manager.  Please note that any views or opinions presented 
in this email are solely those of the author and do not necessarily 
represent those of the University.  Finally, the recipient should check 
this email and any attachments for the presence of viruses.  The 
University accepts no liability for any damage caused by any virus 
transmitted by this email.'



[ns] How to introduce delay in ns2 mobile node and shutting down link

2010-06-06 Thread saaidal

I want to bringing down certain static wireless link in my ns2 script.
So far, i have no solution, Shutting down the node will affect both
uplink and downlink of the node (two links will be down instead of
one).

I try to look at delay, but there is to little documentation in delay
for wireless link. I want to introduce delay so that link will be shut
down (introducing large delay). Is there is a way, appreciate ur guys
help.

Tq



UNIVERSITY OF MALAYA  -   The Leader in Research  Innovation 

'This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed.  If you have received this email in error, please notify 
the system manager.  Please note that any views or opinions presented 
in this email are solely those of the author and do not necessarily 
represent those of the University.  Finally, the recipient should check 
this email and any attachments for the presence of viruses.  The 
University accepts no liability for any damage caused by any virus 
transmitted by this email.'



[ns] Has anyone using obstacle mobility model?

2010-06-07 Thread saaidal

Hi,

I'm trying to install obstacle mobility model from
http://moment.cs.ucsb.edu/mobility/

the problem is i fail to install LEDA library, than i can't install
cgal librtary...

anyone that has use this ns2 obstacle, appreciate ur guys help on
installation and stuff...tq



UNIVERSITY OF MALAYA  -   The Leader in Research  Innovation 

'This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed.  If you have received this email in error, please notify 
the system manager.  Please note that any views or opinions presented 
in this email are solely those of the author and do not necessarily 
represent those of the University.  Finally, the recipient should check 
this email and any attachments for the presence of viruses.  The 
University accepts no liability for any damage caused by any virus 
transmitted by this email.'



[ns] MANET_extension on ns2.33

2010-06-10 Thread saaidal

I'm trying to use the MANET extension release form Uni. Of Toronto
(http://andres.lagarcavilla.com/#software)

it seems that this software is build for ns2.26 (i try to install it
in ns2.33, but the 'make'  failed)

has anyone has successfully enable this in ns2.33? I read that ns2.26
only compatible with gcc comp-iler gcc-2.95, and really make it hard
to install it in new machine. Appreciuate any help that so that i can
use thius MANET extension..

Tq..


UNIVERSITY OF MALAYA  -   The Leader in Research  Innovation 

'This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed.  If you have received this email in error, please notify 
the system manager.  Please note that any views or opinions presented 
in this email are solely those of the author and do not necessarily 
represent those of the University.  Finally, the recipient should check 
this email and any attachments for the presence of viruses.  The 
University accepts no liability for any damage caused by any virus 
transmitted by this email.'



[ns] How to know path length (hop count from source to destination) in AODV

2010-06-29 Thread saaidal

Hi there,

I want to know if we can calculate the path length (hop count from
source to destination) in AODV protocol, or average path length. I
can't found any in trace file (if we can do that on trace file it
will be great). Your help is appreciated.

UNIVERSITY OF MALAYA  -   The Leader in Research  Innovation 

'This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed.  If you have received this email in error, please notify 
the system manager.  Please note that any views or opinions presented 
in this email are solely those of the author and do not necessarily 
represent those of the University.  Finally, the recipient should check 
this email and any attachments for the presence of viruses.  The 
University accepts no liability for any damage caused by any virus 
transmitted by this email.'



[ns] Average Path Length code for AODV and node used from source to destination

2010-09-02 Thread saaidal

Hi,

If anyone has a code on how to calculate the average path length for
AODV protocl, will be greatful if you can provide it here.

My second question is how to know what hops the route taken from
source to destination...

Tq in advance



[ns] MaxHelloInterval and MinHelloInterval function in aodv

2011-06-25 Thread saaidal

Hi all,

I just want to ask what does MaxHelloInterval and MinHelloInterval
really menas and do in aodv code?

It really puzzlaes me thuis code in aodv.cc from line 166 to 173:

void HelloTimer::handle(Event*) {agent-sendHello();double
interval = MinHelloInterval +  ((MaxHelloInterval -
MinHelloInterval) * Random::uniform());assert(interval = 0);
Scheduler::instance().schedule(this, intr, interval); }
why the value for hello timer (i assume that's hello message
interval) is equal to  MinHelloInterval +
((MaxHelloInterval - MinHelloInterval) * Random::uniform());

for the old version of ns2 (version 2.1x), it does not have these
MaxHelloInterval and MinHelloInterval

should it be as simple as HELLO_INTERVAL x ALLOWED_HELLO_LOSS?

it's defined in aodv.h from line 119 to 123:

#define HELLO_INTERVAL  1   // 1000 ms #define
ALLOWED_HELLO_LOSS  3   // packets #define
BAD_LINK_LIFETIME   3   // 3000 ms #define
MaxHelloInterval(1.25 * HELLO_INTERVAL) #define
MinHelloInterval(0.75 * HELLO_INTERVAL)

i'm not quite understand what does this MaxHelloInterval and
MinHelloInterval do, if anyone can explain to me, it will be much
appreciated..

I also have tried simulation with both AODV-LL and AODV-HELLO, and
seems that the performance is quite match (AODV-LL is better by maybe
0.1 % for high mobility scenario), for me it does not make any
sense...

is something wrong with the AODV ns-2.34 code?



[ns] AODVUU patch in ns2.34 (or ns2.3x version)

2011-07-06 Thread saaidal

Hi,

Has anyone here successfully installed AODVUU in ns2.34 version or
ns2.3x version, appreciatye if anyone of you can provide me step by
step or link to the manual or patch, thx in advanced





[ns] Installing multiple version of ns2 in one machine

2011-07-10 Thread saaidal

Good day,

Is is possible to install multiple of version of ns2 in one machine
using the same username? If possible, how do we configure it (if any
manual included, i appreciate if anyone can give me this)...thx in
advanced..




[ns] VOIP simulation scenario example

2011-07-31 Thread saaidal

Hi all,

I'm looking for VOIP simulation example in ns2 using normal cbr
traffic, if anyone has any idea how to setup it, appreciate if you
can let me know...tq..




[ns] Anyone using HWMP here? how to enable PERR message?

2011-10-03 Thread saaidal

Hi,

Have anyone in this list using HWMP based on this link:

https://forge.iitp.ru/ns2/hwmp/#hwmp_ns2

I know it tells you better to use ns3, but if someone has made
something to 'correct' this HWMP like PERR, multiple path destination
request, appreciate if you guys can share it here or email me.

And my second question is how to enable PER message in HWMP?

Tq..
Saaidal



[ns] how do HWMP detect link break (via hello or link layer feedback?)

2011-10-07 Thread saaidal

Good day,

Since i don;t have the standard draft of IEE802.11s, can anyone care
to explain to me how HWMP detect link breaks? normal AODV use hello
message or link layer feedback...appreciate if you guys can provide
me the answer, tq..




[ns] BATMAN for ns2

2011-11-13 Thread saaidal

hi,

I'm searching for BATMAN protocol implementation in ns2, if there is
any. Anyone knows where can i get it? Thx in advanced.




[ns] Is there any BATMAN protocol for ns2?

2011-11-14 Thread saaidal

Hi,

I'm searching for BATMAN protocol implementation in ns2. There are
some question po out in archive but with no answer. If anyone hav
successfully implement it or link anywhere, appreciate if you can
share it with me...

Tq..
Saaidal




[ns] Delay tolerant network (DTN) simulation in ns2

2011-11-14 Thread saaidal

Hi,

Anyone knows is there such implementation in ns2 for DTN network? tcl
code, protocol etc is appreciated..

i have searched in ns2 archive, there have some question but no
answer...