[ns] 802.11 bandwidth setting

2007-07-30 Thread nassim laga

Hi all,

Can anyone tell me how to set the bandwidth of a wireless link (to 11Mbyte/s 
for example). I know there is 802_11 set dataRate_ ... but i'm not sure that it 
works?

regards,
Nassim

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


[ns] default packet size

2007-07-29 Thread nassim laga

Hi every body,

can anyone tell me where can i find or how can i set
size of packets in FTP TCP configuration

regards,
Nassim


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



[ns] extend NS to support nodes with wired and wireless interface

2007-06-07 Thread nassim laga

Hi all,

is there an idea on how to extend NS to support defining nodes with one wired 
interface and an other wireless interface

regards,
Nassim

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


[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] 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] multiple interface ramon's tutorial

2007-05-31 Thread nassim laga

I try to add a multiple interface support for NS according with ramon tutorial; 
i do all the steps, but when i try to simulate a simple script which do 
nothing, the error above  appears : 
ns:
[code omitted because of length]
: wrong # args: should be {ARPTable instproc name args body}
(Class instproc line 1)
invoked from within
ARPTable instproc init if { $arptable_($i) !=  } {
$arptable_($i) reset
}   if { $arptable_($i) !=  } {
$arptable_($i) reset
} args {
eval $self n...


if any one can help me ?

regards Nassim

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


[ns] multiple interface Tutorial

2007-05-30 Thread nassim laga

Hi,
 I find in the mailing list of NS many mails speaking about ramon tutorial  
 
simulating multiple interfaces according to Ramon's tutorial
   but i search on the web and i didn't manage to find this tutorial?? can 
anyone help to find it??
 
 regards,
 Nassim
 
-
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 


[ns] 802_11 and ethernet

2007-05-30 Thread nassim laga

Hi every body,

Can any one tell me if i can mixe ethernet and 802.11 on the same environement.

regards,
Nassim

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