Re: [ns] developing new queue management

2006-04-29 Thread Ilyes Gouta
Hi, You have to create the necessary TCL binding within your new C++ code too. That binding will be used later by your simulation scripts. In the C++ part, you'll have to add a class like this: static class NewQueueClass : public TclClass { public: NewQueueClass () : TclClass("Queue/New

Re: [ns] installation of ns-allinone2.27 under linux redhat9

2006-04-29 Thread Ilyes Gouta
Hi, Actually it depends on the shell you're using. By default, redhat distro. comes with bash as a default shell, so that the associated startup script is actually .bashrc and not .cshrc. You can edit that script from your home directory and add lines like: export LD_LIBRARY_PATH=$LD_LIBRARY_PAT

[ns] Wireless transmissions look like they take no time

2006-04-29 Thread Paul Vincent Craven
I'm trying a very simple wireless simulation while I'm learning to use ns-2. The output of it seems to show the wireless transmissions happening instantly: s 10.0 _0_ AGT --- 4 cbr 1000 [0 0 0 0] --- [0:0 1:0 32 0] [0] 0 0 r 10.0 _0_ RTR --- 4 cbr 1000 [0 0 0 0] --- [0:0

Re: [ns] developing new queue management

2006-04-29 Thread TAING Nguon
Hi, Check your ns command whether its creation date is the date you compiled all ns files. you can use ls -l command. Nguon --- "Eduardo J. Ortega" <[EMAIL PROTECTED]> wrote: > > Hi: > I tried this, recompiled ok, but my sims won't run > no matter what my code is. > i thought maybe my code w

Re: [ns] liste of neighbors according to the time

2006-04-29 Thread TAING Nguon
Hi, you must provide the routing algorithm that you simulated, for example, DSDV, AODV, or DSR. As I know for table routing protocols such as DSDV, you can a list of neighbor nodes of a node by editing routing information table on the node. For on-demand routing protocols, such as DSR, you mig

[ns] NOAH routing protocol HOWTO

2006-04-29 Thread lekkie omotayo
Pls, does anybody has an example on how to use the NO AdHoc routing protocol on 802.11. I can seem to find ow to use it. I need to send packets to among mobile nodes using Access Points without using the nearest neighbour routing (Adhoc). I need to send the packet thru an access point to anoda no

[ns] OLSR UNDER ns2.29????

2006-04-29 Thread hamdi benmessaoud
Thank you verry much for your reply , I have downloaded the um-olsr version and patched it to my ns2.29 All was Ok . But when i tried to use olsr protocol in my script, it failed and I get this errors (_o15 cmd line 1) invoked from within "_o15 cmd addr" inv

Re: [ns] developing new queue management

2006-04-29 Thread Eduardo J. Ortega
Hi: I tried this, recompiled ok, but my sims won't run no matter what my code is. i thought maybe my code was wrong, so i decided to copy droptail.{cc,h} to fifo.{c,h}and change class names to FIFO, then add fifo.o to makefile and recompiile. It compiled, but again, sims won't run when i try to

[ns] How catch Parameters of 802.11 wireless Network Card?

2006-04-29 Thread hamid reza
Thanks For your response, we have a tech spec for special WLAN Card. How can I convert its specifications to NS2 Parameters? Example How can I retrieve CSThresh_ and Pt_ and ... >From a spec tech on special WLAN Card. Best Regards Hamid Reza __ D

[ns] error message: bad file size ...

2006-04-29 Thread piyush sharma
Hi ns-users! I want to use a trace file to generate the traffic for my ns2 simulations. I have created a file in ascii (the first column is for the inter-packet times in micro-second while the second is the packet size in bytes) which in intended to serve as the source for traffic generation (us

[ns] Error: Segmentation Fault (Core Dumped)

2006-04-29 Thread Tomáš Pataj
Hi NS users, I tried to make some changes in DiffServ module according to Sergio Anderozzi DiffServ patch. His patch is functional in version NS-2.1b8a. Patch is here: http://www.cnaf.infn.it/~andreozzi/research/network/download.html http://www.cnaf.infn.it/~andreozzi/research/network/diffserv.pa

Re: [ns] how to convert from c++ to tcl

2006-04-29 Thread Ilyes Gouta
Hi, C++ isn't a scripting language. Regards, Ilyes Gouta. On 4/29/06, kala dridi <[EMAIL PROTECTED]> wrote: > > hi everybody > i want just to ask if any one could help me with the procedure that i should > follow to convert a script from c++ to tcl. i would really be gratful if > anyone could h

Re: [ns] URGET: How Conervt Parameters of 802.11 WLAN Card To NS2 Parameters?

2006-04-29 Thread Ilyes Gouta
Hi, Emulating a real card on NS is pretty hard actually since in real-life, the WLAN card would change dynamically it's transmission power and RX/CS Thresholds during an association with an access point. Let's assume that you got the different parameters then you could use them within NS by alter

Re: [ns] developing new queue management

2006-04-29 Thread Ilyes Gouta
Hi, Have a look into the ~/ns-2.x/queue directory. You'll find all sorts of implementations for different active queues. This include RED, RIO, PRIO, JOBS, etc. Implementing a new queue is rather easy actually, you'll have to inherit from Queue and implement the enque() and deque() methods. This

[ns] send a reply to a special comment

2006-04-29 Thread hamid reza
hi all, I have a question : How can I send a reply to a special comment in this topic? Best Regards Hamid Reza __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

[ns] developing new queue management

2006-04-29 Thread Eduardo J. Ortega
hey there: anyone knows how to code new queue algorithms into NS? (for example, choke)? Thanks. -- Eduardo J. Ortega - Linux user #222873 "No fake - I'm a big fan of konqueror, and I use it for everything." -- Linus Torvalds

[ns] Urgent Help Needed-Wireless nam

2006-04-29 Thread Oben Kandamar
Hi, You can see my code attached. I cann not get .nam output for it. I get node x is not defined warning. Any help is appreciated. Regards # == # Define options #

[ns] sending beacon messages in ad hoc network

2006-04-29 Thread debojit boro
Hi all, I am trying to send beacon/hello messages while implementing a ad hoc protocol(DSR).Can anyone please help me of how to send beacon/hello messages in adhoc network.Also is it possible to see my sending of beacon messages while running nam.Plzzz help me out at the earlist if anyone k

[ns] how to convert from c++ to tcl

2006-04-29 Thread kala dridi
hi everybody i want just to ask if any one could help me with the procedure that i should follow to convert a script from c++ to tcl. i would really be gratful if anyone could help me. thanks alot in advance. _ Testez Windows Llive

[ns] OLSR under NS2.29 ?????

2006-04-29 Thread hamdi benmessaoud
Hi all, I 'm working with the Network Simulator 2 version 2.29 under LINUX and I want to use OLSR in my simulations. So i tried -The method exposed in the site of hipercom - but it didn't work . So please can you give me a method to patch OLSR under ns2.29 Thanks