From tomhend at u.washington.edu Tue Sep 1 00:30:07 2009 From: tomhend at u.washington.edu (tomhend@u.washington.edu) Date: Tue, 1 Sep 2009 00:30:07 -0700 Subject: [ns] ns-2 FAQ Message-ID: <200909010730.n817U7Y6022107@ns-regression.ee.washington.edu> The Network Simulator ns-2: Frequently Asked Questions Note: This FAQ is now available at the project wiki: http://nsnam.isi.edu/nsnam/index.php/Ns_Users_FAQ _The mailing is is now subscriber only---please see the FAQ entry on "How do I post to the mailing list? Why was my post rejected?" for details._ * _Where do I get ns?_ From the ns web site at http://www.isi.edu/nsnam/ns/ns.html and the download page http://www.isi.edu/nsnam/ns/ns-tests.html. * _What platforms does ns run on and what kind of hardware do I need?_ Please see "where to start" on the building ns web page: http://www.isi.edu/nsnam/ns/ns-build.html#start. * _What should I do if I have trouble downloading/extracting ns?_ This question is answered in detail at http://www.isi.edu/nsnam/ns/ns-problems.html#downloading. * _What should I do if I encounter problems building ns?_ Check: 1. the README that comes in the distribution (very brief), 2. the "installation problems, bug fixes and help" web page http://www.isi.edu/nsnam/ns/ns-problems.html, 3. the archives of the ns-users mailing list http://www.isi.edu/nsnam/ns/ns-lists.html, 4. post a bug report (see below) http://www.isi.edu/cgi-bin/nsnam/reportbug.cgi. * _What do I do after I successfully build ns?_ + Put the path to your ns executable into your PATH environment + Put the path to your otcl into your LD_LIBRARY_PATH environment + Put the path to your tcl library into your TCL_LIBRARY environment * _Where can I find documentation for ns?_ All documentation is linked from the main ns web page http://www.isi.edu/nsnam/ns/. Documentation includes a tutorial (originally from Marc Greis) and a reference manual (ns notes and documentation). * _Words, words, words... that documentation is nice, but where are some sample scripts I can start from?_ Many sample scripts can be found in the ns distribution in ~ns-2/tcl/ex and ~ns-2/tcl/test. * _What protocols does ns support?_ A lot! Almost all variants of TCP, several forms of multicast, wired networking, several ad hoc routing protocols and propagation models (but not cellular phones), data diffusion, satellite, and other stuff. See the documentation (described above) for details, or download ns and look. * _How do I know that ns correctly implements these protocols?_ Ns has validation tests that cover many protocols, see http://www.isi.edu/nsnam/ns/ns-tests.html. However, ultimately users are responsible for verifying that ns is accurate for their purposes---since we cannot foresee all the ways ns may be used, we cannot test all cases with all inputs. * _Are there any contributed/additional protocols not in the main distribution?_ Yes, please see the contributed code web page http://www.isi.edu/nsnam/ns/ns-contributed.html. The mailing list archives can also be helpful (see below). * _How should I get started doing something (like implementing a new protocol or trying an experiment)?_ We recommend that you look through the tutorial (see documentation, above), then start with an example program that is most similar to yours (in the tutorial, or in tcl/ex or tcl/test in the distribution), and then start changing things. * _What should I do to compile ns to reflect my changes if I've modified some .cc or .h files?_ go to ns directory and run "make" or "make depend; make" * _How do I subscribe to the ns-users mailing list? How do I search old list archives? I can't take any more---how do I get off this list?_ To subscribe or unsubscribe, see http://www.isi.edu/nsnam/ns/ns-lists.html. The list archive is at http://www.isi.edu/nsnam/ns/ns-lists.html. * _How do I post to the mailing list? Why was my post rejected?_ As of June 2004 the ns-users lists allow posts from _subscriber only_. If you're not a subscriber, your posts to the list will be rejected. (This is unfortunately necessary to dispose efficiently of spam; manual filtering is too expensive.) We realize that the list is high traffic, so if you wish to post to the list without receiving messages on it, please subscribe and select the _no-mail_ option for your subscription. For details about the mailing list including mailing-list specific FAQ (for example, what if you're subscribed but still can't post), please see http://www.isi.edu/nsnam/ns/ns-lists.html. * _Did my post appear on the mailing list? (Or, why didn't my post appear on the mailing list?)_ See the http://www.isi.edu/nsnam/ns/ns-lists.html web page for help debugging mailing list problems. * _What if I have a question that's not answered here?_ If you've checked the installation problems and bug fixes web page (http://www.isi.edu/nsnam/ns/ns-problems.html) and there's no answer to your question, you may want to file a bug report or post a question to the ns-user's mailing list. First, you should check the archive of the list at http://www.isi.edu/nsnam/ns/ns-lists.html. Your question may already be answered there. If not, you can post a bug report using the web form at http://www.isi.edu/cgi-bin/nsnam/reportbug.cgi. If your question is NOT about ns implementation bugs, you may wish to post to the list. First you should subscribe. Subscription instructions are at http://www.isi.edu/nsnam/ns/ns-lists.html. _Please note that mail sent to the list is publicly distributed and archived. _If you have concerns about your message being made public (spam harvesting of your address), please consider that _before_ posting. We cannot remove messages from reciepient's mailboxes or the public archive after they're posted. When posting bug reports, please _always_ include information including at least (the bug report form includes spaces for these): + what version of ns you're using, + what operating system you're running on (not just Linux or Solaris, but RedHat version 7.0 or Solaris 2.4---send us the output of "uname -a"), + what specific behavior you see (if ns doesn't compile, what's the specific error; if TCP does something strange, what exactly did it do [send a pointer to a packet trace]), + what behavior you expected to see (if ns doesn't compile this is obvious, but if TCP does something strange, why is it strange, where is the TCP spec violated?), + pointers to your script detailed output files, + a statement that "yes, I've read the FAQ, ns-problems page, and manual and I couldn't find the answer there" (or a statement about why you didn't do that yet :-) Soo-Hyun Choi observed from posts to the list: _Sometimes, I see this list is filled with the questions with: 1) asked many times before 2) hardly understandable what this guy is asking 3) too easy to find an answer over a few clicks over the Internet 4) soliciting to do their homework in a simple way by asking in this list 5) easily seekable an answer by contributing a couple of hours of reading the ns-manual 6) etc, etc. _ _As many of us in this list are doing an advanced degree, it would be suggested to read the following article in order to raise a useful/meaningful question in a smart way. http://www.catb.org/~esr/faqs/smart-questions.html _ This is _very_ good advice, since asking the Right Question is very likely to get a good/helpful answer, while asking a question poorly. For example, think about how you would answer these two questions: _"Ns doesn't work for me, it crashes. Help."_ as compared to _"I get a segmentation fault when running test script test-suite-webcache on Mandrake 10 Linux. The backtrace is on my web page at www.someu.edu/~someone. It looks like it passes in the on-line test suites, but it fails for me. Am I doing something wrong?_ A reminder about mailing list etiquette: + Please check the web pages and list archives before posting your question. + Please keep the body of your post to simple ASCII, not HTML. + Please do _not_ send large attachments (if what you have is bigger than a few kilobytes, put it on a web page and send a URL) + Before posting a question like "did people see my post" or "the list seems down", please check the archives (you can answer this question more accurately by checking yourself rather than asking). + Please don't post subscribe/unsubscribe requests directly to the list, use the lists' information page. (see the web page mentioned above for details). From r.sachasiri at isae.fr Tue Sep 1 02:43:49 2009 From: r.sachasiri at isae.fr (Ravit Sachasiri) Date: Tue, 1 Sep 2009 11:43:49 +0200 Subject: [ns] TORA protocol In-Reply-To: <72c728fe0909010240y50caf05fw11e66fdea4b34bb6@mail.gmail.com> References: <72c728fe0909010240y50caf05fw11e66fdea4b34bb6@mail.gmail.com> Message-ID: <72c728fe0909010243u403afa83q74f89db58aeee7fe@mail.gmail.com> Hi, I had run a few test with TORA adhoc routing protocol and the issue is that there is a lot of routing agent being sent but no data packet is ever sent at MAC layer and hence no data is delivered. I used the same setting for other routing protocols and it works fine. Can anyone help me, in term of any extra command or settings that must be done for packets that are sent with TORA protocol? thank you. Sincerely, Ravit From pdro07 at gmail.com Tue Sep 1 03:34:20 2009 From: pdro07 at gmail.com (pedro chaparro) Date: Tue, 1 Sep 2009 12:34:20 +0200 Subject: [ns] socket libraries in ns-2? In-Reply-To: References: Message-ID: Hi, i need to know how can i integrate the sockets libraries used by linux, i'd loke to implement an agent that make a real connection network with a remote computer, i've tried to insert directly the code into ns-2 but when i compile , it said me that not recognize function commands as bind, send, close,...., i'm including all the .h files , but does not work anyway =( . I'll apreciate some help. thanks -- Ing Pedro Alonso Chaparro Valero Ciudad Politecnica de la Innovaci?n iTEAM - Mobile Communications Group Polytechnic University of Valencia C\ Camino de Vera S/N, Edificio 8G 46022 Valencia, Spain -- Ing Pedro Alonso Chaparro Valero Ciudad Politecnica de la Innovaci?n iTEAM - Mobile Communications Group Polytechnic University of Valencia C\ Camino de Vera S/N, Edificio 8G 46022 Valencia, Spain From iiimene at gmail.com Tue Sep 1 03:55:55 2009 From: iiimene at gmail.com (Imene) Date: Tue, 1 Sep 2009 12:55:55 +0200 Subject: [ns] How do we write environment variables?? please! Message-ID: <806550090909010355g39be265aif2ff8bc6b69203f5@mail.gmail.com> Hi, I have installed ns2.33 on fedora11 but it didn't work I think that the problem from environment variables i tryed many solutions in the net but it didn't works again Could anyone please tell me how i must write it this is the message after installation ------------------------------------------------------------ important notices (1) et (2) (1) You MUST put /home/Soukaina/Bureau/ns-allinone-2.33/otcl-1.13, /home/Soukaina/Bureau/ns-allinone-2.33/lib, into your LD_LIBRARY_PATH environment variable. If it complains about X libraries, add path to your X libraries into LD_LIBRARY_PATH. If you are using csh, you can set it like: setenv LD_LIBRARY_PATH If you are using sh, you can set it like: export LD_LIBRARY_PATH= (2) You MUST put /home/Soukaina/Bureau/ns-allinone-2.33/tcl8.4.18/library into your TCL_LIBRARY environmental variable. Otherwise ns/nam will complain during startup. ------------------------------------------------------------- thanks in advance From pdro07 at gmail.com Tue Sep 1 04:05:19 2009 From: pdro07 at gmail.com (pedro chaparro) Date: Tue, 1 Sep 2009 13:05:19 +0200 Subject: [ns] How do we write environment variables?? please! In-Reply-To: <806550090909010355g39be265aif2ff8bc6b69203f5@mail.gmail.com> References: <806550090909010355g39be265aif2ff8bc6b69203f5@mail.gmail.com> Message-ID: Why is exactly the problem? dont u have a ns executable? have u try some tcl script? 2009/9/1 Imene > > Hi, > > I have installed ns2.33 on fedora11 but it didn't work > I think that the problem from environment variables > i tryed many solutions in the net but it didn't works again > Could anyone please tell me how i must write it > > this is the message after installation > ------------------------------------------------------------ > important notices (1) et (2) > (1) You MUST put /home/Soukaina/Bureau/ns-allinone-2.33/otcl-1.13, > /home/Soukaina/Bureau/ns-allinone-2.33/lib, > into your LD_LIBRARY_PATH environment variable. > If it complains about X libraries, add path to your X libraries > into LD_LIBRARY_PATH. > If you are using csh, you can set it like: > setenv LD_LIBRARY_PATH > If you are using sh, you can set it like: > export LD_LIBRARY_PATH= > > (2) You MUST put /home/Soukaina/Bureau/ns-allinone-2.33/tcl8.4.18/library > into your TCL_LIBRARY environmental > variable. Otherwise ns/nam will complain during startup. > ------------------------------------------------------------- > thanks in advance > -- Ing Pedro Alonso Chaparro Valero Ciudad Politecnica de la Innovaci?n iTEAM - Mobile Communications Group Polytechnic University of Valencia C\ Camino de Vera S/N, Edificio 8G 46022 Valencia, Spain From iiimene at gmail.com Tue Sep 1 06:14:04 2009 From: iiimene at gmail.com (Imene) Date: Tue, 1 Sep 2009 15:14:04 +0200 Subject: [ns] how to uninstall ns2.33 on fedora Message-ID: <806550090909010614w408a793er7f9d13ff9c13a061@mail.gmail.com> Hi, Could you please say to me how to uninstall ns2.33 thanks in advance -------------------------------------------------------------------------------------------- P.S: I have installed it in following these steps yum install libX11-devel libXext-devel libXau-devel libXmu-devel tar xvf ns-allinone-2.33.tar.gz cd ns-allinone-2.33/ ./install ./validate --------------------------------------------------------------------------------- From amrita.saha87 at gmail.com Tue Sep 1 08:04:16 2009 From: amrita.saha87 at gmail.com (amrita saha) Date: Tue, 1 Sep 2009 08:04:16 -0700 (PDT) Subject: [ns] network security in ns2 Message-ID: <25241978.post@talk.nabble.com> Hi, I am new in this forum and i need help regarding simulation of a key distribution in a wireless sensor network. i want to know if there is any standard protocol for key distribution and authentication built in ns2. If anybody has any such implementation code or any information regarding this please help. Thanking You Amrita -- View this message in context: http://www.nabble.com/network-security-in-ns2-tp25241978p25241978.html Sent from the ns-users mailing list archive at Nabble.com. From ark35 at njit.edu Tue Sep 1 17:33:58 2009 From: ark35 at njit.edu (apoorv) Date: Tue, 1 Sep 2009 20:33:58 -0400 Subject: [ns] Reply : how to uninstall ns2.33 on fedora Message-ID: <943df2b30909011733s2eff90ddm70a6da7bc89aaef8@mail.gmail.com> Hi, Simply delete the ns-allinone2.33 folder and remove PATH from your system. Thank you and Regards Apoorv Khare From jules.aime at gmail.com Tue Sep 1 22:39:37 2009 From: jules.aime at gmail.com (=?ISO-8859-1?Q?Jules=2DAim=E9_Ntuyahaga?=) Date: Wed, 2 Sep 2009 13:39:37 +0800 Subject: [ns] how to implement the wormhole attack Message-ID: <4940dc900909012239la6493a4yddb26e98711b2db9@mail.gmail.com> Hi please tell me how to implement the wormhole attack in ns-2. I use the AODV protocol and ns-2.29. Please provide me the code and any useful comment. thanks Jules From neerajgupta37 at rediffmail.com Tue Sep 1 23:07:45 2009 From: neerajgupta37 at rediffmail.com (neeraj gupta) Date: 2 Sep 2009 06:07:45 -0000 Subject: [ns] record the nav Message-ID: <20090902060745.5362.qmail@f6mail-144-200.rediffmail.com> hi all how is it possible for an neighboring node of a source to know that the rts/cts and data/ack packet sent by source is successful. also where can i record the nav along with the sucees or failure of transmiited packet. basically i need to record the above facts to calculate the available bandwidth. if the session is success then recoed the nav or otherwise change the nav value by tdata+difs time. kindly help as it is urgent for my thesis work. thanxs Neeraj Gupta Assistant Professor HOD, CSE & IT Department Hindu College of Engineering Sonepat From bilal26 at hotmail.co.uk Wed Sep 2 00:23:16 2009 From: bilal26 at hotmail.co.uk (BilalAKhan) Date: Wed, 2 Sep 2009 00:23:16 -0700 (PDT) Subject: [ns] xgraph problem with its path registration in library... new file uploaded Message-ID: <25252775.post@talk.nabble.com> I have installed ns-2 successfully. I posted a message a few days back about xgraph compile error, in the reply of which I got a few replies and Mr. Tom mentioned that I might not have registered xgraph to the path correctly. I have made an installation guide for NS-2 installation http://www.nabble.com/file/p25252775/NS-2%2BInstallation%2BManual.doc NS-2+Installation+Manual.doc . In this guide there is also path given to xgraph. Can anyone please check this guide and tell me whether I have followed the right steps. I can cannot run trace analysis example. I have now uploaded another file.... I hope it opens... If not please try some other adobe reader or adobe acrobat 6.0. It is working fine with me in windows and linux both. If there is any other way of running trace analysis, can anyone please help me with it!!! Thanks in advance... Regards, Bilal A. Khan ----- Regards, Bilal A. Khan -- View this message in context: http://www.nabble.com/xgraph-problem-with-its-path-registration-in-%3CPATH%3E-library...-new-file-uploaded-tp25252775p25252775.html Sent from the ns-users mailing list archive at Nabble.com. From sadik.armagan at gmail.com Wed Sep 2 03:41:57 2009 From: sadik.armagan at gmail.com (=?ISO-8859-9?Q?SADIK_ARMA=D0AN?=) Date: Wed, 2 Sep 2009 11:41:57 +0100 Subject: [ns] How to set Data Rate on NS2 Message-ID: Hello everyone, I am just trying to use the Data Throughput as an handover trigger on NS2. I made the test on real time and I am trying to simulate the scenario on NS2. I want to set the Data Throughput ( Data Rate ) like ( 1 ,2 , 3, ...) second by second. Is there any code or any documentation about altering the Data Rate second by second on NS2? Thank you very much. Sadik From sadik.armagan at gmail.com Wed Sep 2 03:45:55 2009 From: sadik.armagan at gmail.com (=?ISO-8859-9?Q?SADIK_ARMA=D0AN?=) Date: Wed, 2 Sep 2009 11:45:55 +0100 Subject: [ns] -- How to set Retransmiision Rate on NS2 -- Message-ID: Hello everyone, I wanna use the Retransmission on NS2 and I don't know how to set retransmission rate second by second on NS2. I want to set the retransmission rate second by second and I want to see the network behaviour. Something like this, $ns at 0 "$ns retransmissionRate $host0_if0 $host1_if0 3.12477777 duplex" $ns at 1 "$ns retransmissionRate $host0_if0 $host1_if0 4.2205 duplex" $ns at 2 "$ns retransmissionRate $host0_if0 $host1_if0 3.12477777 duplex" $ns at 3 "$ns retransmissionRate $host0_if0 $host1_if0 4.2205 duplex" Is there any code to do this on NS2? Best Regards, -------------------------------------------- Sadik ARMAGAN From pdro07 at gmail.com Wed Sep 2 06:39:08 2009 From: pdro07 at gmail.com (pedro chaparro) Date: Wed, 2 Sep 2009 15:39:08 +0200 Subject: [ns] extern libraries with ns-2? Message-ID: hi, i'd like to use libraries to make real connections using unix sockets, what do i need to do that? what things or changes do i have to consider? thanks -- Ing Pedro Alonso Chaparro Valero Ciudad Politecnica de la Innovaci?n iTEAM - Mobile Communications Group Polytechnic University of Valencia C\ Camino de Vera S/N, Edificio 8G 46022 Valencia, Spain From urlan at comp.ufla.br Wed Sep 2 07:38:17 2009 From: urlan at comp.ufla.br (Urlan Salgado de Barros) Date: Wed, 2 Sep 2009 11:38:17 -0300 Subject: [ns] 802.11 Frame Generator - some doubts Message-ID: <9bfab37d0909020738w17c0d708ybdbb919151ed59ec@mail.gmail.com> Hello everybody, I'm developing a 802.11 frame generator, but I'm having some difficulties. That generator must creates frames like Traffic Generator class, but without pass to Routing Layer and transmissions are only single hop, like DumbAgent class. I've created a class FrameGenerator that inherits from Connector. I also consider a timer (TimerHandler), to schedule events: FrameGenerator :: FrameGenerator() : Connector(), timer_(this) In tcl, I create two FrameGenerator atributes and attach them to the nodes. One node will send frames and another node will receive frames. Later, FrameGenerator atributes are connected: # Creating FrameGenerator atribute to send frames set fg [new Mac/FrameGenerator] $ns_ attach-agent $node_($src) $fg # Creating FrameGenerator atribute to receive frames set null [new Mac/FrameGenerator] $ns_ attach-agent $node_($dst) $null # Connecting atributes $ns_ connect $fg $null # Idle time transmission $fg setIdleTime $idle_time_ # Start time transmission $fg setStart $start_time # Stop time transmission $fg setStop $stop_time To send frames, class FrameGenerator calls send() method. That method allocates memory to one packet and calls method schedule() passing the parameters, NSObject target_ (a Connector's class attribute), the packet and the delay time: void FrameGenerator :: send(double time) { Packet *p = this->allocpkt(); Scheduler::instance().schedule(target_, p, time); this->send_frames_++; } However, just a few packets arrive in recv() method and routing protocol tries to create a route between src and dst nodes. To allocate packets, method send() calls method allocpkt(): Packet* FrameGenerator :: allocpkt() { Packet *p = Packet::alloc(); struct hdr_cmn *ch = HDR_CMN(p); struct hdr_mac802_11* mac_h = HDR_MAC802_11(p); hdr_ip* iphdr = hdr_ip::access(p); iphdr->dst_.addr_ = (u_int32_t)(this->dst_); iphdr->src_.addr_ = (u_int32_t)(this->src_); ch->direction() = hdr_cmn::DOWN; // ch->addr_type() = NS_AF_ILINK; ch->addr_type() = NS_AF_INET; ch->next_hop_ = this->dst_; ch->last_hop_ = this->dst_; ch->num_forwards() = 0; ch->size() = 1000; STORE4BYTE(&this->dst_, (mac_h->dh_ra)); STORE4BYTE(&this->src_, (mac_h->dh_ta)); return p; } I don't know if this way is correct. My idea is to create a class that communicates directly with Link Layer without pass to Routing Layer. Thanks. Urlan From oriandmish at gmail.com Wed Sep 2 09:04:19 2009 From: oriandmish at gmail.com (ori and mish bgu) Date: Wed, 2 Sep 2009 19:04:19 +0300 Subject: [ns] add grid or draw lines in nam Message-ID: Dear users Anyone knows how to add grid to nam ? It's funny that I can't see the network dimensions when looking on the visualizer .. If there is no grid option, maybe someone knows how to draw a line in nam ? .. Thanks Michael From manoula_18 at hotmail.fr Wed Sep 2 10:35:37 2009 From: manoula_18 at hotmail.fr (manel MK) Date: Wed, 2 Sep 2009 17:35:37 +0000 Subject: [ns] Mannasim compilation error Message-ID: Hello ns-users , When trying to compile my module ( protocol ) under ns-2 using mannasim module extension for sensors networks . I have this errors : In file included from mannasim/processing.h:47, from mannasim/accessPointApp.h:45, from mannasim/accessPointApp.cc:37: mannasim/dataGenerator.h: In member function ?virtual AppData* DataGenerator::collect()?: mannasim/dataGenerator.h:94: erreur: return-statement with no value, in function returning ?AppData*? mannasim/dataGenerator.h:95: attention : ? return ? manquant dans une fonction devant retourner une valeur mannasim/dataGenerator.h: In member function ?virtual AppData* DataGenerator::getMaximumAllowedValue()?: mannasim/dataGenerator.h:133: erreur: return-statement with no value, in function returning ?AppData*? mannasim/dataGenerator.h:134: attention : ? return ? manquant dans une fonction devant retourner une valeur mannasim/dataGenerator.h: At global scope: mannasim/dataGenerator.h:65: attention : inline function ?virtual void EventTimer::expire(Event*)? used but never defined mannasim/dataGenerator.h:52: attention : inline function ?virtual void SensingTimer::expire(Event*)? used but never defined mannasim/sensorBaseApp.h:83: attention : inline function ?virtual void DisseminatingTimer::expire(Event*)? used but never defined make: *** [mannasim/accessPointApp.o] Erreur 1 Please , can anyone tell me how to solve this error , or what was the causes of this problem . Looking for answer soon . _________________________________________________________________ Achetez un nouveau PC et b?n?ficiez de Windows 7 d?s sa sortie ! http://www.portable-windows.com/ From iiimene at gmail.com Wed Sep 2 21:48:03 2009 From: iiimene at gmail.com (Imene) Date: Thu, 3 Sep 2009 06:48:03 +0200 Subject: [ns] Problem in installing ns2.34 Message-ID: <806550090909022148gc16b54ahb2f030b82ee43280@mail.gmail.com> Hello, * *After installing ns2.34 , I have tryed ns command but it returns *"ns command not found" ** * I have followed these steps: 1) su , password 2) yum install libX11-devel libXext-devel libXau-devel libXmu-devel 3) exit 4) tar xvf ns-allinone-2.34.tar.gz 5) cd ns-allinone-2.34 6) ./install 7) To set enviroment variables, I have done like this cd /etc gedit ~/.bashrc then I have added these lines on the file .bshrc *# LD_LIBRARY_PATH OTCL_LIB=/home/Imene/ns-allinone-2.34/otcl-1.13 NS2_LIB=/home/Imene/ns-allinone-2.34/lib export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB # TCL_LIBRARY TCL_LIB=/home/Imene/ns-allinone-2.34/tcl8.4.18/library export TCL_LIBRARY=$TCL_LIB # PATH XGRAPH=/home/Imene/ns-allinone-2.34/bin:/home/Imene/ns-allinone-2.34/tcl8.4.18/unix:/home/Imene/ns-allinone-2.34/tk8.4.18/unix NS=/home/Imene/ns-allinone-2.34/ns-2.34/ NAM=/home/Imene/ns-allinone-2.34/nam-1.14/ PATH=$PATH:$XGRAPH:$NS:$NAM* after that I saved the .bshrc file and I closed it *source ~/.bashrc* (to save changes in the .bshrc file) 8) cd ns-2.34/ 9) ./validate after ./ validate this message appears: *These messages are NOT errors and can be ignored: warning: using backward compatibility mode This test is not implemented in backward compatibility mode validate overall report: some portable tests failed: ./test-all-red to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME * Then when I have tryed *cd Imene/ns-allinone-2.34/ns-2.34/ ./ns* ' % ' is displayed and when I tryed *cd Imene/ns-allinone-2.34/nam-1.14/ ./nam* the "Nam Console was opened, so nam is OK. and when I tryed the echo command it return *[Imene at localhost ~]$ echo LD_LIBRARY_PATH LD_LIBRARY_PATH [Imene at localhost ~]$ echo TCL_LIBRARY TCL_LIBRARY [Imene at localhost ~]$ echo PATH PATH* I can't understand from what the problem? Could you please explain me what is the problem? Thanks a lot for your help !!! From amina.hayat95 at gmail.com Thu Sep 3 05:58:55 2009 From: amina.hayat95 at gmail.com (Amina Hayat) Date: Thu, 3 Sep 2009 14:58:55 +0200 Subject: [ns] Compilation Error Message-ID: Hi Everyone I am trying to compile GT-ITM tool on Debian Linux. As per instructions in the Readme file i issued the following commands but got errors on the second one(make all). Can anybody please help remove these errors? 1. make veryclean \rm -f *.o \rm -f ../bin/* 2. make all gcc -I../include -L../lib -c -o itm.o itm.c gcc -I../include -L../lib -c -o geog.o geog.c geog.c: In function ?geo?: geog.c:191: warning: incompatible implicit declaration of built-in function ?malloc? geog.c:255: warning: incompatible implicit declaration of built-in function ?free? geog.c: In function ?geo_hier?: geog.c:411: warning: incompatible implicit declaration of built-in function ?calloc? geog.c:586: warning: incompatible implicit declaration of built-in function ?free? gcc -I../include -L../lib -c -o ts.o ts.c ts.c: In function ?fdiam?: ts.c:87: warning: incompatible implicit declaration of built-in function ?malloc? ts.c:94: warning: incompatible implicit declaration of built-in function ?malloc? ts.c:155: warning: incompatible implicit declaration of built-in function ?free? ts.c:158: warning: incompatible implicit declaration of built-in function ?free? ts.c: In function ?die?: ts.c:175: warning: incompatible implicit declaration of built-in function ?exit? ts.c: In function ?transtub?: ts.c:270: warning: incompatible implicit declaration of built-in function ?malloc? ts.c:294: warning: incompatible implicit declaration of built-in function ?free? ts.c:541: warning: incompatible implicit declaration of built-in function ?exit? ts.c:666: warning: incompatible implicit declaration of built-in function ?free? gcc -I../include -L../lib -c -o dfs.o dfs.c dfs.c: In function ?isconnected?: dfs.c:34: warning: incompatible implicit declaration of built-in function ?malloc? dfs.c:41: warning: incompatible implicit declaration of built-in function ?free? gcc -I../include -L../lib -o ../bin/itm itm.o geog.o ts.o dfs.o -lm -lgb-linux gcc -I../include -L../lib -c -o sgb2alt.o sgb2alt.c gcc -I../include -L../lib -o ../bin/sgb2alt sgb2alt.o -lm -lgb-linux gcc -I../include -L../lib -c -o edriver.o edriver.c edriver.c: In function ?main?: edriver.c:85: warning: incompatible implicit declaration of built-in function ?exit? edriver.c:98: warning: incompatible implicit declaration of built-in function ?strlen? edriver.c:99: warning: incompatible implicit declaration of built-in function ?strcpy? edriver.c:105: warning: incompatible implicit declaration of built-in function ?exit? edriver.c:108: warning: incompatible implicit declaration of built-in function ?exit? edriver.c:147: warning: incompatible implicit declaration of built-in function ?exit? edriver.c:164: warning: incompatible implicit declaration of built-in function ?exit? gcc -I../include -L../lib -o ../bin/edriver edriver.o eval.o -lm -lgb-linux gcc: eval.o: No such file or directory make: *** [edriver] Error 1 Best Regards From mar.mazurek at gmail.com Thu Sep 3 06:13:32 2009 From: mar.mazurek at gmail.com (Mazurek Marcin) Date: Thu, 3 Sep 2009 15:13:32 +0200 Subject: [ns] Compilation Error In-Reply-To: References: Message-ID: <1b4bd48a0909030613x6c97ef05i2b144f4e7a1384d8@mail.gmail.com> Hi, Check makefile in main directory. If you need file that is missing - eval.cc, you have to get it from somewhere. If not - just remove line that refers to this file (eval.o) from make file. regards 2009/9/3 Amina Hayat : > > Hi Everyone > I am trying to compile GT-ITM tool on Debian Linux. As per instructions in > the Readme file i issued the following commands but got errors on the second > one(make all). Can anybody please help remove these errors? > > 1. make veryclean > \rm -f *.o > \rm -f ../bin/* > > > 2. make all > gcc ?-I../include -L../lib ? ?-c -o itm.o itm.c > gcc ?-I../include -L../lib ? ?-c -o geog.o geog.c > geog.c: In function ?geo?: > geog.c:191: warning: incompatible implicit declaration of built-in function > ?malloc? > geog.c:255: warning: incompatible implicit declaration of built-in function > ?free? > geog.c: In function ?geo_hier?: > geog.c:411: warning: incompatible implicit declaration of built-in function > ?calloc? > geog.c:586: warning: incompatible implicit declaration of built-in function > ?free? > gcc ?-I../include -L../lib ? ?-c -o ts.o ts.c > ts.c: In function ?fdiam?: > ts.c:87: warning: incompatible implicit declaration of built-in function > ?malloc? > ts.c:94: warning: incompatible implicit declaration of built-in function > ?malloc? > ts.c:155: warning: incompatible implicit declaration of built-in function > ?free? > ts.c:158: warning: incompatible implicit declaration of built-in function > ?free? > ts.c: In function ?die?: > ts.c:175: warning: incompatible implicit declaration of built-in function > ?exit? > ts.c: In function ?transtub?: > ts.c:270: warning: incompatible implicit declaration of built-in function > ?malloc? > ts.c:294: warning: incompatible implicit declaration of built-in function > ?free? > ts.c:541: warning: incompatible implicit declaration of built-in function > ?exit? > ts.c:666: warning: incompatible implicit declaration of built-in function > ?free? > gcc ?-I../include -L../lib ? ?-c -o dfs.o dfs.c > dfs.c: In function ?isconnected?: > dfs.c:34: warning: incompatible implicit declaration of built-in function > ?malloc? > dfs.c:41: warning: incompatible implicit declaration of built-in function > ?free? > gcc ?-I../include -L../lib ?-o ../bin/itm itm.o geog.o ts.o dfs.o -lm > -lgb-linux > gcc ?-I../include -L../lib ? ?-c -o sgb2alt.o sgb2alt.c > gcc ?-I../include -L../lib ?-o ../bin/sgb2alt sgb2alt.o ?-lm -lgb-linux > gcc ?-I../include -L../lib ? ?-c -o edriver.o edriver.c > edriver.c: In function ?main?: > edriver.c:85: warning: incompatible implicit declaration of built-in > function ?exit? > edriver.c:98: warning: incompatible implicit declaration of built-in > function ?strlen? > edriver.c:99: warning: incompatible implicit declaration of built-in > function ?strcpy? > edriver.c:105: warning: incompatible implicit declaration of built-in > function ?exit? > edriver.c:108: warning: incompatible implicit declaration of built-in > function ?exit? > edriver.c:147: warning: incompatible implicit declaration of built-in > function ?exit? > edriver.c:164: warning: incompatible implicit declaration of built-in > function ?exit? > gcc ?-I../include -L../lib ?-o ../bin/edriver edriver.o eval.o -lm > -lgb-linux > gcc: eval.o: No such file or directory > make: *** [edriver] Error 1 > > > Best Regards > From nadinunes at gmail.com Thu Sep 3 10:58:05 2009 From: nadinunes at gmail.com (Nadilma Nunes) Date: Thu, 3 Sep 2009 14:58:05 -0300 Subject: [ns] AODV neighbor list In-Reply-To: References: Message-ID: Can anyone tell me what neighbor lookup function (AODV_Neighbor* nb_lookup(nsaddr_t id)) does? I used to think that nb_lookup informed wich neighbors of any node on the network, but now I'm confused about this because I read RFC and I understood that the nb_lookup ONLY exhibit wich nodes neighbors has a route to a destination (active route). Anyone know what function to inform wich are all neighbor of each node? Nadilma. From sr.nsuser at gmail.com Thu Sep 3 11:45:33 2009 From: sr.nsuser at gmail.com (soheila rahmani) Date: Thu, 3 Sep 2009 23:15:33 +0430 Subject: [ns] how do I write a applicatin agant? Message-ID: <24a228b00909031145s7733f442ra2026f22f39e938c@mail.gmail.com> Hi evrey body I want to write a simple application on my agent. I want my application send a packet in sometimes. can any one help me and give me an example how do I strat to wite? thanks alot From jayavignesh86 at yahoo.co.in Fri Sep 4 03:54:18 2009 From: jayavignesh86 at yahoo.co.in (jaya vignesh) Date: Fri, 4 Sep 2009 16:24:18 +0530 (IST) Subject: [ns] Reg Energy Model in NS2 Message-ID: <215214.79213.qm@web8903.mail.in.yahoo.com> Hi All, I want to clear some of my basic queries of energy model implementation in ns2. The rxpower and txpower values can be set in watts for power consumption of transmission and reception of each packet. How is the?et: energy consumed in transmitting packets?er: energy consumed in receiving packets calculated? Also, how to invoke or put the node to sleep state and wake it up back in my routing protocol in C++? Thanks & Regards,Jayavignesh See the Web's breaking stories, chosen by people like you. Check out Yahoo! Buzz. http://in.buzz.yahoo.com/ From schen7009 at gmail.com Fri Sep 4 12:03:59 2009 From: schen7009 at gmail.com (Steve Chen) Date: Fri, 4 Sep 2009 15:03:59 -0400 Subject: [ns] ErrorModel unit bit not working? Message-ID: <5873c3140909041203n5515ae87q36aea7d0b460eb85@mail.gmail.com> All- I have used the following code directly from ns manual, it works just fine. But when I change the unit to bit there was no discarded packets. Anyone has a fix? set loss_module [new ErrorModel} $loss_module set rate_ 0.01 $loss_module unit pkt $loss_module ranvar [new RandomVariable/Uniform] $loss_module drop-target [new Agent/Null] Thanks in advance, Steve From bilal26 at hotmail.co.uk Fri Sep 4 20:50:26 2009 From: bilal26 at hotmail.co.uk (BilalAKhan) Date: Fri, 4 Sep 2009 20:50:26 -0700 (PDT) Subject: [ns] How do we write environment variables?? please! In-Reply-To: <806550090909010355g39be265aif2ff8bc6b69203f5@mail.gmail.com> References: <806550090909010355g39be265aif2ff8bc6b69203f5@mail.gmail.com> Message-ID: <25304856.post@talk.nabble.com> Hi, Please see the installation guide attached with this email. I have tried compiling this installation guide from different websites. NS-2 is working with me but I have xgraph problem coming with me. Probably it is not registered to environment properly. Please see the guide attached... http://www.nabble.com/file/p25304856/NS-2%2BInstallation%2BManual.doc NS-2+Installation+Manual.doc Regards, Bilal A. Khan iimene wrote: > > > Hi, > > I have installed ns2.33 on fedora11 but it didn't work > I think that the problem from environment variables > i tryed many solutions in the net but it didn't works again > Could anyone please tell me how i must write it > > this is the message after installation > ------------------------------------------------------------ > important notices (1) et (2) > (1) You MUST put /home/Soukaina/Bureau/ns-allinone-2.33/otcl-1.13, > /home/Soukaina/Bureau/ns-allinone-2.33/lib, > into your LD_LIBRARY_PATH environment variable. > If it complains about X libraries, add path to your X libraries > into LD_LIBRARY_PATH. > If you are using csh, you can set it like: > setenv LD_LIBRARY_PATH > If you are using sh, you can set it like: > export LD_LIBRARY_PATH= > > (2) You MUST put /home/Soukaina/Bureau/ns-allinone-2.33/tcl8.4.18/library > into your TCL_LIBRARY environmental > variable. Otherwise ns/nam will complain during startup. > ------------------------------------------------------------- > thanks in advance > > ----- Regards, Bilal A. Khan -- View this message in context: http://www.nabble.com/How-do-we-write-environment-variables---please%21-tp25238281p25304856.html Sent from the ns-users mailing list archive at Nabble.com. From bilal26 at hotmail.co.uk Fri Sep 4 21:14:59 2009 From: bilal26 at hotmail.co.uk (BilalAKhan) Date: Fri, 4 Sep 2009 21:14:59 -0700 (PDT) Subject: [ns] Help needed for xgraph and environment variables Message-ID: <25304965.post@talk.nabble.com> Hi, Can anyone tell me if I have registered the variables in environment correctly!!! My xgraph is not working and giving me an error... I assume it is not registered in the environment correctly. I am uploading an Installation Guide. Can anyone help me by looking at the installation guide if I have registered the environment variables correctly??? http://www.nabble.com/file/p25304965/NS-2%2BInstallation%2BManual.doc NS-2+Installation+Manual.doc Thanks in advance... Regards, Bilal A. Khan ----- Regards, Bilal A. Khan -- View this message in context: http://www.nabble.com/Help-needed-for-xgraph-and-environment-variables-tp25304965p25304965.html Sent from the ns-users mailing list archive at Nabble.com. From bilal26 at hotmail.co.uk Sat Sep 5 00:10:56 2009 From: bilal26 at hotmail.co.uk (BilalAKhan) Date: Sat, 5 Sep 2009 00:10:56 -0700 (PDT) Subject: [ns] Help needed ... trconvert not working with me Message-ID: <25305639.post@talk.nabble.com> Hi, I am using trconvert for converting my out.tr into a graphical output. When I write ./trconvert out.tr on konsole, it kind of works according to me but does not convert the file.... The error is given below: Trying to recognize format of out.tr trace file... 10000 lines have been processed to recognize trace format. wired format has been detected trace file will not be converted Can anyone please help me with this??? xgraph is not working with me either... What should I do??? Regards, Bilal A. Khan ----- Regards, Bilal A. Khan -- View this message in context: http://www.nabble.com/Help-needed-...-trconvert-not-working-with-me-tp25305639p25305639.html Sent from the ns-users mailing list archive at Nabble.com. From nazir_suhail at yahoo.co.uk Sat Sep 5 00:58:15 2009 From: nazir_suhail at yahoo.co.uk (nazir suhail) Date: Sat, 5 Sep 2009 07:58:15 +0000 (GMT) Subject: [ns] writing script-command not found Message-ID: <324746.19505.qm@web24505.mail.ird.yahoo.com> Hi All! I am a novice ns user.After installing ns-2.28 on windows sucessfully, I am trying to get familiar with the simulator environment by writing some TCL scripts.I created /home/ ahmad/ns-allinone-2.28/ns-2.28/ns-tutorial/examples? directory on the cygwin bash shell and typed "startx" new page opened where I typed "cd ns example4.tcl" Xgraph is drawn.However, when I enterd the cyntax for above and reached at "duplex link" the response is " bash:command not found". can I get the way out? Thanks Ahmad From alihussein2008 at yahoo.com Sat Sep 5 03:10:24 2009 From: alihussein2008 at yahoo.com (Ali Al-Shra'ah.) Date: Sat, 5 Sep 2009 03:10:24 -0700 (PDT) Subject: [ns] OldSim class err Message-ID: <110445.72058.qm@web52311.mail.re2.yahoo.com> Hi all, Whenever I try to compile a tcl script, I get the following error message: % ns example1.tcl "error when calling class OldSim: example1.tcl" Can any one tell me how to avoid / prevent this? Regards Ali Hussein From alimmj81 at yahoo.com Sun Sep 6 03:17:30 2009 From: alimmj81 at yahoo.com (ali majeed) Date: Sun, 6 Sep 2009 03:17:30 -0700 (PDT) Subject: [ns] change the queue reference in AQM tcl program Message-ID: <977424.48072.qm@web55807.mail.re3.yahoo.com> hi to all i need help to solve this problem ? i need to change the queue reference? to be multi step function(multi level 300 200 500 200)? like? the attach picture instead of? (200) note: the below ?instruction used to set queue reference?? in tcl program in AQM in queue "$ que set quref_ 200 " how to modify it to be (multi level 300 200 500 200) thank you very much ENG. ali m From ghassen.abassi at gmail.com Mon Sep 7 03:18:07 2009 From: ghassen.abassi at gmail.com (Ghassen ABASSI) Date: Mon, 7 Sep 2009 12:18:07 +0200 Subject: [ns] dynamic bandwidht Message-ID: <294400ff0909070318k78037d8fw41ad1ae28c62e31b@mail.gmail.com> Hello, I would like to generate a dynamic bandwidht for wireless link in ns2 to calculate the ETT metric.... Can you help me please. Thanks -- Ghassen Abassi From bilal26 at hotmail.co.uk Mon Sep 7 20:46:10 2009 From: bilal26 at hotmail.co.uk (BilalAKhan) Date: Mon, 7 Sep 2009 20:46:10 -0700 (PDT) Subject: [ns] Problem in installing ns2.34 In-Reply-To: <806550090909022148gc16b54ahb2f030b82ee43280@mail.gmail.com> References: <806550090909022148gc16b54ahb2f030b82ee43280@mail.gmail.com> Message-ID: <25339572.post@talk.nabble.com> Hi, I can see the way you have installed NS-2.I think it is fine. Whenever % sign appears after writing ns or ./ns it means that ns-2 has been installed successfully. but do not start you nam with ./nam. it will not work and you do not have to be the power user for writing a program as well. If you are in linux, simply type 'vi example1.tcl'. It will open up an editor and create a file named 'example1.tcl' in your home directory. Press insert and write what ever script you wanna write there. I would suggest try script already in the examples of tutorials. Once script has been written press Esc and write ':wq'. This will write 'example1.tcl' premanently and quit the screen. now its time to run the script. Give the command ns example1.tcl and press enter. there you go... First example of ns-2 will be infront of you in the shape of nam editor. Try this way and if any problems, do not hesitate to ask me. Regards, Bilal A. Khan iimene wrote: > > > Hello, > > * > *After installing ns2.34 , I have tryed ns command but it returns *"ns > command not found" > ** > * > I have followed these steps: > > > 1) su , password > 2) yum install libX11-devel libXext-devel libXau-devel libXmu-devel > 3) exit > 4) tar xvf ns-allinone-2.34.tar.gz > 5) cd ns-allinone-2.34 > 6) ./install > 7) To set enviroment variables, I have done like this > > cd /etc > gedit ~/.bashrc > > then I have added these lines on the file .bshrc > > *# LD_LIBRARY_PATH > OTCL_LIB=/home/Imene/ns-allinone-2.34/otcl-1.13 > NS2_LIB=/home/Imene/ns-allinone-2.34/lib > export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB > > # TCL_LIBRARY > TCL_LIB=/home/Imene/ns-allinone-2.34/tcl8.4.18/library > export TCL_LIBRARY=$TCL_LIB > > # PATH > XGRAPH=/home/Imene/ns-allinone-2.34/bin:/home/Imene/ns-allinone-2.34/tcl8.4.18/unix:/home/Imene/ns-allinone-2.34/tk8.4.18/unix > NS=/home/Imene/ns-allinone-2.34/ns-2.34/ > NAM=/home/Imene/ns-allinone-2.34/nam-1.14/ > PATH=$PATH:$XGRAPH:$NS:$NAM* > > after that I saved the .bshrc file and I closed it > > *source ~/.bashrc* (to save changes in the .bshrc file) > > > 8) cd ns-2.34/ > 9) ./validate > > after ./ validate this message appears: > > *These messages are NOT errors and can be ignored: > warning: using backward compatibility mode > This test is not implemented in backward compatibility mode > > > validate overall report: some portable tests failed: > ./test-all-red > to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME > * > > Then when I have tryed > > *cd Imene/ns-allinone-2.34/ns-2.34/ > ./ns* > > ' % ' is displayed > > and when I tryed > *cd Imene/ns-allinone-2.34/nam-1.14/ > ./nam* > > the "Nam Console was opened, so nam is OK. > > and when I tryed the echo command it return > > *[Imene at localhost ~]$ echo LD_LIBRARY_PATH > LD_LIBRARY_PATH > [Imene at localhost ~]$ echo TCL_LIBRARY > TCL_LIBRARY > [Imene at localhost ~]$ echo PATH > PATH* > > I can't understand from what the problem? > > > Could you please explain me what is the problem? > > > > Thanks a lot for your help !!! > > ----- Regards, Bilal A. Khan -- View this message in context: http://www.nabble.com/Problem-in-installing-ns2.34-tp25269767p25339572.html Sent from the ns-users mailing list archive at Nabble.com. From mrbalador at yahoo.com Tue Sep 8 04:23:41 2009 From: mrbalador at yahoo.com (ali bala) Date: Tue, 8 Sep 2009 04:23:41 -0700 (PDT) Subject: [ns] segmentation fault with 802_11e Message-ID: <854843.68146.qm@web45110.mail.sp1.yahoo.com> hi,all when i?change 802_11 in?examples in ns\tcl\ex ? with 802_11e and run it i get?segmentation fault this script work well without changing? i need to tcl script that run with 802_11 correctly and i need to guide about using 802_11e in my tcl script correctly please help me about that soon ?mr.ali.balador homepage:www.balador.org From pdro07 at gmail.com Tue Sep 8 09:22:16 2009 From: pdro07 at gmail.com (pedro chaparro) Date: Tue, 8 Sep 2009 18:22:16 +0200 Subject: [ns] how to use extern libraries? Message-ID: hi, i'd like to use functions from an extern linux libray (libc.so.6) how can i integrate it with ns-2? thanks -- Ing Pedro Alonso Chaparro Valero Ciudad Politecnica de la Innovaci?n iTEAM - Mobile Communications Group Polytechnic University of Valencia C\ Camino de Vera S/N, Edificio 8G 46022 Valencia, Spain From alimmj81 at yahoo.com Tue Sep 8 12:12:58 2009 From: alimmj81 at yahoo.com (ali majeed) Date: Tue, 8 Sep 2009 12:12:58 -0700 (PDT) Subject: [ns] tcl language ns-2.27 Message-ID: <312121.27257.qm@web55808.mail.re3.yahoo.com> ? hi to all i need help to solve this problem i need to change the queue reference? to be multi step (multi level 300 ,200, 500 200)? like the attach picture instead of one value because i bulit my tcl prgram at 200 only , so i need to make multi level for queue refrence in tcl language.?. note: the below ?instruction i used to set queue reference?? in tcl program in AQM in queue. "$ que set quref_ 200 " how to modify it to be (multi level 300 200 500 200) thank you very much ENG. ali m ? ? ? ------------------------------ _______________________________________________ Ns-users mailing list Ns-users at isi.edu http://mailman.isi.edu/mailman/listinfo/ns-users End of Ns-users Digest, Vol 69, Issue 6 *************************************** From daltoncezane at gmail.com Tue Sep 8 21:26:31 2009 From: daltoncezane at gmail.com (=?ISO-8859-1?Q?Dalton_C=E9zane?=) Date: Wed, 9 Sep 2009 01:26:31 -0300 Subject: [ns] NS-2.34 -- Installation problem In-Reply-To: <98029fd50909082114j41d73a91p6f2539a4eeaac308@mail.gmail.com> References: <98029fd50909082114j41d73a91p6f2539a4eeaac308@mail.gmail.com> Message-ID: <98029fd50909082126q4d609c50r203832f2d464eb47@mail.gmail.com> Has someone ever seen this problem when installing the ns-2.34: > > "gcc -c -O2 -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK > -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL > -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H > -DHAVE_LIBTCL8_4 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H > -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE > -Drng_test -I. -I. -I/home/dalton/NS-2/ns-allinone-2.34/tclcl-1.19 > -I/home/dalton/NS-2/ns-allinone-2.34/otcl-1.13 > -I/home/dalton/NS-2/ns-allinone-2.34/include > -I/home/dalton/NS-2/ns-allinone-2.34/include > -I/home/dalton/NS-2/ns-allinone-2.34/include -I/usr/include/pcap -I./tcp > -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile > -I./trace -I./routing -I./tools -I./classifier -I./mcast > -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr > -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv > -I./satellite -I./wpan -o tcp/linux/ns-linux-c.o tcp/linux/ns-linux-c.c > In file included from /usr/include/sys/types.h:270, > from /usr/include/stdlib.h:320, > from tcp/linux/ns-linux-util.h:20, > from tcp/linux/ns-linux-c.c:21: > /usr/include/bits/pthreadtypes.h:99: warning: unnamed struct/union that > defines no instances > tcp/linux/ns-linux-c.c: In function `find_param_by_proto_name': > tcp/linux/ns-linux-c.c:99: parse error before `struct' > tcp/linux/ns-linux-c.c:100: `q' undeclared (first use in this function) > tcp/linux/ns-linux-c.c:100: (Each undeclared identifier is reported only > once > tcp/linux/ns-linux-c.c:100: for each function it appears in.) > tcp/linux/ns-linux-c.c:111: warning: control reaches end of non-void > function > make: ** [tcp/linux/ns-linux-c.o] Erro 1 > Ns make failed! " > > I'm using Ubuntu 8.10. Thanks in advance! > > -- ======================================================= Dalton C?zane - Voip UFCG: 1075-2005 Mestrando em Ci?ncia da Computa??o (UFCG) Bacharel em Ci?ncia da Computa??o (UFCG) T?cnico em Inform?tica (ETER) From mifseid at gmail.com Wed Sep 9 00:42:02 2009 From: mifseid at gmail.com (mifseid) Date: Wed, 9 Sep 2009 00:42:02 -0700 (PDT) Subject: [ns] AODV + Clustering ... Message-ID: <25326285.post@talk.nabble.com> Hi all Is there anyone who have AODV with any of Clustering algorithms implemented in NS 2 ..? !! if you have any source code or any reference please help me with that!!! Thanks in advance Regards Miftah Seid AAU university. -- View this message in context: http://www.nabble.com/AODV-%2B-Clustering-...-tp25326285p25326285.html Sent from the ns-users mailing list archive at Nabble.com. From v_mandhare at yahoo.com Wed Sep 9 03:43:30 2009 From: v_mandhare at yahoo.com (vaishali mandhare) Date: Wed, 9 Sep 2009 16:13:30 +0530 (IST) Subject: [ns] installation and implementation of odmrp Message-ID: <561337.84897.qm@web94813.mail.in2.yahoo.com> hi all i want to install ns-allinone-2.1b8 on fedora but it gives error? in tcl and ?tk .my steps of installation are ? steps 1. Copy ns-allinone-2.*.tar in home folder in linux 2 open terminal 3 type the commanf ?? tar xzvf ns-allinone-2.*.tar 4 then ?? cd ns-allinone-2.* 5 then ??? ./install 6 then ?? cd ns-2.* 7 then ?? ./validate but after ./install give error as tcl tk not compile what should i do? plz help See the Web's breaking stories, chosen by people like you. Check out Yahoo! Buzz. http://in.buzz.yahoo.com/ From v_mandhare at yahoo.com Wed Sep 9 03:45:50 2009 From: v_mandhare at yahoo.com (vaishali mandhare) Date: Wed, 9 Sep 2009 16:15:50 +0530 (IST) Subject: [ns] about odmrp Message-ID: <31371.9091.qm@web94805.mail.in2.yahoo.com> for odmrp can i install ns-allinone2.1b8 seperately or it work on ns2.29 plz help me Love Cricket? Check out live scores, photos, video highlights and more. Click here http://cricket.yahoo.com From iunanue at robotiker.es Thu Sep 10 01:01:03 2009 From: iunanue at robotiker.es (Iraide Unanue Calvo) Date: Thu, 10 Sep 2009 10:01:03 +0200 Subject: [ns] Evalvid with multiface node (NIST module) Message-ID: Hi, I?m working in the simulation of video transmissions suffering vertical handovers and to do it I?m using NIST module and evalvid. I?m trying to include the video transmissions (with the traces obtained thanks to evalvid) into one of the examples of NISTt: 802_21_WIMAX-WIFI_1BS-2AP_v2.tcl, I replace the UDP-CBR traffic used in the example with the code below (2 options) but the mobile node is only able to receive one package as the rd trace file only has one line, the sd trace file is perfectly generated. I would like to ask for an example of evalvid used with a multiface node or help with my code. Any help would be really appreciated. Thank you in advanced. First option: set udp0 [new Agent/myUDP] $udp0 set packetSize_ 1500 $udp0 set class_ 1 $udp0 set_filename path/sd_CITY set sink0 [new Agent/myEvalvid_Sink] $sink0 set_filename path/rd_CITY $multiFaceNode_MN attach-agent $sink0 $80211_node $handover_MN add-flow $sink0 $udp0 $80211_node 1 20. $ns attach-agent $CN $udp0 Second option: set udp0 [new Agent/myUDP] $udp0 set packetSize_ 1500 $udp0 set class_ 1 $udp0 set_filename path/sd_CITY set sink0 [new Agent/myEvalvid_Sink] $sink0 set_filename path/rd_CITY $ns attach-agent $80211_node $sink0 $ns attach-agent $CN $udp0 $ns connect $udp0 $sink0 $multiFaceNode_MN attach $sink0 $handover_MN add-flow $sink0 $udp0 $80211_node 1 20. And later the treatment of the evalvid : ################## setting de la transmision de video ########### set original_file_name path/st_CITY_ set trace_file_name path /video1_CITY.dat set original_file_id [open $original_file_name r] set trace_file_id [open $trace_file_name w] set pre_time 0 while {[eof $original_file_id] == 0} { gets $original_file_id current_line scan $current_line "%d%s%d%s%s%s%d%s" no_ frametype_ length_ \ tmp1_ tmp2_ tmp3_ tmp4_ tmp5_ #scan $current_line "%d%s%d%d%f" no_ frametype_ length_ tmp1_ tmp2_ set time [expr int(($tmp2_ - $pre_time)*1000000.0)] if { $frametype_ == "I" } { set type_v 1 set prio_p 0 } if { $frametype_ == "P" } { set type_v 2 set prio_p 0 } if { $frametype_ == "B" } { set type_v 3 set prio_p 0 } if { $frametype_ == "H" } { set type_v 1 set prio_p 0 } set max_fragmented_size 1472 ; # payload, + 28 (cabeceras) = 1500 puts $trace_file_id "$time $length_ $type_v $prio_p $max_fragmented_size" set pre_time $tmp2_ } close $original_file_id close $trace_file_id set trace_file [new Tracefile] $trace_file filename $trace_file_name ##################### Rx to myTrace#################### set video1 [new Application/Traffic/myEvalvid] $video1 attach-agent $udp0 $video1 attach-tracefile $trace_file ######################################## $ns at [expr $moveStart - 1] "$video1 start" set end_sim_time [expr $tmp2_+ 60.0] puts "end_sim_time: $end_sim_time" $ns at 1010 "$sink0 closefile" $ns at 1000 "$video1 stop" #calculate the speed of the node $ns at $moveStart "$80211_node setdest $X_dst $Y_dst $moveSpeed" $ns at $moveStart "$80216_node setdest $X_dst $Y_dst $moveSpeed" $ns at 1000 "finish" puts "Running simulation for $opt(nbMN) mobile nodes..." $ns run From iiimene at gmail.com Thu Sep 10 02:43:25 2009 From: iiimene at gmail.com (iimene) Date: Thu, 10 Sep 2009 02:43:25 -0700 (PDT) Subject: [ns] Problem in installing ns2.34 In-Reply-To: <25339572.post@talk.nabble.com> References: <806550090909022148gc16b54ahb2f030b82ee43280@mail.gmail.com> <25339572.post@talk.nabble.com> Message-ID: <25380265.post@talk.nabble.com> Hi, thank you for your response but when I 'm trying the first example given in tutorial it returns this --------------------------------------------------------------------------------------- [Imene at localhost Imene-test]$ ../ns simple.tcl 210 0.0037499999999999999 running nam... ns: finish: couldn't execute "nam": no such file or directory while executing "exec nam out.nam &" (procedure "finish" line 8) invoked from within "finish" ------------------------------------------------------------------------------------------- I think that it can't recognize nam module but when i have tested cd Imene/ns-allinone-2.34/nam-1.14/ ./nam the nam editor displays Could you please explain me what is the problem thanks BilalAKhan wrote: > > Hi, > > I can see the way you have installed NS-2.I think it is fine. Whenever % > sign appears after writing ns or ./ns it means that ns-2 has been > installed successfully. but do not start you nam with ./nam. it will not > work and you do not have to be the power user for writing a program as > well. If you are in linux, simply type 'vi example1.tcl'. It will open up > an editor and create a file named 'example1.tcl' in your home directory. > Press insert and write what ever script you wanna write there. I would > suggest try script already in the examples of tutorials. Once script has > been written press Esc and write ':wq'. This will write 'example1.tcl' > premanently and quit the screen. > > now its time to run the script. Give the command ns example1.tcl and press > enter. there you go... First example of ns-2 will be infront of you in the > shape of nam editor. > > Try this way and if any problems, do not hesitate to ask me. > > Regards, > > Bilal A. Khan > > > iimene wrote: >> >> >> Hello, >> >> * >> *After installing ns2.34 , I have tryed ns command but it returns *"ns >> command not found" >> ** >> * >> I have followed these steps: >> >> >> 1) su , password >> 2) yum install libX11-devel libXext-devel libXau-devel libXmu-devel >> 3) exit >> 4) tar xvf ns-allinone-2.34.tar.gz >> 5) cd ns-allinone-2.34 >> 6) ./install >> 7) To set enviroment variables, I have done like this >> >> cd /etc >> gedit ~/.bashrc >> >> then I have added these lines on the file .bshrc >> >> *# LD_LIBRARY_PATH >> OTCL_LIB=/home/Imene/ns-allinone-2.34/otcl-1.13 >> NS2_LIB=/home/Imene/ns-allinone-2.34/lib >> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB >> >> # TCL_LIBRARY >> TCL_LIB=/home/Imene/ns-allinone-2.34/tcl8.4.18/library >> export TCL_LIBRARY=$TCL_LIB >> >> # PATH >> XGRAPH=/home/Imene/ns-allinone-2.34/bin:/home/Imene/ns-allinone-2.34/tcl8.4.18/unix:/home/Imene/ns-allinone-2.34/tk8.4.18/unix >> NS=/home/Imene/ns-allinone-2.34/ns-2.34/ >> NAM=/home/Imene/ns-allinone-2.34/nam-1.14/ >> PATH=$PATH:$XGRAPH:$NS:$NAM* >> >> after that I saved the .bshrc file and I closed it >> >> *source ~/.bashrc* (to save changes in the .bshrc file) >> >> >> 8) cd ns-2.34/ >> 9) ./validate >> >> after ./ validate this message appears: >> >> *These messages are NOT errors and can be ignored: >> warning: using backward compatibility mode >> This test is not implemented in backward compatibility mode >> >> >> validate overall report: some portable tests failed: >> ./test-all-red >> to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME >> * >> >> Then when I have tryed >> >> *cd Imene/ns-allinone-2.34/ns-2.34/ >> ./ns* >> >> ' % ' is displayed >> >> and when I tryed >> *cd Imene/ns-allinone-2.34/nam-1.14/ >> ./nam* >> >> the "Nam Console was opened, so nam is OK. >> >> and when I tryed the echo command it return >> >> *[Imene at localhost ~]$ echo LD_LIBRARY_PATH >> LD_LIBRARY_PATH >> [Imene at localhost ~]$ echo TCL_LIBRARY >> TCL_LIBRARY >> [Imene at localhost ~]$ echo PATH >> PATH* >> >> I can't understand from what the problem? >> >> >> Could you please explain me what is the problem? >> >> >> >> Thanks a lot for your help !!! >> >> > > -- View this message in context: http://www.nabble.com/Problem-in-installing-ns2.34-tp25269767p25380265.html Sent from the ns-users mailing list archive at Nabble.com. From singh.umang at hotmail.com Thu Sep 10 07:55:45 2009 From: singh.umang at hotmail.com (umang singh) Date: Thu, 10 Sep 2009 20:25:45 +0530 Subject: [ns] patch of dymoum for ns-2.33 Message-ID: hi, i have installed dymoum successfully.But I am not getting patch for ns-2.33.I am getting patch for other versions.Not exactly ns-2.33.if someone has this patch.Please mail me. regards Umang _________________________________________________________________ One stop at MSN India to catch up with what?s hot in the world around you today http://in.msn.com From fjros at um.es Thu Sep 10 08:01:46 2009 From: fjros at um.es (Francisco Javier Ros Munoz) Date: Thu, 10 Sep 2009 17:01:46 +0200 Subject: [ns] patch of dymoum for ns-2.33 Message-ID: <45FDFF9C-B09F-4787-9DF2-49C6BB6FE9F3@um.es> http://masimum.inf.um.es/?Software:DYMOUM:Patches Regards, fran On Sep 10, 2009, at 4:55 PM, umang singh wrote: > > > hi, > > i have installed dymoum successfully.But I am not getting patch for > ns-2.33.I am getting patch for other versions.Not exactly ns-2.33.if > someone has this patch.Please mail me. > > regards > > Umang > > > > > _________________________________________________________________ > One stop at MSN India to catch up with what?s hot in the world > around you today > http://in.msn.com -- Francisco J. Ros, Ph.D. Student Dept. of Information and Communications Engineering University of Murcia, Murcia (Spain) http://masimum.inf.um.es/fjrm/ From hbhubboub at gmail.com Thu Sep 10 12:04:04 2009 From: hbhubboub at gmail.com (huda hubboub) Date: Thu, 10 Sep 2009 22:04:04 +0300 Subject: [ns] installing ns 2.27 cygwin Message-ID: <2e663b860909101204t9c2ecefj57e481474389d5e9@mail.gmail.com> Dear all, Greetings, I am just a new user to ns2, and I need to install ns 2.27 in order to run leach protocol. During installation, I encounter some problems, one of them is the tcl8.4.5 make failed. For problems with tcl/Tk see the web site spictricts.com which is under constructions. Can any one help me in solving this problem. Huda From shakkeera841 at gmail.com Wed Sep 9 09:16:18 2009 From: shakkeera841 at gmail.com (shakkeera liaquath ali khan) Date: Wed, 9 Sep 2009 21:46:18 +0530 Subject: [ns] over all block diagram for olsr implementation Message-ID: hi, give me a over all block diagram for olsr implementation and architectural diagram for each modules in olsr From tomh at tomh.org Wed Sep 9 21:46:29 2009 From: tomh at tomh.org (Tom Henderson) Date: Wed, 09 Sep 2009 21:46:29 -0700 Subject: [ns] SIMUTools 2010: Call for papers Message-ID: <4AA884A5.8020602@tomh.org> If you are looking for a good venue for publishing your work about or using ns-2 or ns-3, I'd like to recommend SIMUTools. We will also co-locate a Workshop on ns-3 at this conference (more on WNS3 later). But, please do not hold your paper for the ns-3 workshop, because we are not planning a regular paper track; instead, please submit full papers to the main track of SIMUTools. SIMUTools 2010: Torremolinos, Malaga, Spain - March 15-19 2010 SIMUTools 2010 (the 3rd International Conference on Simulation Tools and Techniques) invites the submission of original, high-quality papers on simulation tools, methodologies, applications, and practices. This new edition of the conference builds upon the great success of our two previous meetings. While SIMUTools' main focus is on advances in simulation tools, we encourage the submission of papers on all aspects of simulation modeling and analysis, including broader theoretical and practical research contributions. Paper submission deadline: October 12 (abstract), October 19 (full paper) For more information: http://www.simutools.org/Publicity/CallForPapers From bilal26 at hotmail.co.uk Thu Sep 10 20:05:34 2009 From: bilal26 at hotmail.co.uk (BilalAKhan) Date: Thu, 10 Sep 2009 20:05:34 -0700 (PDT) Subject: [ns] Problem in installing ns2.34 In-Reply-To: <25380265.post@talk.nabble.com> References: <806550090909022148gc16b54ahb2f030b82ee43280@mail.gmail.com> <25339572.post@talk.nabble.com> <25380265.post@talk.nabble.com> Message-ID: <25394334.post@talk.nabble.com> Hi, First of all this sort of an error comes when there some missing part in the installation. Make sure that everything is installed successfully. Also make sure that environment variables have been registered correctly. Take this http://www.nabble.com/file/p25394334/NS-2%2BInstallation%2BManual.doc NS-2+Installation+Manual.doc and see the way environment variables have been registered. I have only one problem, that I can not run XGRAPH. So this document can help you temporarily. Another thing before checking any thing, please try to run your simulation by ns simple.tcl not by ../ns simple.tcl. I hope it would work. Only write ns simple.tcl. Regards, Bilal A. Khan iimene wrote: > > Hi, > > thank you for your response but when I 'm trying the first example given > in tutorial > > it returns this > > --------------------------------------------------------------------------------------- > [Imene at localhost Imene-test]$ ../ns simple.tcl > 210 > 0.0037499999999999999 > running nam... > ns: finish: couldn't execute "nam": no such file or directory > while executing > "exec nam out.nam &" > (procedure "finish" line 8) > invoked from within > "finish" > ------------------------------------------------------------------------------------------- > I think that it can't recognize nam module but when i have tested > cd Imene/ns-allinone-2.34/nam-1.14/ > ./nam the nam editor displays > > Could you please explain me what is the problem > > thanks > > > > BilalAKhan wrote: >> >> Hi, >> >> I can see the way you have installed NS-2.I think it is fine. Whenever % >> sign appears after writing ns or ./ns it means that ns-2 has been >> installed successfully. but do not start you nam with ./nam. it will not >> work and you do not have to be the power user for writing a program as >> well. If you are in linux, simply type 'vi example1.tcl'. It will open up >> an editor and create a file named 'example1.tcl' in your home directory. >> Press insert and write what ever script you wanna write there. I would >> suggest try script already in the examples of tutorials. Once script has >> been written press Esc and write ':wq'. This will write 'example1.tcl' >> premanently and quit the screen. >> >> now its time to run the script. Give the command ns example1.tcl and >> press enter. there you go... First example of ns-2 will be infront of you >> in the shape of nam editor. >> >> Try this way and if any problems, do not hesitate to ask me. >> >> Regards, >> >> Bilal A. Khan >> >> >> iimene wrote: >>> >>> >>> Hello, >>> >>> * >>> *After installing ns2.34 , I have tryed ns command but it returns *"ns >>> command not found" >>> ** >>> * >>> I have followed these steps: >>> >>> >>> 1) su , password >>> 2) yum install libX11-devel libXext-devel libXau-devel libXmu-devel >>> 3) exit >>> 4) tar xvf ns-allinone-2.34.tar.gz >>> 5) cd ns-allinone-2.34 >>> 6) ./install >>> 7) To set enviroment variables, I have done like this >>> >>> cd /etc >>> gedit ~/.bashrc >>> >>> then I have added these lines on the file .bshrc >>> >>> *# LD_LIBRARY_PATH >>> OTCL_LIB=/home/Imene/ns-allinone-2.34/otcl-1.13 >>> NS2_LIB=/home/Imene/ns-allinone-2.34/lib >>> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB >>> >>> # TCL_LIBRARY >>> TCL_LIB=/home/Imene/ns-allinone-2.34/tcl8.4.18/library >>> export TCL_LIBRARY=$TCL_LIB >>> >>> # PATH >>> XGRAPH=/home/Imene/ns-allinone-2.34/bin:/home/Imene/ns-allinone-2.34/tcl8.4.18/unix:/home/Imene/ns-allinone-2.34/tk8.4.18/unix >>> NS=/home/Imene/ns-allinone-2.34/ns-2.34/ >>> NAM=/home/Imene/ns-allinone-2.34/nam-1.14/ >>> PATH=$PATH:$XGRAPH:$NS:$NAM* >>> >>> after that I saved the .bshrc file and I closed it >>> >>> *source ~/.bashrc* (to save changes in the .bshrc file) >>> >>> >>> 8) cd ns-2.34/ >>> 9) ./validate >>> >>> after ./ validate this message appears: >>> >>> *These messages are NOT errors and can be ignored: >>> warning: using backward compatibility mode >>> This test is not implemented in backward compatibility mode >>> >>> >>> validate overall report: some portable tests failed: >>> ./test-all-red >>> to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME >>> * >>> >>> Then when I have tryed >>> >>> *cd Imene/ns-allinone-2.34/ns-2.34/ >>> ./ns* >>> >>> ' % ' is displayed >>> >>> and when I tryed >>> *cd Imene/ns-allinone-2.34/nam-1.14/ >>> ./nam* >>> >>> the "Nam Console was opened, so nam is OK. >>> >>> and when I tryed the echo command it return >>> >>> *[Imene at localhost ~]$ echo LD_LIBRARY_PATH >>> LD_LIBRARY_PATH >>> [Imene at localhost ~]$ echo TCL_LIBRARY >>> TCL_LIBRARY >>> [Imene at localhost ~]$ echo PATH >>> PATH* >>> >>> I can't understand from what the problem? >>> >>> >>> Could you please explain me what is the problem? >>> >>> >>> >>> Thanks a lot for your help !!! >>> >>> >> >> > > ----- Regards, Bilal A. Khan -- View this message in context: http://www.nabble.com/Problem-in-installing-ns2.34-tp25269767p25394334.html Sent from the ns-users mailing list archive at Nabble.com. From garingz at gmail.com Fri Sep 11 07:50:01 2009 From: garingz at gmail.com (reza aditya suseno) Date: Fri, 11 Sep 2009 21:50:01 +0700 Subject: [ns] Error after patch emulation extension in NS-2.29, and after install complete kernel source in ubuntu In-Reply-To: <200909111443.n8BEhFUM013119@gamma.isi.edu> References: <200909111443.n8BEhFUM013119@gamma.isi.edu> Message-ID: dear all, i'm trying to patch emulation extension for NS-2.29 in ubuntu 8.04, after i read this article : < http://ivs.cs.uni-magdeburg.de/EuK/forschung/projekte/nse/ns2emu-dstapp.tgz> > and after i apply that patch, i got some error like this mail: M Lee schrieb: on Mon, 04 Feb 2008 19:24:51 -0800 ...... common/scheduler.cc: In member function `void RealTimeScheduler::sync_cputicks()': common/scheduler.cc:1059: `rdtscll' undeclared (first use this function) common/scheduler.cc:1059: (Each undeclared identifier is reported only once for each function it appears in.) make: *** [common/scheduler.o] Error 1* ...... and after i read other solution: > Re: [ns] Something wrong when I patch NS-2.27 with Emulation > Extensions.. > Hi, you need to install the kernel headers (or the complete kernel > sources) to compile this emulation extension. > then i compile my kernel in ubuntu, i'm try for compile ns-2.29 again, and i got some error again same as like before, my question is; how i compile my kernel source with right configuration to support this emulation patch? thanks for the attention.. From wagnerfbm at yahoo.com.br Fri Sep 11 10:40:04 2009 From: wagnerfbm at yahoo.com.br (Helber Wagner) Date: Fri, 11 Sep 2009 10:40:04 -0700 (PDT) Subject: [ns] [Multipath OLSR] Source code Message-ID: <738419.43837.qm@web51408.mail.re2.yahoo.com> Hi, All. Does anyone have an implementation of a multipath version of OLSR routing protocol? Regards, ___________________________________ Helber Wagner da Silva MSc. Student in Applied Informatics University of Fortaleza - Cear? - Brazil URL: http://www.nr2.ufpr.br/~helber ________________________________ Veja quais s?o os assuntos do momento no Yahoo! + Buscados: Top 10 - Celebridades - M?sica - Esportes ____________________________________________________________________________________ Veja quais s?o os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com From thangnd at joomservices.com Fri Sep 11 20:43:30 2009 From: thangnd at joomservices.com (thangnd) Date: Sat, 12 Sep 2009 10:43:30 +0700 Subject: [ns] Multichannel In WSN Message-ID: <4AAB18E2.5060501@joomservices.com> Hi all, Does anyone have an implementation of a multi-channel in WSN. Please help me? Thanks all. From sr.nsuser at gmail.com Sat Sep 12 13:06:01 2009 From: sr.nsuser at gmail.com (soheila rahmani) Date: Sun, 13 Sep 2009 00:36:01 +0430 Subject: [ns] I don't why my packet drop Message-ID: <24a228b00909121306s60f1c931j6a5caea3ce9ba756@mail.gmail.com> Hi all friends I send a packet from node 0 to node 5 and cache in the middle nodes and send ack after time from node 5 to 0 but ack packet drops in middel node. in trace file shows this sentence: D 0.369646834 _4_ RTR CBK 2 tcp 8 [13a 3 4 800] ------- [0:0 0:0 -2 3] [0 0] 1 0 From rafiza310 at gmail.com Sat Sep 12 17:54:59 2009 From: rafiza310 at gmail.com (Rafiza Ruslan) Date: Sun, 13 Sep 2009 08:54:59 +0800 Subject: [ns] Does NS2 support access point? Message-ID: Hi all, I'm wondering does Ns2 support AP? I'm using ver 2.33. If yes, where should i start ? any available source code that I can refer to? Need some feed-back. Thanks a lot. Rafiza. From themq15 at yahoo.com Sun Sep 13 04:46:29 2009 From: themq15 at yahoo.com (Bringo Shawn) Date: Sun, 13 Sep 2009 04:46:29 -0700 (PDT) Subject: [ns] What does LIST_ENTRY(AODV Neighbor) nb_link; mean in AODV code Message-ID: <527041.39363.qm@web43402.mail.sp1.yahoo.com> Hi, Please consider the following AODV code (from aodv_rtable.h) class AODV_Neighbor { friend class AODV; friend class aodv_rt_entry; public: AODV_Neighbor(u_int32_t a) { nb_addr = a; } protected: LIST_ENTRY(AODV_Neighbor) nb_link; nsaddr_t nb_addr; double nb_expire; // ALLOWED_HELLO_LOSS * HELLO_INTERVAL }; LIST_HEAD(aodv_ncache, AODV_Neighbor); /* AODV Precursor list data structure */ class AODV_Precursor { friend class AODV; friend class aodv_rt_entry; public: AODV_Precursor(u_int32_t a) { pc_addr = a; } protected: LIST_ENTRY(AODV_Precursor) pc_link; nsaddr_t pc_addr; // precursor address };LIST_HEAD(aodv_precursors, AODV_Precursor); I don't understand: 1. LIST_ENTRY(AODV_Neighbor) nb_link; 2. LIST_ENTRY(AODV_Precursor) pc_link; 3. LIST_HEAD(aodv_ncache, AODV_Neighbor); 4. LIST_HEAD(aodv_precursors, AODV_Precursor); Also, LIST_HEAD(aodv_ncache, AODV_Neighbor); and LIST_HEAD(aodv_precursors, AODV_Precursor); occur after the class declaration, I don't understand. Please help me here. Thanks in advance From mshrehmani at gmail.com Sun Sep 13 06:13:21 2009 From: mshrehmani at gmail.com (Mubashir Rehmani) Date: Sun, 13 Sep 2009 15:13:21 +0200 Subject: [ns] What does LIST_ENTRY(AODV Neighbor) nb_link; mean in AODV code In-Reply-To: <527041.39363.qm@web43402.mail.sp1.yahoo.com> References: <527041.39363.qm@web43402.mail.sp1.yahoo.com> Message-ID: Hi Bringo Shawn, Basically in ns2, there are five different types of data structures defined in the file bsd-list.h. The name of these structures are singly-linked list, slingly-linked tail queues, lists, tail queues, and circular queues. http://www-rp.lip6.fr/ns-doc/ns226-doc/html/bsd-list_8h-source.htm In aodv_rtable.h, they use these predefined data structures to perform different actions. http://www-rp.lip6.fr/ns-doc/ns226-doc/html/aodv__rtable_8h-source.htm click on LIST_ENTRY(AODV_Neighbor) nb_link; in the file that i mentioned above, it will help you to understand the flow and class diagram of ns2. Hope it helps Regards Mubashir Husain Rehmani Lip6, UMPC, Paris, France 2009/9/13 Bringo Shawn > > Hi, > Please consider the following AODV code (from aodv_rtable.h) > > class AODV_Neighbor { > friend class AODV; > friend class aodv_rt_entry; > public: > AODV_Neighbor(u_int32_t a) { nb_addr = > a; } > protected: > LIST_ENTRY(AODV_Neighbor) nb_link; > nsaddr_t nb_addr; > double nb_expire; // ALLOWED_HELLO_LOSS * > HELLO_INTERVAL > }; > LIST_HEAD(aodv_ncache, > AODV_Neighbor); > /* AODV Precursor list data structure */ > class AODV_Precursor { > friend class AODV; > friend class aodv_rt_entry; > public: > AODV_Precursor(u_int32_t a) { pc_addr = > a; } > protected: > LIST_ENTRY(AODV_Precursor) pc_link; > nsaddr_t pc_addr; // precursor address > };LIST_HEAD(aodv_precursors, > AODV_Precursor); > > I don't understand: > 1. LIST_ENTRY(AODV_Neighbor) nb_link; > 2. LIST_ENTRY(AODV_Precursor) pc_link; > 3. LIST_HEAD(aodv_ncache, AODV_Neighbor); > 4. LIST_HEAD(aodv_precursors, AODV_Precursor); > > Also, LIST_HEAD(aodv_ncache, AODV_Neighbor); and LIST_HEAD(aodv_precursors, > AODV_Precursor); occur after the class declaration, I don't understand. > Please help me here. Thanks in advance > > > > -- Mubashir Husain Rehmani From prashantism2209 at gmail.com Sun Sep 13 08:07:03 2009 From: prashantism2209 at gmail.com (prashant chaudary) Date: Sun, 13 Sep 2009 20:37:03 +0530 Subject: [ns] ns2- Class Schedular/calender pbm Message-ID: <9d70be6a0909130807g6dda7718gd4191ac6df737ec4@mail.gmail.com> Hi , I have successfully installed and validate ns2.33. but when running following script i m getting following error. script: set ns [new Simulator] $ns at 1 ?puts \?Hello World!\?? $ns at 1.5 ?exit? $ns run after running: (_o5 cmd line 1) invoked from within "_o5 cmd at 1 ?puts ?Hello World!??" 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 "_o5" line 2) (SplitObject unknown line 2) invoked from within "_o5 at 1 ?puts ?Hello World!??" ("eval" body line 1) invoked from within "eval $scheduler_ at $args" (procedure "_o3" line 3) (Simulator at line 3) invoked from within "$ns at 1 ?puts \?Hello World!\??" (file "simple.tcl" line 2) prashant at prashant-desktop:~/Desktop$ Help will be highly appreciated. Thank u in advance Prashant Kumar Btech CS From tabeenahmad at gmail.com Sun Sep 13 10:49:40 2009 From: tabeenahmad at gmail.com (tabeen ahmad) Date: Sun, 13 Sep 2009 23:49:40 +0600 Subject: [ns] NS version for sead code Message-ID: will the code for SEAD nad ARIADNE (available at monarch projects site) work on NS 2.33 ???? From ffy02 at aub.edu.lb Sun Sep 13 13:51:09 2009 From: ffy02 at aub.edu.lb (Fawzi Yassine) Date: Sun, 13 Sep 2009 23:51:09 +0300 Subject: [ns] smac, couldnt scheduele timer Message-ID: <20090913235109.8f0qbiqc0cwogggw@imail.aub.edu.lb> hi, Whenever i use smac in my simulations, i get "couldnt scheduele timer" error. Any idea how to fix that? thanks :D From atifet97 at yahoo.com Sun Sep 13 23:13:05 2009 From: atifet97 at yahoo.com (Atif Sharif) Date: Sun, 13 Sep 2009 23:13:05 -0700 (PDT) Subject: [ns] WIRELESS MULTIMEDIA SENSOR NETWORKS - WMSN 2010 Message-ID: <568537.34340.qm@web57704.mail.re3.yahoo.com> WIRELESS MULTIMEDIA SENSOR NETWORKS? - WMSN 2010 to be part of: The 2010 International Conference for Computational Science and Its Applications (ICCSA 2010) to be held on March 23 -26, 2010 at Kyushu Sangyo University, Fukuoka, Japan http://www.iccsa.org/sessions INTRODUCTION ------------------------ Wireless Multimeida Sensor Network (WMSN) has gathered a lot of interest in research community recently, since it has opened new challenges with the development of intresting application like survelliance, environmment monitoring etc. The development of efficient protocols for WMSN communication as well as development of WMSN motes itself presents numeours challenges for the research community. Energy is the biggest concern for such networks and achieving high energy efficiency is of paramount importance for the longevity of the network.? In order to combat against this energy challenge energy efficient hardware and communication protocol design for such devices has gathered the intentions of the research community recently.? The workshop aims to bring together the research community working in the similar areas.? It will be held in conjunction with ICCSA 2010, thus providing an ideal opportunity for researchers and specially high degree PhD research students to present their latest work and have a valuable feedback from experts. Authors are invited to submit original, previously unpublished work that clearly demonstrate their research related to energy efficient WSN.? Topics of interest include but are not limited to the following featured topics: ???? Hardware aspects of sensor design ???? Energy Conservation and Management ???? Energy-aware communication protocols ???? Cross-layer optimization ???? Collaborative signal processing ???? Quality-of-Service ???? Simulation tools, operating systems and middleware ???? Security, privacy, and data integrity in WSN ???? Scalability of wireless sensor networks ???? Integration with Other System ???? Sensor networks and the Web ???? Prototypes, field studies, and testbeds ???? WSN Applications such as environment, petroleum, healthcare, security, and agriculture. Important Dates August 30, 2009?October 31, 2009:?? Abstract and Full Paper submission November 1?December 3, 2009:???????? Reviewing of submitted Papers December? 7, 2009:???????????????????????????? Notification of Acceptance January 8, 2010:????????????????????????????????? Early-bird Registration ends. January 8, 2010:????????????????????????????????? Submission deadline for the final version of the Papers March 23-26, 2010:???????????????????????????? ICCSA 2010 Conference From abgazam at gmail.com Sun Sep 13 23:40:18 2009 From: abgazam at gmail.com (abg azam) Date: Mon, 14 Sep 2009 14:40:18 +0800 Subject: [ns] Fwd: fairly early drop marker (FED) in diffserv network In-Reply-To: <200909140633.n8E6XwSs029461@gamma.isi.edu> References: <59dcbfbc0909132333j3096cc34x6833503e7b957993@mail.gmail.com> <200909140633.n8E6XwSs029461@gamma.isi.edu> Message-ID: <59dcbfbc0909132340l39d262barbf5f7862b6fb32a5@mail.gmail.com> hi all, anyone ever simulating FED in diffserv network using ns2? please share the code. ---------- Forwarded message ---------- From: Date: Mon, Sep 14, 2009 at 2:33 PM Subject: Re: fairly early drop marker (FED) in diffserv network To: abgazam at gmail.com Welcome to posting to the ns-users mailing list! We automatically send this message to every new person who sends mail to the list. ?You should only receive it once. ?My apologies if the program contacts you twice, perhaps because you have multiple e-mail addresses or send mail from multiple machines. If you are an experienced ns-user who simply has not posted since we started using this responder, our apologies for inconveniencing you with this message. ?This message is intended to help inform users and cut down on redundant posts, which benefits everyone. Please look at the attached list of ns Frequently Asked Questions. If it answers your question, great! ?You're done. If not, please RE-SEND your original message to ns-users at isi.edu. A copy of your original message is included below for reference. You will NOT have to do re-send your message every time you post, only the FIRST time you send from a new account. ?The goal is to quickly help new users find the FAQ (hopefully answering their question). Thanks, ? -the ns development team ---------------------------------------- ? ? ? ? ? ?The Network Simulator ns-2: Frequently Asked Questions ? (This FAQ is also on the web at ? http://www.isi.edu/nsnam/ns/ns-faq.html.) ? ? * _Where do I get ns?_ ? ? ? From the ns web site at http://www.isi.edu/nsnam/ns/ns.html and ? ? ? the download page http://www.isi.edu/nsnam/ns/ns-tests.html. ? ? * _What platforms does ns run on and what kind of hardware do I ? ? ? need?_ ? ? ? Please see "where to start" on the building ns web page: ? ? ? http://www.isi.edu/nsnam/ns/ns-build.html#start. ? ? * _What should I do if I have trouble downloading/extracting ns?_ ? ? ? This question is answered in detail at ? ? ? http://www.isi.edu/nsnam/ns/ns-problems.html#downloading. ? ? * _What should I do if I encounter problems building ns?_ ? ? ? Check: ? ? ? ? 1. the README that comes in the distribution (very brief), ? ? ? ? 2. the "installation problems, bug fixes and help" web page ? ? ? ? ? ?http://www.isi.edu/nsnam/ns/ns-problems.html, ? ? ? ? 3. the archives of the ns-users mailing list ? ? ? ? ? ?http://www.isi.edu/nsnam/ns/ns-lists.html, ? ? ? ? 4. post a bug report (see below) ? ? ? ? ? ?http://www.isi.edu/cgi-bin/nsnam/reportbug.cgi. ? ? * _What do I do after I successfully build ns?_ ? ? ? ? ?+ Put the path to your ns executable into your PATH environment ? ? ? ? ?+ Put the path to your otcl into your LD_LIBRARY_PATH ? ? ? ? ? ?environment ? ? ? ? ?+ Put the path to your tcl library into your TCL_LIBRARY ? ? ? ? ? ?environment ? ? * _Where can I find documentation for ns?_ ? ? ? All documentation is linked from the main ns web page ? ? ? http://www.isi.edu/nsnam/ns/. Documentation includes a tutorial ? ? ? (originally from Marc Greis) and a reference manual (ns notes and ? ? ? documentation). ? ? * _Words, words, words... that documentation is nice, but where are ? ? ? some sample scripts I can start from?_ ? ? ? Many sample scripts can be found in the ns distribution in ? ? ? ~ns-2/tcl/ex and ~ns-2/tcl/test. ? ? * _What protocols does ns support?_ ? ? ? A lot! Almost all variants of TCP, several forms of multicast, ? ? ? wired networking, several ad hoc routing protocols and propagation ? ? ? models (but not cellular phones), data diffusion, satellite, and ? ? ? other stuff. See the documentation (described above) for details, ? ? ? or download ns and look. ? ? * _How do I know that ns correctly implements these protocols?_ ? ? ? Ns has validation tests that cover many protocols, see ? ? ? http://www.isi.edu/nsnam/ns/ns-tests.html. However, ultimately ? ? ? users are responsible for verifying that ns is accurate for their ? ? ? purposes---since we cannot foresee all the ways ns may be used, we ? ? ? cannot test all cases with all inputs. ? ? * _Are there any contributed/additional protocols not in the main ? ? ? distribution?_ ? ? ? Yes, please see the contributed code web page ? ? ? http://www.isi.edu/nsnam/ns/ns-contributed.html. The mailing list ? ? ? archives can also be helpful (see below). ? ? * _How should I get started doing something (like implementing a new ? ? ? protocol or trying an experiment)?_ ? ? ? We recommend that you look through the tutorial (see ? ? ? documentation, above), then start with an example program that is ? ? ? most similar to yours (in the tutorial, or in tcl/ex or tcl/test ? ? ? in the distribution), and then start changing things. ? ? * _What should I do to compile ns to reflect my changes if I've ? ? ? modified some .cc or .h files?_ ? ? ? go to ns directory and run "make" or "make depend; make" ? ? * _How do I subscribe to the ns-users mailing list? How do I search ? ? ? old list archives? I can't take any more---how do I get off this ? ? ? list?_ ? ? ? To subscribe or unsubscribe, see ? ? ? http://www.isi.edu/nsnam/ns/ns-lists.html. The list archive is at ? ? ? http://www.isi.edu/nsnam/ns/ns-lists.html. ? ? * _What if I have a question that's not answered here?_ ? ? ? If you've checked the installation problems and bug fixes web page ? ? ? (http://www.isi.edu/nsnam/ns/ns-problems.html) and there's no ? ? ? answer to your question, you may want to file a bug report or post ? ? ? a question to the ns-user's mailing list. ? ? ? First, you should check the archive of the list at ? ? ? http://www.isi.edu/nsnam/ns/ns-lists.html. Your question may ? ? ? already be answered there. ? ? ? If not, you can post a bug report using the web form at ? ? ? http://www.isi.edu/cgi-bin/nsnam/reportbug.cgi. ? ? ? If your question is NOT about ns implementation bugs, you may wish ? ? ? to post to the list. First you should subscribe. Subscription ? ? ? instructions are at http://www.isi.edu/nsnam/ns/ns-lists.html. ? ? ? _Please note that mail sent to the list is publicly distributed ? ? ? and archived. _If you have concerns about your message being made ? ? ? public (spam harvesting of your address), please consider that ? ? ? _before_ posting. We cannot remove messages from reciepient's ? ? ? mailboxes or the public archive after they're posted. ? ? ? When posting bug reports, please _always_ include information ? ? ? including at least (the bug report form includes spaces for ? ? ? these): ? ? ? ? ?+ what version of ns you're using, ? ? ? ? ?+ what operating system you're running on (not just Linux or ? ? ? ? ? ?Solaris, but RedHat version 7.0 or Solaris 2.4---send us the ? ? ? ? ? ?output of "uname -a"), ? ? ? ? ?+ what specific behavior you see (if ns doesn't compile, what's ? ? ? ? ? ?the specific error; if TCP does something strange, what ? ? ? ? ? ?exactly did it do [send a pointer to a packet trace]), ? ? ? ? ?+ what behavior you expected to see (if ns doesn't compile this ? ? ? ? ? ?is obvious, but if TCP does something strange, why is it ? ? ? ? ? ?strange, where is the TCP spec violated?), ? ? ? ? ?+ pointers to your script detailed output files, ? ? ? ? ?+ a statement that "yes, I've read the FAQ, ns-problems page, ? ? ? ? ? ?and manual and I couldn't find the answer there" (or a ? ? ? ? ? ?statement about why you didn't do that yet :-) ? ? ? A reminder about mailing list etiquette: ? ? ? ? ?+ Please check the web pages and list archives before posting ? ? ? ? ? ?your question. ? ? ? ? ?+ Please keep the body of your post to simple ASCII, not HTML. ? ? ? ? ?+ Please do _not_ send large attachments (if what you have is ? ? ? ? ? ?bigger than a few kilobytes, put it on a web page and send a ? ? ? ? ? ?URL) ? ? ? ? ?+ Before posting a question like "did people see my post" or ? ? ? ? ? ?"the list seems down", please check the archives (you can ? ? ? ? ? ?answer this question more accurately by checking yourself ? ? ? ? ? ?rather than asking). ? ? ? ? ?+ Please don't post subscribe/unsubscribe requests directly to ? ? ? ? ? ?the list, use the lists' information page. (see the web page ? ? ? ? ? ?mentioned above for details). ? ? _________________________________________________________________ ---------------------------------------- >From abgazam at gmail.com Sun Sep 13 23:33:58 2009 Received: from vapor.isi.edu (vapor.isi.edu [128.9.64.64]) ? ? ? ?by gamma.isi.edu (8.13.8/8.13.8) with ESMTP id n8E6XeP2029396 ? ? ? ?(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) ? ? ? ?for ; Sun, 13 Sep 2009 23:33:41 -0700 (PDT) Received: from mail-ew0-f214.google.com (mail-ew0-f214.google.com [209.85.219.214]) ? ? ? ?by vapor.isi.edu (8.13.8/8.13.8) with ESMTP id n8E6XXLW016563 ? ? ? ?for ; Sun, 13 Sep 2009 23:33:35 -0700 (PDT) Received: by ewy10 with SMTP id 10so2944150ewy.13 ? ? ? ?for ; Sun, 13 Sep 2009 23:33:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; ? ? ? ?d=gmail.com; s=gamma; ? ? ? ?h=domainkey-signature:mime-version:received:date:message-id:subject ? ? ? ? :from:to:content-type; ? ? ? ?bh=+2nqseNpEM5Jns//B0v44Za3sTf/3HihI7t2L9P01pI=; ? ? ? ?b=LyG5/Oz/hbnc8f+Ex8Zwl/SoIeIAn7etiYlsp4OntocbU2Ssqz4W6cJIlZh/uH7vg4 ? ? ? ? PD+EX4G7F+5w4DlbH4Fix9ZZD52YEEFTCgy/oTvnbO4fqA+6Fo+E8Ke7VuHYXEyAu+Ql ? ? ? ? cnP3RYQ0g9v2qPBFZZT50pzvv3v9nPXoLHkaw= DomainKey-Signature: a=rsa-sha1; c=nofws; ? ? ? ?d=gmail.com; s=gamma; ? ? ? ?h=mime-version:date:message-id:subject:from:to:content-type; ? ? ? ?b=FrIS8Uc7B3qs9Q3eVcAOiXnYobpRI+HheLTg8LDpf1QHzlfbNypqg4r+Qgje8X0aIu ? ? ? ? m8GqbHb83Em2r2WTomCiK0wvYe2IO4EvjwZiTBQqXKBfsHdDZZeuz7mvFaARkT6vqt9z ? ? ? ? Bkh0QScw6D7akF6ca9ZAzG9R0a50Hk6C4TwEo= MIME-Version: 1.0 Received: by 10.211.146.6 with SMTP id y6mr2777879ebn.52.1252910012695; Sun, ? ? ? ?13 Sep 2009 23:33:32 -0700 (PDT) Date: Mon, 14 Sep 2009 14:33:32 +0800 Message-ID: <59dcbfbc0909132333j3096cc34x6833503e7b957993 at mail.gmail.com> Subject: fairly early drop marker (FED) in diffserv network From: abg azam To: ns-users at ISI.EDU Content-Type: text/plain; charset=ISO-8859-1 X-ISI-4-43-8-MailScanner: Found to be clean, Found to be clean X-MailScanner-From: abgazam at gmail.com hi all, anyone ever simulating FED in diffserv network using ns2? please share the code. From istavros at gmail.com Mon Sep 14 11:18:30 2009 From: istavros at gmail.com (Stavros Ioannidis) Date: Mon, 14 Sep 2009 19:18:30 +0100 Subject: [ns] Trying to send a packet from an Agent in one node, to a Connector in the same node Message-ID: <62edc8680909141118o1279bf74h610a879a9cd5b9e7@mail.gmail.com> I'm using the SWAN framework in ns2. there are 2 things in there. The swan admission controller, and the swan rate controller. Swan admission controller is an agent, while swan rate controller is a child of the Connector class. I wanna send a packet through the network (which is send by the admission controller), and when it is received by the admission controller of a node, I want to be sent to the rate controller of the same node so i can change the rate! Is there any way i can send the packet between two entities in the same node? From buchner.johannes at gmx.at Mon Sep 14 19:42:05 2009 From: buchner.johannes at gmx.at (Johannes Buchner) Date: Tue, 15 Sep 2009 14:42:05 +1200 Subject: [ns] Testing out parameters, enumerating/exhausting parameter space Message-ID: <20090915144205.98b2c0cf.buchner.johannes@gmx.at> Hi! When doing a simulation, you usually have a few parameters that you want to vary, right? For example, the number of nodes, or the throughput, could be parameters you want to test within certain ranges. And you want to run your simulation several times with varying each parameters. This might seem like a dumb question, but anyways: How do you usually do that? Do you just make several for loops inside the program? Or outside (e.g. using bash)? Do you use random points in this parameter space? This strikes me as a issue to all simulations, not specifically ns-[23]. Now I found a way that works great for me (which I'm happy to share), but I was wondering what your usual strategy is. Best regards, Johannes PS: As a young scientist, where would be good other place to ask similar questions? -- Emails k?nnen ge?ndert, gef?lscht und eingesehen werden. Signiere oder versch?ssele deine Mails mit GPG. http://web.student.tuwien.ac.at/~e0625457/pgp.html From ningrinla at yahoo.co.in Mon Sep 14 23:00:47 2009 From: ningrinla at yahoo.co.in (Ningrinla Marchang) Date: Mon, 14 Sep 2009 23:00:47 -0700 (PDT) Subject: [ns] Switching on and off promiscuous mode Message-ID: <636806.72341.qm@web8505.mail.in.yahoo.com> Hello, Can I get some help? I need to switch off and switch on the promiscuous mode of a node. How do I= do that? I've seen that it is possible to make all the nodes work in the promiscuous= mode. But switching on and off, I don't know the way to do it.=20 Can I do it in the tcl script? Thanks in advance Ning See the Web's breaking stories, chosen by people like you. Check out Yahoo! Buzz. http://in.buzz.yahoo.com/ From ozankhan1 at yahoo.com Tue Sep 15 12:14:52 2009 From: ozankhan1 at yahoo.com (nadir shah) Date: Tue, 15 Sep 2009 12:14:52 -0700 (PDT) Subject: [ns] nam 1.0a5 Message-ID: <538462.77585.qm@web53101.mail.re2.yahoo.com> Hi, i have installed ns-allinone-2.33 on fidora. my name could not support to colour mobile node and give me error to install nam1.0a5 or latter one. from where to dwonload and how to install later version of nam 1.0a5? Thanks With Best Regards, Nadir Shah Send instant messages to your online friends http://uk.messenger.yahoo.com From iiimene at gmail.com Wed Sep 16 07:38:49 2009 From: iiimene at gmail.com (iimene) Date: Wed, 16 Sep 2009 07:38:49 -0700 (PDT) Subject: [ns] I need your help please Message-ID: <25473848.post@talk.nabble.com> Hi, when i'm trying wireless.tcl example given in ns2-tutorial, it reurns me couldn't read file "../lib/ns-bsnode.tcl": no such file or directory while executing "source.orig ../lib/ns-bsnode.tcl" ("uplevel" body line 1) invoked from within "uplevel source.orig [list $fileName]" invoked from within "if [$instance_ is_http_url $fileName] { set buffer [$instance_ read_url $fileName] uplevel eval $buffer } else { uplevel source.orig [list $fileName] ..." (procedure "source" line 8) invoked from within "source ../lib/ns-bsnode.tcl" (file "wireless.tcl" line 191) could you please explain to me what is the problem, thanks in advance -- View this message in context: http://www.nabble.com/I-need-your-help-please-tp25473848p25473848.html Sent from the ns-users mailing list archive at Nabble.com. From buchner.johannes at gmx.at Thu Sep 17 02:13:45 2009 From: buchner.johannes at gmx.at (Johannes Buchner) Date: Thu, 17 Sep 2009 21:13:45 +1200 Subject: [ns] Testing out parameters, enumerating/exhausting parameter space In-Reply-To: References: <20090915144205.98b2c0cf.buchner.johannes@gmx.at> Message-ID: <20090917211345.c8aa520b.buchner.johannes@gmx.at> Hi again, So with 2 parameters you would do something like for param1 in $(seq 1 10) do for param2 in $(seq 1 100 10) do [ check if this simulation has been run already ] && continue # do the simulation, e.g for ns-3 ./waf --run "scratch/myfirst \ --ns3::PointToPointNetDevice::DataRate=${param2}Mbps \ --ns3::PointToPointChannel::Delay=${param1}ms" # or in ns-2 ns myfile $param1 $param2 # or the equivalent for other simulation software move results files and logs to the right place done done which will fill your parameter space like this: param1 ^ | 5 10 | 4 9 | 3 8 13 | 2 7 12 | 1 6 11 +-------------------------------> param2 Which means you can't really visualize your results until all simulations are done. I made a script that uses another enumeration method, getting more and more into detail, like in this order: param1 ^ | 2 7 3 | | 6 | | 1 5 4 +-------------------------------> param2 The benefit is that you can do e.g. 25 simulations to get a rough feeling how the output will be, and then extend to 289, 1089, ... simulations (as detailed as you want), by always halfing the space between the points. You can find an explanation and a generating script at http://johannes.jakeapp.com/blog/category/science/200909/exhausting-a-finite-parameter-space-by-enumerating-qn So your call would become (for the first 25 parameter pairs): # number of parameters scaling from [0:1] to [1:10] | \ / ./numbering.py 2 0 3 | awk '{print $1*9+1,$2*99+1}' | while read param1 param2 do [ check if this simulation has been run already ] && continue run simulation with $param1 $param2 move results files and logs to the right place done I hope that explanation was understandable, it is easier on a piece of paper. Just throughing random points at your parameter space will be equally effective (you cover the parameter space with increasing density), but this is a deterministic method. An arbitrary number of parameters (dimensions) is possible. It benefits me because the intermediate results are representative, and I can already do visualizations while the rest of the simulations finish. I can let the simulations run up until I write the report to gain more confidence. Best regards, Johannes On Thu, 17 Sep 2009 08:02:00 +0200 Basim Javed wrote: > hi > > Normally we have to call NS several times, which is not elegant > approach, doing it using bash works. > I do not know other approach, so maybe you would share yours? > > cheers > Basim > > On Tue, Sep 15, 2009 at 4:42 AM, Johannes Buchner > wrote: > > > > > > > Hi! > > > > When doing a simulation, you usually have a few parameters that you > > want to vary, right? For example, the number of nodes, or the > > throughput, could be parameters you want to test within certain > > ranges. And you want to run your simulation several times with > > varying each parameters. > > > > This might seem like a dumb question, but anyways: > > How do you usually do that? Do you just make several for loops > > inside the program? Or outside (e.g. using bash)? Do you use random > > points in this parameter space? > > > > This strikes me as a issue to all simulations, not specifically > > ns-[23]. Now I found a way that works great for me (which I'm happy > > to share), but I was wondering what your usual strategy is. > > > > Best regards, > > Johannes > > -- Emails k?nnen ge?ndert, gef?lscht und eingesehen werden. Signiere oder versch?ssele deine Mails mit GPG. http://web.student.tuwien.ac.at/~e0625457/pgp.html From mrbalador at yahoo.com Thu Sep 17 02:12:00 2009 From: mrbalador at yahoo.com (ali bala) Date: Thu, 17 Sep 2009 02:12:00 -0700 (PDT) Subject: [ns] help me for 802.11e Message-ID: <123893.14929.qm@web45111.mail.sp1.yahoo.com> hi i installed 802.11e tkn under ns-2.31 and after installation of that i run "multi_udpflows.tcl" of course i run this example with 1000 sec instead of 10000 sec and i get this message : num_nodes is set 5 wired node 0 created wired node 1 created wired node 2 created INITIALIZE THE LIST xListHead Base-Station node 3 created wireless node 0 created ... wireless node 1 created ... wireless node 2 created ... wireless node 3 created ... warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt channel.cc:sendUp - Calc highestAntennaZ_ and distCST_ highestAntennaZ_ = 1.5, ?distCST_ = 550.0 SORTING LISTS ...DONE!? ns exiting... ? i have 2 questions : 1- is it errore or only it's a warning and i install tkn succesfully? 2-if i?didn't install?tkn sccesfully please help me to?do that succesfully ? after run this example i write new example and run it under 802.11e i attached the new tcl when i run it?with dsdv?all packet dropped and when i run it with dsr?in tr file i saw sfs in first of all row and when i run it with aodv it run?but the?output file was empty. 3- what's the problem of 802.11e with routing protocols? please help me for working?well with 802.11e tkn i need it very soon thanks for your attentions ? ?mr.ali.balador homepage:www.balador.org From pdro07 at gmail.com Thu Sep 17 02:13:52 2009 From: pdro07 at gmail.com (pedro chaparro) Date: Thu, 17 Sep 2009 11:13:52 +0200 Subject: [ns] how stop the scheduler? Message-ID: hi, i wonder how can i stop the scheduler from c++ code? and after stop it , how can i re-start? thanks -- Ing Pedro Alonso Chaparro Valero Ciudad Politecnica de la Innovaci?n iTEAM - Mobile Communications Group Polytechnic University of Valencia C\ Camino de Vera S/N, Edificio 8G 46022 Valencia, Spain From imran_study at hotmail.com Thu Sep 17 02:47:42 2009 From: imran_study at hotmail.com (imranuk) Date: Thu, 17 Sep 2009 02:47:42 -0700 (PDT) Subject: [ns] c++/otcl linkage Message-ID: <25488226.post@talk.nabble.com> Hi, Does anybody knows required process to link in a new module in NS2,particularly required files and location in directories, required locations of file name in the makefile list. Your's Thankfully, Muhammad Imran Khan MSc, Salford University,Manchester,U.K. -- View this message in context: http://www.nabble.com/c%2B%2B-otcl-linkage-tp25488226p25488226.html Sent from the ns-users mailing list archive at Nabble.com. From e_cherkaoui at yahoo.fr Thu Sep 17 04:27:24 2009 From: e_cherkaoui at yahoo.fr (El hadi Cherkaoui) Date: Thu, 17 Sep 2009 04:27:24 -0700 (PDT) Subject: [ns] NIST MOBILITY NS2.29 Message-ID: <382957.47325.qm@web28603.mail.ukl.yahoo.com> hi all, i want to download NIST module (without errors) for NS2.29 . The one provide by : http://w3.antd.nist.gov/seamlessandsecure/pubtool.shtml#tools seams to have error of compilation. Please thank's to send me the good version for NS2.29. Best regards From singh.umang at hotmail.com Thu Sep 17 06:17:56 2009 From: singh.umang at hotmail.com (umang singh) Date: Thu, 17 Sep 2009 18:47:56 +0530 Subject: [ns] Error: after make Message-ID: hi all please tell me how to come out from this error. umang root at umang ns-2.33]# make g++ -c -Wall -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINU X_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_ OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_CONFIG_ H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE - Drng_test -I. -I. -I/root/ns-allinone-2.33/tclcl-1.19 -I/root/ns-allinone-2.33/ otcl-1.13 -I/root/ns-allinone-2.33/include -I/root/ns-allinone-2.33/include -I/u sr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./ diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns - I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan - o tools/random.o tools/random.cc g++ -c -Wall -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINU X_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_ OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_CONFIG_ H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE - Drng_test -I. -I. -I/root/ns-allinone-2.33/tclcl-1.19 -I/root/ns-allinone-2.33/ otcl-1.13 -I/root/ns-allinone-2.33/include -I/root/ns-allinone-2.33/include -I/u sr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./ diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns - I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan - o tools/rng.o tools/rng.cc g++ -c -Wall -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINU X_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_ OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_CONFIG_ H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE - Drng_test -I. -I. -I/root/ns-allinone-2.33/tclcl-1.19 -I/root/ns-allinone-2.33/ otcl-1.13 -I/root/ns-allinone-2.33/include -I/root/ns-allinone-2.33/include -I/u sr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./ diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns - I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan - o tools/ranvar.o tools/ranvar.cc g++ -c -Wall -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINU X_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_ OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_CONFIG_ H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE - Drng_test -I. -I. -I/root/ns-allinone-2.33/tclcl-1.19 -I/root/ns-allinone-2.33/ otcl-1.13 -I/root/ns-allinone-2.33/include -I/root/ns-allinone-2.33/include -I/u sr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./ diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns - I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan - o common/misc.o common/misc.cc In file included from ./random.h:43, from common/misc.cc:50: ./rng.h:49:1: warning: "rng_test" redefined :21:1: warning: this is the location of the previous definition ./rng.h:54:17: Tcl.h: No such file or directory make: *** [common/misc.o] Error 1 _________________________________________________________________ Begin your day with a strong dose of news, sports, entertainment and more on MSN India http://in.msn.com From pdro07 at gmail.com Thu Sep 17 09:27:55 2009 From: pdro07 at gmail.com (pedro chaparro) Date: Thu, 17 Sep 2009 17:27:55 +0100 Subject: [ns] how stop the scheduler? In-Reply-To: References: Message-ID: hi, i've been looking out the links u said me, i've seen there is a halted_ variable which control if scheduler is halted or not (i presume) , i wanna see this and i create into scheduler.h a public fucntion to get the value of the protected variable halted_ int pst() {return halted_;} and into UDP agent i added a line to print this value printf("value of halted_ is %d ",Scheduler::instance.pst()); , after changes i compiled, no errorr, but when i run my tcl script which runs a simple topology using cbr/UDP i get the following error : attempting to cancel timer at 0xa4d5bc0 which is not scheduled i'm not asking ns to change nothing, i just ask for a variable value (halted_) What can be the cause of this error?? thanks 2009/9/17 Mubashir Rehmani > Hi, > > See this > http://www.isi.edu/nsnam/archive/ns-users/webarch/1997/msg00125.html > > http://www-rp.lip6.fr/ns-doc/ns226-doc/html/scheduler_8h-source.htm > > Regards > Mubashir Husain Rehmani > > 2009/9/17 pedro chaparro > > >> hi, i wonder how can i stop the scheduler from c++ code? and after stop it >> , >> how can i re-start? >> thanks >> >> -- >> Ing Pedro Alonso Chaparro Valero >> Ciudad Politecnica de la Innovaci?n >> iTEAM - Mobile Communications Group >> Polytechnic University of Valencia >> C\ Camino de Vera S/N, Edificio 8G >> 46022 Valencia, Spain >> > > > > -- > Mubashir Husain Rehmani > > > -- Ing Pedro Alonso Chaparro Valero Ciudad Politecnica de la Innovaci?n iTEAM - Mobile Communications Group Polytechnic University of Valencia C\ Camino de Vera S/N, Edificio 8G 46022 Valencia, Spain From azmshahriar at gmail.com Fri Sep 18 08:55:17 2009 From: azmshahriar at gmail.com (abu shahriar) Date: Fri, 18 Sep 2009 10:55:17 -0500 Subject: [ns] randomizing runs Message-ID: <207333290909180855w1b5eea7fy820db6fa226d0f8b@mail.gmail.com> Hi all, I am in trouble with randomizing ns run by seeding defaultRNG or ns-random. Can anyone help me about how to randomize runs? I am using a wired network topology. Thanks. --Shahriar From mrkayhanz at gmail.com Sat Sep 19 06:06:16 2009 From: mrkayhanz at gmail.com (Kayhan Zrar) Date: Sat, 19 Sep 2009 21:06:16 +0800 Subject: [ns] A question Message-ID: Dear I am new still new in ns 2 what is the benefit of trace file? -- Regards, Kayhan Zrar Ghafoor (PhD Candidate) Department of Computer System and Communication Faculty of Computer Science & Information Engineering, Universiti Teknologi Malaysia, 81310 UTM Skudai, Johor, MALAYSIA Mob: +60(0) 01212 4646 Off: +60(0) 755 32691 From mrkayhanz at gmail.com Sat Sep 19 09:13:14 2009 From: mrkayhanz at gmail.com (Kayhan Zrar) Date: Sun, 20 Sep 2009 00:13:14 +0800 Subject: [ns] A question Message-ID: Dear now I am working on implementation of "Network Coding" using NS 2,but I got many problem,please I have the following questions: - What does source, Intermediate or reciever node should have for example buffers,queue,or could you please help me in any information about network coding implementation using ns2 because now In the trouble with my PhD. thanks to all -- Regards, Kayhan Zrar Ghafoor (PhD Candidate) Department of Computer System and Communication Faculty of Computer Science & Information Engineering, Universiti Teknologi Malaysia, 81310 UTM Skudai, Johor, MALAYSIA Mob: +60(0) 01212 4646 Off: +60(0) 755 32691 From rakusust at gmail.com Sun Sep 20 11:29:36 2009 From: rakusust at gmail.com (Suranjit Paul) Date: Sun, 20 Sep 2009 14:29:36 -0400 Subject: [ns] Can I run ns2.29 code (some implementation of Broadcast Algorithms) in ns-allinone-2.34? Message-ID: <90bb9e8d0909201129v6f3a3974hc974dcd7d1e90457@mail.gmail.com> Hi, I am running ns-allinone-2.34 in my Ubuntu 9.04 system. I have to analyze some code (broadcast algorithms) that was written in ns2.29. Is it possible to run those code in my system where I am running ns-allinone-2.34? Please help me out with this problem. Waiting for your reply. Thanks, Suranjit Paul From lost_feg at yahoo.co.id Sun Sep 20 19:51:54 2009 From: lost_feg at yahoo.co.id (Ganda Oktopredy Damanik) Date: Sun, 20 Sep 2009 19:51:54 -0700 (PDT) Subject: [ns] How to make additional change in tcp.cc work out?? Message-ID: <958966.82406.qm@web77011.mail.sg1.yahoo.com> hello I'm new in using NS2, I have problem when I add another case in linear increase cogestion avoidance algorithm in tcp.cc why can't it work out when I run it?In the tcl code I have set windowOption_ to '9' (where I put my additional change).It seems that any change I've made doesn't take effect at all.What am I suppose to do to make it work? Please help me. I make change like this : void TcpAgent::opencwnd() { ??? double increment; ??? if (cwnd_ < ssthresh_) { ??????? /* slow-start (exponential) */ ??????? cwnd_ += 1; ??? } else { ??????? /* linear */ ??????? double f; ??????? switch (wnd_option_) { ??????? case 0: ??????????? if (++count_ >= cwnd_) { ??????????????? count_ = 0; ??????????????? ++cwnd_; ??????????? } ??????????? break; ??????? case 1: ??????????? /* This is the standard algorithm. */ ??????????? increment = increase_num_ / cwnd_; ??????????? if ((last_cwnd_action_ == 0 || ????????????? last_cwnd_action_ == CWND_ACTION_TIMEOUT) ????????????? && max_ssthresh_ > 0) { ??????????????? increment = limited_slow_start(cwnd_, ????????????????? max_ssthresh_, increment); ??????????? } ??????????? cwnd_ += increment; ??????????? break; ??????????? . ??????????? . ??????????? . ??????????? . ??????? case 9: ??????? (I put the additonal change here) ??????? break; ?????? Buat sendiri desain eksklusif Messenger Pingbox Anda sekarang! Membuat tempat chat pribadi di blog Anda sekarang sangatlah mudah. http://id.messenger.yahoo.com/pingbox/ From mrkayhanz at gmail.com Mon Sep 21 05:08:59 2009 From: mrkayhanz at gmail.com (Kayhan Zrar) Date: Mon, 21 Sep 2009 20:08:59 +0800 Subject: [ns] A question Message-ID: Dear I have this program can I first paste it in UltraEdit program them save it as tcl file then run it shell command of ns2 or how can I excute it ,I installed ns 2 under windows? or where can I excute tcl program? *puts "Hello, World - In quotes" ;# This is a comment after the command. # This is a comment at beginning of a line puts {Hello, World - In Braces} puts {Bad comment syntax example} # *Error* - there is no semicolon! puts "This is line 1"; puts "this is line 2" puts "Hello, World; - With a semicolon inside the quotes" # Words don't need to be quoted unless they contain white space: puts HelloWorld* -- Regards, Kayhan Zrar Ghafoor (PhD Candidate) Department of Computer System and Communication Faculty of Computer Science & Information Engineering, Universiti Teknologi Malaysia, 81310 UTM Skudai, Johor, MALAYSIA Mob: +60(0) 01212 4646 Off: +60(0) 755 32691 From daltoncezane at gmail.com Mon Sep 21 15:32:41 2009 From: daltoncezane at gmail.com (=?ISO-8859-1?Q?Dalton_C=E9zane?=) Date: Mon, 21 Sep 2009 19:32:41 -0300 Subject: [ns] Changing the ns-lib.tcl file Message-ID: <98029fd50909211532l55973d4akc26616f79e6250d4@mail.gmail.com> Hi, people. I would like to know if I can change the ns-lib.tcl file (like below) without be needed a lot of changes in all ns. I want to add a line to be possible choose topology control protocols, like: \$ns_ node-config -addressType hierarchical \bs -adhocRouting AODV \bs -topologyControl MyTopologyControlProtocolHere -llType LL \bs -macType Mac/802_11 \bs -ifqType Queue/DropTail/PriQueue \bs -ifqLen 50 \bs -antType Antenna/OmniAntenna \bs -propType Propagation/TwoRayGround \bs -phyType Phy/WirelessPhy \bs -topologyInstance \$topo \bs -channel Channel/WirelessChannel \bs -agentTrace ON \bs -routerTrace ON \bs -macTrace OFF \bs -movementTrace OFF Did anyone already do something like that? Can anyone give me some tips? Thanks in advance! -- ======================================================= Dalton C?zane - Voip UFCG: 1075-2005 Mestrando em Ci?ncia da Computa??o (UFCG) Bacharel em Ci?ncia da Computa??o (UFCG) T?cnico em Inform?tica (ETER) From ksula88 at yahoo.com Mon Sep 21 20:56:41 2009 From: ksula88 at yahoo.com (Sula K) Date: Mon, 21 Sep 2009 20:56:41 -0700 (PDT) Subject: [ns] Dear Alll Message-ID: <518049.1928.qm@web113106.mail.gq1.yahoo.com> Dear All, please help , I am still new in NS 2:? How can I program using C++ or C in NS 2? please help. From ksula88 at yahoo.com Tue Sep 22 06:51:13 2009 From: ksula88 at yahoo.com (Sula K) Date: Tue, 22 Sep 2009 06:51:13 -0700 (PDT) Subject: [ns] Please Help Message-ID: <960552.7972.qm@web113103.mail.gq1.yahoo.com> Daer my brothers, in ns 2? I did rm ns.exe instead rm nam.exe , after that when? iexcuted the following problem come out on the screen? User at user-cfab0b1f55 ~ $ ns.exe bash: ns.exe: command not found From lost_feg at yahoo.co.id Tue Sep 22 11:28:02 2009 From: lost_feg at yahoo.co.id (Ganda Oktopredy Damanik) Date: Tue, 22 Sep 2009 11:28:02 -0700 (PDT) Subject: [ns] how can we catch minimum and maximum RTT value ? Message-ID: <42716.48689.qm@web77014.mail.sg1.yahoo.com> hello, I want to save the minimum and maximum RTT value and use them when I running a simulation, how can I do that? ? Lebih aman saat online. Upgrade ke Internet Explorer 8 baru dan lebih cepat yang dioptimalkan untuk Yahoo! agar Anda merasa lebih aman. Gratis. Dapatkan IE8 di sini! http://downloads.yahoo.com/id/internetexplorer/ From nirgauri at yahoo.com Tue Sep 22 23:59:11 2009 From: nirgauri at yahoo.com (gauri nir) Date: Tue, 22 Sep 2009 23:59:11 -0700 (PDT) Subject: [ns] Fw: Error model not working in wireless Message-ID: <164460.91463.qm@web44901.mail.sp1.yahoo.com> ----- Forwarded Message ---- From: gauri nir To: ns-users at mash.cs.berkeley.edu Sent: Wednesday, September 23, 2009 12:06:52 PM Subject: Hi all! ?I am working with wireless simulations on winxp.Some ex. like error model in wireless not working Any help?I've gone thru the archives Plz. Thanx,? Gauri From aurel_ganga at yahoo.com Wed Sep 23 00:24:39 2009 From: aurel_ganga at yahoo.com (Aurel Mihail Ganga) Date: Wed, 23 Sep 2009 07:24:39 +0000 (GMT) Subject: [ns] NAM installation/executable-file missing Message-ID: <989659.1533.qm@web24305.mail.ird.yahoo.com> Hello fellow users, I installed the package ns-allinone-2.34 on the latest Cygwin 1.5.25-15 on WinXP SP2. Installing (compiling) went without errors. When I try to run the example in "/ns-allinone-2.34/ns-2.34/tcl/ex/simple.tcl", it fails with the error: "...ns: finish: couldn't execute "nam": no such file or directory while executing "exec nam out.nam &..." The problem seems obvious, I do not have a nam executablein the folder "\ns-allinone-2.34\nam-1.14" or anywhere else. This is thus not a PATH problem as far as I can see! Looking into the "nam-1.14" folder, it seems to me that the files were not compiled so i try to run ./configure, but I get the error message "checking for X11 header files can't find X includes". Has anyone had the same problem? How can I fix it? Thanks for your time. Aurel From pdro07 at gmail.com Wed Sep 23 00:57:25 2009 From: pdro07 at gmail.com (pedro chaparro) Date: Wed, 23 Sep 2009 09:57:25 +0200 Subject: [ns] good tutorial on timers? Message-ID: hi, anybody knows some good tutorial about hot to use timers on ns2?thanks -- Ing Pedro Alonso Chaparro Valero Ciudad Politecnica de la Innovaci?n iTEAM - Mobile Communications Group Polytechnic University of Valencia C\ Camino de Vera S/N, Edificio 8G 46022 Valencia, Spain From teerawat at ece.ubc.ca Wed Sep 23 01:47:53 2009 From: teerawat at ece.ubc.ca (Teerawat Issariyakul) Date: Wed, 23 Sep 2009 01:47:53 -0700 (PDT) Subject: [ns] Please Help In-Reply-To: <960552.7972.qm@web113103.mail.gq1.yahoo.com> Message-ID: Hi, You may run "make" again from NS2 directory. It will create ns.exe. Best Regards, Teerawat On 9/22/2009, "Sula K" wrote: > >Daer my brothers, > >in ns 2? I did rm ns.exe instead rm nam.exe , > >after that when? iexcuted the following problem come out on the screen? > >User at user-cfab0b1f55 ~ >$ ns.exe >bash: ns.exe: command not found > > > > From pdro07 at gmail.com Wed Sep 23 04:09:28 2009 From: pdro07 at gmail.com (pedro chaparro) Date: Wed, 23 Sep 2009 13:09:28 +0200 Subject: [ns] POSIX sockets inside ns2? Message-ID: hi, anybody knos how can i use POSIX sockets into ns-2? -- Ing Pedro Alonso Chaparro Valero Ciudad Politecnica de la Innovaci?n iTEAM - Mobile Communications Group Polytechnic University of Valencia C\ Camino de Vera S/N, Edificio 8G 46022 Valencia, Spain From pdro07 at gmail.com Wed Sep 23 04:09:46 2009 From: pdro07 at gmail.com (pedro chaparro) Date: Wed, 23 Sep 2009 13:09:46 +0200 Subject: [ns] Co-simulation with ns-2 Message-ID: anyone who have experience implementing co-simulations issues using ns-2? -- Ing Pedro Alonso Chaparro Valero Ciudad Politecnica de la Innovaci?n iTEAM - Mobile Communications Group Polytechnic University of Valencia C\ Camino de Vera S/N, Edificio 8G 46022 Valencia, Spain From singh.umang at hotmail.com Wed Sep 23 09:49:43 2009 From: singh.umang at hotmail.com (umang singh) Date: Wed, 23 Sep 2009 22:19:43 +0530 Subject: [ns] Error: Handoff attempted Message-ID: Hi, I am running a MANET simulation (AODV, 802.11) in ns2.33. During my simulation, I get the following output from ns2: Loading random scenario pattern... Loading Connection Pattern... Starting Simulation SORTING LISTS ...DONE! channel.cc:sendUp - Calc highestAntennaZ_ and distCST_ highestAntennaZ_ = 1.5, distCST_ = 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0 Client 11: Handoff Attempted Client 1: Handoff Attempted Client 15: Handoff Attempted Client 13: Handoff Attempted Client 10: Handoff Attempted Client 12: Handoff Attempted Client 16: Handoff Attempted Client 18: Handoff Attempted Client 14: Handoff Attempted Client 19: Handoff Attempted Client 6: Handoff Attempted Client 9: Handoff Attempted Client 8: Handoff Attempted Client 4: Handoff Attempted Client 7: Handoff Attempted Client 3: Handoff Attempted Client 5: Handoff Attempted Client 0: Handoff Attempted [root at umang aodv]# I am using following node configuration: # configure the nodes $ns_ node-config -adhocRouting $val(rp) \ -llType $val(ll) \ -macType $val(mac) \ -ifqType $val(ifq) \ -ifqLen $val(ifqlen) \ -antType $val(ant) \ -propType $val(prop) \ -phyType $val(netif) \ -topoInstance $topo \ -agentTrace ON \ -routerTrace ON \ -macTrace ON \ -movementTrace OFF\ -channel $chan_1_ please help me.Its very urgent. regards Umang _________________________________________________________________ Begin your day with a strong dose of news, sports, entertainment and more on MSN India http://in.msn.com From alimmj81 at yahoo.com Wed Sep 23 11:15:15 2009 From: alimmj81 at yahoo.com (ali majeed) Date: Wed, 23 Sep 2009 11:15:15 -0700 (PDT) Subject: [ns] the difference between NS2 and OPNET simulator Message-ID: <260393.77392.qm@web55806.mail.re3.yahoo.com> hi to all please can any one help me to show me?? what is the difference between NS2 and OPNET simulator in every thing. thank you very much ? ENG. Ali M. From chandra.mahin at gmail.com Wed Sep 23 12:00:40 2009 From: chandra.mahin at gmail.com (Maggi.....) Date: Thu, 24 Sep 2009 03:00:40 +0800 Subject: [ns] NIST mobility add-on Message-ID: <3521ad3d0909231200m727d30b0r2dd98b0b4790844d@mail.gmail.com> Hi all, I am currently working on a project, "Seamless mobility across heterogeneous wireless access networks"using NIST mobility add-on for NS-2. My question is, in the current MIH add-on, MIIS is not implemented and the mobilenode gets the information of neighbor WLAN BS through listening to the beacons, for that purpose the WLAN interface in the Mobilenode should be ON through out the simulation thus consuming high power.But for WiMAX interface we can TURN OFF when not needed,like wise is it possible to TURN OFF the WLAN interface as well... Is there are any latest version of NIST MIH module available.... Thank you in advance Regards, Mahinthan From bappyece at yahoo.com Wed Sep 23 12:13:50 2009 From: bappyece at yahoo.com (Shah Ahsanuzzaman) Date: Wed, 23 Sep 2009 12:13:50 -0700 (PDT) Subject: [ns] I have some problem to install ns 2.88 in ubuntu 9.0.4 In-Reply-To: <200909231855.n8NItWKI018561@gamma.isi.edu> Message-ID: <420675.54458.qm@web56405.mail.re3.yahoo.com> Dear ns users, Can Anybody help me about my problem..when i tryied to install ns2.28 in ubuntu 9.0.4............... trace/trace.cc:185: warning: deprecated conversion from string constant to = =E2=80=98char*=E2=80=99 trace/trace.cc:185: warning: deprecated conversion from string constant to = =E2=80=98char*=E2=80=99 trace/trace.cc:185: warning: deprecated conversion from string constant to = =E2=80=98char*=E2=80=99 trace/trace.cc:185: warning: deprecated conversion from string constant to = =E2=80=98char*=E2=80=99 trace/trace.cc:185: warning: deprecated conversion from string constant to = =E2=80=98char*=E2=80=99 make: *** [trace/trace.o] Error 1 Ns make failed! ?Shah Ahsanuzzaman Md. Tariq (Bappy) Masters Student Telecommunications Engineering Faculty of EngineeringDepartment of Engineering and Information science University of Trento, Italy ? --- On Thu, 9/24/09, daemon at ISI.EDU wrote: From: daemon at ISI.EDU Subject: Re: I have some problem to install ns 2.88 in ubuntu 9.0.4 To: bappyece at yahoo.com Date: Thursday, September 24, 2009, 12:55 AM Welcome to posting to the ns-users mailing list! We automatically send this message to every new person who sends mail to the list.? You should only receive it once.? My apologies if the program contacts you twice, perhaps because you have multiple e-mail addresses or send mail from multiple machines. If you are an experienced ns-user who simply has not posted since we started using this responder, our apologies for inconveniencing you with this message.? This message is intended to help inform users and cut down on redundant posts, which benefits everyone. Please look at the attached list of ns Frequently Asked Questions. If it answers your question, great!? You're done. If not, please RE-SEND your original message to ns-users at isi.edu. A copy of your original message is included below for reference. You will NOT have to do re-send your message every time you post, only the FIRST time you send from a new account.? The goal is to quickly help new users find the FAQ (hopefully answering their question). Thanks, ???-the ns development team ---------------------------------------- ? ? ? ? ? ? The Network Simulator ns-2: Frequently Asked Questions ???(This FAQ is also on the web at ???http://www.isi.edu/nsnam/ns/ns-faq.html.) ? ? ??? ? ???* _Where do I get ns?_ ? ? ??? ? ? ???From the ns web site at http://www.isi.edu/nsnam/ns/ns.html and ? ? ???the download page http://www.isi.edu/nsnam/ns/ns-tests.html. ? ? ??? ? ???* _What platforms does ns run on and what kind of hardware do I ? ? ???need?_ ? ? ??? ? ? ???Please see "where to start" on the building ns web page: ? ? ???http://www.isi.edu/nsnam/ns/ns-build.html#start. ? ? ??? ? ???* _What should I do if I have trouble downloading/extracting ns?_ ? ? ??? ? ? ???This question is answered in detail at ? ? ???http://www.isi.edu/nsnam/ns/ns-problems.html#downloading. ? ? ??? ? ???* _What should I do if I encounter problems building ns?_ ? ? ??? ? ? ???Check: ? ? ? ???1. the README that comes in the distribution (very brief), ? ? ? ???2. the "installation problems, bug fixes and help" web page ? ? ? ? ? ? http://www.isi.edu/nsnam/ns/ns-problems.html, ? ? ? ???3. the archives of the ns-users mailing list ? ? ? ? ? ? http://www.isi.edu/nsnam/ns/ns-lists.html, ? ? ? ???4. post a bug report (see below) ? ? ? ? ? ? http://www.isi.edu/cgi-bin/nsnam/reportbug.cgi. ? ? ??? ? ???* _What do I do after I successfully build ns?_ ? ? ??? ? ? ? ? ? + Put the path to your ns executable into your PATH environment ? ? ? ? ? + Put the path to your otcl into your LD_LIBRARY_PATH ? ? ? ? ? ? environment ? ? ? ? ? + Put the path to your tcl library into your TCL_LIBRARY ? ? ? ? ? ? environment ? ? ??? ? ???* _Where can I find documentation for ns?_ ? ? ??? ? ? ???All documentation is linked from the main ns web page ? ? ???http://www.isi.edu/nsnam/ns/. Documentation includes a tutorial ? ? ???(originally from Marc Greis) and a reference manual (ns notes and ? ? ???documentation). ? ? ??? ? ???* _Words, words, words... that documentation is nice, but where are ? ? ???some sample scripts I can start from?_ ? ? ??? ? ? ???Many sample scripts can be found in the ns distribution in ? ? ???~ns-2/tcl/ex and ~ns-2/tcl/test. ? ? ??? ? ???* _What protocols does ns support?_ ? ? ??? ? ? ???A lot! Almost all variants of TCP, several forms of multicast, ? ? ???wired networking, several ad hoc routing protocols and propagation ? ? ???models (but not cellular phones), data diffusion, satellite, and ? ? ???other stuff. See the documentation (described above) for details, ? ? ???or download ns and look. ? ? ??? ? ???* _How do I know that ns correctly implements these protocols?_ ? ? ??? ? ? ???Ns has validation tests that cover many protocols, see ? ? ???http://www.isi.edu/nsnam/ns/ns-tests.html. However, ultimately ? ? ???users are responsible for verifying that ns is accurate for their ? ? ???purposes---since we cannot foresee all the ways ns may be used, we ? ? ???cannot test all cases with all inputs. ? ? ??? ? ???* _Are there any contributed/additional protocols not in the main ? ? ???distribution?_ ? ? ??? ? ? ???Yes, please see the contributed code web page ? ? ???http://www.isi.edu/nsnam/ns/ns-contributed.html. The mailing list ? ? ???archives can also be helpful (see below). ? ? ??? ? ???* _How should I get started doing something (like implementing a new ? ? ???protocol or trying an experiment)?_ ? ? ??? ? ? ???We recommend that you look through the tutorial (see ? ? ???documentation, above), then start with an example program that is ? ? ???most similar to yours (in the tutorial, or in tcl/ex or tcl/test ? ? ???in the distribution), and then start changing things. ? ? ??? ? ???* _What should I do to compile ns to reflect my changes if I've ? ? ???modified some .cc or .h files?_ ? ? ??? ? ? ???go to ns directory and run "make" or "make depend; make" ? ? ??? ? ???* _How do I subscribe to the ns-users mailing list? How do I search ? ? ???old list archives? I can't take any more---how do I get off this ? ? ???list?_ ? ? ??? ? ? ???To subscribe or unsubscribe, see ? ? ???http://www.isi.edu/nsnam/ns/ns-lists.html. The list archive is at ? ? ???http://www.isi.edu/nsnam/ns/ns-lists.html. ? ? ??? ? ???* _What if I have a question that's not answered here?_ ? ? ??? ? ? ???If you've checked the installation problems and bug fixes web page ? ? ???(http://www.isi.edu/nsnam/ns/ns-problems.html) and there's no ? ? ???answer to your question, you may want to file a bug report or post ? ? ???a question to the ns-user's mailing list. ? ? ??? ? ? ???First, you should check the archive of the list at ? ? ???http://www.isi.edu/nsnam/ns/ns-lists.html. Your question may ? ? ???already be answered there. ? ? ??? ? ? ???If not, you can post a bug report using the web form at ? ? ???http://www.isi.edu/cgi-bin/nsnam/reportbug.cgi. ? ? ??? ? ? ???If your question is NOT about ns implementation bugs, you may wish ? ? ???to post to the list. First you should subscribe. Subscription ? ? ???instructions are at http://www.isi.edu/nsnam/ns/ns-lists.html. ? ? ??? ? ? ???_Please note that mail sent to the list is publicly distributed ? ? ???and archived. _If you have concerns about your message being made ? ? ???public (spam harvesting of your address), please consider that ? ? ???_before_ posting. We cannot remove messages from reciepient's ? ? ???mailboxes or the public archive after they're posted. ? ? ??? ? ? ???When posting bug reports, please _always_ include information ? ? ???including at least (the bug report form includes spaces for ? ? ???these): ? ? ? ? ? + what version of ns you're using, ? ? ? ? ? + what operating system you're running on (not just Linux or ? ? ? ? ? ? Solaris, but RedHat version 7.0 or Solaris 2.4---send us the ? ? ? ? ? ? output of "uname -a"), ? ? ? ? ? + what specific behavior you see (if ns doesn't compile, what's ? ? ? ? ? ? the specific error; if TCP does something strange, what ? ? ? ? ? ? exactly did it do [send a pointer to a packet trace]), ? ? ? ? ? + what behavior you expected to see (if ns doesn't compile this ? ? ? ? ? ? is obvious, but if TCP does something strange, why is it ? ? ? ? ? ? strange, where is the TCP spec violated?), ? ? ? ? ? + pointers to your script detailed output files, ? ? ? ? ? + a statement that "yes, I've read the FAQ, ns-problems page, ? ? ? ? ? ? and manual and I couldn't find the answer there" (or a ? ? ? ? ? ? statement about why you didn't do that yet :-) ? ? ??? ? ? ???A reminder about mailing list etiquette: ? ? ? ? ? + Please check the web pages and list archives before posting ? ? ? ? ? ? your question. ? ? ? ? ? + Please keep the body of your post to simple ASCII, not HTML. ? ? ? ? ? + Please do _not_ send large attachments (if what you have is ? ? ? ? ? ? bigger than a few kilobytes, put it on a web page and send a ? ? ? ? ? ? URL) ? ? ? ? ? + Before posting a question like "did people see my post" or ? ? ? ? ? ? "the list seems down", please check the archives (you can ? ? ? ? ? ? answer this question more accurately by checking yourself ? ? ? ? ? ? rather than asking). ? ? ? ? ? + Please don't post subscribe/unsubscribe requests directly to ? ? ? ? ? ? the list, use the lists' information page. (see the web page ? ? ? ? ? ? mentioned above for details). ? ???_________________________________________________________________ ---------------------------------------- >From bappyece at yahoo.com Wed Sep 23 11:55:32 2009 Received: from vapor.isi.edu (vapor.isi.edu [128.9.64.64]) ??? by gamma.isi.edu (8.13.8/8.13.8) with ESMTP id n8NIsuY6018434 ??? (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) ??? for ; Wed, 23 Sep 2009 11:54:57 -0700 (PDT) Received: from web56404.mail.re3.yahoo.com (web56404.mail.re3.yahoo.com [216.252.111.83]) ??? by vapor.isi.edu (8.13.8/8.13.8) with SMTP id n8NIsgoh023071 ??? for ; Wed, 23 Sep 2009 11:54:45 -0700 (PDT) Received: (qmail 70433 invoked by uid 60001); 23 Sep 2009 18:54:42 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1253732082; bh=/lMA50krcypoMuwOi2bSF99sWOaR3ekFsFa2zOK++20=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=yrdgHkFsEHZGkYm4/M8xyVVNgFZuuXXsxMxpU7DR/MmV64cc5aaeKSWEOtgwRAHj3wOUU54HcoUP6YX5Iy4YK25lCVtF35in/UH1tPqzQFmPShix4dutKPgUWAMmT9NUgto1OBO8iXs2kv1nGH1ebiXvV8ZKwPrEeRvpQNuMBZg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; ? s=s1024; d=yahoo.com; ? h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; ? b=079QrD/Ah0ry28Q1jgWKEnK/fbiBUtNjwcE6VKcL0zzr4CjtaqqVeYHAlYOG739xIHMVetJOjd+QFx9SkhBRpFiosbb5aTN3TJp7iDjgU8vhqivirh7OJZpYNcy9/zo/o4FlCnFLtY5aRBUCoaLLB2OR0IsrrrpTnvU0E0YRCjI=; Message-ID: <667909.70358.qm at web56404.mail.re3.yahoo.com> X-YMail-OSG: goW.4LoVM1kGGWuX.9_C9ofPR.4fI1wdzKR33QBnOXttcuX8h9EMjiJr8v22TZMgULWr4oAP6t2_o4M5qQENXMNGIYhUJGaXYbyvD2AE.U9n2vH6tRGsTYKR9Iul1ZPIC2ouy6_KUsndu9Y.mASRCa4yVz1805wlVWYwcdId_Awbh0ocz7uKyUel25X8Lh2AD5_R4iJ7T_MA1.WTV1RDbgaNIzxptRewUtP32n89XP6vuwpgDASCDXP5aTCM5gEOGkpFHOIRgbNS_eMBUL_A8lWYc4z34WFnt.NweMj6xWt0fLFJqOgCzynW5he6ZbmV5r5ifFJSdE03DeJ8vvrxEvRuvyxUbC_qaCeGhV4aRucZmUKHhy1un56BRb5tWBD2xeCc0WcCU909 Received: from [79.20.21.171] by web56404.mail.re3.yahoo.com via HTTP; Wed, 23 Sep 2009 11:54:42 PDT X-Mailer: YahooMailClassic/7.0.14 YahooMailWebService/0.7.347.2 Date: Wed, 23 Sep 2009 11:54:42 -0700 (PDT) From: Shah Ahsanuzzaman Subject: I have some problem to install ns 2.88 in ubuntu 9.0.4 To: ns-users at ISI.EDU MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-196058032-1253732082=:70358" X-ISI-4-43-8-MailScanner: Found to be clean, Found to be clean X-MailScanner-From: bappyece at yahoo.com --0-196058032-1253732082=:70358 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Can Anybody help me about my problem..when i tryied to install ns2.28 in ub= untu 9.0.4............... trace/trace.cc:185: warning: deprecated conversion from string constant to = =E2=80=98char*=E2=80=99 trace/trace.cc:185: warning: deprecated conversion from string constant to = =E2=80=98char*=E2=80=99 trace/trace.cc:185: warning: deprecated conversion from string constant to = =E2=80=98char*=E2=80=99 trace/trace.cc:185: warning: deprecated conversion from string constant to = =E2=80=98char*=E2=80=99 trace/trace.cc:185: warning: deprecated conversion from string constant to = =E2=80=98char*=E2=80=99 make: *** [trace/trace.o] Error 1 Ns make failed! =C2=A0Shah Ahsanuzzaman Md. Tariq (Bappy) Masters Student Telecommunications Engineering Faculty of EngineeringDepartment of Engineer= ing and Information science University of Trento, Italy Via Borino,63 Apartment No: 20 38100,Trento Italy Mobile No: +3298697995 =C2=A0=0A=0A=0A? ? ? --0-196058032-1253732082=:70358 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Can Anybody help me about my problem..whe= n i tryied to install ns2.28 in ubuntu 9.0.4...............

trace/trace.cc:185: w= arning: deprecated conversion from string constant to =E2=80=98char*=E2=80= =99
trace/trace.cc:185= : warning: deprecated conversion from string constant to =E2=80=98char*=E2= =80=99
trace/trace.cc:= 185: warning: deprecated conversion from string constant to =E2=80=98char*= =E2=80=99
trace/trace.= cc:185: warning: deprecated conversion from string constant to =E2=80=98char*=E2=80=99
trace/trace.cc:185: warning: deprecated conversion from stri= ng constant to =E2=80=98char*=E2=80=99
make: *** [trace/trace.o] Error 1
Ns make failed!

 

Shah Ahsanuzzaman Md.= Tariq (Bappy)
Masters Student
Telecommunications Eng= ineering

Faculty of Engineering

Department of Engineering and Information s= cience
University of Trento, Italy

=
Via Borino,63
Apartment No: 20
381= 00,Trento
Italy
Mobile No: +3298697995

<= font color=3D"#ff0000">
 

=0A=0A= ? ? ? --0-196058032-1253732082=:70358-- From nill_akaser_tara at yahoo.com Wed Sep 23 12:54:11 2009 From: nill_akaser_tara at yahoo.com (qweq adcsad) Date: Wed, 23 Sep 2009 12:54:11 -0700 (PDT) Subject: [ns] good tutorial on timers? In-Reply-To: Message-ID: <47198.45057.qm@web62401.mail.re1.yahoo.com> hi, u can go through the Timerhandler,Scheduler class and its functions especially the sched( delay) and resched (delay). Try to understand how the ::expire() works. -Nill --- On Wed, 9/23/09, pedro chaparro wrote: > From: pedro chaparro > Subject: [ns] good tutorial on timers? > To: ns-users at ISI.EDU > Date: Wednesday, September 23, 2009, 12:57 AM > > hi, anybody knows some good tutorial about hot to use > timers on ns2?thanks > > -- > Ing Pedro Alonso Chaparro Valero > Ciudad Politecnica de la Innovaci?n > iTEAM - Mobile Communications Group > Polytechnic University of Valencia > C\ Camino de Vera S/N, Edificio 8G > 46022 Valencia, Spain > From s_tinta at yahoo.com Wed Sep 23 16:50:11 2009 From: s_tinta at yahoo.com (Sandra Tinta) Date: Wed, 23 Sep 2009 16:50:11 -0700 (PDT) Subject: [ns] Amount of data/packets buffered at some wireless node Message-ID: <764733.66208.qm@web32708.mail.mud.yahoo.com> Hi, I'm running simulations that involve multi-hop bulk data transfer over wireless nodes.? Data is transfered from nodes at random times over TCP and some transmissions are simultaneous so there is some contention.? The routing protocol i'm using is DSR. I want to be able to take snapshots of the total amount of packets that a given node has at a given time. ?I've been sampling the dsr-priqueue when data packets are enqueued (from the DSR agent) but the number of packets i looged is not comparable to the amount of packets I'm sending.? (I increased the default values of #define IFQ_MAXLEN in dsr-priqueue and SEND_BUF_SIZE in dsragent so that they don't impose a limit) Should I sample the packets in the TCP send-buffer as well? Is there any facility that NS provides to perform this task that I have overlooked? Thank you in advance, San From softwarequalitycenter at yahoo.com Thu Sep 24 06:24:34 2009 From: softwarequalitycenter at yahoo.com (Software Quality Center) Date: Thu, 24 Sep 2009 06:24:34 -0700 (PDT) Subject: [ns] Delay in NIST Wimax In-Reply-To: <47198.45057.qm@web62401.mail.re1.yahoo.com> Message-ID: <829016.49281.qm@web51406.mail.re2.yahoo.com> Hi I am writing a paper on wimax delay. For some reason, the packet delay in Wimax NIST comes to around 200-400 ms with a 20 ms frame even when utilization is kept much lower (30%) than capacity.? That's like? 10-20 frames just to transmit.? It should take only take 3 frames at this utilization (1 frame for backoff ,? 1-2 frame in transmission queue, and let's say 1 more to receive, so delay should be only 30-40ms).? Can anyone thiink what's going on with this wimax module. I have formulated the model can't verify it using sim/ulation From ozankhan1 at yahoo.com Thu Sep 24 08:03:46 2009 From: ozankhan1 at yahoo.com (nadir shah) Date: Thu, 24 Sep 2009 08:03:46 -0700 (PDT) Subject: [ns] mobility scenario without network partition Message-ID: <940714.33227.qm@web53107.mail.re2.yahoo.com> Hi, can anyone help me to generate mobility scenario using RandomWayPoint mobility model without network partition? Thanks, Nadir Shah New Email names for you! Get the Email name you've always wanted on the new @ymail and @rocketmail. Hurry before someone else does! http://mail.promotions.yahoo.com/newdomains/aa/ From ksula88 at yahoo.com Fri Sep 25 07:51:22 2009 From: ksula88 at yahoo.com (Sula K) Date: Fri, 25 Sep 2009 07:51:22 -0700 (PDT) Subject: [ns] Dear all Message-ID: <624792.19786.qm@web113101.mail.gq1.yahoo.com> Dear all I have installed ns 2.34 successfuly but i am still new in ns 2 so after that I couldn't understand the following gedit ~/.bashrc Add the following lines to the end of the file. Remember replace "/your/path" by the folder where you have stored extracted the ns-2 file (For example, if your Linux account name is purple, and you have extracted the file to your home directory, you have to change /your path to /home/purple) # LD_LIBRARY_PATH OTCL_LIB=/your/path/ns-allinone-2.34/otcl-1.13 NS2_LIB=/your/path/ns-allinone-2.34/lib X11_LIB=/usr/X11R6/lib USR_LOCAL_LIB=/usr/local/lib export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB # TCL_LIBRARY TCL_LIB=/your/path/ns-allinone-2.34/tcl8.4.18/library USR_LIB=/usr/lib export TCL_LIBRARY=$TCL_LIB:$USR_LIB # PATH XGRAPH=/your/path/ns-allinone-2.34/bin:/your/path/ns-allinone-2.34/tcl8.4.18/unix:/your/path/ns-allinone-2.34/tk8.4.18/unix NS=/your/path/ns-allinone-2.34/ns-2.34/ NAM=/your/path/ns-allinone-2.34/nam-1.14/ PATH=$PATH:$XGRAPH:$NS:$NAM please help ,please help From najwa61_ahmad at hotmail.com Fri Sep 25 08:15:36 2009 From: najwa61_ahmad at hotmail.com (najwa al_mawajdeh) Date: Fri, 25 Sep 2009 18:15:36 +0300 Subject: [ns] static scenario without mobility Message-ID: hi all, can any body help me to creat astatic scenario without mobility, im trying to do that but its not work every time im trying to make that scenario the original code am working in stop working. om working in MADOV protocol please help regards Najwa _________________________________________________________________ More than messages?check out the rest of the Windows Live?. http://www.microsoft.com/windows/windowslive/ From vtmyy at yahoo.com Fri Sep 25 09:57:05 2009 From: vtmyy at yahoo.com (vo thi my y) Date: Fri, 25 Sep 2009 09:57:05 -0700 (PDT) Subject: [ns] Sensor networks simulation with NS2.33 Message-ID: <436551.71287.qm@web56002.mail.re3.yahoo.com> Hi all, ? Does NS2.33 support? Wireless Sensor networks simulation without adding any extension? Please show me if there any thing that I need to add?after installing?NS2.33 in order to be able to?simulate wireless sensor networks. Thank you very much, MYY From najwa61_ahmad at hotmail.com Fri Sep 25 10:12:04 2009 From: najwa61_ahmad at hotmail.com (najwa al_mawajdeh) Date: Fri, 25 Sep 2009 20:12:04 +0300 Subject: [ns] generate static scenario Message-ID: hi every body, i want to make a static scenario to verify my work, i use setdest to creat the scenario, i increase the pause time to stop the mobility but when i do that the protocol stop working?? i read in someone thesis that when you increase the pause time more than the simulation time the packets will not be send more?? is that the reason that the protocol stopped?? what is the relation between pause time and sending packets?? how can i make the static scenario without stopping packet sending?? please if some one know the answer please help me thanks alot Najwa _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us From oriandmish at gmail.com Sat Sep 26 05:28:36 2009 From: oriandmish at gmail.com (ori and mish bgu) Date: Sat, 26 Sep 2009 15:28:36 +0300 Subject: [ns] Added Grid for nam-1.14 Message-ID: Hi Everybody I was working on wireless simulation for some time now and found that draw lines of grid (on the topography) with distances in the nam visualizer was very useful for me to know exactly where nodes are placed in the network, especially when simulating dynamic networks and testing dynamic networks behavior. I thought it could be nice to share this modified nam version with you guys, maybe someone could find it useful. How to install it: Copy and replace the files view.h and view.cc with the ones that are in the /nam-1.14 folder. Copy and replace the file build-ui.tcl with the one that in the /nam-1.14/tcl folder. In the terminal window (under the /nam-1.14 folder) type: ./configure sudo make sudo make install How to use it: To add the grid in the nam window, click Views -> Show grid. To increase or decrease the grid click on keyboard <+> or <-> buttons respectively. Note that I don't have any previous experience of nam programming and I have'nt found any documentation. There may be some more elegant ways to program it, but it works for me. Michael From adarshpatel at gmail.com Sat Sep 26 07:46:36 2009 From: adarshpatel at gmail.com (adarsh patel) Date: Sat, 26 Sep 2009 20:16:36 +0530 Subject: [ns] Fwd: [bug] unable to run main In-Reply-To: <200909261059.n8QAxOn2011285@gamma.isi.edu> References: <200909261058.DAA03082@www.isi.edu> <200909261059.n8QAxOn2011285@gamma.isi.edu> Message-ID: <227285f20909260746l289dc35ei53f4e4777eb7c95e@mail.gmail.com> Subject: [bug] unable to run main X-ISI-4-43-8-MailScanner: Found to be clean, Found to be clean X-MailScanner-From: web-usrn at isi.edu [Bug Report] ----------------------------- Category: Other Package: nam ns2.33 OS: linux fedora 9 Environment Variables: LD_LIBRARY_PATH=/etc/ns-allinone-2.33/otcl-1.13/etc/ns-allinone-2.33/otcl-1.13:/etc/ns-allinone-2.33/lib TCL_LIBRARY=/etc/ns-allinone-2.33/tcl8.4.18/library TK_LIBRARY=/etc/ns-allinone-2.33/tk8.4.18/library ----------------------------- Description: Description of Problem:ns command is working, generating .tr .nam file but nam command is not working. How Easily Reproducible:everytime (e.g. every time, intermittent, once only, etc.) Steps to Reproduce: 1. install ns in ~/etc/ in fedora 9 using ./install 2. set all path in /etc/profile as directed at the end of installation from root, than run ./validate 3.Log out root 4. Enter in any user account 5. run ns simple.tcl 6. run nam out.nam Actual Results: $ nam out.nam nam: [code omitted because of length] : no event type or button # or keysym while executing "bind Listbox { %W yview scroll [expr {- (%D / 120) * 4}] units }" invoked from within "if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} { bind Listbox { %W yview scroll [expr {- (%D)}] units } bind Li..." Expected Results: it should run nam in gui Additional Information: (the following infomation is helpful to debug: 1. simulation script, detailed output files, packet trace 2. patch file if you modify some source code 3. a backtrace from gdb if you get a segment fault If they are big files, PLEASE put them in your web space and include the URL here.) From ksula88 at yahoo.com Sat Sep 26 23:27:42 2009 From: ksula88 at yahoo.com (Sula K) Date: Sat, 26 Sep 2009 23:27:42 -0700 (PDT) Subject: [ns] Dear all Message-ID: <689965.37925.qm@web113103.mail.gq1.yahoo.com> Dear all I have one stupid question can some one tell me how can save file in terminal for example I have written the following tcl file I want to save it as tcl file : ? % set ns [new Simulator] _o4 % set nf [open out.nam w] file3 % $ns namtrace-all $nf file3 % proc finish {} { global ns nf $ns flush -trace close $nf exec nam -a out.nam & exit 0 set n0 [$ns node] set n1 [$ns node] $ns duplex -lnk $n0 $ n1 1mb 10ms DropTail $ns at 5.0 "finish" $ns run how can I save this file as tcl file in the home directory. Iam new in NS2 From teerawat at ece.ubc.ca Sun Sep 27 07:28:06 2009 From: teerawat at ece.ubc.ca (Teerawat Issariyakul) Date: Sun, 27 Sep 2009 14:28:06 +0000 Subject: [ns] randomizing runs In-Reply-To: <207333290909180855w1b5eea7fy820db6fa226d0f8b@mail.gmail.com> Message-ID: Hi Abu, By default, NS2 is deterministic. If you would like to run NS2 in randomized scenarios, you need to execute $defaultRNG seed prior to "$ns run", where is an integer. If is zero, NS2 will use the current time and counter as a seed for random number generator. By default, is set to "1", meaning every run would generate the same result. You may manually change the seed (e.g., 2, 3, 4, and so on), or set it to zero. I also posted the details on my blog at http://t-issariyakul.blogspot.com/2009/09/ns2-deterministic-vs-random.html For more information about Random Number Generators, see Chapter 12 in the following book from Springer: T. Issaraiyakul and E. Hossain, "Introduction to Network Simulator NS2", Springer 2008. http://www.springer.com/engineering/signals/book/978-0-387-71759-3 You may also find the following website useful: http://www.ece.ubc.ca/~teerawat/NS2.htm Best Wishes, Teerawat On 9/18/2009, "abu shahriar" wrote: > >Hi all, > >I am in trouble with randomizing ns run by seeding defaultRNG or ns-random. >Can anyone help me about how to randomize runs? I am using a wired network >topology. > >Thanks. > >--Shahriar > From chaoui-x at hotmail.com Sun Sep 27 12:48:52 2009 From: chaoui-x at hotmail.com (chaoui karima) Date: Sun, 27 Sep 2009 19:48:52 +0000 Subject: [ns] multi-phases MAC protocol simulation Message-ID: Hello! I have to simulate a two phases MAC protocol in which nodes apply in every phase a different algorithm and exchange different packets , I have to execute an algorithm in background and exchange it's result in the first phase than use those results to elect the node that have the right to transmit it's data packet in the second phase . I will appreciate any help or idea for how to simulate that, have I to use OTCL threads or can I do it in only one MAC C++ file ? I have no idea about how to start !! Thank you very much in advance. _________________________________________________________________ Windows Live?: Keep your life in sync. Check it out! http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009 From tomh at tomh.org Sun Sep 27 15:44:02 2009 From: tomh at tomh.org (Tom Henderson) Date: Sun, 27 Sep 2009 15:44:02 -0700 Subject: [ns] [Ns-developers] Added Grid for nam-1.14 In-Reply-To: References: Message-ID: <4ABFEAB2.9000305@tomh.org> ori and mish bgu wrote: > Hi Everybody > > I was working on wireless simulation for some time now and found that draw > lines of grid (on the topography) with distances in the nam visualizer was > very useful for me to know exactly where nodes are placed in the network, > especially when simulating dynamic networks and testing dynamic networks > behavior. > > I thought it could be nice to share this modified nam version with you guys, > maybe someone could find it useful. > > How to install it: > Copy and replace the files view.h and view.cc with the ones that are in the > /nam-1.14 folder. > Copy and replace the file build-ui.tcl with the one that in the > /nam-1.14/tcl folder. > > In the terminal window (under the /nam-1.14 folder) type: > ./configure > sudo make > sudo make install > > How to use it: > To add the grid in the nam window, click Views -> Show grid. > To increase or decrease the grid click on keyboard <+> or <-> buttons > respectively. > > Note that I don't have any previous experience of nam programming and I > have'nt found any documentation. > There may be some more elegant ways to program it, but it works for me. > > Michael > Hi Michael, Thanks for posting this-- I created a tracker issue for this and will review it sometime soon. - Tom http://sourceforge.net/tracker/?func=detail&aid=2868455&group_id=149743&atid=775394 From ygor.amaral at gmail.com Sun Sep 27 18:58:38 2009 From: ygor.amaral at gmail.com (Ygor Amaral) Date: Mon, 28 Sep 2009 01:58:38 +0000 Subject: [ns] Traffic Generator using TCP-Linux In-Reply-To: <54db9d160909271850p4a478b5av2943e56c196d3456@mail.gmail.com> References: <54db9d160909271850p4a478b5av2943e56c196d3456@mail.gmail.com> Message-ID: <54db9d160909271858v5c873228m2cf6805c3a4da17c@mail.gmail.com> Hi, Someone has a traffic generator that works properly with the TCP-Linux? Grateful Ygor Amaral From cesare.ciaccio at email.it Mon Sep 28 01:26:38 2009 From: cesare.ciaccio at email.it (cesare.ciaccio@email.it) Date: Mon, 28 Sep 2009 10:26:38 +0200 Subject: [ns] variable capacity radio channel Message-ID: <55998666849db2fdb6dbb255fef65cf2@151.100.70.22> Hi everybody, I have the following problem: I am implementing the code for a wireless cellular network under ns-2, and I need to simulate a variable capacity radio channel. Basically I need to simulate a link adaptation algorithm, thus the channel capacity will vary with time. Has anybody already developed something like this? Any idea how to do it? I was thinking of splitting each IP packet into many little fragments, and vary the number of fragments sent on each time interval. Alternatively, I could use many different links with different capacities and switch among them. What do you think? Any suggestions? Thank you very much in advance! Best regards, Cesare -- Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it: http://www.email.it/f Sponsor: Vinci fantastici scooter con Hollywod Milano. Partecipa subito al concorso Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=9665&d=20090928 From hbhubboub at gmail.com Mon Sep 28 01:45:07 2009 From: hbhubboub at gmail.com (huda hubboub) Date: Mon, 28 Sep 2009 10:45:07 +0200 Subject: [ns] error in running nohup command Message-ID: <2e663b860909280145n18066622ve5aade0c28165a9b@mail.gmail.com> Hi ns people, Greetings, I am working on downloading ns2.27 to run leach protocol. I used the paper NS2 Leach Implementation for Jason A. Pamplin as a refence. My problem is that, the last step concerning rebuild ns2 with the existence of leach fails. I face a problem in executing the command " nohup make 2>error.log >make.log &". It returns nothing but the same command is returning to appear in the screen with different numbers like 5260, 4320. Every time I run the command, the same command returns with a new number without any indication for errors, or specifying any signs for the meaning of that numbers. I am totally new to ns world, and actually I don't know what does this command do. I wish somebody can help me in this. Thank you in advance for your help. Huda From jules.aime at gmail.com Mon Sep 28 02:20:28 2009 From: jules.aime at gmail.com (=?ISO-8859-1?Q?Jules=2DAim=E9_Ntuyahaga?=) Date: Mon, 28 Sep 2009 17:20:28 +0800 Subject: [ns] how to call a function in ns-2 Message-ID: <4940dc900909280220u71a9d5b8i725727818419f3b8@mail.gmail.com> Hi all, Can anybody tell me how to call the functions of command() present in the file ns2.27\mac\ ll.cc file running aodv protocol, and how to enable the wormhole attack for the simulations. I work with the module-attack found in this link http://web.njit.edu/~crix/software/wormhole.html Thanks in advance Jules From najwa61_ahmad at hotmail.com Mon Sep 28 03:07:47 2009 From: najwa61_ahmad at hotmail.com (najwa al_mawajdeh) Date: Mon, 28 Sep 2009 13:07:47 +0300 Subject: [ns] text editor for redhat Message-ID: hi every body, does any body know a good text editor to work under the linux redhat for the c++ code. thanks alot Najwa _________________________________________________________________ Show them the way! Add maps and directions to your party invites. http://www.microsoft.com/windows/windowslive/products/events.aspx From bappyece at yahoo.com Mon Sep 28 03:30:04 2009 From: bappyece at yahoo.com (Shah Ahsanuzzaman) Date: Mon, 28 Sep 2009 03:30:04 -0700 (PDT) Subject: [ns] error to make Message-ID: <977508.16576.qm@web56408.mail.re3.yahoo.com> Can anybody help to these following error when i make the .cc file. i am doing EDCF in ns2.34 in unix. i have gcc 3.4 and 4.3. mac/802_11e/mac-timers_802_11e.cc:41:22: error: iostream.h: No such file or directory mac/802_11e/mac-timers_802_11e.cc: In member function ?virtual void DeferTimer_802_11e::pause()?: mac/802_11e/mac-timers_802_11e.cc:173: error: ?cout? was not declared in this scope mac/802_11e/mac-timers_802_11e.cc: In member function ?virtual void DeferTimer_802_11e::handle(Event*)?: mac/802_11e/mac-timers_802_11e.cc:211: error: ?cout? was not declared in this scope mac/802_11e/mac-timers_802_11e.cc:187: warning: unused variable ?s? mac/802_11e/mac-timers_802_11e.cc: In member function ?virtual void IFTimer_802_11e::handle(Event*)?: mac/802_11e/mac-timers_802_11e.cc:282: warning: unused variable ?s? mac/802_11e/mac-timers_802_11e.cc: In member function ?void SIFSTimer_802_11e::start(int, double)?: mac/802_11e/mac-timers_802_11e.cc:298: error: ?cout? was not declared in this scope mac/802_11e/mac-timers_802_11e.cc: In member function ?virtual void SIFSTimer_802_11e::handle(Event*)?: mac/802_11e/mac-timers_802_11e.cc:312: warning: unused variable ?s? mac/802_11e/mac-timers_802_11e.cc: In member function ?virtual void BackoffTimer_802_11e::handle(Event*)?: mac/802_11e/mac-timers_802_11e.cc:400: error: ?cout? was not declared in this scope mac/802_11e/mac-timers_802_11e.cc: In member function ?virtual void BackoffTimer_802_11e::resume()?: mac/802_11e/mac-timers_802_11e.cc:647: error: ?cout? was not declared in this scope mac/802_11e/mac-timers_802_11e.cc: In member function ?void BackoffTimer_802_11e::restart()?: mac/802_11e/mac-timers_802_11e.cc:683: error: ?cout? was not declared in this scope make: *** [mac/802_11e/mac-timers_802_11e.o] Error 1 ?Shah Ahsanuzzaman Md. Tariq (Bappy) Masters Student Telecommunications Engineering Faculty of EngineeringDepartment of Engineering and Information science University of Trento, Italy Via Borino,63 Apartment No: 20 38100,Trento Italy Mobile No: +3298697995 ? From bethelmutanga at gmail.com Mon Sep 28 03:47:39 2009 From: bethelmutanga at gmail.com (Bethel Mutanga) Date: Mon, 28 Sep 2009 12:47:39 +0200 Subject: [ns] ns2 with the Hybrid Wireless Mesh Protocol Message-ID: I'm looking for ns-2.33 (or any other ver) with the HWMP. The following link does not work http://hippo.mipt.ru/hwmp/ns-2.33_hwmp_rev183.tar.bz2 If there is anyone with another link, please help Regards From reevaa86 at gmail.com Mon Sep 28 06:25:37 2009 From: reevaa86 at gmail.com (Revathi Muthukumar) Date: Mon, 28 Sep 2009 06:25:37 -0700 Subject: [ns] energy code in NS2 Message-ID: <8aaa36b30909280625i89489c4k30235be9a86ef0cc@mail.gmail.com> Hi Anyone has idea on how to add energy tracing in ns2 protocols?.I want the energy values to be printed in trace files. -- Revathi From jeni_m110 at yahoo.com Mon Sep 28 08:47:06 2009 From: jeni_m110 at yahoo.com (jeni martin) Date: Mon, 28 Sep 2009 08:47:06 -0700 (PDT) Subject: [ns] how to get ADMR source code in NS? Message-ID: <275992.25301.qm@web110302.mail.gq1.yahoo.com> hi all, ? i need the source code of ADMR in ns?that it doesn't have bug, could any one send me or give me an address to take it? i really need this for my simulation comparison, best regards From reevaa86 at gmail.com Mon Sep 28 10:58:36 2009 From: reevaa86 at gmail.com (Revathi Muthukumar) Date: Mon, 28 Sep 2009 10:58:36 -0700 Subject: [ns] energy code in NS2 for a new protocol Message-ID: <8aaa36b30909281058t16fba397g51b01a1cb6e158f6@mail.gmail.com> Hi Anyone has idea on how to add energy tracing in ns2 protocols?.I want the energy values to be printed in trace files. i have added them.but stil it is not printing them in trace files. I am trying to simulate GPSR code in ns2. I have added the .cc and tcl files and ran MAKE to enable NS2 to recognize the new protocol.i am getting proper o/p. Still the energy is not printed. are there any other changes i have to make inside ns2 to recognize the new routing protocol. -- Revathi -- Revathi From thiagotrufelli at gmail.com Tue Sep 29 06:25:13 2009 From: thiagotrufelli at gmail.com (Thiago Trufelli) Date: Tue, 29 Sep 2009 10:25:13 -0300 Subject: [ns] Dear all In-Reply-To: <689965.37925.qm@web113103.mail.gq1.yahoo.com> References: <689965.37925.qm@web113103.mail.gq1.yahoo.com> Message-ID: <4f3a50180909290625p4276b006rcf77d9d96e73a451@mail.gmail.com> Hello, You can write the NS code in a file with a text editor, like the VIM or GEDIT and save as "example.tcl" and you can run that script with "ns script_name" , in this case "ns example.tcl". Best regards! On Sun, Sep 27, 2009 at 3:27 AM, Sula K wrote: > > Dear all > > I have one stupid question can some one tell me how can save file in > terminal for example I have written the following tcl file I want to save it > as tcl file : > > > > > % set ns [new Simulator] > _o4 > % set nf [open out.nam w] > file3 > % $ns namtrace-all $nf > file3 > % proc finish {} { > global ns nf > $ns flush -trace > close $nf > exec nam -a out.nam & > exit 0 > set n0 [$ns node] > set n1 [$ns node] > $ns duplex -lnk $n0 $ n1 1mb 10ms DropTail > $ns at 5.0 "finish" > $ns run > > how can I save this file as tcl file in the home directory. Iam new in NS2 > > > > > > From marwouta23 at yahoo.fr Tue Sep 29 08:20:02 2009 From: marwouta23 at yahoo.fr (carolina2) Date: Tue, 29 Sep 2009 08:20:02 -0700 (PDT) Subject: [ns] WSN code Message-ID: <25660793.post@talk.nabble.com> Hi Mohamed, If you get any code source about WSN please can you forward it to me. It will be a great help for me . here is my email adress :marwa_maazouli at yahoo.fr Thanks mohamadnet wrote: > > > hi > i search in internet for some WSN source code in NS but i found nothing . > i > need some WSN source code or sample . > > -- View this message in context: http://www.nabble.com/WSN-code-tp20164276p25660793.html Sent from the ns-users mailing list archive at Nabble.com. From marwouta23 at yahoo.fr Tue Sep 29 08:20:37 2009 From: marwouta23 at yahoo.fr (carolina2) Date: Tue, 29 Sep 2009 08:20:37 -0700 (PDT) Subject: [ns] Localization in WSN / Zigbee Message-ID: <25659902.post@talk.nabble.com> Hi, If you get any code source about WSN please can you forward it to me. It will be a great help for me . here is my email adress :marwa_maazouli at yahoo.fr Thanks Redrose wrote: > > > Hi, > > Can any one help me out regarding t he simulation of Localization Algos in > WSN under Zigbee envirnoment. > > Looking forward to get your response .. > > Thanks > -- View this message in context: http://www.nabble.com/Localization-in-WSN---Zigbee-tp14334446p25659902.html Sent from the ns-users mailing list archive at Nabble.com. From marwouta23 at yahoo.fr Tue Sep 29 08:22:22 2009 From: marwouta23 at yahoo.fr (carolina2) Date: Tue, 29 Sep 2009 08:22:22 -0700 (PDT) Subject: [ns] authentication protocol in WSN In-Reply-To: <857671.56653.qm@web26306.mail.ukl.yahoo.com> References: <857671.56653.qm@web26306.mail.ukl.yahoo.com> Message-ID: <25660382.post@talk.nabble.com> Hi wafa, I have a project about localization in WSN I want to know if I should install a patch WSN as is the case for WiMAX. If you have any examples in tcl script please can you forward it to me. Thank you in advance. wafa ben jaballah wrote: > > > Hello, > > I have to implement an anthentication protocol in wireless sensor network > under NS. I have searched in the mailing list archives? but I don't find. > Could someone please help me in finding an implementation of an > authentication protocol like MicroTESLA or another one in NS2. > I will be very grateful for any suggestions. > > Kind Regards, > Wafa > > > > > __________________________________________________________________________________________________ > Ne pleurez pas si votre Webmail ferme ! R?cup?rez votre historique sur > Yahoo! Mail ! http://fr.docs.yahoo.com/mail/transfert_mails.html > -- View this message in context: http://www.nabble.com/authentication-protocol-in-WSN-tp21902502p25660382.html Sent from the ns-users mailing list archive at Nabble.com. From marwouta23 at yahoo.fr Tue Sep 29 08:21:09 2009 From: marwouta23 at yahoo.fr (carolina2) Date: Tue, 29 Sep 2009 08:21:09 -0700 (PDT) Subject: [ns] Help with WSN and OSPF !!!! Message-ID: <25659937.post@talk.nabble.com> Hi, If you get an idea about simulating wsn under ns2 please can you give me an exemple. It will be a great help for me . here is my email adress :marwa_maazouli at yahoo.fr Thanks muhamad faiz arief budianto wrote: > > > HELP please!!! > anyone please ca u help me try to simulate WSn with ns2 ver 2..31. I > can't use the extnsion from NRL. > And I want to try use OSPF routing for my wireless nets. Anyone can help > me?? > -- > jho > > > -- View this message in context: http://www.nabble.com/Help-with-WSN-and-OSPF-%21%21%21%21-tp14226268p25659937.html Sent from the ns-users mailing list archive at Nabble.com. From marwouta23 at yahoo.fr Tue Sep 29 08:21:56 2009 From: marwouta23 at yahoo.fr (carolina2) Date: Tue, 29 Sep 2009 08:21:56 -0700 (PDT) Subject: [ns] Location Algorithms about WSN Message-ID: <25660005.post@talk.nabble.com> Hi, I have a project about geolocating using WSN please if you have an exemple of tcl script can you forward it to me. It will be a great help for me . here is my email adress :marwa_maazouli at yahoo.fr Thanks hubin211 wrote: > > Hello,Everyone: > > I'm working on a WSN project where I need to use NS to evaluate different > location algorithms and check their performance. Can any one give me a > detailed procedure or tcl script of current location algorithm? Anything > about DV-HOP algorithm is especially wanted. Thanks in advance! > > > > > HuBin > > > 2008-12-6 > > > > > [??] ???????-???? > -- View this message in context: http://www.nabble.com/Location-Algorithms-about-WSN-tp20869902p25660005.html Sent from the ns-users mailing list archive at Nabble.com. From marwouta23 at yahoo.fr Tue Sep 29 08:23:09 2009 From: marwouta23 at yahoo.fr (carolina2) Date: Tue, 29 Sep 2009 08:23:09 -0700 (PDT) Subject: [ns] Topology control in WSN Message-ID: <25660501.post@talk.nabble.com> Hi, If you have examples about Topolgy control in WSN can you tell me about? Thank you in advance. Dalton Valadares wrote: > > > Can anyone send me examples of topology control implemented in the NS-2? > > Thanks in advance! > > [ ] > > -- > ======================================================= > Dalton C?zane - Voip UFCG: 1075-2005 > Mestrando em Ci?ncia da Computa??o (UFCG) > Bacharel em Ci?ncia da Computa??o (UFCG) > T?cnico em Inform?tica (ETER) > > -- View this message in context: http://www.nabble.com/Topology-control-in-WSN-tp22964930p25660501.html Sent from the ns-users mailing list archive at Nabble.com. From marwouta23 at yahoo.fr Tue Sep 29 08:22:53 2009 From: marwouta23 at yahoo.fr (carolina2) Date: Tue, 29 Sep 2009 08:22:53 -0700 (PDT) Subject: [ns] Topology control protocols in WSN Message-ID: <25660456.post@talk.nabble.com> Hi, If you have an idea about links of code examples of wsn with ns2 please can you forward it to me. It will be a great help to me. here is my email adress: marwa_maazouli at yahoo.fr Thank you in advance. Dalton Valadares wrote: > > > Hi... > Does can anyone give me some links where I find code examples of topology > control protocols in Wireless Sensor Network implemented with the NS-2? > > Thanks in advance! > > [ ]`s > > -- > ======================================================= > Dalton C?zane - Voip UFCG: 1075-2005 > Mestrando em Ci?ncia da Computa??o > Bacharel em Ci?ncia da Computa??o > Universidade Federal de Campina Grande - UFCG > > -- View this message in context: http://www.nabble.com/Topology-control-protocols-in-WSN-tp22813625p25660456.html Sent from the ns-users mailing list archive at Nabble.com. From marwouta23 at yahoo.fr Tue Sep 29 08:35:29 2009 From: marwouta23 at yahoo.fr (carolina2) Date: Tue, 29 Sep 2009 08:35:29 -0700 (PDT) Subject: [ns] Topology control in WSN Message-ID: <25660501.post@talk.nabble.com> Hi, If you have examples about Topolgy control in WSN can you tell me about? Thank you in advance. Dalton Valadares wrote: > > > Can anyone send me examples of topology control implemented in the NS-2? > > Thanks in advance! > > [ ] > > -- > ======================================================= > Dalton C?zane - Voip UFCG: 1075-2005 > Mestrando em Ci?ncia da Computa??o (UFCG) > Bacharel em Ci?ncia da Computa??o (UFCG) > T?cnico em Inform?tica (ETER) > > -- View this message in context: http://www.nabble.com/Topology-control-in-WSN-tp22964930p25660501.html Sent from the ns-users mailing list archive at Nabble.com. From vtmyy at yahoo.com Tue Sep 29 08:46:47 2009 From: vtmyy at yahoo.com (vo thi my y) Date: Tue, 29 Sep 2009 08:46:47 -0700 (PDT) Subject: [ns] sensor-sensor communication in WSN In-Reply-To: <25660382.post@talk.nabble.com> Message-ID: <46785.56759.qm@web56003.mail.re3.yahoo.com> Hi all, ? I am?working with WSN? simulation with NS2.27 + MIUN extension. ? Anybody know how to simulate communication between sensor and sensor (sensor nodes broadcast sensed data to its neighboring sensor nodes). Please send me the source code or the link that you found somewhere or please give me the idea how to do that. ? Thank you very much. ? MYY From thangnd at joomservices.com Tue Sep 29 09:23:18 2009 From: thangnd at joomservices.com (thangnd) Date: Tue, 29 Sep 2009 23:23:18 +0700 Subject: [ns] Service Differentiation Message-ID: <4AC23476.9050106@joomservices.com> Dear all, I need code example about Service Differentiation for WSN in NS2? Can someone help me? Thanks. From marwouta23 at yahoo.fr Tue Sep 29 13:28:13 2009 From: marwouta23 at yahoo.fr (carolina2) Date: Tue, 29 Sep 2009 13:28:13 -0700 (PDT) Subject: [ns] WSN code Message-ID: <25659724.post@talk.nabble.com> Hi, If you get any code source about WSN please can you forward it to me. It will be a great help for me . here is my email adress :marwa_maazouli at yahoo.fr Thnaks mohamadnet wrote: > > > hi > i search in internet for some WSN source code in NS but i found nothing . > i > need some WSN source code or sample . > > -- View this message in context: http://www.nabble.com/WSN-code-tp20164276p25659724.html Sent from the ns-users mailing list archive at Nabble.com. From vtmyy at yahoo.com Tue Sep 29 13:35:13 2009 From: vtmyy at yahoo.com (vo thi my y) Date: Tue, 29 Sep 2009 13:35:13 -0700 (PDT) Subject: [ns] WSN code In-Reply-To: <25659724.post@talk.nabble.com> Message-ID: <500084.34203.qm@web56004.mail.re3.yahoo.com> yo can find a lot of example source codes for WSN here: ? http://apachepersonal.miun.se/~qinwan/resources.htm? --- On Tue, 9/29/09, carolina2 wrote: From: carolina2 Subject: Re: [ns] WSN code To: ns-users at ISI.EDU Date: Tuesday, September 29, 2009, 4:28 PM Hi, If you get any code source about WSN please can you forward it to me. It will be a great help for me . here is my email adress :marwa_maazouli at yahoo.fr Thnaks mohamadnet wrote: > > > hi > i search in internet for some WSN source code in NS but i found nothing . > i? > need some WSN source code or sample . > > -- View this message in context: http://www.nabble.com/WSN-code-tp20164276p25659724.html Sent from the ns-users mailing list archive at Nabble.com. From marwouta23 at yahoo.fr Tue Sep 29 13:53:26 2009 From: marwouta23 at yahoo.fr (carolina2) Date: Tue, 29 Sep 2009 13:53:26 -0700 (PDT) Subject: [ns] NS2/mannasim on ubuntu 9.04 or GCC version 4.3.3 In-Reply-To: <72c728fe0906020344w583fef94mef53651ad81c3cdd@mail.gmail.com> References: <72c728fe0906020344w583fef94mef53651ad81c3cdd@mail.gmail.com> Message-ID: <25670739.post@talk.nabble.com> Hi all, I have the same problem as you. please if you find the solution tell me about it. Thanks you in advance. Ravit Sachasiri wrote: > > > Hi all, > > After painstakingly trying to install NS2 in my system, and havin errors > in > the compiling of mannasim patch with NS2, I received errors regarding the > header file and . It seems that these header files > cannot > be found. > > The error: > >> In file included from mannasim/processing.h:44, >> >> from >> mannasim/accessPointApp.h:45, >> >> from >> mannasim/accessPointApp.cc:37: > >> >> mannasim/sensorNode.h:36:18: error: list.h: No such file or >> directory >> >> In file included from >> mannasim/processing.h:45, >> >> from >> mannasim/accessPointApp.h:45, > >> >> from >> mannasim/accessPointApp.cc:37: >> >> mannasim/sensedData.h:41:20: error: vector.h: No such file or >> directory >> In file included from >> ./common/agent.h:41, > >> >> from >> mannasim/accessPointApp.h:40, >> >> from >> mannasim/accessPointApp.cc:37: >> >> ./common/packet.h: In constructor >> ?p_info::p_info()?: > >> >> ./common/packet.h:184: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:185: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:186: warning: deprecated conversion from string >> constant > >> to ?char*? >> ./common/packet.h:187: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:188: warning: deprecated conversion from string >> constant >> to ?char*? > >> ./common/packet.h:189: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:190: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:191: warning: deprecated conversion from string >> constant > >> to ?char*? >> ./common/packet.h:192: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:193: warning: deprecated conversion from string >> constant >> to ?char*? > >> ./common/packet.h:194: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:195: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:196: warning: deprecated conversion from string >> constant > >> to ?char*? >> ./common/packet.h:197: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:198: warning: deprecated conversion from string >> constant >> to ?char*? > >> ./common/packet.h:199: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:200: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:201: warning: deprecated conversion from string >> constant > >> to ?char*? >> ./common/packet.h:202: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:203: warning: deprecated conversion from string >> constant >> to ?char*? > >> ./common/packet.h:205: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:206: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:207: warning: deprecated conversion from string >> constant > >> to ?char*? >> ./common/packet.h:208: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:209: warning: deprecated conversion from string >> constant >> to ?char*? > >> ./common/packet.h:210: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:212: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:213: warning: deprecated conversion from string >> constant > >> to ?char*? >> ./common/packet.h:214: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:215: warning: deprecated conversion from string >> constant >> to ?char*? > >> ./common/packet.h:216: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:217: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:218: warning: deprecated conversion from string >> constant > >> to ?char*? >> ./common/packet.h:219: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:220: warning: deprecated conversion from string >> constant >> to ?char*? > >> ./common/packet.h:221: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:222: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:223: warning: deprecated conversion from string >> constant > >> to ?char*? >> ./common/packet.h:224: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:225: warning: deprecated conversion from string >> constant >> to ?char*? > >> ./common/packet.h:227: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:228: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:230: warning: deprecated conversion from string >> constant > >> to ?char*? >> ./common/packet.h:231: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:232: warning: deprecated conversion from string >> constant >> to ?char*? > >> ./common/packet.h:235: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:238: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:241: warning: deprecated conversion from string >> constant > >> to ?char*? >> ./common/packet.h:244: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:247: warning: deprecated conversion from string >> constant >> to ?char*? > >> ./common/packet.h:250: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:254: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:258: warning: deprecated conversion from string >> constant > >> to ?char*? >> ./common/packet.h:259: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:261: warning: deprecated conversion from string >> constant >> to ?char*? > >> ./common/packet.h:262: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:265: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:268: warning: deprecated conversion from string >> constant > >> to ?char*? >> ./common/packet.h:271: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:274: warning: deprecated conversion from string >> constant >> to ?char*? > >> ./common/packet.h:276: warning: deprecated conversion from string >> constant >> to ?char*? >> In file included from >> mannasim/processing.h:44, >> >> from >> mannasim/accessPointApp.h:45, > >> >> from mannasim/accessPointApp.cc:37: >> mannasim/sensorNode.h: At global scope: >> mannasim/sensorNode.h:48: error: expected initializer before ?> mannasim/sensorNode.h:73: error: ?AppList? does not name a type > >> In file included from mannasim/processing.h:45, >> from mannasim/accessPointApp.h:45, >> from mannasim/accessPointApp.cc:37: >> mannasim/sensedData.h:49: error: expected initializer before ? >> mannasim/sensedData.h:50: error: expected initializer before ?> mannasim/sensedData.h:65: error: ?AppDataList? does not name a type >> mannasim/sensedData.h:105: error: ?AppDataList? does not name a type > >> In file included from mannasim/processing.h:47, >> from mannasim/accessPointApp.h:45, >> from mannasim/accessPointApp.cc:37: >> mannasim/dataGenerator.h: In member function ?virtual AppData* > >> DataGenerator::collect()?: >> mannasim/dataGenerator.h:94: warning: no return statement in function >> returning non-void >> mannasim/dataGenerator.h: In member function ?virtual AppData* >> DataGenerator::getMaximumAllowedValue()?: > >> mannasim/dataGenerator.h:132: warning: no return statement in function >> returning non-void >> mannasim/accessPointApp.cc: In member function ?virtual void >> AccessPointApp::process_data(int, AppData*)?: > >> mannasim/accessPointApp.cc:72: error: ?ON_DEMAND_DATA? was not declared >> in >> this scope >> mannasim/accessPointApp.cc:79: error: ?AppDataList? was not declared in >> this scope >> mannasim/accessPointApp.cc:79: error: expected `;' before ?list? > >> mannasim/accessPointApp.cc:81: error: expected primary-expression before >> ?int? >> mannasim/accessPointApp.cc:81: error: expected `)' before ?int? >> mannasim/accessPointApp.cc:83: error: ?AppDataList? is not a class or > >> namespace >> mannasim/accessPointApp.cc:83: error: expected `;' before ?it? >> mannasim/accessPointApp.cc:83: error: ?it? was not declared in this scope >> mannasim/accessPointApp.cc:83: error: missing template arguments before >> ?.? > >> token >> mannasim/accessPointApp.cc: In member function ?virtual void >> AccessPointApp::forward_data(int, AppData*)?: >> mannasim/accessPointApp.cc:97: error: ?AppDataList? was not declared in >> this scope > >> mannasim/accessPointApp.cc:97: error: expected `;' before ?list? >> mannasim/dataGenerator.h: At global scope: >> mannasim/dataGenerator.h:65: warning: inline function ?virtual void >> EventTimer::expire(Event*)? used but never defined > >> mannasim/dataGenerator.h:52: warning: inline function ?virtual void >> SensingTimer::expire(Event*)? used but never defined >> mannasim/sensorBaseApp.h:83: warning: inline function ?virtual void >> DisseminatingTimer::expire(Event*)? used but never defined > >> make: *** [mannasim/accessPointApp.o] Error 1 >> Ns make failed! > > > After googling around (for many days) and trying different things, I found > the solution. In GCC 4.3.3., the header > #include > and > #include > > has to be added like this: > > #include > #include > > They concerned files are: > ns-allinone-2.29/ns-2.29/mannasim/dataGenerator.h > ns-allinone-2.29/ns-2.29/mannasim/sensorNode.h > ns-allinone-2.29/ns-2.29/mannasim/sensedData.h > ns-allinone-2.29/ns-2.29/mannasim/diffusion/commonNodeDiffApp.h > ns-allinone-2.29/ns-2.29/mannasim/leach/rca/rca-ll.cc > ns-allinone-2.29/ns-2.29/mannasim/leach/apps/leachApp.h > > The information regarding the header was taken from: > http://www.tsenyurt.com/?p=105 > > Regards, > Ravit > > -- View this message in context: http://www.nabble.com/NS2-mannasim-on-ubuntu-9.04-or-GCC-version-4.3.3-tp23830215p25670739.html Sent from the ns-users mailing list archive at Nabble.com. From marwouta23 at yahoo.fr Tue Sep 29 13:56:15 2009 From: marwouta23 at yahoo.fr (carolina2) Date: Tue, 29 Sep 2009 13:56:15 -0700 (PDT) Subject: [ns] mannasim installation error In-Reply-To: <72c728fe0905290737l6814f38bvfb574cb4fc30ff11@mail.gmail.com> References: <72c728fe0905290737l6814f38bvfb574cb4fc30ff11@mail.gmail.com> Message-ID: <25670781.post@talk.nabble.com> Hi all, I have the same problem as you. please if you find the solution tell me about it. Thanks you in advance. Ravit Sachasiri wrote: > > >> Dear all, >> >> I am just starting to use NS2 and mannasim and when I tried to install >> ns-allinone2.29.3 after applying the mannasim patch, I get the following >> error: >> >> >> In file included from mannasim/processing.h:44, >> >> from >> mannasim/accessPointApp.h:45, >> >> from >> mannasim/accessPointApp.cc:37: >> >> mannasim/sensorNode.h:36:18: error: list.h: No such file or >> directory >> >> In file included from >> mannasim/processing.h:45, >> >> from >> mannasim/accessPointApp.h:45, >> >> from >> mannasim/accessPointApp.cc:37: >> >> mannasim/sensedData.h:41:20: error: vector.h: No such file or >> directory >> In file included from >> ./common/agent.h:41, >> >> from >> mannasim/accessPointApp.h:40, >> >> from >> mannasim/accessPointApp.cc:37: >> >> ./common/packet.h: In constructor >> ?p_info::p_info()?: >> >> ./common/packet.h:184: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:185: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:186: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:187: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:188: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:189: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:190: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:191: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:192: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:193: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:194: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:195: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:196: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:197: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:198: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:199: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:200: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:201: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:202: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:203: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:205: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:206: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:207: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:208: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:209: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:210: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:212: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:213: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:214: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:215: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:216: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:217: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:218: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:219: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:220: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:221: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:222: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:223: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:224: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:225: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:227: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:228: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:230: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:231: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:232: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:235: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:238: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:241: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:244: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:247: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:250: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:254: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:258: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:259: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:261: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:262: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:265: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:268: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:271: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:274: warning: deprecated conversion from string >> constant >> to ?char*? >> ./common/packet.h:276: warning: deprecated conversion from string >> constant >> to ?char*? >> In file included from >> mannasim/processing.h:44, >> >> from >> mannasim/accessPointApp.h:45, >> >> from mannasim/accessPointApp.cc:37: >> mannasim/sensorNode.h: At global scope: >> mannasim/sensorNode.h:48: error: expected initializer before ?> mannasim/sensorNode.h:73: error: ?AppList? does not name a type >> In file included from mannasim/processing.h:45, >> from mannasim/accessPointApp.h:45, >> from mannasim/accessPointApp.cc:37: >> mannasim/sensedData.h:49: error: expected initializer before ?> mannasim/sensedData.h:50: error: expected initializer before ?> mannasim/sensedData.h:65: error: ?AppDataList? does not name a type >> mannasim/sensedData.h:105: error: ?AppDataList? does not name a type >> In file included from mannasim/processing.h:47, >> from mannasim/accessPointApp.h:45, >> from mannasim/accessPointApp.cc:37: >> mannasim/dataGenerator.h: In member function ?virtual AppData* >> DataGenerator::collect()?: >> mannasim/dataGenerator.h:94: warning: no return statement in function >> returning non-void >> mannasim/dataGenerator.h: In member function ?virtual AppData* >> DataGenerator::getMaximumAllowedValue()?: >> mannasim/dataGenerator.h:132: warning: no return statement in function >> returning non-void >> mannasim/accessPointApp.cc: In member function ?virtual void >> AccessPointApp::process_data(int, AppData*)?: >> mannasim/accessPointApp.cc:72: error: ?ON_DEMAND_DATA? was not declared >> in >> this scope >> mannasim/accessPointApp.cc:79: error: ?AppDataList? was not declared in >> this scope >> mannasim/accessPointApp.cc:79: error: expected `;' before ?list? >> mannasim/accessPointApp.cc:81: error: expected primary-expression before >> ?int? >> mannasim/accessPointApp.cc:81: error: expected `)' before ?int? >> mannasim/accessPointApp.cc:83: error: ?AppDataList? is not a class or >> namespace >> mannasim/accessPointApp.cc:83: error: expected `;' before ?it? >> mannasim/accessPointApp.cc:83: error: ?it? was not declared in this scope >> mannasim/accessPointApp.cc:83: error: missing template arguments before >> ?.? >> token >> mannasim/accessPointApp.cc: In member function ?virtual void >> AccessPointApp::forward_data(int, AppData*)?: >> mannasim/accessPointApp.cc:97: error: ?AppDataList? was not declared in >> this scope >> mannasim/accessPointApp.cc:97: error: expected `;' before ?list? >> mannasim/dataGenerator.h: At global scope: >> mannasim/dataGenerator.h:65: warning: inline function ?virtual void >> EventTimer::expire(Event*)? used but never defined >> mannasim/dataGenerator.h:52: warning: inline function ?virtual void >> SensingTimer::expire(Event*)? used but never defined >> mannasim/sensorBaseApp.h:83: warning: inline function ?virtual void >> DisseminatingTimer::expire(Event*)? used but never defined >> make: *** [mannasim/accessPointApp.o] Error 1 >> Ns make failed! >> >> However, if I do not apply the mannasim patch, it installs fine. >> >> I am using Ubuntu 9.04 and have tried to google to solve this error but >> couldnt. Please do help me out. Also, is it possible to use mannasim with >> other versions of NS2. >> >> What I want to achieve is to simulate and test some WSN routing protocols >> on IEEE 802.15.4 MAC and Link layer. I did see a chapter in the manual >> about >> changes in the implementation of IEEE802.15.4 but there was nothin (that >> i >> came across) about how to use IEEE 802.15.4. Is it not possible to select >> it >> as the MAC/LL as the node charateristics itself? I did see the option of >> 802.11 or CDMA, TDMA, etc. but not IEEE 802.15.4. Also, I tried to refer >> to >> J.Zheng website and the Zigbee implementation for NS2.26 but I have >> problems >> installing the 2.26 version also. Are the patches forward compatible with >> the NS2.33 all-in-one package? I am not very adept in Linux and also >> programming but I want to learn, however, all these minor setbacks even >> before getting started is getting to me. >> >> Hope to see some light at the end of the tunnel. :) >> >> Thank you. >> >> Sincerely, >> Ravit >> > > -- View this message in context: http://www.nabble.com/mannasim-installation-error-tp23781208p25670781.html Sent from the ns-users mailing list archive at Nabble.com. From saaidal at um.edu.my Tue Sep 29 21:01:11 2009 From: saaidal at um.edu.my (saaidal@um.edu.my) Date: Wed, 30 Sep 2009 12:01:11 +0800 Subject: [ns] modified random waypoint model patch/script Message-ID: <20090930120111.7rkgohfeowkcwsc0@umpda.um.edu.my> Good day to all, i want t know if anyone have tried using modified random waypoint model in their simulation, i know some of the papers that desribe this, but seems that i can't fond any patch or script for this. I'm using ns2.33 and as far as i'm concern, the directory ns-2.33/indep-utils/cmu-scen-gen/setdest is an original Random Waypoint Model, but i wanna use Modified Random Waypoint Model, any helps are really appreciated, tq. ------------------------------------------------------------------------------------ UNIVERSITY OF MALAYA - " The Leader in Research & Innovation " From David.Ross at isrc.qut.edu.au Wed Sep 30 08:28:58 2009 From: David.Ross at isrc.qut.edu.au (David Ross) Date: Wed, 30 Sep 2009 15:28:58 +0000 Subject: [ns] [Fwd: Re: text editor for redhat] Message-ID: <4AC3793A.9020402@isrc.qut.edu.au> -------- Original Message -------- Subject: Re: [ns] text editor for redhat Date: Tue, 29 Sep 2009 23:33:30 +0000 From: David Ross To: ns2-mailing list References: vi, vim or nano are the usual choices on unix-like systems - David. najwa al_mawajdeh wrote: > > hi every body, > > does any body know a good text editor to work under the linux redhat for the c++ code. > > thanks alot > > > Najwa > > > > > _________________________________________________________________ > Show them the way! Add maps and directions to your party invites. > http://www.microsoft.com/windows/windowslive/products/events.aspx > From thangnd at joomservices.com Wed Sep 30 09:00:17 2009 From: thangnd at joomservices.com (thangnd) Date: Wed, 30 Sep 2009 23:00:17 +0700 Subject: [ns] Error when try to run nam Message-ID: <4AC38091.6050300@joomservices.com> Dear all, I installed NS-allinone-2.33. 1. When i open terminal i get Notification: "bash: /home/thangnd/ns-allinone-2.33/lib: is a directory bash: /home/thangnd/ns-allinone-2.33/tcl8.4.18/library: is a directory" above of terminal window (thangnd is my username on ubuntu 9.04). 2.When i enter command: cd /home/thangnd/ns-allinone-2.33/nam-1.13/ex then enter: nam lan.nam to test and get notification: nam: [code omitted because of length] : no event type or button # or keysym while executing "bind Listbox { %W yview scroll [expr {- (%D / 120) * 4}] units }" invoked from within "if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} { bind Listbox { %W yview scroll [expr {- (%D)}] units } bind Li..." Please help me about this issue. Thanks. From jayavignesh86 at yahoo.co.in Wed Sep 30 10:25:53 2009 From: jayavignesh86 at yahoo.co.in (jaya vignesh) Date: Wed, 30 Sep 2009 10:25:53 -0700 (PDT) Subject: [ns] Print Route table in trace file Message-ID: <421383.39870.qm@web8906.mail.in.yahoo.com> Hi All, Can anyone guide me how to print the routing table of a particular node when scheduled from the tcl script. in the main cc file, 1: int 2: Protoname::command(int argc, const char*const* argv) { 3:???? if (argc == 2) { 4:???????? if (strcasecmp(argv[1], "start") == 0) { 5:???????????? pkt_timer_.resched(0.0); 6:???????????? return TCL_OK; 7:???????? } 8:???????? else if (strcasecmp(argv[1], "print_rtable") == 0) { 9:???????????? if (logtarget_ != 0) { 10:??????????????? sprintf(logtarget_->pt_->buffer(), "P %f _%d_ Routing Table", 11:??????????????????? CURRENT_TIME, 12:??????????????????? ra_addr()); 13:??????????????? logtarget_->pt_->dump(); 14:??????????????? rtable_.print(logtarget_); 15:??????????? } 16:??????????? else { 17:??????????????? fprintf(stdout, "%f _%d_ If you want to print this routing table " 18:??????????????????? "you must create a trace file in your tcl script", 19:??????????????????? CURRENT_TIME, 20:??????????????????? ra_addr()); 21:??????????? } 22:??????????? return TCL_OK; 23:??????? } 24:??? } And say i give the following command in tcl $ns_ at 15.0 "[$node_(0) agent 255] print_rtable" to print the routing table of node 0 at 15 sec. When i run, i get segmentation fault Please Help me out!! Thanks, Jayavignesh Now, send attachments up to 25MB with Yahoo! India Mail. Learn how. http://in.overview.mail.yahoo.com/photos