Re: [ns] Request for ns2.28-allinone load (its no more available in distribution)!!

2010-10-22 Thread Sergio Luis O. B. Correia
other link or information on poission traffic generator on ns2 is also > welcome. > > Thanks, > Svetla > -- Sergio Luis O. B. Correia ser...@larces.uece.br Computer Networks and Security Laboratory (LARCES) State University of Ceara (UECE/Brazil)

Re: [ns] node position returns all the time zero

2010-03-25 Thread Sergio Luis O. B. Correia
Hello, On Thu, Mar 25, 2010 at 10:20 AM, Ghofrane wrote: > > Hi > I want to know the current position of a node, but when I write this: > node_ = (MobileNode*)Node::get_node_by_address(ra_addr()); > ((MobileNode *)Node::get_node_by_address(ra_addr()))->getLoc(&x, &y,&z); > > tcl.evalf("puts \" (

Re: [ns] Is there any way to SHUTDOWN a MobileNode?

2010-03-24 Thread Sergio Luis O. B. Correia
Hello, have you tried calling "reset" for the node you want to turn off? something like # tell all nodes when the simulation ends for { set i 0 } { $i < $opt(nn) } { incr i } { $ns_ at $opt(stop).0 "$node_($i) reset"; } att, sergio On Wed, Mar 24, 2010 at 9:43 AM, darkblue winnie wro

[ns] How to check whether an attached agent/application is transmitting?

2010-03-19 Thread Sergio Luis O. B. Correia
Hello all, # connection 1 set udp_(1) [new Agent/UDP] set null_(1) [new Agent/Null] $ns_ attach-agent $node_(0) $udp_(1) $ns_ attach-agent $node_(1) $null_(1) set cbr_(1) [new Application/Traffic/CBR] $cbr_(1) set packetSize_ 512 $cbr_(1) set interval_ 0.25 $cbr_(1) set random_ 1 $cbr_(1) attach-

Re: [ns] passing parameters to tcl script

2010-02-25 Thread Sergio Luis O. B. Correia
On Thu, Feb 25, 2010 at 10:26 AM, pedro chaparro wrote: > > hi every one, i have a question about how to check the number of parameters > i pass to the tcl script, i'm using > > if {  $argc != 3} > { > puts "Missing parameters  " > exit 1 > } try putting the opening brace in the same line, as in

Re: [ns] Example of creating our own agent in ns 2.34?

2010-02-20 Thread Sergio Luis O. B. Correia
Hello, On Sat, Feb 20, 2010 at 2:13 AM, johnadams986 wrote: > > > Hi, > > Can someone point me to an updated version of Marc Greis's Ping tutorial? It > doesn't necessarily have to be a Ping tutorial but anything that teaches > addition of new protocols is fine. Anyone? take a look at this mat

Re: [ns] Error when invoking new routing protocol

2010-02-10 Thread Sergio Luis O. B. Correia
Hello, On Wed, Feb 10, 2010 at 6:54 AM, JUNG HOON LEE wrote: > > Hi, all > > This is my error when I run "make" > make[1]: Entering directory > `/root/ns-allinone-2.34/ns-2.34/indep-utils/cmu-scen-gen/setdest' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory > `/root/ns-alli

[ns] 80211ext (?) - logic error at TXC handling ACKIndication

2010-02-02 Thread Sergio Luis O. B. Correia
Hello, I'm getting those messages* while running simulations with any routing protocols. I am using 80211Ext MAC and PHY, with the tworayground propagation method. The parameters I am using are the ones listes in that IEEE802-11p.tcl file that comes with ns 2.34 witht the following two changes: P

[ns] Nakagami propagation model

2010-01-27 Thread Sergio Luis O. B. Correia
Hello, I'm trying to use the Nakagami propagation model in NS2 but I am unable to correctly set up its parameters to meet my requirements (I'd like to be able to test it with different transmission ranges, such as 500m and 1km). Can somebody help me with this? Thanks in advance, Sergio. -- Comp

Re: [ns] Error : ./install: line179 : cd: ./tcl8.3.2/unix: nosuch file or directory

2009-10-21 Thread Sergio Luis O. B. Correia
On Wed, Oct 21, 2009 at 9:59 PM, jeni martin wrote: > > hi guys,I installed slackware 10 and keep trying runnig NS,but I faced the > following error: > slackware 10.. I remember I had problems with it too, and the problem was the Tcl package from slackware didn't have a few headers ns2 would n