Re: [ns] "error when calling class $cls: $args"

2010-03-19 Thread Teerawat Issariyakul
Hi Hitesh, I think the problem occurs from this line "$agent if-queue [$self set ifq_(0)] " The $agent (you have to check what class it is) does not have "if-queue" defined as its instproc. Therefore it invokes instproc "unknown" to create error message. This is the normal process of OTcl. My

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

[ns] TCP performance on wireless channel

2010-03-19 Thread Pietro Luigi Carotenuto
Hi, I should evaluate TCP over a wireless channel. At the moment I want to use a perl script to get throughput. Please, if I use TCPSink, how can write in real time packet arrivals to plot then with an external tool like xgraph? For UDP, I have used UDP/LossMonitor and its attributes.. for TCP

[ns] Request XGraph Problem in NS-2.34

2010-03-19 Thread barkatullah qureshi
Hi all, I have installed NS2.34 it is working fine but xgraph is not working, I go to xgraph directory located into ns-allinone-2.34 when I executed "make" it displaying errors as below: [r...@upmpc xgraph-12.1]# make gcc -DHAVE_CONFIG_H -I. -I. -I.-g-c dialog.c dialog.c: In fu

[ns] Monitor packet arrived in a TCP connection, but in wireless scenario...

2010-03-19 Thread Pietro Luigi Carotenuto
Hi, without TCPSinkMonitor, in a wireless scenario, with TCP, how can I count packet arrived at destination? I can't use QueueMonitor, of course... Thank you in advance, Pietro

[ns] XGRAPH 2 plot on same graph?

2010-03-19 Thread Pietro Luigi Carotenuto
Ho can I plot two statistics on same window with XGraph? They have the same temporal line. T.i.A, Pietro

[ns] "error when calling class $cls: $args"

2010-03-19 Thread hitesh sharma
I am simulating cluster based routing protocol in ns2.. but when i run my TCL code, I get the followin error : (_o17 cmd line 1) invoked from within "_o17 cmd if-queue _o20" invoked from within "catch "$self cmd $args" ret" invoked from within "if [catch "$self cmd $args" ret] { se

[ns] 16th European Wireless Conference EW2010: Call for Participation

2010-03-19 Thread Maddalena Nurchis IMT
[we apologize if multiple copies are received] ** *** CALL FOR PARTICIPATION *** 16th European Wireless Conference www.ew2010.org Lucca (Tuscany), Italy April 12-15, 2010 With the Technical Sponsorship of: IEEE Communication Soc

[ns] How to create/use .so file in NS2

2010-03-19 Thread Udit Kumar
Hi Friends, I am sorry, my question is little bigger. In the same way, I am in the need of your help, Pls help me. Some functionality of my design is written in SystemC/TLM and I want to use this in NS2, so while I am trying to create objects and link them I am getting issue because of conflict

Re: [ns] Make file

2010-03-19 Thread MiLo_TUD
The Learner wrote: > > Hi all > > While trying a new protocol, we need to make changes in the makefile. > There are multiple makefiles( with extensions, .in, .vc), in which > makefile am i suppose to add the object file list? and where? > Also why should this be added? > > Thank You, > The L

Re: [ns] How to recomplie ns2 using make command?

2010-03-19 Thread Shyam Sundar
Hi, Follow these procedure 1. Goto ns2 location in terminal ( If you are using ns-allinone-2.xx, then goto ns-allinone-2.xx/ns2x) for example: cd /usr/share/ns-allinone-2.34/ns2.34 2. then type "./configure" in terminal 3. then type "make clean" (*optional)[use this, If you want to recompile the

[ns] GET X Y Z coordinates (position) of a wireless node?

2010-03-19 Thread pietro.luigi.c
Hi, how can I set in a variable the X_ Y_ Z_ coordinates or position of a wireless node? Thank you in advance, Pietro

Re: [ns] Make file

2010-03-19 Thread Teerawat Issariyakul
Hi Learner, The default make file is "Makefile" with no extension. If you would like to add a new protocol. You can find the instruction on the post below: http://www.ns2ultimate.com/post/454001969/including-new-modules-into-ns-2 Best Regards, Teerawat Issariyakul http://www.ns2ultimate.com/

[ns] How to recomplie ns2 using make command?

2010-03-19 Thread The Learner
what is the procedure to recompile ns2 using make command? -- View this message in context: http://old.nabble.com/How-to-recomplie-ns2-using-make-command--tp27950947p27950947.html Sent from the ns-users mailing list archive at Nabble.com.

[ns] How to recomplie ns2 using make command?

2010-03-19 Thread The Learner
-- View this message in context: http://old.nabble.com/How-to-recomplie-ns2-using-make-command--tp27950946p27950946.html Sent from the ns-users mailing list archive at Nabble.com.

[ns] 16th European Wireless Conference EW2010: Call for Participation

2010-03-19 Thread Maddalena Nurchis IMT
[we apologize if multiple copies are received] ** *** CALL FOR PARTICIPATION *** 16th European Wireless Conference www.ew2010.org Lucca (Tuscany), Italy April 12-15, 2010 With the Technical Sponsorship of: IEEE Communication Soc

Re: [ns] Make file

2010-03-19 Thread Francesco Salpietro
/ns-allinone-2.34/ns-2.34/Makefile NO Makefile.in and NO Makefile.vi ;) good luck! Il giorno 19/mar/2010, alle ore 11.22, The Learner ha scritto: > > > Hi all > > While trying a new protocol, we need to make changes in the makefile. > There are multiple makefiles( with extensions, .in,

[ns] Asking About Nam, skipping line in nam trace file

2010-03-19 Thread darkblue winnie
Hi, Currently I am developing my own protocol on NS-2 in wireless networks. I try to execute a tcl command in my C++ code to add a box on an existing nodes. I use the following command: Tcl& tcl = Tcl::instance(); sprintf(tcl.buffer(), "$node_(%d) add-mark m0 red box", id); And I check

[ns] Make file

2010-03-19 Thread The Learner
Hi all While trying a new protocol, we need to make changes in the makefile. There are multiple makefiles( with extensions, .in, .vc), in which makefile am i suppose to add the object file list? and where? Also why should this be added? Thank You, The Learner -- View this message in context:

[ns] Has anyone implemented P2P traffic generator in ns2?

2010-03-19 Thread galaxy-huang
hi all, i need to integrate the P2P traffic in ns2, it says that p2p is a kind of hybrid weibull-pareto traffic, but as far as i know there is no such a generator in ns2, has anyone implemented the traffic i need? would you please give me the information or links about this. thanks in advance!

[ns] SatPEP simulation problem

2010-03-19 Thread Ondrej Beres
Hello, My name is Ondrej Beres and I study on Faculty of informatics and information technologies on Slovak University of Technology. I write thesis, in which I describe TCP protocol in wireless systems. I must to do experiments like are in paper SaTPEP: a