[ns] HELP:Error in running wireless tcl file

2007-04-01 Thread aritra pal

Hello everybody,I*  *am working on wireless
sensor networks and am presently studying the directed diffusion
protocol.while running the
*ns-2.26/tcl/ex/diffusion/simple-diffusion.tcl* file, it is giving
the following error regarding the use of the channel
variable:



num_nodes is set 3

warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl

can't read chan: no such variable

while executing

$node add-interface $chan $propInstance_ $llType_ $macType_ $ifqType_
$ifqlen_ $phyType_ $antType_ $inerrProc_ $outerrProc_ $FECProc_

(procedure _o3 line 70)

(Simulator create-wireless-node line 70)

invoked from within

_o3 create-wireless-node 0

(eval body line 1)

invoked from within

eval $self create-wireless-node $args

(procedure _o3 line 14)

(Simulator node line 14)

invoked from within

$ns_ node $i

(for body line 2)

invoked from within

for {set i 0} {$i  $opt(nn) } {incr i} {

set node_($i) [$ns_ node $i]

$node_($i) color black

$node_($i) random-motion 0 ;# disable random ...

(file simple-diffusion.tcl line 10

please help.


-your`s,


aritra.


[ns] instantaneous bitrate allocation in Eurane

2007-04-01 Thread neila el héni

Hello,
I'm using Eurane (the patch to ns 2.30)
How to know the instantaneous bitrate allocated by the scheduler to
the served user along a simulation? This does not appear in the
out.tr trace file.

Thanks
Neila



Re: [ns] instantaneous bitrate allocation in Eurane

2007-04-01 Thread neila . elheni

I think I got the answer,
the bitrate allocated in each TTI  is deduced from the CQI value in
the input trace file of the served user, (it uses a mapping table for
UE categories from 1 to 6 as defined by 3GPP)

Neila



[ns] ns-2 FAQ

2007-04-01 Thread Tom Henderson

 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

[ns] Recompling C++ code in NS2

2007-04-01 Thread manpreet grewal


hello Sir/Madam,
I am a research student working in NS2.
Sir, I want to make changes in tora.cc,toradest.cc etc..
I had fully installed cygwin in Windows XP.
I installed ns-allinone-2.31 using ./install command. It worked
fine.
I executed ./validated command too..it too worked fine..

Now i had made minor change in tora.cc i.e.
then i ran ./configure  and then make command. It gives errors
while compiling tora.cc.. So i think i am going in right 
direction
till now..
But how will i obtain results..
ns tora.tcl works fine... but how will i see output from 
1_out.tr
file?
please help me..how to execute .tr file and see the results
graphically in cygwin using ns-allinone-2.31
i will be highly thankful..
Regards,
manpreet.



[ns] differentiating between duplicate pkts in trace file

2007-04-01 Thread pankaj chand


hi
i am duplicating tcp pkts using

Packet *pkt = p-copy();

and sending the duplicate along another link.

as both tcp pkts are identical in every way, how do i differentiate between 
them in the trace file.
or is there any way i can change a variable in the duplicate pkt which will 
be visible in the trace file, i.e. which can be used to differentiate it in 
the trace file.


thanks in advance
pankaj

_
The idiot box is no longer passé; it's making news and how! 
http://content.msn.co.in/Entertainment/TV/Default.aspx




[ns] [NSTools'07] Call for Papers

2007-04-01 Thread mathieu lacage

  (Our apologies if you receive multiple copies of this message)


   NSTOOLS 2007   *
     Call for Papers  

 International Workshop on Network Simulation Tools
Nantes, France / October 22, 2007
 http://www.nstools.org/

   Submission Deadline  -- April 30, 2006 

-

The Network Simulation Tools Workshop (NSTools) is a one-day event
held in conjunction with the Second International Conference on
Performance Evaluation Methodologies and Tools (VALUETOOLS'07), which
will be held in Nantes, France, on October 22, 2007.

**   All accepted papers will be made available in the   **
**  Association for Computing Machinery Digital Library  **

- 

**  SCOPE  **

Simulation tools are widely used within the Networking community to
simulate packet-switched networks and perform a large number of
wildly different tasks: they are often used in the industry and
within both academic and educational settings to design and evaluate
new and existing protocols and architectures.

The aim of the Network Simulation Tools workshop is thus to bring
together academic and industry researchers from both the Networking
and the Simulation communities to discuss current and future trends
in network simulation and to foster interdisciplinary collaborative
research in this area.

**  PAPERS  **

This workshop does not focus on network research results based on
the use of simulation tools: we are looking for original contributions
on the design and the use of the tools themselves. The following
topics are of particular interest.

Development of new simulation environments:

- parallel and distributed simulations
- real-time simulation of networks within the setting
  of a larger real network testbed
- integration of real-world network applications in
  conventional simulation tools
- textual and graphical post-processing analysis tools
- large-scale network simulations
- simulation accuracy evaluations 

Development of new simulation models especially in, but not restricted
to, the areas of:

- Wireless and mobile networks: 3/4G, 802.11, 802.16/WiMAX, etc.,
- Peer to peer systems,
- Sensor networks, and,
- Delay-tolerant networking, 

**  IMPORTANT DATES  **

Full Papers due:   April 30, 2007
Notification of Acceptance:June 20, 2007
Camera-ready Manuscripts due:  July 20, 2207
Conference Date:   October 22, 2007

**  SUBMISSION INSTRUCTIONS  **

Conference language is English. Prospective authors are encouraged
to submit a PDF version of the full paper in the ACM conference
proceedings format, which are limited to 10 two-column pages in a
font no smaller than 10-points. Paper submission will be handled
electronically through Cocus (http://cocus.info/).

**  PUBLICATION  **

All submitted papers will go through a peer review process. All
accepted papers will be made available in Association for Computing
Machinery (ACM) Digital Library.

**  WORKSHOP CO-CHAIRS  **

Claudio Cicconetti, [EMAIL PROTECTED], Univ. of Pisa, Italy
Mathieu Lacage, [EMAIL PROTECTED], INRIA, France

**  TECHNICAL PROGRAM COMMITTEE  **

Ozgur Akan, Middle East Technical University Ankara, Turkey
Eitan Altman, INRIA, France
Chadi Barakat, INRIA, France
Andrzej Beben, University of Warsaw, Poland
Jaudelice Cavalcante de Oliveira, Drexel University, USA
Olivier Dalle, INRIA, France
Thierry Ernst, INRIA, France
Sonia Fahmy, Purdue University, USA
Thomas Fuhrmann, University of Karlsruhe, Germany
Andrei Gurtov, Helsinki Inst. for Information Technology, Finland
Qi He, IBM, USA
Tom Henderson, University of Washington  Boeing, USA
Kun-Chan Lan, NICTA, Australia
Saverio Mascolo, Politecnico di Bari, Italy
Francesco Potorti', ISTI-CNR Pisa, Italy
David Ros, GET/ENST Bretagne, France
Giovanni Stea, University of Pisa, Italy
Michael Welzl, Leopold-Franzens University of Innsbruck, Austria
Lloyd Wood, Cisco, UK
Linda Xie, University of North Carolina, USA
-
  If you have any comments or questions, please write to:
   [EMAIL PROTECTED]
-



[ns] cbq protocol ns2

2007-04-01 Thread lassaad srasra

I work on the implementation of protocol CBQ on a reseax 802.11 somebody could 
explain me how I will be able to make it? 
  please help


-
 Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses.