[ns] HELP WITH 802.11 I NEED TO CONTROL BER

2006-10-31 Thread Edwin Cruz


>
>
>  Hi Guys
>
>  I have a problem whith 802.11.
>
>  I need a form to control errors, but with BER, NOT two ray propagation.
>   I any one have some idea?.
>
>  Regards inadvance
>
> Ing. Edwin Cruz.
> Área de Comunicaciones.
> 50613800 Ext. 6357
>
>




[ns] SOMEONE Knows How implement STOP AND WAIT congestion control???

2006-06-10 Thread Edwin Cruz


HI everyone

 I work in a work about congestion control, and my question is if NS have
by default "congestion controls", for TCP what is the data tahat I need
modify?

 Or I need to program in c++ the controls?
Thanks in advance

Ing. Edwin Cruz.
Área de Comunicaciones.
50613800 Ext. 6357



[ns] I NEED HELP IN ORDER TO DEBUG C++ CODE

2006-05-17 Thread Edwin Cruz

hi everyone

In past message I read that in order to debug I need to do:
++
look for the line :

# Build Tcl8.3.2  (should be around line 173)

In this section you need to add the option --enable-symbols to the line :
./configure --enable-gcc --disable-shared --prefix=$CUR_PATH || 

so it becomes:
./configure --enable-gcc --enable-symbols --disable-shared
--prefix=$CUR_PATH || 

Now, still in the ns-allinone/install file, look for the tclcl section.

# Build tclcl  (should be around line 260)

in this section, you need to add --enable-debug to your configure line, such
that:

./configure ||  ...

becomes

./configure --enable-debug || ...

ok, we're done with this one. save and close.

now, go into your ns-allinone/ns directory, and open your Makefile.in. Search
for CFLAGS (should be around line 90), and change it from

CFLAGS  = $(CCOPT) $(DEFINE)

to

CFLAGS  = -g $(CCOPT) $(DEFINE)

++
 I did this steps but now my scripts don´t work, what Happend
I use Ns-2-29. I read the section in the ns manual for debug but is not
clear.
If some one know a good guide, and could send me it. I aprecite the help.


Ing. Edwin Cruz.
Área de Comunicaciones.
50613800 Ext. 6357



[ns] Some have a TCP AGENT-APLICATION

2006-05-09 Thread Edwin Cruz



Hi I develop a module a h.323 module for NS-2. But I have some questions
about the use of the tcp agents.

 Do someone have an example of new TCP agent/aplication, I check the
tutorials and the ns manual.

Thanks in advanced


Ing. Edwin Cruz.
Área de Comunicaciones.
50613800 Ext. 6357



[ns] HOW I CAN USE RECV

2006-04-08 Thread Edwin Cruz


Hi.

 I need to check when a packet arrive to a node, I read that the comand
recv do this,but I try to use and ns send a error mesage.

 Somone know how to use?

 Thanks in advanced


Ing. Edwin Cruz.
Área de Comunicaciones.
50613800 Ext. 6357



[ns] erros model on lan

2006-04-04 Thread Edwin Cruz

I have  a question 

How I can introduce loss in a lan simulation, I difine my lan as:
set lan [$ns newLan "$n0 $n1" 0.5Mb 40ms LL Queue/DropTail Mac/Csma/Cd
Channel]

and the loss as:

set loss_module  [new ErrorModel]
 $loss_module set rate_ 0.0
 $loss_module ranvar [new RandomVariable/Uniform]
 $loss_module drop-target [new Agent/Null]
 # $ns lossmodel $loss_module lan

But it does not work
What can I do?

THanks in advanced

EDWIN CRUZ 
CINVESTAV AREA DE COMUNICACIONES



[ns] How I can send Packet by packtet

2006-02-17 Thread Edwin Cruz

I need to send Tcp or UDP packets, but I need to send a specific  
numbers of packetes, for example send only 100 tcp packets, because I  
only see examples for send packets in a period of time
anyone could help me???
Thanks in advance

Edwin Cruz

Cinvestav Comunicaciones



[ns] RLP module in ns2

2006-02-01 Thread Edwin Cruz

Hi Vikas

I try to install your RLP module (2-27) I have ns version 2.29, aan d  
I have problems for install the module, is it works on ns 2-29, or  
only in 2-27?

The error apear when I put
·#make depend

appear there is no rule for apps/mftp.cc

and the file ppp.h You dont said where is it, I supose that is in the  
new rlp directory

If you can help me thanks, or what is the modifications taht I need  
to do for have it in the new version of ns