Re: [ns] Queue Monitoring (PAVAN KUMAR O)

2007-12-23 Thread Filippos Kolovos -- Filippos Kolovos Software Systems Analyst Engineer M.Sc. (Eng.) in Data Communications Automation Networking Department University of Macedonia Library Egnatia 156, P.O.Box 1591 540 06 Thessaloniki, Greece E-Mail: [EMAIL

Re: [ns] nam: command not found

2007-12-17 Thread Filippos Kolovos
, Arvind -- Filippos Kolovos Software Systems Analyst Engineer M.Sc. (Eng.) in Data Communications Automation Networking Department University of Macedonia Library Egnatia 156, P.O.Box 1591 540 06 Thessaloniki, Greece E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED] Profile: http

Re: [ns] Strange behaviour of TCPSink instvar bytes_

2007-06-14 Thread Filippos Kolovos
- Hi, I do not think that there is a problem with the variables per se, but with the way that the TCL interpreter handles the command substitutions. For example, when you invoke the command directly, i.e. with no wrapping procedure, the NS scheduler schedules the event to occur at time 1.0, but

Re: [ns] Help: error when using node generated by create_topology in NS format

2007-06-10 Thread Filippos Kolovos
- Good morning As it looks like from your code, you are declaring the array n($i) only inside your proc. However, because it is a local variable it gets erased after the proc's execution. Therefore, in your main script, when you try to access it with $ns monitor-queue $n(3) $n(6) the

Re: [ns] Problem with make

2007-05-30 Thread Filippos Kolovos
- Hi. I think that the problem that make reports has to do with the fact that all the previously object files exist. You could erase the object files of the .c files that you have modified so that make will have to rebuild only these files and not all of ns. On the other hand, if this doesn't

Re: [ns] no target for slot 0

2007-04-24 Thread Filippos Kolovos
- Hi, in many cases this error occurs when you are trying to send data from a node to another, but there is no link direction to that node. For instance, if you create a simplex-link from node1 to node2 and then try to send data from node2 to node1 you will get this error. Check to see if your

Re: [ns] problem with scheduler

2007-03-24 Thread Filippos Kolovos
- Hi there. The solution to this problem is fairly simple, so do not worry. At first, let me explain what causes this situation. The problem does not lie at the Scheduler. The Scheduler works fine, scheduling the event to occur at the appropriate time. The problem is with the OTcl interpretor

Re: [ns] stop sending paquets

2007-03-24 Thread Filippos Kolovos
- I do not find any problem with your code. I have executed it and as it seems to be working fine. The problem might be that node 1 looks like it is sending packets, but in reality it simply sends-out the previously enqueued packets, at the time when the CBR app was functioning. To verify my

Re: [ns] how to use gdb to debug an error in .tcl format file

2007-03-17 Thread Filippos Kolovos
- In order to debug TCL files you should use tcl-deug. In order to debug the .cc files you need ddd (frontend for gdb). Here is detailed web info on how to use both, from Pedro Vale Estela: Also, at the ns web site there is some info on

Re: [ns] debuggin c++ in ns

2007-03-01 Thread Filippos Kolovos
- When you configure ns, you have to use the flag --enable-debug in order to generate the appropriate symbols for debugging. Then when you open the ns executable with DDD, you will be transferred to the source files and you will be able to debug the whole source code of NS-2. Remeber though that

Re: [ns] Is FTP traffic over TCP connection uses always the same route?

2007-02-14 Thread Filippos Kolovos
- You could define the routing protocol to use during the simulation, at the start of the tcl script with the $ns rtproto command. Then you could see what happens when changing the queue limits and sizes. NS, by default uses static routing with all routes pre-calculated before the start of the

Re: [ns] Syntax error using rtmodel-at

2007-02-11 Thread Filippos Kolovos
- It does not have to do with the command that you give in the tcl script, but with the generated command produced by the $ns namtrace-all $filedesc tcl command, which gets written to a file pointed by $filedesc. The syntax of this command in the NAM file) is what has changed in later versions

Re: [ns] How to call a procedure after a constant delay

2007-02-09 Thread Filippos Kolovos
- At first you need to schedule the loop proc to execute at the start (or whenever you like) of the simulation. Then, you need to put the re-scheduling code inside the procedure itself in order to make it recursive. In this way the loop procedure will execute once at the start of the simulation

Re: [ns] Unistalling NS2

2007-01-21 Thread Filippos Kolovos
- As far as I know, you just delete the ns-2 directories and its uninstalled. After all ns-2 it's just an executable after the ./configure and ./make. Regards, -Fk On 1/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: -- Forwarded message -- From: Manoj Mistry [EMAIL

Re: [ns] help needed

2007-01-04 Thread Filippos Kolovos
- The -1 parameter means that the application will send an arbitrarily large file (the file size will be selected randomly). Check the NS-2 Manual, page 99, section 10.5.2 Starting the Agent for more details. Regards, -Fk On 1/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: --

Re: [ns] how to caculate the Packet delay?

2006-12-31 Thread Filippos Kolovos
- You can also check the link below in the ns-users archives for calculating the average queue delay in wired links (i.e. packet delay) using monitor objects. Hope that I have helped. Regards, -Fk On 12/30/06, [EMAIL

Re: [ns] some question about gt-itm

2006-09-30 Thread Filippos Kolovos
- Please check for a description about this problem. I also have attached a gzipped file with the patch applied to the code so that it does not generate the error, called gt-itm-linux-patched.tar.gz. Unzip, untart, re-make and

Re: [ns] how to enable debugging

2006-09-22 Thread Filippos Kolovos
- In order to enable tcl debugging and debugging of the ns executable with an external debugger (GDB, DDD, etc), you have to specify it differently during the configure stage of your ns-compilation. They are different things. So, in order to enable tcl-debuging you have to add to the configure

Re: [ns] delaySamp_ object and Delay samples

2006-09-10 Thread Filippos Kolovos
Vidal [EMAIL PROTECTED] To: Filippos Kolovos [EMAIL PROTECTED] Date: Sat, 9 Sep 2006 14:24:20 -0300 Subject: Re: [ns] delaySamp_ object and Delay samples Hi Filippos, Did you solve your problem? Can you help me? I'm trying to get Delay Samples from monitor-queue, with these commands: set qm

Re: [ns] What's wrong with this code?

2006-08-24 Thread Filippos Kolovos
- It has several errors, which you can spot in the code that I send you, which should work. I also have included a simple trace output for you, so that you will be able to see the packets that were actually sent between the 2 agents. As I understand from the code, you are trying to connect

[ns] delaySamp_ object and Delay samples

2006-08-06 Thread Filippos Kolovos
Dear all, has anybody used, or tried to use the delaySamp_ object that is provided with a queuemonitor object? In the manual it states that this object can be used to measure queue delays (page 76 of ns-manual). It has two methods: $queuemonitor get-delay-samples, which says it returns a

[ns] Calculate Average queue delay and average queue size - Explained

2006-08-06 Thread Filippos Kolovos
Dear ns-community, I probably have found a way to answer my own question which was posted previously concerning the calculation of average queue delay and size with monitor objects. After thorough study, I eventually found out what one has to do in order to calculate the average queue delay and

Re: [ns] AntNet source code for ns2- 2.29

2006-07-31 Thread Filippos Kolovos
- You might have already seen this site, but in any other case it might be helpful. It has ant-like code, but it is for ns-2.28. I think you might be able to adapt it to ns-2.29. Hope that I have helped. Regards, -Fk On 7/30/06, [EMAIL PROTECTED] [EMAIL

Re: [ns] Wireless packet size limit + wireless bandwidth question

2006-07-25 Thread Filippos Kolovos
- On 7/24/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: -- Forwarded message -- From: Heo Heo [EMAIL PROTECTED] To: ns-users@ISI.EDU Date: Sat, 22 Jul 2006 17:18:26 -0700 (PDT) Subject: [ns] Wireless packet size limit + wireless bandwidth question Hi all, I was

Re: [ns] help on random FTP connections

2006-07-13 Thread Filippos Kolovos
As far as the random behaviour is concerned there is a quite good Random number generator implemented in NS, that can also generate random numbers from various distributions. You can check the NS-2 manual in the chapter Mathematical Support for further information. -Fk On 7/13/06, [EMAIL

Re: [ns] random values??????

2006-06-05 Thread Filippos Kolovos
Yes. Check chapter 23 of the Ns-2 manual: Mathematical support and specifically the part about Random variables. Ns has a considerably good random number generator. -Fk -- Forwarded message -- From: [EMAIL PROTECTED] To: ns-users@ISI.EDU Date: Sat, 3 Jun 2006 13:56:38

Re: [ns] error in installing ns on linux without Xwin

2006-05-26 Thread Filippos Kolovos
Of-cource you can, I have installed ns-2 in XP (with cygwin) and I can run it smoothly. I also have installed both ns-2.29 and ns-2.28 in my Debian Workstation and when I connect with ssh, (where no X servers are available), both of them run smoothly. No, you do not NEED an X server to run ns.

Re: [ns] query:otcl command explanation?

2006-05-17 Thread Filippos Kolovos
Well, the terms that you are referring to are standard object oriented programming terms. There are some sites that can offer a relative introduction to what you are asking, but in order to understand in depth these issues, you should read a good object-oriented programming book, or an OTcl

Re: [ns] help with cygwin/gcc

2006-04-19 Thread Filippos Kolovos
Yes, it is true that you may have installed it, but when you issue the command gcc --version then the system will report that you have the gcc version 4.0 installed. That is because in /usr/bin there is a symbolic link named gcc that points to the gcc-4.0 executable located in the same directory.

Re: [ns] ns can not be constructed

2006-02-18 Thread Filippos Kolovos
Aren't there any other errors returned from make, above the Error1 line? There must be. Also, I checked that on your reference to he second agent is .../anotheragent.o instead of ../anotheragent (notice .../ and ../) . However, I do not think that this was the error but just a typo you made while

Re: [ns] Ns-users Digest, Vol 26, Issue 15

2006-02-15 Thread Filippos Kolovos
The point here is that you want to execute your local apps *through* your nodes, not independently *within* the program. In general, the command to execute an external program through an NS-2 script is to use the exec command followed by the program name and any parameters that it may need.

Re: [ns] problem running examples

2006-02-05 Thread Filippos Kolovos
The problem is that even though you have Cygwin you do not have an X environment to execute X applications as NAM. The solution to this problem, would be to install (in addition to cygwin), the KDE ebvironment for Windows, that co-operates with cygwin. In this way you will have an X desktop,

Re: [ns] Ns2 version for Ad hoc networks

2006-02-05 Thread Filippos Kolovos
The version I could use would be NS-2.28 at the earliest. -Fk -- Forwarded message -- From: raja priya [EMAIL PROTECTED] To: NS ns-users@ISI.EDU Date: Sat, 4 Feb 2006 22:49:42 -0800 (PST) Subject: [ns] Ns2 version for Ad hoc networks Hi I am interested in working in

Re: [ns] Can we get rid of TCP in wireless?

2006-02-05 Thread Filippos Kolovos
I would not agree with that, since for example AODV, one of the most common routing protocols in MANETs uses UDP to transmit its routing packets (RREQ, RERR, etc). However, in order to avoid TCP/UDP you would have to tamper with the specific application that accesses these layers in the source

Re: [ns] error while running tcl file

2006-01-22 Thread Filippos Kolovos
You are not running the simulation from somewhere where your environment variables for ns are not properly initialized according to the NS-2. Init.tcl is one of the primary files executed during the start of a simulation. Verify that you are executing the file from the appropriate shell

Re: [ns] Problem with installation of NS 2.28

2006-01-09 Thread Filippos Kolovos
I apologise, in my previous message I forgot to edit the subject line.:-) From the warning messages displayed, you have installed ns-allinone 2.28, not ns-2.28 (the latter is when you install it from the pieces). When you install it from the pieces, it does not display such a warning. The

Re: [ns] instl of gt-itm and sgb2ns

2005-12-28 Thread Filippos Kolovos
Yes, you're right. As far as I remember, there is not a configure file to execute when bulding gt-itm. What you will have to do is switch in your gt-itm/src directory and from there execute make all. However, for the other error that you report below, please note that there is a version

Re: [ns] what is problem with my tcl

2005-12-24 Thread Filippos Kolovos
You have no specific problem with your Tcl. Since you have installed it, you only have to provide the path to it during configure with the following parameter: ./configure --with-tcl={your tcl8.4.5 path} --with-tcl-ver=8.4.5--with-tk={your tk8.4.5 path} --with-tk-ver=8.4.5 What is meant with