[ns] NS-2 over Slackware for wireless network emulation

2006-10-02 Thread Emin Gencpinar

Hi, I do not have an experience on any version of Linux, but I will use
Slackware version of it for my project. I want to install NS-2 over my
Slackware operating system. Can I find any tutorial to this over Slackware?
Or just the installation of NS-2 is the same everywhere ? The another
important question: Does NS-2 work over Slackware ?

In fact, I want to emulate my wireless network using RTP, RTSP protocols,
but also the whole background wireless network issues altogether like UMTS,
GSM etc... (packet delay, bandwidth limitations, packet loss etc...)

NS-2 is a simulator, but I found that we can use it as an emulator for
wireless networks. (by some patchs for NS-2)

That is the reference: http://nsnam.isi.edu/nsnam/index.php...s_and_Mobility
http://nsnam.isi.edu/nsnam/index.php/Contributed_Code#Wireless_and_Mobility

Do you think that NS-2 can be used as an emulator in this situation ? Or
shall I find myself an another emulator ?

Thanks...

Help needed soon :)


[ns] how to extract the priority and the size of the contention window of a flow

2006-10-02 Thread Bilel Romdhani

hi all,
i m trying to implement a new routing protocol on ns (ad hoc network) and i
want to know if there is anyone who know the function or how to procedure to
extract the priority and the size of the contention window of a flow.

Thanks a lot.

-- 
B!LEL
[EMAIL PROTECTED]
+33 (0)620463904


[ns] problems with leave-group in C++ level

2006-10-02 Thread jaime venzala

Hello, I met an error as follows when I ran make in terminal in one of my 
C++ files:
Tcl::instance().evalf([{%s} set node_] leave-group {%s} 
{%d},name(),name(),groupaddr);

Error:
rccmp/rccmprecv.cc:351:error: `groupaddr´ no se declaro en este ambito.

How can I indicate the group I wnat to leave?

Thanks




Re: [ns] cbr generator

2006-10-02 Thread Matthias Budde

Hi,

as far as I understand, seed is the base value for the random number generator, 
i.e. when you chose a seed (other than 0) when you run the generation twice 
with the same parameters, the generation results will be the same on both runs.

rate is the sending rate of the generated connections, e.g rate 200 means 200 
pakets per second, so one packet every 0.05 seconds.

hope that's all correct.

best,

-Matt

Am Samstag, 30. September 2006 14:04 schrieb [EMAIL PROTECTED]:
 Date: Sat, 30 Sep 2006 11:55:13 + (GMT)
 From: ns user [EMAIL PROTECTED]
 Subject: [ns] cbr generator
 To: ns-users@ISI.EDU
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=us-ascii
 
 dear all;    
  
 i'm using cbrgen.tcl script to generate cbr traffic. to do this i need  to 
 set some parameters. so my problem is that i don't know the meaning  of the 
 two parameters : seed and rate.
 
 urgent, help me please.
 kindly



[ns] how do i transfrom Bit Error Rate to Packet Error Rate?

2006-10-02 Thread 林泰邑

Hi all, how can I transform “Bit error Rate” to “packet error rate”?

 

Is there any formulas for this ?

 

Can any body help me?

 



Re: [ns] how do i transfrom Bit Error Rate to Packet Error Rate?

2006-10-02 Thread Abdul Jabbar

As far as I know, the relationship between BER and PER , assuming that 
bit errors are independent and uniformly distributed is,

PER=1-(1-BER)^N where N is the number of bits.

However, the above formula is only approximate because in real life 
scenarios, the bit errors are not completely independent but may occur 
in bursts. Further, the error distribution is also not exactly uniform.

Hope it helps

Cheers,
Abdul.

林泰邑 wrote:
 

 Hi all, how can I transform “Bit error Rate” to “packet error rate”?

  

 Is there any formulas for this ?

  

 Can any body help me?

  

   



[ns] FW: how do i transfrom Bit Error Rate to Packet Error Rate?

2006-10-02 Thread 林泰邑



-Original Message-
From: 林泰邑 [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 02, 2006 6:39 PM
To: 'Abdul Jabbar'
Subject: RE: [ns] how do i transfrom Bit Error Rate to Packet Error
Rate?

for example :
when I give ber=10^-3, packet size=1000bytes, what is PER?

-Original Message-
From: Abdul Jabbar [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 02, 2006 6:24 PM
To: 林泰邑
Cc: ns-users@isi.edu
Subject: Re: [ns] how do i transfrom Bit Error Rate to Packet Error
Rate?

As far as I know, the relationship between BER and PER , assuming that 
bit errors are independent and uniformly distributed is,

PER=1-(1-BER)^N where N is the number of bits.

However, the above formula is only approximate because in real life 
scenarios, the bit errors are not completely independent but may occur 
in bursts. Further, the error distribution is also not exactly uniform.

Hope it helps

Cheers,
Abdul.

林泰邑 wrote:
 

 Hi all, how can I transform “Bit error Rate” to “packet error rate”?

  

 Is there any formulas for this ?

  

 Can any body help me?

  

   






Re: [ns] how do i transfrom Bit Error Rate to Packet Error Rate?

2006-10-02 Thread Abdul Jabbar

If you plug the values in the formula

PER=1-(1-0.001)^8000 = 0.9996658

The above result implies that 99.96% of you packets will have errors and
if there are no additional error correction mechanisms, they will be
dropped/lost. A BER of 10^-3 is too high and is not practical. For
example, in most wireless scenarios, the BER is assumed to be 10^-6.

By the way, why are you posting this in ns-users list?

Abdul.


林泰邑 wrote:
 for example :
   when I give ber=10^-3, packet size=1000bytes, what is PER?

 -Original Message-
 From: Abdul Jabbar [mailto:[EMAIL PROTECTED] 
 Sent: Monday, October 02, 2006 6:24 PM
 To: 林泰邑
 Cc: ns-users@isi.edu
 Subject: Re: [ns] how do i transfrom Bit Error Rate to Packet Error
 Rate?

 As far as I know, the relationship between BER and PER , assuming that 
 bit errors are independent and uniformly distributed is,

 PER=1-(1-BER)^N where N is the number of bits.

 However, the above formula is only approximate because in real life 
 scenarios, the bit errors are not completely independent but may occur 
 in bursts. Further, the error distribution is also not exactly uniform.

 Hope it helps

 Cheers,
 Abdul.

 林泰邑 wrote:
   
 

 Hi all, how can I transform “Bit error Rate” to “packet error rate”?

  

 Is there any formulas for this ?

  

 Can any body help me?

  

   
 




   



[ns] FW: how do i transfrom Bit Error Rate to frame Error Rate?

2006-10-02 Thread ???

 

 

  _  

From: Tai-Yi Lin [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 02, 2006 7:29 PM
To: 'ns-users@isi.edu'
Subject: [ns]how do i transfrom Bit Error Rate to frame Error Rate?

 

Hi all, how can I transform Bit error Rate to packet error rate?

 Is there any formulas for this ?

 Can any body help me?

 

Is Packet error rate and frame error rate same?

 



[ns] how to extract the priority and the size of the contention window of a flow

2006-10-02 Thread Bilel Romdhani

hi,
there is someone who can help me : i want to display the priority and the
size of contention window of every flow on the ad hoc network simulation by
modifiying the mac-802_11.cc

thanks !

-- 
B!LEL
[EMAIL PROTECTED]
(+33) 6 20 46 39 04


[ns] Multi-channels, multiple interfaces for ns2.29

2006-10-02 Thread Ho; Ho Lun

Hi all,

I'm currently working on a project about OLSR with multiple channels
wireless mesh network. I've seen some online tutorials on how to integrate
multi-channel in ns2.26 and ns2.29 from W.H.Q and Wang Bo respectively,
but still has no luck to make it works. I would like to know if there is
anyone successfully implemented the multi-channel with any routing
protocol in ns2.29. Also, could you please point out which step they are
missing and share your experience on it. I'm really appreciate any
comments you provide. thank you

Best regards,
Ho Lun, Ho (tanky)

School of Information Technologies
The University of Sydney





[ns] tracing errors in wireless scenario

2006-10-02 Thread Guillermo Biot

Hi,
I'm running wireless 802.11 simulations in ns-allinone-2.29 and I'm having
some problems tracing the errors. When I insert an error model in my tcl
script I cannot see any dropped packet in the resulting trace file. I
inserted an uniform error model with rate 0.2 (20% of the packets should
have errors) using the option incomingErrProc in node-config.

I've checked the c++ code that models the errors and I've seen that it
doesn't drop the packets, it only marks the packets with the error flag
(line 193 of errmodel.cc). Then the mac layer checks if there is an error
(line 544 of mac-802_11.cc) and if there is any error calls the function
Packet::free(p). This Packet::free function (line 362 of packet.h) has no
code, it does nothing.
How can I then trace the packets that contain errors? Should I change the
c++ code of the function Packet::free() in order to be able to trace these
packets? Is there a more simple way to trace them?

Thanks,

Guillermo


[ns] how to use error model

2006-10-02 Thread J.H. Wen

hello everybody,

i want to use error model in ns2

in queue/errmodel.h

there are two state error model,Complex Two State Markov Model,Multi 
State Error Model

are they work independently?

what i need is multi state error model

Could anyone tell me how to use that?