[ns] changes in AODV cc file.how will it effect

2010-03-01 Thread ify


Hi, 

i m from pakistan .im working on enhancments in AODV.

i'm trying to change the aodv code.cc to make two changes: 
1-to change route expire time and 

2- to add a field in routing table/

But my changes in aodv. cc did not take effect. I m unable to make obect
file .plz tell me how these changes will take effect in tcl file.. 

Any suggestions? 

i wiil be thankfull .
-- 
View this message in context: 
http://old.nabble.com/changes-in-AODV-cc-file.how-will-it-effect-tp27735264p27735264.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] ns-2 FAQ

2010-03-01 Thread tomhend

The Network Simulator ns-2: Frequently Asked Questions

Note:  This FAQ is now available at the project wiki:
http://nsnam.isi.edu/nsnam/index.php/Ns_Users_FAQ

   _The mailing is is now subscriber only---please see the FAQ entry on
   How do I post to the mailing list? Why was my post rejected? for
   details._

 * _Where do I get ns?_

   From the ns web site at http://www.isi.edu/nsnam/ns/ns.html and
   the download page http://www.isi.edu/nsnam/ns/ns-tests.html.

 * _What platforms does ns run on and what kind of hardware do I
   need?_

   Please see where to start on the building ns web page:
   http://www.isi.edu/nsnam/ns/ns-build.html#start.

 * _What should I do if I have trouble downloading/extracting ns?_

   This question is answered in detail at
   http://www.isi.edu/nsnam/ns/ns-problems.html#downloading.

 * _What should I do if I encounter problems building ns?_

   Check:
 1. the README that comes in the distribution (very brief),
 2. the installation problems, bug fixes and help web page
http://www.isi.edu/nsnam/ns/ns-problems.html,
 3. the archives of the ns-users mailing list
http://www.isi.edu/nsnam/ns/ns-lists.html,
 4. post a bug report (see below)
http://www.isi.edu/cgi-bin/nsnam/reportbug.cgi.

 * _What do I do after I successfully build ns?_

  + Put the path to your ns executable into your PATH environment
  + Put the path to your otcl into your LD_LIBRARY_PATH
environment
  + Put the path to your tcl library into your TCL_LIBRARY
environment

 * _Where can I find documentation for ns?_

   All documentation is linked from the main ns web page
   http://www.isi.edu/nsnam/ns/. Documentation includes a tutorial
   (originally from Marc Greis) and a reference manual (ns notes and
   documentation).

 * _Words, words, words... that documentation is nice, but where are
   some sample scripts I can start from?_

   Many sample scripts can be found in the ns distribution in
   ~ns-2/tcl/ex and ~ns-2/tcl/test.

 * _What protocols does ns support?_

   A lot! Almost all variants of TCP, several forms of multicast,
   wired networking, several ad hoc routing protocols and propagation
   models (but not cellular phones), data diffusion, satellite, and
   other stuff. See the documentation (described above) for details,
   or download ns and look.

 * _How do I know that ns correctly implements these protocols?_

   Ns has validation tests that cover many protocols, see
   http://www.isi.edu/nsnam/ns/ns-tests.html. However, ultimately
   users are responsible for verifying that ns is accurate for their
   purposes---since we cannot foresee all the ways ns may be used, we
   cannot test all cases with all inputs.

 * _Are there any contributed/additional protocols not in the main
   distribution?_

   Yes, please see the contributed code web page
   http://www.isi.edu/nsnam/ns/ns-contributed.html. The mailing list
   archives can also be helpful (see below).

 * _How should I get started doing something (like implementing a new
   protocol or trying an experiment)?_

   We recommend that you look through the tutorial (see
   documentation, above), then start with an example program that is
   most similar to yours (in the tutorial, or in tcl/ex or tcl/test
   in the distribution), and then start changing things.

 * _What should I do to compile ns to reflect my changes if I've
   modified some .cc or .h files?_

   go to ns directory and run make or make depend; make

 * _How do I subscribe to the ns-users mailing list? How do I search
   old list archives? I can't take any more---how do I get off this
   list?_

   To subscribe or unsubscribe, see
   http://www.isi.edu/nsnam/ns/ns-lists.html. The list archive is at
   http://www.isi.edu/nsnam/ns/ns-lists.html.

 * _How do I post to the mailing list? Why was my post rejected?_

   As of June 2004 the ns-users lists allow posts from _subscriber
   only_. If you're not a subscriber, your posts to the list will be
   rejected. (This is unfortunately necessary to dispose efficiently
   of spam; manual filtering is too expensive.) We realize that the
   list is high traffic, so if you wish to post to the list without
   receiving messages on it, please subscribe and select the _no-mail_
   option for your subscription.

   For details about the mailing list including mailing-list specific
   FAQ (for example, what if you're subscribed but still can't post),
   please see http://www.isi.edu/nsnam/ns/ns-lists.html.

 * _Did my post appear on the mailing list? (Or, why didn't my post
   appear on the mailing list?)_

   See the 

[ns] WSN NS-2 resources

2010-03-01 Thread Jethro Shell

Hey,

Are there any resources relating to the use of Wireless Sensor Network 
simulation using NS-2?

Thanks,

Jethro



[ns] Address Node

2010-03-01 Thread Hector Agustin Cozzetti

Hello Everybody!
I have a little question about address node. For example:

set MH [$ns_ node 1.0.1]
set node_(0) $MH
set HAaddress [AddrParams addr2id [$HA node-addr]]
[$MH set regagent_] set home_agent_ $HAaddress


In this TCL lines, I assign an address to my mobile-node. I would like to
know where this value is stored in the source code. Moreover I need to know
the field in the packet (header) where the address is wrote.

Thanks :)


[ns] multiple classifiers and routing modules

2010-03-01 Thread Aurelien Lafranchise

Hi all,

I was wondering if it was possible to have more than one classifier
(like hash/fid and hash/dest) in one routing module ? If not do i have
to implement one classifier per routing module ?

What are the differences and the uses between the hook for the
classifiers and the next_rtm for the routing modules ?

How to use a routing module more than once in the same node ? and link
them ?

Thanks for your help !

Aurélien Lafranchise


[ns] 802.11: mixed dcf/edca scenario

2010-03-01 Thread Luca Favatella

Hi.

I have to simulate an IEEE 802.11 scenario with both DCF
(802.11-legacy) and EDCA (802.11e) stations; adhoc topology should
suffice.

I searched for this at
 http://www.isi.edu/nsnam/ns/doc/node193.html
and I quickly looked at related ns-2 examples in cvs. It looks like
802.11e (EDCA) is not supported (and so there is no possibility to
simulate a mixed DCF/EDCA scenario).
I know about the out-of-tree ns-2 802.11e patch at
 http://www.tkn.tu-berlin.de/research/802.11e_ns2/
but as far as I know it does not let you simulate both DCF and EDCA
stations in the same scenario.

I also looked at ns-3 wifi model
 http://www.nsnam.org/doxygen-release/index.html
It looks like QoS and non-QoS MACs (i.e. EDCA and DCF) are well
integrated in ns-3. Even if I didn't test it, it should be possible to
simulate a mixed DCF/EDCA scenario in ns-3.


Do you know if it is possible to simulate a mixed DCF/EDCA in ns-2?

Any comments are welcome.


Cheers,
Luca Favatella



[ns] unequal cost multipath routing

2010-03-01 Thread saranya devi

Is unequal cost multipath routing possible in ns2


[ns] Overhead packets versus ART

2010-03-01 Thread Lyx

Hi,
 
Please, I need to a script awk to calculate with ns2, Overhead packets in 2 
minutes by increasing ART (3s, 12s, 30s, 60s, 120s)
 
we note that: ACTIVE_ROUTE_TIMEOUT (ART). The ART is a static  parameter that 
defines how long a route is kept in the routing  table after the last 
transmission of a packet on the route.
 
The best
Lyx


  


[ns] Variable values always revert back (or never change)

2010-03-01 Thread John Adams

Hi,

I am noticing something weird. I tried implementing set and get function for
variables like RXThresh_ and Pt_ defined in wireless-phy.cc. These functions
were implemented in ns-mobile.tcl so that I can change these through the
node class. When I try to change the values, I can observe that the call is
happening to the lines of code written in wireless-phy.cc but when I do a
get, the value is not changed. So for instance, I added something like this
inside wireless-phy.cc::

if(strcasecmp(argv[1], setRXThresh_) == 0) {
RXThresh_ = atof(argv[2]);
printf(Set the RXThresh to %.12f\n, RXThresh_);
return TCL_OK;
 }

I can see the printf statement printed but the effect is not taking place.
Does anyone know what could be happening here?

Thanks,
John


[ns] probmlem in wired-cum-wireless topology

2010-03-01 Thread sashtari

Hi

I have a problem in wired-cum-wireless topology.
I tried to run wireless3.tcl in Marc Greis' Tutorial:

http://www.isi.edu/nsnam/ns/tutorial/

In this topology, the traffic source is a wired node and the sink is a
moving wireless nodes which goes from the domain of a base station to the
domain of another one.
But when I put the traffic source on the wireless node and sink on a wired
node, it seems that moving wireless node doesn't move.
any idea?

Thanks
Saeideh





[ns] Satellite error model problem

2010-03-01 Thread lukman_hanif

Hi all,

I tried to use error model in the ns2.XX/tcl/ex/sat-iridium.tcl on the 
receiving terminal.I used the error model code as described in the ns 
manual like the following:

set em [new ErrorModel]
$em unit byte
$em set rate_ 1e-7
$em ranvar [new RandomVariable/Uniform]
$n101 interface-errormodel $em

When I checked the trace file, there's no event begin with e or d which 
indicate the error event. 
In addition, there seems no different in term of the number of trace lines  
packet id eventhough I increase the error rate... 

I expected that there should be some differences in the trace file in term of 
the type of event occurred and also the number of transmit  received 
packets please help regarding this matter...

Lukman



  


[ns] running wireless simulations in 3D scenario using ns-2?

2010-03-01 Thread Hua Chen

Hi all,

I am a beginner of ns-2. I did simulation of wireless networks using the 
mobility model in ns-2.

I am now in a project which needs to simulate a wireless network in 3D 
scenario, e.g. wireless communications between a helicopter and a ground 
vehicle. Does ns-2 support such kind of simulation? If not, is there any 
other software which can do that?

Any suggestions would be appreciated. Thanks.

Regards,
Hua



[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] sub-carriers in WSN

2010-03-01 Thread Prakash Raj Loganathan Sambandamoorthy

Dear Everyone,

   I am looking for implementing sub-carriers in WSN. Any advise or
assistance is most appreciated.

Thanks and Regards.


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