[ns] Can I add MNS v2.0 on ns-allinone-2.29

2006-10-21 Thread rafienejhad

Hi all
Can I add MNS v2.0 on ns-allinone-2.29?
Please help me.
Thanks in advance.
Rafieenezhad



Re: [ns] Node movement

2006-10-21 Thread Matthias Budde

Hi,

I'd use a external script to avoid doing too much by hand. I don't know how 
much nodes and movement changes you're talking about, whether it's feasable 
by hand or not kind of depends on that. 

1) Basically you need the initial position of each node (two-dimensional):

$node_(0) X_ 
$node_(0) Y_ 
$node_(0) Z_ 0.0

2) and for each movement change a command like this:

$ns_ at  "$node_(0) setdest   "

If you already have the intermediate positions at fixed times and your
speed is non-uniform, you will need to calculate the speed first for each 
pair of positions. This would be done by a formula something like the 
following (pseudocode):

speed = squareroot[(new_x - old_x)² + (new_y - old_y)²] / (new_time - old_time) 

3) After that, if you have a properly formatted file with initial positions and 
position changes, you can use the "calcdest" command to calculate the 
shortest hop information for the god_ object. It can be found in 
"indep-utils/cmu-scen-gen/setdest/". If you don't do that beforehand, it is 
done 
during the simulation and might take a lot of time (strongly depending on the 
number of nodes). I've never used calcdest myself, so I can't advice you on 
that.

4) Finally, include the resulting file in your simulation script

source 

As I said, I'd write a short skript that does steps 1-3, if you have many nodes 
and/or movement changes.

Hope this helps, best,

-Matt

Am Samstag, 21. Oktober 2006 02:00 schrieb [EMAIL PROTECTED]:
> --
> 
> Message: 6
> Date: Fri, 20 Oct 2006 21:40:37 +
> From: "kelvin lim" <[EMAIL PROTECTED]>
> Subject: [ns] Node movement
> To: ns-users@ISI.EDU
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; format=flowed
> 
> Hi,
> 
> I've been trying to create a movement file to evaluate the performamce of 
> IEEE 802.15.4. Can anyone advice me on how to create manual node movement. 
> I've the X,Y position of nodes and the next positions at a 10 mins interval. 
> Appreciate if anyone could advice. Thanks
> 
> Kwang
> 
> _
> Get an advanced look at the new version of MSN Messenger. 
> http://messenger.msn.com.sg/Beta/Default.aspx



Re: [ns] setting error rate for two state error model

2006-10-21 Thread Guillermo Biot

Yes, with your configuration you will have an average error rate of 5% but
in a very particular way. During 0.95 seconds you will receive all the
packets correctly and then you will have errors in all packets for
0.05seconds, then again
0.95 seconds of error-free packets and so on...
I don't know if that's what you want.


[ns] "rate_" parameter in Exponential traffic

2006-10-21 Thread Chris c

Hello there,

I am not sure the setting of "rate_" in Exponential traffic

I wanna generate data traffic with rate of 16kps , and packetsize is 40Byts.
burst_time 450ms, idle_time 50ms,
In my calculation,  16kps = rate_ * burst_time / (burst_time + idle_time) ,
so I get rate_ is 17.778 k

Is it right ? or just set rate_ = 16k?

Regards
Image,


[ns] ns debug

2006-10-21 Thread Ramzi Tka

Hi all
does
1)'-g' added to CCFLAG variable in the Makefile
and
2)'--enabled-debug' ./configure parameter

equivalent ?
I mean do I just use one of them to enable DGB or other debuggers?
Best regards
Ramzi Tka


Re: [ns] voice and video traffic in ns2(help)

2006-10-21 Thread Loreno Oliveira

Hi Ghazale,

I am also working with simulation of audio and video flows. Well, I may be
wrong in my approach, but all I did was creating a simple CBR traffic
generator over UDP. I have also made some real tests for getting some
parameters for supplying NS2, such as MTU, packet size, and rate.

Of cource, this scenario can vary as our needs are distinct. For instance,
if you are simulating voice transmition for telephony purposes, you propably
should use TCP instead of UDP. Moreover, CBR is apropriate for the set of
applications I am interested in. Maybe the VBR model is better suitable for
your objectives.

Regards,

Loreno

On 10/21/06, ghazale khojaste <[EMAIL PROTECTED]> wrote:
>
>
> Hi all,
>   I would like some advice on how to create voice and video traffic  in
> ns2. Is there any tutorial about voice and video traffic in ns2?
>   Any suggestions are welcome.
>
> Thank you,
>
> ghazale khojaste
>
>
>
> -
> Do you Yahoo!?
> Everyone is raving about the  all-new Yahoo! Mail.
>


[ns] How we generate packet using echo agent for mobile nodes??

2006-10-21 Thread *bahareh NTC*

Hello dear all,
 I am working on intrusion detection system for
wireless ad hoc network,,
my routing protocol is AODV+(not AODV)... like
wireles-cum-wireless when MANET connected to the
INternet


ok according to this introduction 
I need to add some echo agent as a generator of attack
packet,,but i dont know based on  the NS MANUAL
documention  i add echo agent like that:


#set echoagent [new Agent/ECHO]
#$ns attach-agent $mobile(8) $echoagent
$echoagent set dst_ $mobile(7)
$echoagent set fid_ 0
$echoagent set prio_ 0
$echoagent set flags_ 0
$echoagent set packetSize_ 1024
$echoagent set interval_ 1.5
$echoagent start

###$ns at $val(start-src) "$echoagent start"
###$ns at $val(stop-src) "$echoagent stop"
##

and i got the below error may you plz simply let me
know how can i add a echo agent
what is wrong with me??
Thank you in advance

host0 = 0.0.0 = 0
host1 = 0.1.0 = 2048
gw0 = 1.0.0 = 4194304
mobile(3) = 1.0.1 = 4194305
mobile(4) = 1.0.2 = 4194306
mobile(5) = 1.0.3 = 4194307
mobile(6) = 1.0.4 = 4194308
mobile(7) = 1.0.5 = 4194309
mobile(8) = 1.0.6 = 4194310

invalid command name "Agent/ECHO"
while executing
"Agent/ECHO create _o316 "
invoked from within
"catch "$className create $o $args" msg"
invoked from within
"if [catch "$className create $o $args" msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
delete $o
return ""
}
global errorInfo
error "class $..."
(procedure "new" line 3)
invoked from within
"new Agent/ECHO"
invoked from within
"set echoagent [new Agent/ECHO]"
(file "wired_wireless_ex6.tcl" line 207)


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



[ns] How we generate packet using echo agent for mobile nodes??

2006-10-21 Thread *bahareh NTC*

Hello dear all,
 I am working on intrusion detection system for
wireless ad hoc network,,
my routing protocol is AODV+(not AODV)... like
wireles-cum-wireless when MANET connected to the
INternet


ok according to this introduction 
I need to add some echo agent as a generator of attack
packet,,but i dont know based on  the NS MANUAL
documention  i add echo agent like that:


#set echoagent [new Agent/ECHO]
#$ns attach-agent $mobile(8) $echoagent
$echoagent set dst_ $mobile(7)
$echoagent set fid_ 0
$echoagent set prio_ 0
$echoagent set flags_ 0
$echoagent set packetSize_ 1024
$echoagent set interval_ 1.5
$echoagent start

###$ns at $val(start-src) "$echoagent start"
###$ns at $val(stop-src) "$echoagent stop"
##

and i got the below error may you plz simply let me
know how can i add a echo agent
what is wrong with me??
Thank you in advance

host0 = 0.0.0 = 0
host1 = 0.1.0 = 2048
gw0 = 1.0.0 = 4194304
mobile(3) = 1.0.1 = 4194305
mobile(4) = 1.0.2 = 4194306
mobile(5) = 1.0.3 = 4194307
mobile(6) = 1.0.4 = 4194308
mobile(7) = 1.0.5 = 4194309
mobile(8) = 1.0.6 = 4194310

invalid command name "Agent/ECHO"
while executing
"Agent/ECHO create _o316 "
invoked from within
"catch "$className create $o $args" msg"
invoked from within
"if [catch "$className create $o $args" msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
delete $o
return ""
}
global errorInfo
error "class $..."
(procedure "new" line 3)
invoked from within
"new Agent/ECHO"
invoked from within
"set echoagent [new Agent/ECHO]"
(file "wired_wireless_ex6.tcl" line 207)


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



[ns] Scheduling Algorithm for Wireless Network-Samples

2006-10-21 Thread Shaili Desai

Hello all,

I am trying to implement WFQ for Wimax PMP network and I would like to
know if someone has any sample example file where they have
implemented WFQ for Wimax and wireless network.

I would appreciate if anyone could help me for that.
Thanks in advance, it would be great if nyone can help.
-- 
Thanx
Shaili Desai
Master's Candidate
Telecommunications and Management
University of Maryland,College Park,USA