Re: [ns] adding variable to ./bashrc file

2008-09-24 Thread Vishal Agarwal

On Wed, Sep 24, 2008 at 12:05 PM, [EMAIL PROTECTED] wrote:


 Welcome to posting to the ns-users mailing list!

 We automatically send this message to every new person who sends mail
 to the list.  You should only receive it once.  My apologies if the
 program contacts you twice, perhaps because you have multiple e-mail
 addresses or send mail from multiple machines.

 If you are an experienced ns-user who simply has not posted since we
 started using this responder, our apologies for inconveniencing you
 with this message.  This message is intended to help inform users and
 cut down on redundant posts, which benefits everyone.

 Please look at the attached list of ns Frequently Asked Questions.
 If it answers your question, great!  You're done.
 If not, please RE-SEND your original message to [EMAIL PROTECTED]
 A copy of your original message is included below for reference.

 You will NOT have to do re-send your message every time you post, only
 the FIRST time you send from a new account.  The goal is to quickly
 help new users find the FAQ (hopefully answering their question).

 Thanks,
   -the ns development team


 


The Network Simulator ns-2: Frequently Asked Questions

   (This FAQ is also on the web at
   http://www.isi.edu/nsnam/ns/ns-faq.html.)

 * _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
   

[ns] Problem with Scheduler

2008-09-24 Thread Maurizio Bellemo

Hi all,

I have a little problem with the Scheduler. I schedule some packets in my
program

Scheduler::instance().schedule(target_, p, (100/tcf_time));

but when i try to cancel some of them from the queue not to be sent

Scheduler::instance().cancel(p);
drop(p);

It doesn't work. I read the trace and saw that, even if the node drops the
packet, it send it anyway

r 0.772681927 _1_ RTR  --- 2 protoname 27 [0  2 800] --- [2:255
-1:255 32 0]
D 0.772681927 _1_ RTR  --- 2 protoname 27 [0  2 800] --- [2:255
-1:255 32 0]
s 1.320665076 _1_ RTR  --- 1 protoname 27 [0 0 0 0] --- [1:255 -1:255 32
0]

Does anyone know why? How can i cancel a packet from the scheduler queue?

Thks
Maurizio


[ns] how to simulate wireless multicast in NS2

2008-09-24 Thread Chuah Seong Ping

Dear all,

 

Is there a way to simulate wireless multicast in NS2? I searched through
the mailing list and found that NS2 doesn't support wireless multicast
yet. Is there anyone did it in some other ways?

 

Thanks,

Seong Ping

 



[ns] Problems with two-state markov wireless channel

2008-09-24 Thread 王 瑞

Hello, all
I 'am a ns-learning beginner,now I want to simulate wireless
 channel using a markov chain which has two states,but I don't kown how to
 implement this function,which modules in ns I should modify, who can
 tell me what I should do , thank you !

   
-
 雅虎邮箱,您的终生邮箱!

[ns] how can i insert a new variable in .h file

2008-09-24 Thread Breno Caetano

hi ns-users,  

i have a little problem. i want insert a new
variable in file .h and use it in file .cpp. But a erro undefined
reference to `hdr_pingado::p_' occur.  My variable p may be static
because i have use it for two or more objects. when i set variable p
like a single type, for example, int, all occur correcty. however, when
i set variable p like a static type the erro above occur. what can be
happen?
 A peace of code follow below:

struct hdr_pingado {
  char ret;
  double send_time;
  static int p_;//if equal 2, then send packet
// Header access methods
static int off_pingado_; // required by PacketHeaderManager
inline static int off_pingado() { return off_pingado_; }
inline static hdr_pingado* access(const Packet* p) {
return (hdr_pingado*) p-access(off_pingado_);
}
};

thank you for any help.
regards,

 Breno Caetano da Silva
Bacharel em Ciências da Computação - UFPI
Mestrando em Engenharia Elétrica
Escola de Engenharia de São Carlos - EESC
Universidade de São Paulo
Email: [EMAIL PROTECTED]
[EMAIL PROTECTED]
Fone: (+5516) 81449079
(+5516) 33738149



  Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua 
cara @ymail.com ou @rocketmail.com.
http://br.new.mail.yahoo.com/addresses

[ns] Problems with Two-State Markov wireless channel

2008-09-24 Thread 王 瑞

Hello, all
I 'am a ns-learning beginner,now I want to simulate wireless
 channel using a markov chain which has two states,but I don't kown how to
 implement this function,which modules in ns I should modify, who can
 tell me what I should do , thank you !

   
-
 雅虎邮箱,您的终生邮箱!

[ns] error in running MAODV protocol

2008-09-24 Thread rupcee kaur

  






[ns] 802.11n support

2008-09-24 Thread Rameshwar Thakurathi

-- Forwarded message --
From: Rameshwar Thakurathi [EMAIL PROTECTED]
Date: Thu, Sep 25, 2008 at 12:23 AM
Subject: 802.11n support
To: ns-users@isi.edu


Does ns2 support 802.11n (MIMO) simulation ?


cheers,
rameshwar


[ns] ip layer and NAV

2008-09-24 Thread neeraj gupta

  
where can i modify the code of ip layer to claculate the bandwidth and acess 
the NAV.

Neeraj

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


[ns] how awk works

2008-09-24 Thread zied naas


Zied NaasÉtudiant Maîtrise réseaux de télécommunicationTél: 514 803-3048 

From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: awkDate: Thu, 25 Sep 2008 05:23:19 
+


hi i m a new user of ns-2is ther someone who can send me somme awk scripts to 
understand the mecanism i dont konw if i have to write the awk code in the tcl 
script or i write it separatly in awk file.thxZied NaasÉtudiant Maîtrise 
réseaux de télécommunicationTél: 514 803-3048 

Téléchargez le nouveau Windows Live Messenger ! Téléchargez Messenger, c'est 
gratuit ! 
_
Découvrez Windows Live Spaces et créez votre site Web perso en quelques clics !
http://spaces.live.com/signup.aspx