Hi all,

When I run the simulation, NS-2 gives me the following error message: 
ns: 
[code omitted because of length]
: invalid command name "Agent/TCP/Newreno/QS"
    while executing
"Agent/TCP/Newreno/QS set rbp_scale_ 0.75

Can everybody help me?

Thanx in advance

Aso Amedyan
aso.amed...@ntnu.no


On Tue, 2009-02-17 at 17:00 -0800, ns-users-requ...@isi.edu wrote:
> Send Ns-users mailing list submissions to
>       ns-users@isi.edu
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>       http://mailman.isi.edu/mailman/listinfo/ns-users
> or, via email, send a message with subject or body 'help' to
>       ns-users-requ...@isi.edu
> 
> You can reach the person managing the list at
>       ns-users-ow...@isi.edu
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ns-users digest..."
> 
> 
> Today's Topics:
> 
>    1. configuring access point (Karthik Talloju)
>    2. TCL Commands (obaid abbasi)
>    3. Throughput value difference in 802.11 (????)
>    4. FW: Query regarding nam (V K rathi)
>    5. Re: Throughput value difference in 802.11 (Remi VANNIER)
>    6. Questions are never answered (Remi VANNIER)
>    7. IP layer information NS-2 (Syed Faraz Hasan)
>    8. 0 throughput for FTP connection... (Salvo Danilo Giuffrida)
>    9. Re: Questions are never answered (Mats Folke)
>   10. add library to configure.in or makefile (sarym binome)
>   11. node off doesn't work (Salvo Danilo Giuffrida)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 17 Feb 2009 02:49:15 -0500
> From: Karthik Talloju <karthiktall...@gmail.com>
> Subject: [ns] configuring access point
> To: ns-users@ISI.EDU
> Message-ID: <f751a7b4-6804-4fbb-bf53-d350c8481...@gmail.com>
> Content-Type: text/plain;     charset=US-ASCII;       format=flowed;  
> delsp=yes
> 
> I am trying to simulate a wireless scenario where number of nodes are  
> connected to an access point.(In a case such as wireless internet  
> connections in public places). The nodes are NOT mobile.
> 
> I have a couple of question regarding this :
> 
> 1) I am unable to figure out how to configure the node. What should I  
> mention instead of '-adhocRouting' in the following code :
> 
> $ns_ node-config -adhocRouting $val(rp) \
>             -llType $val(ll) \
>             -macType $val(mac) \
>          ....
> 
> 2) What routing protocol are used in general(while accessing internet  
> say). How to configure it in ns2 ?
> 
> 3) Is it ok if I consider Access Point as any other node which is the  
> sender(and rest nodes as receivers) or should the access point be  
> configured differently?
> 
> Any help is greatly appreciated.(You may point me to some link which  
> can give me any leads) Thank you.
> 
> Karthik
> 
> ------------------------------
> 
> Message: 2
> Date: Tue, 17 Feb 2009 11:33:05 +0100
> From: obaid abbasi <obaidabb...@gmail.com>
> Subject: [ns] TCL Commands
> To: ns-users@ISI.EDU
> Message-ID:
>       <26a7b1700902170233q79b9a446pf4fa3a7381d46...@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Hi,
> 
> How can I find the complete list of TCL commands available in NS2?
> 
> Regards,
> Ubaid
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Tue, 17 Feb 2009 13:02:02 +0100
> From: ???? <avtom...@yandex.ru>
> Subject: [ns] Throughput value difference in 802.11
> To: <ns-users@ISI.EDU>
> Message-ID: <031f01c990f7$8c092060$b6db1...@tiger>
> Content-Type: text/plain;     charset="UTF-8"
> 
> Hi!
> I am using 802.11 Ext model and when I plot the througput in Xgraph it turns 
> out to be different depending on how many traces (e.g. MAC trace, Agent 
> trace, PHY trace) are turned ON. But the thoughput can't change. 
> So the question is how can I know where there is   a REAL throughput value?
> Thanks in advance!
> Ivan.
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Tue, 17 Feb 2009 14:13:12 +0000
> From: V K rathi <vini_ra...@hotmail.com>
> Subject: [ns] FW: Query regarding nam
> To: <ns-users@ISI.EDU>
> Message-ID: <bay124-w1753cf03c9e6f91c3e1d43ee...@phx.gbl>
> Content-Type: text/plain; charset="Windows-1252"
> 
> 
> 
> 
>  
> 
> 
> 
> 
> Respected members,
> 
> I have installed ns-2.33 on cygwin on my vista home basic laptop.
> 
> while running simple example programs, I get error,
> 
> $ nam: no display name and no $DISPLAY environment variable.
> 
>  
> 
> I tried set it with export DSIPLAY=:0.0
> 
> it gives error  
> 
> $ nam: couldn't connect to display "0.0"
> 
> I also tried  startx before running programs, it gives following error,
> 
> $ nam: 
> 
> [code omitted because of length] 
> 
> : no event type or button # or keysym 
> 
>    while executing 
> 
> "bind Listbox <MouseWheel> { 
> 
> %W yview scroll [expr {- (%D / 120) * 4}] units 
> 
> }" 
> 
>    invoked from within 
> 
> "if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} { 
> 
> bind Listbox <MouseWheel> { 
> 
> %W yview scroll [expr {- (%D)}] units 
> 
> } 
> 
> bind Li..." 
> 
> 
> I tried xhost+ command, it says command not found.
> 
> can anybody figure out where the problem lies?
> 
> I am new to ns-2 as well as linux environment so please.....
> 
>  
> 
> Thanks in anticipation.
>  
> Regards,
>  
> Vinod Kumar Maheshwari.
> st106...@ait.ac.th.
>  
> 
> 
> 
> 
> Want to do more with Windows Live? Learn ?10 hidden secrets? from Jamie. 
> Learn Now
> _________________________________________________________________
> See how Windows connects the people, information, and fun that are part of 
> your life.
> http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/
> 
> ------------------------------
> 
> Message: 5
> Date: Tue, 17 Feb 2009 16:23:22 +0100
> From: Remi VANNIER <remi.vann...@ens-lyon.fr>
> Subject: Re: [ns] Throughput value difference in 802.11
> To: ns-users@ISI.EDU
> Message-ID: <499ad66a.6050...@ens-lyon.fr>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Your plot script reads data in the trace files. Your script should sum 
> the sizes of the packets at the AGT level. If the throughput changes, 
> that must mean you don't specify the kind of lines you want to read in 
> your plot script.
> 
> I don't see any other explanation.
> 
> Remi
> 
> 
> 
> ------------------------------
> 
> Message: 6
> Date: Tue, 17 Feb 2009 16:42:11 +0100
> From: Remi VANNIER <remi.vann...@ens-lyon.fr>
> Subject: [ns] Questions are never answered
> To: ns-users@ISI.EDU
> Message-ID: <499adad3.5070...@ens-lyon.fr>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Hi all,
> 
> Most questions on these mailing list are left unanswered. Either people 
> answer directly to the authors, which is a pity, because these answers 
> could be of some use to others or there are other places I don't know 
> where you can actually get answers.
> 
> 
> 
> 
> ------------------------------
> 
> Message: 7
> Date: Tue, 17 Feb 2009 15:53:23 +0000
> From: Syed Faraz Hasan <faraz_hasa...@email.ulster.ac.uk>
> Subject: [ns] IP layer information NS-2
> To: "ns-users@isi.edu" <ns-users@ISI.EDU>
> Message-ID:
>       
> <b3779fc936e6e94f82f18caa998222122d5edbb...@db2prd0101mb007.eurprd01.prod.exchangelabs.com>
>       
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hi everyone!
> 
> How do I access IP layer in NS-2. In wireless simulations, I use MAC to 
> declare AP and Transport Layer by defining TCP traffic across the network. 
> Where and how do I specify IP Layer? I mean, is NS-2 using IP layer when I 
> send packets from one node to another? Which version of IP is NS-2 using, 
> IPv4 or IPv6? How do I use either of them?
> 
> Regards,
> Faraz
> 
> 
> ------------------------------
> 
> Message: 8
> Date: Tue, 17 Feb 2009 17:13:08 +0100
> From: Salvo Danilo Giuffrida <giuffsa...@gmail.com>
> Subject: [ns] 0 throughput for FTP connection...
> To: ns-users@ISI.EDU
> Message-ID:
>       <cd9bd4150902170813i7615f74by2039c10843a95...@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Hello, I've tried, both in a wireless and wired scenario, to setup an
> FTP connection between two nodes. Everything works, except for the
> fact that, if during the simulation I try to print some statistics
> about the TCP or TCPSink agent, such as the values of variables...
> ndatapack_
> ndatabytes_
> nackpack_
> 
> The only value always reported is 0, despite the fact that there is
> traffic going on between the FTP source and its destination? The
> reason I'm trying to do this, is to calculate the total amount of data
> correctly transfered (that is, not counting duplicated packets).
> What am I doing wrong? Thanks
> 
> 
> 
> ------------------------------
> 
> Message: 9
> Date: Tue, 17 Feb 2009 17:29:02 +0100
> From: "Mats Folke" <mats.fo...@ericsson.com>
> Subject: Re: [ns] Questions are never answered
> To: <ns-users@ISI.EDU>
> Message-ID:
>       <81dd8ea2638a554ea2da738b270f63fa32f...@esealmw114.eemea.ericsson.se>
> Content-Type: text/plain;     charset="iso-8859-1"
> 
> Hi Remi,
> 
> Remi VANNIER wrote:
> > Hi all,
> > 
> > Most questions on these mailing list are left unanswered. Either
> > people answer directly to the authors, which is a pity, because these
> > answers could be of some use to others or there are other places I
> > don't know where you can actually get answers.
> 
> Or, there are no answers. Many people on this list do cutting-edge research 
> which means that there are no straight answers. Typical example, there might 
> not exist an implementation of ad-hoc routing protocol XYZ because only five 
> people in the world know about it, and they use OMNET.
> 
> However, I believe there are other reasons for questions not being answered 
> as well. These URLs should be read before posting questions.
> http://www.isi.edu/nsnam/ns/ns-faq.html
> http://www.catb.org/~esr/faqs/smart-questions.html
> 
> The latter one exists in a number of translations. This might be useful for 
> people (like myself) not using English as their mother tounge.
> 
> Take care,
> -- 
> Mats Folke, M.Sc., Lic.Eng.
> Research Engineer
> 
> Ericsson AB                     Office: +46 10 7171385
> Ericsson Research               Fax: +46 920 99621
> P.O. Box 920                    Mobile: +46 76 1271385
> SE-971 28 Lule?
> 
> 
> 
> ------------------------------
> 
> Message: 10
> Date: Tue, 17 Feb 2009 17:46:02 +0000
> From: sarym binome <binome_...@hotmail.com>
> Subject: [ns] add library to configure.in or makefile
> To: simulateur user <ns-users@ISI.EDU>, <annacha...@gmail.com>
> Message-ID: <snt106-w17f7ab803aed2a22e1d3b1fc...@phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> 
> hi everybody
> 
> i add a function  in a AODV protocol, this function use a openssl  library 
> (cryptography library ) when i run ./configure and make , i have error cause 
> it didn't recognize the code
> 
> aodv/aodv.o: In function `AODV::AODV(int)':
> aodv.cc:(.text+0x266f): undefined reference to `OpenSSL_add_all_digests'
> aodv.cc:(.text+0x2693): undefined reference to `RSA_generate_key'
> aodv.cc:(.text+0x26a9): undefined reference to `RSAPublicKey_dup'
> collect2: ld returned 1 exit status
> make: *** [ns] Error 1
> 
> 
>  i try this code before in simple program, i compile it with  
> g++ -lssl -lcrypto simple.cc -o simple_exec and i'd no problem!
> 
> therefore i suppose that i have to add -lssl and -lcrypto to my configure.in 
> but i have no idea how and where i can add this lib 
> something like this in configure.in (or maybe makefile.in)
> AC_CHECK_LIB([ssl], [SSL_library_init], [LIBS="$LIBS -lssl -lcrypto"])
> somebody help me please 
> best regard 
> 
> 
> _________________________________________________________________
> D?couvrez Windows Live Spaces et cr?ez votre site Web perso en quelques clics 
> !
> http://spaces.live.com/signup.aspx
> 
> ------------------------------
> 
> Message: 11
> Date: Tue, 17 Feb 2009 21:14:54 +0100
> From: Salvo Danilo Giuffrida <giuffsa...@gmail.com>
> Subject: [ns] node off doesn't work
> To: ns-users@ISI.EDU
> Message-ID:
>       <cd9bd4150902171214l2fd24a38j2f1b6f5a9a6e1...@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> I'm trying to set-up a simulation of a wireless network, where nodes
> can go down during the course of an FTP transfer.
> To achieve this, I schedule the shutdown of a node with
> $ns_ at $time "$node_($i) off"
> 
> The problem is that, when I run the simulation, this is the error
> message that NS-2 gives me
> 
> ns: _o90 reset-state:
>     (_o90 cmd line 1)
>     invoked from within
> "_o90 cmd reset-state"
>     invoked from within
> "catch "$self cmd $args" ret"
>     invoked from within
> "if [catch "$self cmd $args" ret] {
> set cls [$self info class]
> global errorInfo
> set savedInfo $errorInfo
> error "error when calling class $cls: $args" $..."
>     (procedure "_o90" line 2)
>     (SplitObject unknown line 2)
>     invoked from within
> "_o90 reset-state"
> 
> I looked into the file 'mobilenode.cc', in the method
> MobileNode::command(....), and this is the C++ code called when the
> Tcl command "off" is called
> 
>               } else if (strcmp(argv[1], "off") == 0) {
>                       energy_model()->node_on() = false;
>                       tcl.evalf("%s set netif_(0)", name_);
>                       const char *str = tcl.result();
>                       tcl.evalf("%s NodeOff", str);
>                       tcl.evalf("%s set ragent_", name_);
>                       str = tcl.result();
>                       tcl.evalf("%s reset-state", str);
>                       God::instance()->ComputeRoute();
>                       return TCL_OK;
> 
> So, I guess that the problem arises when the command "reset-state" is
> called on the DSR routing agent, represented in Tcl by the node's
> variable "ragent_". I looked into the file 'dsragent.cc', and
> elsewhere in the C++ source of NS-2, but there's no mention of a
> corresponsing method, it's like if this "reset-state" command is not
> bound to any C++ method.
> Do you have more information about this strange behaviour? I tried to
> shutdown nodes using
> "$node_($i) shutdown"
> But that doesn't work, in fact if I visualize the nam trace, traffic
> from/to the shutted down node continues...
> Do you know if there would be "collateral effects" if I'd comment the line
> tcl.evalf("%s reset-state", str) ?
> 
> Thanks a lot
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> Ns-users mailing list
> Ns-users@isi.edu
> http://mailman.isi.edu/mailman/listinfo/ns-users
> 
> 
> End of Ns-users Digest, Vol 62, Issue 17
> ****************************************

Reply via email to