[ns] Implementing new manet protocol

2007-06-05 Thread nassim laga

Hi All,

I try to implement a new Manet protocol according to 
ImplementingNewMANetProtocol tutorial.

but the following errors occurs when i try to simulate any script :

ns:
[code omitted because of length]
: invalid command name Agent/Protoname
while executing
Agent/Protoname set accessible_var_ true


Can any one help me?

regards, 
Nassim 


-
 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.


[ns] UMHS vs. UM in ns2 Eurane

2007-06-05 Thread Imad Abdeljaouad

hi all,
My simulation is simple, 1 rnc, 1 bs, 4 UEs, Mpeg4 traffic flowing from IP
network to the UEs.
Why is it that when I am using UMHS RLC mode, packets flow through the rnc
on the UMHS (recv() in um-hc.cc) mode whereas they go up the UEs through the
UM (recv() in um.cc) mode ???

-- 
best regards,

Imad Abdeljaouad


[ns] RE : Re: Implementing new manet protocol

2007-06-05 Thread nassim laga

I think that the problem is not on accessible_var_!!!
i remove the line Agent/protoname set accessible_var_  true in 
ns-default.tcl and all occurence of the accessible_var_ on the .cc and .h 
files. and now i get the following errors :

num_nodes is set 2
invalid command name Agent/Protoname
while executing
Agent/Protoname create _o17 0
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/Protoname [$node node-addr]
(procedure _o3 line 2)
(Simulator create-protoname-agent line 2)
invoked from within
$self create-protoname-agent $node
(Protoname arm line 2)
invoked from within
switch -exact $routingAgent_ {
Protoname {
set ragent [$self create-protoname-agent $node]
}
DSDV {
set ragent [$self create-dsdv-agent $node]
}
DSR {...
(procedure _o3 line 11)
(Simulator create-wireless-node line 11)
invoked from within
_o3 create-wireless-node
(eval body line 1)
invoked from within
eval $self create-wireless-node $args
(procedure _o3 line 23)
(Simulator node line 23)
invoked from within
$ns_ node
(for body line 2)
invoked from within
for {set i 0} {$i  $val(nn) } {incr i} {
set node_($i) [$ns_ node]
$node_($i) random-motion 0  ;# disable random motion
}
(file simple-wireless.tcl line 97)
 
 
 Can any one help me,
 
 Regards,
 Nassim

Francisco J. Ros [EMAIL PROTECTED] a écrit : Hi Nassim,

There are some typos in the tutorial. Sometimes accessible_var is miswritten 
as accesible_var. Just have to find every occurrence of the latter and 
correct the name.

Regards,
fran

On Tuesday 05 June 2007 10:51, nassim laga wrote:
 Hi All,

 I try to implement a new Manet protocol according to
 ImplementingNewMANetProtocol tutorial.

 but the following errors occurs when i try to simulate any script :

 ns:
 [code omitted because of length]

 : invalid command name Agent/Protoname

 while executing
 Agent/Protoname set accessible_var_ true


 Can any one help me?

 regards,
 Nassim


 -
  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.

-- 
Francisco J. Ros, Ph.D. Student
Dept. of Information and Communications Engineering
University of Murcia, Murcia (Spain)

http://masimum.inf.um.es/fjrm/


 
-
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 


[ns] How to change the modulation used by the BS

2007-06-05 Thread Tiago Junqueira

Hi,

 In the example datarate.tcl it's possible to change the modulation
used by the Mobile Node  the command [$SSWithWiMax set mac_(0)]
set-diuc $modulation.
 I changed the direction of the flow, and the node that was the
SinkNode is the source, and the Mobile Node is receiving the packets.
 My question is, How can i change the modulation used by the base
station, if it is not possible to use the command: [$BSWithWiMax set
mac_(0)] set-diuc $modulation?


   Thanks in advance, Tiago Junqueira



[ns] Flood/Broadcast code

2007-06-05 Thread Dimitris Liarokapis

Hi all,

Does anyone have a code, or knows where to find a code for pure flooding and
other broadcast schemes (mainly distance-based scheme wanted) in MANETs?
If so could you pls send it to me, or tell me where to look for it?


Tnx
Dimitris


[ns] Fw: Weighted Round Robin

2007-06-05 Thread KaLiF

Hello,
I'm trying to find this algorithms :Weighted Round Robin, Oldest Queue, Longest 
Queue, Total Queue Length and Total File Lenngth to simulate it for my project. 
At least one of them. Could anyone tell me from where I can find them? 
Although I have to find the sending delay in a wireless transmission between 10 
nodes, I found a file named cbrgen.tcl that I could modify, but the nodes 
(users) have diffrent type of rates (they are from diffrent type of QoS) and 
there I can  put only one rate in the variables; and what's the meaning of 
seeds.

I'm a beginner in NS, and because i don't know where to look, these things 
freak me and the License exam is at the door: knock, knock...

Thanks in advance.


  

Park yourself in front of a world of choices in alternative vehicles. Visit the 
Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/ 


[ns] send actual data

2007-06-05 Thread Kwnstantina Palla

I would really appreciate any help on sending actual data.
I want to send a simple txt file and my thought is to pack it in AppData
part of Packet.
Does anyone know a method for this?
I searched the mailing list as i was already told but i didn't find
anything.
I kindly ask for any help.
Thank you in advance!


[ns] Setting transmission range.

2007-06-05 Thread manpreet grewal


Hi,
While setting transmission range from TCL Script do we need to set 
something other than RXThresh_ also???
I have set only RXThresh_... Do i need to do something else 
also...

Please anybody tell me...
Thanks in advance,
Manpreet.



Re: [ns] help required regarding analysis of tracefile

2007-06-05 Thread harpreet

  hi
thanks for information. but i already tried these codes. if you check the codes 
these depends upon the 'd' symbole in tracefile. but i got tracefile of eurane 
which do not have 'd'-drop packet. but i am sure there are some resending of 
packets. so these doesn't work out for me. 
thanks for reply.


On Mon, 04 Jun 2007 Tiago Junqueira wrote :
Hi,

   I already made the same question, i'm using the NIST WiMAX module,
and the trace files are hard to analyse. So what i did was to use this
method: http://140.116.72.80/~smallko/ns2/tool_en.htm  ,made by
Chih-Heng, Ke.

With the c++ functions you get 2 files which the default name is rd
and sd.  This files are easy to analyse, and i'm getting results
that look good, but unfortunately i can't tell if it is reliable
method to use, i'm just using, the best thing was to know exactly how
to interpert the trace files, but for me, at this moment i don't have
time.
I already asked in the forum but i got no opinions about the method.

kindly, Tiago Junqueira