From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ondar.cablelabs.com (ondar.cablelabs.com [192.160.73.61]) by huchra.bufferbloat.net (Postfix) with ESMTP id A7F7021F104 for ; Fri, 31 May 2013 13:42:49 -0700 (PDT) Received: from kyzyl.cablelabs.com (kyzyl [10.253.0.7]) by ondar.cablelabs.com (8.14.5/8.14.5) with ESMTP id r4VKglwY013883; Fri, 31 May 2013 14:42:47 -0600 Received: from exchange.cablelabs.com (10.5.0.19) by kyzyl.cablelabs.com (F-Secure/fsigk_smtp/407/kyzyl.cablelabs.com); Fri, 31 May 2013 14:42:47 -0600 (MDT) X-Virus-Status: clean(F-Secure/fsigk_smtp/407/kyzyl.cablelabs.com) Received: from EXCHANGE.cablelabs.com ([fe80::797a:96d1:3c53:18ee]) by EXCHANGE.cablelabs.com ([fe80::797a:96d1:3c53:18ee%11]) with mapi id 14.03.0123.003; Fri, 31 May 2013 14:42:47 -0600 From: Joey Padden To: safa khan Thread-Topic: [Codel] CoDel on ns2.35 simulator Thread-Index: AQHOXfB1S7m9KGHgGEqShQghsD2XwJkfOrzqgADLOICAACGQAA== Date: Fri, 31 May 2013 20:42:46 +0000 Message-ID: <77956FD2-0452-4133-8682-8AF15674C4DE@cablelabs.com> References: <36D14F11-58BB-449B-9362-52952C62DA9D@cablelabs.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.4.1.208] Content-Type: multipart/alternative; boundary="_000_77956FD20452413386828AF15674C4DEcablelabscom_" MIME-Version: 1.0 Cc: "codel@lists.bufferbloat.net" Subject: Re: [Codel] CoDel on ns2.35 simulator X-BeenThere: codel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: CoDel AQM discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 20:42:49 -0000 --_000_77956FD20452413386828AF15674C4DEcablelabscom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable The all-in-one install creates may sub-directories for tcl,tk, otcl, tctcl,= and most importantly ns-2.35. the contents of the git /ns directory can replace the contents of the ns-2= .35 directory. after copying the contents cd into the directory and do a ./configure; make; then try the command ns codel.tcl OK for now, Jp On May 31, 2013, at 12:42 PM, safa khan > wrote: Dear Joey I have followed the instructions to build ns2. Let me give you a stepwise d= escription of what I have done. I have downloaded and installed ns2 from the following source http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.35/ns-al= linone-2.35.tar.gz/download After that I downloaded the whole master repository as a zip and unzipped i= t https://github.com/dtaht/ns2 Now could you please give me a stepwise description as to how I should proc= eed from here. I have been trying to run the codel.tcl directly by ns codel.tcl after going to ns2-master directory without success. I keep getting the err= or: ftps 1 webrate 0 cbrs 0 bw 3000000.0 filesize 10000000 reverse 0 accessdly 20 bneckdly 10 realrtt 100 bneckbw 3000000.0 invalid command name "Queue/CoDel" while executing "Queue/CoDel set target_ $target" (file "codel.tcl" line 143) How am I supposed to build ns2.35 with the CoDel. And where do the codel.h = and codel.cc files come in? I would really appreciate a more detailed respo= nse. On Fri, May 31, 2013 at 5:35 PM, Joey Padden > wrote: Safa, In the CoDel.tcl from Dave's git repo, the line your code is choking on is = 210 not 143, did you modify CoDel.tcl? Also, did you rebuild ns after downloading the CoDel updates? It sounds lik= e ns doesn't know about the queue type CoDel but it is in the makefile.in so it should if you did cd /ns2/ ./configure; make; after downloading and unpacking the zip. -Joey Sent from my iPhone On May 31, 2013, at 5:17 AM, "safa khan" > wrote: Dear Members First of all thank you for the amazing idea that CoDel is :) I have downloaded CoDel from https://github.com/dtaht/ns2 In fact I downloaded everything as a zip so that if CoDel needs some other = files in the directory I wouldn't miss them out. However, I have been trying to run ns codel.tcl on the my shell. My linux k= ernel version is 3.6. It gives the following error ftps 1 webrate 0 cbrs 0 bw 3000000.0 filesize 10000000 reverse 0 accessdly 20 bneckdly 10 realrtt 100 bneckbw 3000000.0 invalid command name "Queue/CoDel" while executing "Queue/CoDel set target_ $target" (file "codel.tcl" line 143) A little help will be highly appreciated. -- Regards Safa Nasir _______________________________________________ Codel mailing list Codel@lists.bufferbloat.net https://lists.bufferbloat.net/listinfo/codel -- Regards Safa Nasir --_000_77956FD20452413386828AF15674C4DEcablelabscom_ Content-Type: text/html; charset="iso-8859-1" Content-ID: <878FD771E9D2BD4AB7F520F2E8B7EF0A@cablelabs.com> Content-Transfer-Encoding: quoted-printable The all-in-one install creates may sub-directories for tcl,tk, otcl, tctcl,= and most importantly ns-2.35.  

the contents of the  git /ns directory can replace the contents o= f the ns-2.35 directory. 

after copying the contents cd into the directory and do a 

./configure; make;

then try the command

ns codel.tcl

OK for now,
Jp

On May 31, 2013, at 12:42 PM, safa khan <safakhan413@gmail.com>
 wrote:

Dear Joey

I have followed the instructions to build ns2. Let me give you a stepw= ise description of what I have done.

I have downloaded and installed ns2 from the following source
http://sourceforg= e.net/projects/nsnam/files/allinone/ns-allinone-2.35/ns-allinone-2.35.tar.g= z/download

After that I downloaded the whole master repository as a zip and unzipped i= t
 https://gi= thub.com/dtaht/ns2

Now could you please give me a stepwise description as to how I should proc= eed from here. I have been trying to run the codel.tcl directly by
ns codel.tcl
after going to ns2-master directory without success. I keep getting the err= or:


ftps 1 webrate 0 cbrs 0 bw 3000000.0 filesize 10000000 reverse 0
accessdly 20 bneckdly 10 realrtt 100 bneckbw 3000000.0
invalid command name "Queue/CoDel"
    while executing
"Queue/CoDel set target_ $target"
    (file "codel.tcl" line 143)

How am I supposed to build ns2.35 with the CoDel. And where do the codel.h = and codel.cc files come in? I would really appreciate a more detailed respo= nse.


On Fri, May 31, 2013 at 5:35 PM, Joey Padden <J.Padden@ca= blelabs.com> wrote:
Safa,

In the CoDel.tcl from Dave's git repo, the line your code is choking o= n is 210 not 143, did you modify CoDel.tcl?

Also, did you rebuild ns after downloading the CoDel updates? It sound= s like ns doesn't know about the queue type CoDel but it is in the makefile.in so it sho= uld if you did 

cd /ns2/
./configure; make;

after downloading and unpacking the zip.

-Joey 


Sent from my iPhone

On May 31, 2013, at 5:17 AM, "safa khan" <safakhan413@gmail.com> wrote:=

Dear Members

First of all thank you for the amazing idea that CoDel is :)

I have downloaded CoDel from https://github.com/dtaht/ns2
In fact I downloaded everything as a zip so that if CoDel needs some other = files in the directory I wouldn't miss them out.

However, I have been trying to run ns codel.tcl on the my shell. My linux k= ernel version is 3.6. It gives the following error

ftps 1 webrate 0 cbrs 0 bw 3000000.0 filesize 10000000 reverse 0
accessdly 20 bneckdly 10 realrtt 100 bneckbw 3000000.0
invalid command name "Queue/CoDel"
    while executing
"Queue/CoDel set target_ $target"
    (file "codel.tcl" line 143)

A little help will be highly appreciated.

--
Regards
Safa Nasir

_______________________________________________
Codel mailing list
Code= l@lists.bufferbloat.net
https://lists.bufferbloat.net/listinfo/codel



--
Regards
Safa Nasir


--_000_77956FD20452413386828AF15674C4DEcablelabscom_--