From rprasad at tataelxsi.co.in Fri Dec 1 02:50:36 2006 From: rprasad at tataelxsi.co.in (Rajendra Prasad A) Date: Fri, 1 Dec 2006 16:20:36 +0530 (IST) Subject: [ns] event management Message-ID: <20061201162036.CCV84524@mail.tataelxsi.co.in> hi, as part of my research, i was exploring into the internals of ns-2 and i struck with how the event handling is done by ns-2. since ns is single threaded, how the context switch between events is taken place, i couldn't get it. i will be glad if any one help me about this. From farid.zafar at hotmail.com Fri Dec 1 06:32:26 2006 From: farid.zafar at hotmail.com (farid zafar) Date: Fri, 01 Dec 2006 14:32:26 +0000 Subject: [ns] problems: implementing a new protocol in NS Message-ID: hi, we are working on computer networks project: implementation of ariadne (a secure mobile network protocol). ARIADNE is a secure version of DSR (a protocol present in NS). Our project incharge asked us to start the work by simply renaming DSR protocol's classes and variables. renaming: DSR -> ARI. We did it, by taking help from NS-official tutorial. But after we make. It gives errors like: trace/cmu-trace.o(.gnu.linkonce.t._ZN10ari_hdr_sr6accessEPK6Packet[ari_hdr_sr::access(Packet const*)]+0x7): In function `ari_hdr_sr::access(Packet const*)': cmu-trace.cc: undefined reference to `ari_hdr_sr::offset_' collect2: ld returned 1 exit status make: *** [ns] Error 1 To give u an insight of what we did, the details of operations we performed are, as follows: 1. Copy->Paste the folder "/ns-2.30/dsr" and rename it to ari. Then we renamed all the files with DSR prefix as follows: DSRAGENT.CC -> ARIAGENT.CC and all other .cc and .h files similarly. 2. Rename all classes, global variables and function names in .cc and .h files: DSR -> ARI SR -> ARI_SR HDR_SR -> ARI_HDR_SR in the "ns-2.30-allinone/ns-2.30/ari" folder. 3. Editing "/common/packet.h" (by adding the following lines): #define ARI_HDR_SR (ari_hdr_sr :: access) . . PT_ARI; . . name_[PT_ARI] = "ARI" ; 4. Edit "/tcl/lib/ns-lib.tcl" as follows (following lines are added without deleting dsr) : -> source ../mobility/ari.tcl -> ARI { $self at 0.0 "$node start-ari" } -> if {$routingAgent_ != "ARI"} { $node attach $ragent [Node set rtagent_port_] } -> if { $routingAgent_ != "ARI" } { $node mip-call $ragent } -> # DSR is a special case if {$routingAgent_ == "DSR"} { set nodeclass [$self set-dsr-nodetype] } else { if {$routingAgent_ == "ARI"} { set nodeclass [$self set-dsr-nodetype] } else { set nodeclass Node/MobileNode } } -> Simulator instproc set-ari-nodetype {} { $self instvar wiredRouting_ set nodetype ari_SRNodeNew # MIP mobilenode if [Simulator set mobile_ip_] { set nodetype ari_SRNodeNew/MIPMH } # basestation ari node if { [info exists wiredRouting_] && $wiredRouting_ == "ON"} { set nodetype Node/MobileNode/BaseStationNode } return $nodetype } 5. Adding in "/ns-2.30/tcl/lib/ns-packet.tcl" the following line: -> ari_SR # source routing, ari/hdr_sr.cc after this line: " SR # source routing, dsr/hdr_sr.cc" -> # Routing Protocols: ari_SR # source routing, ari/hdr_sr.cc 6. Created a new tcl file in "/tcl/mobility/ari.tcl". Then we edit the make file to incorporate our ari folder while making ns... Then we make the ns (by typing make in "/ns-2.30" folder) But still it gives errors as stated above. Thanks , Farid Zafar (farid.zafar at hotmail.com) College of E&ME, NUST. _________________________________________________________________ Fixing up the home? Live Search can help http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmemailtaglinenov06&FORM=WLMTAG From larry.brigman at gmail.com Fri Dec 1 08:17:33 2006 From: larry.brigman at gmail.com (Larry Brigman) Date: Fri, 1 Dec 2006 08:17:33 -0800 Subject: [ns] event management In-Reply-To: <20061201162036.CCV84524@mail.tataelxsi.co.in> References: <20061201162036.CCV84524@mail.tataelxsi.co.in> Message-ID: On 12/1/06, Rajendra Prasad A wrote: > > hi, > as part of my research, i was exploring into the internals of > ns-2 and i struck with how the event handling is done by ns-2. > since ns is single threaded, how the context switch between > events is taken place, i couldn't get it. > i will be glad if any one help me about this. There really isn't a context switch (since it is single thread). Everything is executed from the scheduler loop. Look at Scheduler::run() this is where things are done. From ele_putzolu at yahoo.it Fri Dec 1 09:16:23 2006 From: ele_putzolu at yahoo.it (Elena Putzolu) Date: Fri, 1 Dec 2006 18:16:23 +0100 Subject: [ns] Wimax example simple.tcl Message-ID: <00a501c7156c$6f1ea8c0$4acc0b3e@winzoz> finally I have installed Patch NIST' S WIMAX then however I have tried the simple.tcl example in the /usr/Local/Ns-Allinone-2 .29/ Ns-2 .29/ Tcl/Wimax/ Directory, but a the command ns simple.tcl I obtain as answer : command name "Mac/802_16" while executing "Mac/802_16" set debug_ 0" (file "simple.tcl"). someone has tried this example? Thanks in advance Elena From juanmagoga at hotmail.com Fri Dec 1 09:44:18 2006 From: juanmagoga at hotmail.com (juan manuel gomez garcia) Date: Fri, 01 Dec 2006 18:44:18 +0100 Subject: [ns] energy model Message-ID: Hi ns-users: Recently I update my ns2 energy model using the steps in : http://www.isi.edu/ilense/software/smac/ns2_energy.html My initial idea was to use the Iyappan implementation (http://students.washington.edu/iyappan/) but It dont work ok because Iyappan only suppose one hop topologies. Then I leave this idea. But when I run my tcl script I obtain in the trace file this line: N -t 1.100640 -n 3 -e 98.899226 What this means? I dont found any file where explain this. Thank very much. _________________________________________________________________ Descubre la descarga digital con MSN Music. M?s de un mill?n de canciones. http://music.msn.es/ From suchdeokapil at gmail.com Fri Dec 1 10:12:00 2006 From: suchdeokapil at gmail.com (Kapil Suchdeo) Date: Fri, 1 Dec 2006 23:42:00 +0530 Subject: [ns] Fwd: Voice over MANET in ns2 In-Reply-To: References: Message-ID: Hi all, Can anyone tell how to simulate voice over MANET in ns2. -- Er. Kapil Suchdeo 98275-49045 From tomh at tomh.org Fri Dec 1 15:41:52 2006 From: tomh at tomh.org (Tom Henderson) Date: Fri, 01 Dec 2006 15:41:52 -0800 Subject: [ns] Problem with NAM in FC4 In-Reply-To: References: Message-ID: <4570BDC0.5020309@tomh.org> Shaili Desai wrote: > Hi all > > I installed NS-allinone-2.29 on FC4 and set the path variables too.I did set > it after installation and now have edited in the bashrc file too. But when > running example1a.tcl from ns-allinone-2.29 directory it gives me the > following error: > > > ns: finish: couldn't execute "nam": no such file or directory > while executing > "exec > nam out.nam &" > (procedure "finish" line 7) > invoked from within > "finish" > Dont know what can be the problem? Do I need some link to nam in > ns-allinone-2.29/bin the way we have working softlink of ns?? > > In my bashrc file which is /etc/bashrc, I have following lines added: > export NS_PATH=/root/ns-allinone-2.29/bin:/root/ns-allinone-2.29 > /tcl8.4.11/unix:/root/ns-allinone-2.29 > /tk8.4.11/unix:/root/tracegraph/tracegraph202 > export LD_LIBRARY_PATH=/root/ns-allinone-2.29/otcl- > 1.11:/root/ns-allinone-2.29/lib > export TCL_LIBRARY=/root/ns-allinone-2.29/tcl8.4.11/library > > And I did source ~/.bashrc after editing the bashrc file. > Can someone please tell me whether am I doing the right steps or am missing > out on something. > > Thanks in advance. > The problem is that nam is not in your executable path, which can be remedied by adding its directory to your PATH variable: export PATH=${PATH}:/root/ns-allinone-2.29/ns-1.11/ or put it in the bin/ directory as you suggest. (by the way, I would recommend to use ns as a non-root user). Tom From tomh at tomh.org Fri Dec 1 15:44:23 2006 From: tomh at tomh.org (Tom Henderson) Date: Fri, 01 Dec 2006 15:44:23 -0800 Subject: [ns] OTcl and documentation In-Reply-To: <006d01c71228$4b222830$62a9ea82@it.jyu.fi> References: <006d01c71228$4b222830$62a9ea82@it.jyu.fi> Message-ID: <4570BE57.3000805@tomh.org> Alexander Sayenko wrote: > Hi > > Does anybody know/use a well-proven solution to generate a documentation > from the OTcl code? I tried to find a one, but failed. > > * Doxygen does not support OTcl, though it supports Python like comments > which can simplify adding support for the OTcl. > > * The OTcl package comes with the otcldoc script, but it generates HTML > output only. I would prefer to have a possibility to control which output I > would like to use. > > * There are several scripts that convert the Tcl code into something like C > code so that the Doxygen can parse them but it seems that the OTcl is not > suppported. > > Other solutions? > > It seems that the NS-2 community would benefit from such a tool since the > main documentation has not been updated for years, while the NS-2 code > changes all the time. It would also eliminate a need to write the same text > twice. Personally, I would like to see the OTcl extension for the Doxygen > program because the NS-2 has both the C++ and OTcl code. Does anybody know > FLEX well enough to extend the Doxygen scanner.l file ? :-) Alexander, I doubt that there will be any volunteers to add Doxygen support to ns-2 OTcl and the tclcl code; if you or others want to provide documentation fixes, though, I'll incorporate them. ns-3 is using Doxygen, however. Tom From tomh at tomh.org Fri Dec 1 15:49:00 2006 From: tomh at tomh.org (Tom Henderson) Date: Fri, 01 Dec 2006 15:49:00 -0800 Subject: [ns] ns-2 FAQ Message-ID: <4570BF6C.2020403@tomh.org> 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 ramzi.tka at gmail.com Sat Dec 2 02:29:02 2006 From: ramzi.tka at gmail.com (Ramzi Tka) Date: Sat, 2 Dec 2006 11:29:02 +0100 Subject: [ns] 80.11 Mac Neighbors list Message-ID: Hi all, Could someone tell me how to get the neighbor list whithin a mac C++ class before or after any transmission?. I do this distinction because if the neighbor list is updated uniquely when receiving a packet, it would be impossible to get this neighbor list before any transmission. If we consider a scenario of stationnary nodes, could I get the neighbor list at the beginning of the simulation? and Once a neighbor has been added to a node neighbor list , is this neighbor suppressed from the list after a ttl_ inactivity time ? best regards Ramzi TKA From siad_lamri at yahoo.fr Sat Dec 2 03:04:45 2006 From: siad_lamri at yahoo.fr (siad lamri) Date: Sat, 2 Dec 2006 12:04:45 +0100 (CET) Subject: [ns] Collision rate for braodcast packets Message-ID: <20061202110445.29508.qmail@web26408.mail.ukl.yahoo.com> Hi NS users; i'm using ns2 to simulate an ad hoc network with OLSR as routing protocol and cbr to generate traffic. the purpose is to compute the rate of packet dropped. so for unicast packets there is no problem, it's simple : rate = total dropped / total sent. the problem is for braodcast packets (RTS, HELLO), this formula is wrong in that case because for each packet sent, he can be dropped more than once. i'm asking u, if someone has a solution for this problem. best regards. Siad L. Magister in Computer Science INI, Algiers --------------------------------- D?couvrez une nouvelle fa?on d'obtenir des r?ponses ? toutes vos questions ! Profitez des connaissances, des opinions et des exp?riences des internautes sur Yahoo! Questions/R?ponses. From anjalimls at yahoo.co.in Sat Dec 2 05:17:40 2006 From: anjalimls at yahoo.co.in (Anjali Arora) Date: Sat, 2 Dec 2006 13:17:40 +0000 (GMT) Subject: [ns] code for multicast protocol Message-ID: <659721.15010.qm@web8412.mail.in.yahoo.com> hi all is any one having code for any shared or source based multicast tree protocol for mobile ad hoc network except MAODV? if any one have then please send it to me because i need it for my project. thanks in advance anjali --------------------------------- Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW From khdour at ccse.kfupm.edu.sa Sat Dec 2 09:11:29 2006 From: khdour at ccse.kfupm.edu.sa (Tayseer Al-khdour) Date: Sat, 2 Dec 2006 20:11:29 +0300 Subject: [ns] implementing LEACH in ns2.29 Message-ID: <012701c71634$eba07360$1e09170a@coekhdour> Hi I need a help in implementing LEACH in ns2.29 and integrating MIT extension package in ns2.29, I have the procedure to implement LEACH and uAMPS with ns2.27. I tried to use it with ns2.29 but it does not working Thanks Regards, --------------------------- Tayseer A. Al-khdour Lecturer-B Computer Engineering Department King Fahd University of Petroleum & Minerals Dhahran 31261, Saudi Arabia Phone: +966-3-860-4530 Web http://www.ccse.kfupm.edu.sa/~khdour From shahabi at cad.ece.ut.ac.ir Sat Dec 2 08:48:48 2006 From: shahabi at cad.ece.ut.ac.ir (Ali Shahabi) Date: Sat, 2 Dec 2006 20:18:48 +0330 (IRT) Subject: [ns] Manual Routing Message-ID: <1185.80.191.13.209.1165078128.squirrel@cad.ece.ut.ac.ir> Dear all, I want to use Manual Routing in a simple mesh topology. I would like to define next hop for each destination in a specific node. I used Manual routing protocol and tried to fill all the routing tables' entries with add-route and add-route-to-adj-node command. But I couldn't handle the problem. Would you please tell me what is the difference between add-route and add-route-to-adj-node. Is there any other command to solve my problem? Also I want to know the kind and number of parameters for these two commands. Any useful information would be appreciated. From hugo_ernesto_t at hotmail.com Sat Dec 2 17:17:37 2006 From: hugo_ernesto_t at hotmail.com (Hugo Ernesto Torres Gillade) Date: Sat, 2 Dec 2006 20:17:37 -0500 Subject: [ns] 802.11g parameters Message-ID: Hi, Please somebody help me. I need 802.11g parameters to put in my tcl script. Hugo Torres Gillade _________________________________________________________________ Get the new Windows Live Messenger! http://get.live.com/messenger/overview From gc30042 at edu.kansai-u.ac.jp Sat Dec 2 22:42:05 2006 From: gc30042 at edu.kansai-u.ac.jp (=?ISO-2022-JP?B?GyRCOWI2NksuSScbKEI=?=) Date: Sun, 3 Dec 2006 15:42:05 +0900 (JST) Subject: [ns] UDP Agent : target->recv(p) Message-ID: <20061203154205.34C75263@edu.kansai-u.ac.jp> I'm developping a new application protocol. I traced a packet from udp to network layer. In udp.cc, i find a function "sendmsg". In that end, i see "target_->recv(p)". What dose "target->recv(p)" mean ? plese help me. From marav82 at gmail.com Sun Dec 3 05:38:18 2006 From: marav82 at gmail.com (Maria Amor) Date: Sun, 3 Dec 2006 13:38:18 +0000 Subject: [ns] Problem with nam In-Reply-To: References: Message-ID: Hi, I am using ns-allinone-2.29 under cygwin, and I am having problems with nam. When I try to execute it it says: no display name and no $DISPLAY environment variable to solve this I start the X server and set an environment variable like this: export DISPLAY=hostname:0.0 And then it works, but only from the X server. If I try nam from cygwin it says: nam: couldn't connect to display "MAV:0.0" (I also wrote "export DISPLAY=hostname:0.0" in my ./bashrc file ) My question is: Is there a way to use nam directly from Cygwin without starting the X server? Thank you very much, Maria A.V From haseeb at eee.strath.ac.uk Sun Dec 3 16:20:15 2006 From: haseeb at eee.strath.ac.uk (Mohammad Haseeb Zafar) Date: Mon, 4 Dec 2006 00:20:15 -0000 Subject: [ns] [manet] Simulation Error References: <997853.37419.qm@web8506.mail.in.yahoo.com> Message-ID: <9C2F284131C9394081261B2AEF82C26E08A0B6@helios.eee.strath.ac.uk> Hi Further to previous email. I have made following changes in ns-lib.tcl to check whether its working: switch -exact $routingAgent_ { MPDSR { $self at 0.0 "$node start-mpdsr" } -------- default { puts "Wrong node routing agent:$routingAgent_" exit } } after remake, I again receive following message: num_nodes is set 50 Wrong node routing agent! It should have given following error: Wrong node routing agent: MPDSR This mean that after remake, changes have not been incorporated in ns-lib.tcl. When I source ns-lib.tcl, I get the following: -bash: ./ns-lib.tcl: line 50: syntax error near unexpected token `(' -bash: ./ns-lib.tcl: line 50: `set slinks_(0:0) 0' How I can incorporate changes in ns-lib.tcl? Your help will be hihhly appreciated. Cheers Haseeb -----Original Message----- From: Ash Mohammad Abbas [mailto:abbas_iitd2001 at yahoo.co.in] Sent: Fri 01/12/2006 2:12 AM To: Mohammad Haseeb Zafar Subject: Re: [manet] Simulation Error You need to check the routing protocol you are using in your tcl script. If you have written the code of smr afresh, you need to make changes at several places like config, routing agent, etc. Check whether you have made all those updates. Hope this helps, Abbas --- Mohammad Haseeb Zafar wrote: > Hi all, > > I have run split multipath routing over ns-2.1b8a > and the make process was successful. When I tried > to run the simulation script, it bails out with an > error > > num_nodes is set 50 > Wrong node routing agent! > > Can anyone please help to tell me how to solve this > problem? > > Thanks. > > Haseeb > > _______________________________________________ > manet mailing list > manet at ietf.org > https://www1.ietf.org/mailman/listinfo/manet > Ash Mohammad Abbas http://www.cse.iitd.ernet.in/~abbas __________________________________________________________ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/ From haseeb at eee.strath.ac.uk Sun Dec 3 16:21:02 2006 From: haseeb at eee.strath.ac.uk (Mohammad Haseeb Zafar) Date: Mon, 4 Dec 2006 00:21:02 -0000 Subject: [ns] [manet] Simulation Error References: <997853.37419.qm@web8506.mail.in.yahoo.com> <9C2F284131C9394081261B2AEF82C26E08A0B6@helios.eee.strath.ac.uk> Message-ID: <9C2F284131C9394081261B2AEF82C26E08A0B7@helios.eee.strath.ac.uk> Hi Further to my previous email. I have made following changes in ns-lib.tcl to check whether its working: switch -exact $routingAgent_ { MPDSR { $self at 0.0 "$node start-mpdsr" } -------- default { puts "Wrong node routing agent:$routingAgent_" exit } } after remake, I again receive following message: num_nodes is set 50 Wrong node routing agent! It should have given following error: Wrong node routing agent: MPDSR This mean that after remake, changes have not been incorporated in ns-lib.tcl. When I source ns-lib.tcl, I get the following: -bash: ./ns-lib.tcl: line 50: syntax error near unexpected token `(' -bash: ./ns-lib.tcl: line 50: `set slinks_(0:0) 0' How I can incorporate changes in ns-lib.tcl? Your help will be hihhly appreciated. Cheers Haseeb -----Original Message----- From: Ash Mohammad Abbas [mailto:abbas_iitd2001 at yahoo.co.in] Sent: Fri 01/12/2006 2:12 AM To: Mohammad Haseeb Zafar Subject: Re: [manet] Simulation Error You need to check the routing protocol you are using in your tcl script. If you have written the code of smr afresh, you need to make changes at several places like config, routing agent, etc. Check whether you have made all those updates. Hope this helps, Abbas --- Mohammad Haseeb Zafar wrote: > Hi all, > > I have run split multipath routing over ns-2.1b8a > and the make process was successful. When I tried > to run the simulation script, it bails out with an > error > > num_nodes is set 50 > Wrong node routing agent! > > Can anyone please help to tell me how to solve this > problem? > > Thanks. > > Haseeb > > _______________________________________________ > manet mailing list > manet at ietf.org > https://www1.ietf.org/mailman/listinfo/manet > Ash Mohammad Abbas http://www.cse.iitd.ernet.in/~abbas __________________________________________________________ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/ From luqman_ngs at gmx.net Mon Dec 4 04:53:03 2006 From: luqman_ngs at gmx.net (Luqman) Date: Mon, 4 Dec 2006 13:53:03 +0100 Subject: [ns] problem accessing c++ variable from ns-2 sim code (bind issue?) Message-ID: <20061204125303.GA5353@gmx.de> hello, I need to extend ns-2 a littel to determin period of time I need to run a crb traffic generator. For this I have added a VideoTrace class and store amount of data to be transported over cbr in video_size_. I would like to determine cbr_end time as stated below in ns-2 sim script. For this purpose I need to have access to video_size_ variable from sim code. cbr_end = video_size_/cbr_rate =============== ns-2 simulation script ==================== ../skipping set encoder_trace [new VideoTrace] ? how to access video_size_ here to calculate crb_end value? Below is the relevant code from video.h and video.cc: =============== video.h ==================== class VideoTrace : public NsObject { public: u_int32_t video_size_; //size of video in bytes VideoTrace(); int command(int argc, const char*const* argv); }; =============== video.cc ==================== static class VideoTraceClass : public TclClass { public: VideoTraceClass() : TclClass("VideoTrace") {} TclObject* create(int, const char*const*) { return (new VideoTrace()); } } class_video_trace; VideoTrace::VideoTrace() : status_(0) { video_size_ = 9999; bind("video_size_", &video_size_); } Your comments are very much appreciated. If you think there is another and/or better way, please share it with me. Regards, -- Luqman From g_fnoor at umassd.edu Mon Dec 4 15:16:42 2006 From: g_fnoor at umassd.edu (g_fnoor@umassd.edu) Date: Mon, 4 Dec 2006 18:16:42 -0500 (EST) Subject: [ns] Awk script to calculate network lifetime! Message-ID: <3865.24.128.201.119.1165274202.squirrel@email.umassd.edu> Hello, I'm working on the awk script used to calculate the network lifetime of a particular network, which is based on the energy reducing to 0, I mean the network dies once one of the cluster head's energy is 0. Could anyone please help me with the awk script or the explanation on how I can calculate the network lifetime, from the trace file any guidance will be appreciated.Thanks a lot in advance. Thanking you Yours Sincerely, Fatema. P.s: I desperately need this as soon as possible plzzzzzzzzzz. From winghinwong at hotmail.com Mon Dec 4 18:42:06 2006 From: winghinwong at hotmail.com (Wing Hin Wong) Date: Mon, 04 Dec 2006 21:42:06 -0500 Subject: [ns] NS2 AODV routing module can't obtain the optimal route Message-ID: Hi, I am running a wireless ad-hoc network simulation with the AODV algorithm included in the NS2 2.30. My problem is that, in many occasions the AODV algorithm can't find out the best route for an end-to-end connection, say, instead of a direct one-hop route, it chooses a lengthy 2-hop route instead. Any people have the same experience and know the solutions? Thanks! _________________________________________________________________ MSN Shopping has everything on your holiday list. Get expert picks by style, age, and price. Try it! http://shopping.msn.com/content/shp/?ctId=8000,ptnrid=176,ptnrdata=200601&tcode=wlmtagline From rprasad at tataelxsi.co.in Mon Dec 4 20:07:10 2006 From: rprasad at tataelxsi.co.in (Rajendra Prasad A) Date: Tue, 5 Dec 2006 09:37:10 +0530 (IST) Subject: [ns] ns-2 parallelism Message-ID: <20061205093710.CCY49208@mail.tataelxsi.co.in> hi, I am using ns-2 for evaluating the performance of a router whose inflow is more than outflow. my doubt is since ns-2 is single threaded how can i get the parallelism that the router agent would receive morethan one packet at a time and how the process receiving the packets and the process sending packets run parallelly. please any one help me in this aspect thanks From ele_putzolu at yahoo.it Tue Dec 5 03:12:11 2006 From: ele_putzolu at yahoo.it (Elena Putzolu) Date: Tue, 5 Dec 2006 12:12:11 +0100 Subject: [ns] installazione ns 2.29.3 su Cygwin Message-ID: <00bb01c7185e$37f712c0$92cc0b3e@winzoz> I am trying again to install ns-2.29 on cygwin but after to have given the ./install command and created rows .bash_profile (PATH=. LD_LIBRARY_PATH=.. TCL_PATH=..), logout, unfortunately to the ns command it does not work, it does not appear prompt %. according to you I have forgotten something? Elena From mowli at tenet.res.in Tue Dec 5 08:07:18 2006 From: mowli at tenet.res.in (G.Chandramowli) Date: Tue, 05 Dec 2006 21:37:18 +0530 Subject: [ns] How does the control comes back from C++ to OTcl ? Message-ID: <20061205160718.1260.qmail@mail.tenet.res.in> Hi everybody ... Can anyone tell me when the control from C++ comes back to OTcl ? To be more specific , let me explain a specific example here . Assume that I have written a script line to generate packets at 0.01 second. Second script line to make the link failure at 0.02 second . Please tell me when the control , that goes to c++ from the script line 1, comes back to execute the script line 2 ? I am ready to explain further if my above example is difficult to understand . Thanks in advance . G.Chandramowli. From pedro.estrela at gmail.com Tue Dec 5 08:10:08 2006 From: pedro.estrela at gmail.com (Pedro Vale Estrela) Date: Tue, 5 Dec 2006 16:10:08 -0000 Subject: [ns] recall a procedure every time that a packet arrives In-Reply-To: <642067.83115.qm@web15915.mail.cnb.yahoo.com> Message-ID: <03ae01c71887$d5b7c2b0$172914ac@Estrela> Create your own queue object (derive from exiting queue/droptail) and redefine the recv() function Pedro Vale Estrela > -----Original Message----- > From: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU] On Behalf > Of Daniel Dekst > Sent: quinta-feira, 30 de Novembro de 2006 3:02 > To: ns-users at ISI.EDU > Subject: Re: [ns] recall a procedure every time that a packet arrives > From pedro.estrela at gmail.com Tue Dec 5 08:11:40 2006 From: pedro.estrela at gmail.com (Pedro Vale Estrela) Date: Tue, 5 Dec 2006 16:11:40 -0000 Subject: [ns] FW: How does the control comes back from C++ to OTcl ? Message-ID: <03af01c71888$0c654210$172914ac@Estrela> ------=_Part_9264_2857892.1165332047369 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline things dont work as simply as that. befeore the simualtion starts, you schedule a packet generation to occur at 0.01 then, still before the simulation starts, you schedule a link failure at 0.02 then you start the simulation, where control is given to the scheduler. the scheduler only processes messages that are exanged between the NS2 components (agents / links / queues / packets). After some hundreds of events, teh scheduler will eventually call your code at time 0.01 then it calls some more hundreds of events, before it call your second piece o code at time 0.02 what exactly are you trying to do? Pedro Vale Estrela PS: this is a fine material for the NS2 wiki - please contribute !!! On 12/5/06, G.Chandramowli wrote: > > > Hi everybody ... > > Can anyone tell me when the control from C++ comes back to OTcl ? > > To be more specific , let me explain a specific example here . > > Assume that I have written a script line to generate packets at 0.01second. > Second script line to make the link failure at 0.02 second . > > Please tell me when the control , that goes to c++ from the script line > 1, comes back to execute the script line 2 ? > > I am ready to explain further if my above example is difficult to > understand . > > Thanks in advance . > G.Chandramowli. > > ------=_Part_9264_2857892.1165332047369 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
things dont work as simply as that.
 
befeore the simualtion starts, you schedule a packet generation to occur at 0.01
then, still before the simulation starts, you schedule a link failure at 0.02
then you start the simulation, where control is given to the scheduler.
 
the scheduler only processes messages that are exanged between the NS2 components (agents / links / queues / packets).
After some hundreds of events, teh scheduler will eventually call your code at time 0.01
then it calls some more hundreds of events, before it call your second piece o code at time 0.02
 
what exactly are you trying to do?
Pedro Vale Estrela
 
PS: this is a fine material for the NS2 wiki  - please contribute !!!
 
 
 
 
 
On 12/5/06, G.Chandramowli <mowli at tenet.res.in> wrote:

Hi everybody ...

Can anyone tell me when the control from C++ comes back to OTcl ?

  To be more specific , let me explain a specific example here .

   Assume that I have written a script line to generate packets at 0.01 second.
   Second script line to make the link failure at 0.02 second .

  Please tell me when the control , that goes to c++ from the script line 1, comes back to execute the script line 2 ?

I am ready to explain further if my above example is difficult to understand .

  Thanks in advance .
  G.Chandramowli.


------=_Part_9264_2857892.1165332047369-- From pedro.estrela at gmail.com Tue Dec 5 08:13:54 2006 From: pedro.estrela at gmail.com (Pedro Vale Estrela) Date: Tue, 5 Dec 2006 16:13:54 -0000 Subject: [ns] HMIPv6 extentions In-Reply-To: <456DE391.3050107@ceid.upatras.gr> Message-ID: <03b101c71888$5c761590$172914ac@Estrela> check http://tagus.inesc-id.pt/~pestrela/ns2/mobility.html I've also asked for the code, but without success. Please email the authors requesting the code, and if you get a response, please post it on the list. Pedro Vale Estrela > -----Original Message----- > From: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU] On Behalf > Of aristome at ceid > Sent: quarta-feira, 29 de Novembro de 2006 19:46 > To: ns-users at ISI.EDU > Subject: [ns] HMIPv6 extentions > > > Hi, > i am a university student and i'm working on MIPv6, HMIPv6 and fast > handovers. > I've heard about R. Hsieh's impementation of HMIPv6, i've found a couple > of links but there are all down. > Is there anyone who already has this extention, or something similar > (FHMIPv6)? > thanks From luqman_ngs at gmx.net Tue Dec 5 09:22:37 2006 From: luqman_ngs at gmx.net (Luqman) Date: Tue, 5 Dec 2006 18:22:37 +0100 Subject: [ns] how to override default value? Message-ID: <20061205172237.GA16305@gmx.de> I am having difficulty overriding default values from ns-defaults.tcl. In sim code I call a c++ functions that does initialization of the variable video_size_. But my problem is that default value from ns-defaults.tcl is still the value attached to this variable. I checked it both with printf in c++ and puts in sim code. Normally, this value should have changed because a c++ function changes it. Is there something special that needs to be taken care of when overriding default values, certain order of calling functions etc.? When I delete the value from ns-defaults.tcl, there is a warning during simulation run but then I have correct value for that variable. I can live with that if the solution is not easily found. Hopefully there are no bad side effects when I ignore the warning. Your views are much appreciated. /Luqman -- Luqman From lucasammarini at libero.it Tue Dec 5 09:29:28 2006 From: lucasammarini at libero.it (lucasammarini@libero.it) Date: Tue, 5 Dec 2006 18:29:28 +0100 Subject: [ns] send off packet on different link Message-ID: Hi, if I have a node from that issue themselves different link, is possible to send off the packet on different link in base to the flowid Thanks Regards Luca ------------------------------------------------------ Francesco ha perso ben 45 Kg! Scopri come! Clicca qui http://click.libero.it/webnation05dic06 From fl0wer at virgilio.it Tue Dec 5 10:25:56 2006 From: fl0wer at virgilio.it (Marco Fiore) Date: Tue, 5 Dec 2006 19:25:56 +0100 (GMT+01:00) Subject: [ns] R: installazione ns 2.29.3 su Cygwin Message-ID: <10f53dd685d.fl0wer@virgilio.it> Elena, if I understood your problem, you cannot run ns from any location of your file system. If that's right, check that the ns executable, or a link to it is present in any of the folders listed in your PATH. To visualize the list of folders in the PATH, type 'echo $PATH'. If you need further help, remember to provide more information (commands run, error messages received, etc.). bye, Marco >---- Messaggio originale---- >Da: ele_putzolu at yahoo.it >Data: 5-dic-2006 12.12 PM >A: "mail to NS" >Ogg: [ns] installazione ns 2.29.3 su Cygwin > > > I am trying again to install ns-2.29 on cygwin but after to have given the ./install command and created rows . bash_profile (PATH=. LD_LIBRARY_PATH=.. TCL_PATH=..), logout, unfortunately to the ns command it does not work, it does not appear prompt %. > according to you I have forgotten something? >Elena > From fl0wer at virgilio.it Tue Dec 5 11:50:20 2006 From: fl0wer at virgilio.it (Marco Fiore) Date: Tue, 5 Dec 2006 20:50:20 +0100 (GMT+01:00) Subject: [ns] R: send off packet on different link Message-ID: <10f542aac90.fl0wer@virgilio.it> Luca, the routing of multiple flows generated by the same source node is determined by: 1. destination node of flow 2. routing algorithm employed In your case, if the two flows are directed to two different nodes, they will probably choose different (not necessarily disjoint) routes. If the flows are directed to the same desitnation they will select the same route, and you'll have to play with routing to avoid that. bye, Marco >----Messaggio originale---- >Da: lucasammarini at libero.it >Data: 5-dic-2006 6.29 PM >A: "ns-users" >Ogg: [ns] send off packet on different link > > >Hi, > >if I have a node from that issue themselves different link, is possible to send off the packet on different link in base to the flowid > >Thanks >Regards >Luca > > >------------------------------------------------------ >Francesco ha perso ben 45 Kg! Scopri come! Clicca qui >http://click.libero. it/webnation05dic06 > > > > From vph at unik.no Tue Dec 5 14:20:25 2006 From: vph at unik.no (Vinh Pham) Date: Tue, 5 Dec 2006 23:20:25 +0100 Subject: [ns] Mac-802_11 support for cross-layer notification References: <093EBAF8333DBD49A5CC0A045175A6E8767BD4@london.unik.no> Message-ID: <093EBAF8333DBD49A5CC0A045175A6E8767BD5@london.unik.no> Hi all. I want to modify the class Mac802_11 such that it sends a notification to the routing module (e.g OLSR) each time a packet is discarded due to max number of retransmissions have been reached. In the original implementation, Mac802_11 only have uptarget_ and downtarget_ as references to other object instances. Suppose I want to introduce a new variable olsr_ in the Mac802_11 class, holding a reference/pointer to the OLSR routing module, how can I accomplish this? And where? Any suggestion is appreciated. Thanks for your help. Regards Vinh Pham From pedro.estrela at gmail.com Tue Dec 5 15:28:11 2006 From: pedro.estrela at gmail.com (Pedro Vale Estrela) Date: Tue, 5 Dec 2006 23:28:11 -0000 Subject: [ns] Mac-802_11 support for cross-layer notification In-Reply-To: <093EBAF8333DBD49A5CC0A045175A6E8767BD5@london.unik.no> Message-ID: <000001c718c5$08afc770$172914ac@Estrela> The easiest way of doing this is to do via tcl http://tagus.inesc-id.pt/~pestrela/ns2/ns2_tips.html#_Toc124667332 Pedro Vale Estrela > -----Original Message----- > From: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU] On Behalf > Of Vinh Pham > Sent: ter?a-feira, 5 de Dezembro de 2006 22:20 > To: Ns-users at ISI.EDU > Subject: [ns] Mac-802_11 support for cross-layer notification > > > > Hi all. > > I want to modify the class Mac802_11 such that it sends a notification > to the routing module (e.g OLSR) each time a packet is discarded due to > max number of retransmissions have been reached. In the original > implementation, > Mac802_11 only have uptarget_ and downtarget_ as references to other > object instances. Suppose I want to introduce a new variable olsr_ in > the Mac802_11 class, holding a reference/pointer to the OLSR routing > module, how can I accomplish this? And where? Any suggestion is > appreciated. > > > Thanks for your help. > > Regards > > Vinh Pham From shenm2 at mcmaster.ca Tue Dec 5 19:10:49 2006 From: shenm2 at mcmaster.ca (M. Shen) Date: Tue, 05 Dec 2006 22:10:49 -0500 Subject: [ns] accessing queue length in 802.11 MAC Message-ID: Dear guys, I tried to access queue length in MAC. So I wrote int pkt_num = ((LL *)uptarget_)->ifq()->length(); When I run the simulation us gdb, segmentation fault occurs. I shows that Program received signal SIGSEGV, Segmentation fault. 0x080c3ad4 in Queue::length() (this=0x0) at queue/queue.h:136 136 int length() { return pq_->length(); } /* number of pkts currently in Does any one know how to deal with this problem? Thank you very much, Min From savitri at tataelxsi.co.in Tue Dec 5 19:30:32 2006 From: savitri at tataelxsi.co.in (Savitri P. Pandharikar) Date: Wed, 6 Dec 2006 09:00:32 +0530 Subject: [ns] how events are scheduled Message-ID: Hi, I want to know more about NS-2 but I am still confused only about the event scheduler.I studied the NS manual also.But then also its not clear.Can please explain how events are scheduled one after another. Thanks Savitri P From rprasad at tataelxsi.co.in Tue Dec 5 20:33:22 2006 From: rprasad at tataelxsi.co.in (Rajendra Prasad A) Date: Wed, 6 Dec 2006 10:03:22 +0530 (IST) Subject: [ns] scheduling Message-ID: <20061206100322.CCZ70091@mail.tataelxsi.co.in> hi, can any one help me, about the scheduler process. when the scheduler deques an event from event list and calls the handler for that event, the commandstring is given to the TCL Interpreter. I cant understand what is happening afterwards. Every time who is going to insert events into the list? and shall i know associated to which handle(), the Queue object's recv function invokes. thankyou From shash at site.uottawa.ca Tue Dec 5 21:45:26 2006 From: shash at site.uottawa.ca (Shafiq Hashmi) Date: Wed, 6 Dec 2006 00:45:26 -0500 Subject: [ns] how events are scheduled References: Message-ID: <010401c718f9$bad91260$dd5b7a89@site.uottawa.ca> Hi, In OTcl when you write any statement like $ns at $stop "finish_proc" then in scheduler.cc, it schedules the the 'finish_proc' (or anything u want) to execute/run at time 'stop'. In C++, you have to call the schedule method with the parameters (a handler, a packet and delay), like here Scheduler::instance().schedule(handler, packet, delay); Basically, scheduler.cc is the main file that does all the scheduling whenever called and then running one after other. Hope it will help. Shafiq ----- Original Message ----- From: "Savitri P. Pandharikar" To: Sent: Tuesday, December 05, 2006 10:30 PM Subject: [ns] how events are scheduled > > Hi, > > I want to know more about NS-2 but I am still confused only about the > event > scheduler.I studied the NS manual also.But then also its not clear.Can > please explain how events are scheduled one after another. > > Thanks > Savitri P > > > From savitri at tataelxsi.co.in Tue Dec 5 22:30:13 2006 From: savitri at tataelxsi.co.in (Savitri P. Pandharikar) Date: Wed, 6 Dec 2006 12:00:13 +0530 Subject: [ns] classifier & scheduling Message-ID: Hi, I want to know if we are using FQ scheduling algorithm how classification and scheduling is performed.Is it the enque operation is coupled with the classifier only? and deque operation is immediately after the enque operation?.If both enque and deque are in sequence................then how i can I seperate enque and deque...................i.e how can I run enque and deque seperately................................. Thanks Savitri P From ele_putzolu at yahoo.it Wed Dec 6 00:42:22 2006 From: ele_putzolu at yahoo.it (Elena Putzolu) Date: Wed, 6 Dec 2006 09:42:22 +0100 Subject: [ns] problems with installation Ns-2 .29.3 under Cygwin Message-ID: <00cf01c71912$7481d540$f5c90b3e@winzoz> Hi all, when I did the ./validate, I obtained: 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 tests failed: ./test-all-smac-multihop ./test-all-simultaneous ./test-all-wireless-tdma to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME Notice that some tests in webcache will fail on freebsd when -O is turned on. This is due to some event reordering, which will disappear when -g is turned on. Cygwin >= 1.3.19 detected (1.5.21), all tests should have passed. Please see for potential solutions. Then with the Echo $PATH command I have had as answer: /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Programmi/ATI Technologies/ATI Control Panel:/usr/lib/lapack I think that my Paths are set wrong , but I have given in the Ns-Allinone-2 .29 Directory the order: export PATH= /usr/local/ns-allinone-2.29/bin:/usr/local/ns-allinone-2.29/tcl8.4.11/unix:/usr/local//ns-allinone-2.29/tk8.4.11/unix Where am I making a mistake? I thank you so for lo help which you are giving me Elena From ehlert at fokus.fraunhofer.de Wed Dec 6 02:37:20 2006 From: ehlert at fokus.fraunhofer.de (Sven Ehlert) Date: Wed, 06 Dec 2006 11:37:20 +0100 Subject: [ns] problems with installation Ns-2 .29.3 under Cygwin In-Reply-To: <00cf01c71912$7481d540$f5c90b3e@winzoz> References: <00cf01c71912$7481d540$f5c90b3e@winzoz> Message-ID: <45769D60.3070103@fokus.fraunhofer.de> Hi, you didn't do any mistake. Those tests currently fail on Cygwin. If you need this functionality, you'll need to use the *nix version. Regards /Sven Elena Putzolu wrote: > Hi all, > > when I did the ./validate, I obtained: > > 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 tests failed: > > ./test-all-smac-multihop ./test-all-simultaneous ./test-all-wireless-tdma > > to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME > > Notice that some tests in webcache will fail on freebsd when -O is turned on. > > This is due to some event reordering, which will disappear when -g is turned on. > > > > Cygwin >= 1.3.19 detected (1.5.21), all tests should have passed. > > Please see > > for potential solutions. > > Then with the Echo $PATH command I have had as answer: > > /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Programmi/ATI Technologies/ATI Control Panel:/usr/lib/lapack > I think that my Paths are set wrong , but I have given in the Ns-Allinone-2 .29 Directory the order: > > export PATH= /usr/local/ns-allinone-2.29/bin:/usr/local/ns-allinone-2.29/tcl8.4.11/unix:/usr/local//ns-allinone-2.29/tk8.4.11/unix > > Where am I making a mistake? I thank you so for lo help which you are giving me > Elena > From coolandy7942 at yahoo.com Wed Dec 6 03:26:42 2006 From: coolandy7942 at yahoo.com (Youn Ho Jung) Date: Wed, 6 Dec 2006 06:26:42 -0500 (EST) Subject: [ns] [aodv] using node energy value in C++ code Message-ID: <20061206112642.67962.qmail@web58803.mail.re1.yahoo.com> Hi All. I'm trying to modify AODV with energy concept. and I want to put Energy consumption in AODV.cc so that I could change routing algorithm when it is finding the route. But the problem is.. In NS-2, we write Energy Concept on TCL script. !----------------------------------------- set opt(energymodel) EnergyModel ; $ns_ node-config -adhocRouting AODV \ -llType $opt(ll) \ -macType $opt(mac) \ -ifqType $opt(ifq) \ -ifqLen $opt(ifqlen) \ -antType $opt(ant) \ -propType $opt(prop) \ -phyType $opt(netif) \ -channelType $opt(chan) \ -topoInstance $topo \ -energyModel $opt(energymodel) \ -rxPower 0.3 \ -txPower 0.6 \ -initialEnergy $opt(initialenergy) -----------------------------------------! after i made a node in TCL script, Actually I don't know what's going on inside. All I got is just node energy left in TRACE file. If I want to change routing algorithm to Energy based routing, i need to modify C++ code like AODV.cc It means routing decision should be done after seeing each node's energy. But previous one, it doesn't concern about energy during the routing process. In fact, C++ code is based on Per Packet Mechanism. And I made Node Object $ns_ in TCL script. How Can i mapping it? To see each node's remaining energy during the AODV routing decision process. What do I have to do? Thank you in advance. ____________________________________________________________________________________ Need a quick answer? Get one in minutes from people who know. Ask your question on www.Answers.yahoo.com From princesse.mirou at gmail.com Wed Dec 6 05:09:34 2006 From: princesse.mirou at gmail.com (amira bourayou) Date: Wed, 6 Dec 2006 14:09:34 +0100 Subject: [ns] help me to finish installing NS correctly Message-ID: *hi all,* when I did the ./install, I obtained These messages after that ns was installed successfuly: put /home/you/ns-allinone-2.30/bin : /home/you/ns-allinone-2.30/tcl8.4.13/unix: /home/you/ns-allinone-2.30/tk8.4.13/unix into your path environnement so that you ll be able to run itm/tclsh/wish/xgraph you must put /home/you/ns-allinone-2.30/otcl-1.12, /home/you/ns-allinone-2.30//lib into your LD-LIBRARY-PATH environnement variables if it complains about X libraries,add path to your X librairies into LD-LIBRARY-PATH if you are using csh,you can see like: setenv LD-LIBRARY-PATH if you are using sh,you can see like: export LD-LIBRARY-PATH= put /home/you/ns-allinone-2.30/tcl 8.4.13/library into your TCL-LIBRARY environnement variables *Question:* *1)** How can i do this?where will i find my LD-LIBRARY-PATH and my TCL-LIBRARY environnement variables and my path environnement so that i ll be able to run itm/tclsh/wish/xgraph? * ** *Regards.* From shenm2 at mcmaster.ca Wed Dec 6 06:55:56 2006 From: shenm2 at mcmaster.ca (M. Shen) Date: Wed, 06 Dec 2006 09:55:56 -0500 Subject: [ns] accessing queue length in 802.11 MAC In-Reply-To: <006601c718f3$d7559c20$56539e82@khoriba> Message-ID: Dear ghada, Thank you very much for your reply. But how to check if the queue is null or not? Should I do it in the queue.cc peoriodically and transfer the state to mac? Or check it in the MAC? If it's the latter, we still need to access ifq() in the mac.cc, right? thanks, Min On Wed, 6 Dec 2006 14:03:15 +0900 "ghada" wrote: > > I think you can solve this problem if you check first if the queue > is null > or not before using length() function. > > > ----- Original Message ----- From: "M. Shen" > To: > Sent: Wednesday, December 06, 2006 12:10 PM > Subject: Re: [ns] accessing queue length in 802.11 MAC > > > > > > Dear guys, > > > > I tried to access queue length in MAC. So I wrote > > int pkt_num = ((LL *)uptarget_)->ifq()->length(); > > > > When I run the simulation us gdb, segmentation fault occurs. I > shows > > that > > > > Program received signal SIGSEGV, Segmentation fault. > > 0x080c3ad4 in Queue::length() (this=0x0) at queue/queue.h:136 > > 136 int length() { return pq_->length(); } /* number of pkts > currently > > in > > > > Does any one know how to deal with this problem? > > > > Thank you very much, > > Min > > > > > From bjoern.schuenemann at hpi.uni-potsdam.de Wed Dec 6 07:58:17 2006 From: bjoern.schuenemann at hpi.uni-potsdam.de (Schuenemann Bjoern) Date: Wed, 6 Dec 2006 16:58:17 +0100 Subject: [ns] How to measure overhead with ns2? Message-ID: <5AC0F51A926CD442BC08D55DA7DAB1D405050B8E@3mxma1r.hpi.uni-potsdam.de> Hello, I'm trying to figure out how i can measure the created overhead which occured in a network simulation. Actually we are trying to compare a new idea of detecting malicious nodes with other old-fashion ways. One of our metrics is the created overhead. Assume we have a network with 100 nodes and 20 of them behave unnormally like dropping all data packets. How many packets have to be resended, until every packet reaches the destination at least once. How can we measure how many packets had to be transmitted overall to find out how much overhead occured? Thank you very much for your help! Best Regards, Bj?rn --------------------------------------------------------- Dipl.-Inform. Bj?rn Sch?nemann Hasso-Plattner-Institut f?r Softwaresystemtechnik GmbH Institut an der Universit?t Potsdam Postfach 900460, D-14440 Potsdam, Germany http://www.hpi.uni-potsdam.de Phone: +49(0)331 5509 520 WWW: http://www.schuenemann.name/ --------------------------------------------------------- From larry.brigman at gmail.com Wed Dec 6 08:43:03 2006 From: larry.brigman at gmail.com (Larry Brigman) Date: Wed, 6 Dec 2006 08:43:03 -0800 Subject: [ns] help me to finish installing NS correctly In-Reply-To: References: Message-ID: On 12/6/06, amira bourayou wrote: > > *hi all,* > when I did the ./install, I obtained These messages after that ns was > installed successfuly: > > put > /home/you/ns-allinone-2.30/bin : > /home/you/ns-allinone-2.30/tcl8.4.13/unix: > /home/you/ns-allinone-2.30/tk8.4.13/unix into your path environnement so > that you ll be able to run itm/tclsh/wish/xgraph > you must put /home/you/ns-allinone-2.30/otcl-1.12, > /home/you/ns-allinone-2.30//lib into your LD-LIBRARY-PATH environnement > variables > if it complains about X libraries,add path to your X librairies into > LD-LIBRARY-PATH > > if you are using csh,you can see like: > setenv LD-LIBRARY-PATH > if you are using sh,you can see like: > export LD-LIBRARY-PATH= > > put /home/you/ns-allinone-2.30/tcl 8.4.13/library into your TCL-LIBRARY > environnement variables *Question:* > *1)** How can i do this?where will i find my LD-LIBRARY-PATH and my > TCL-LIBRARY environnement variables and my path environnement so that i ll > be able to run itm/tclsh/wish/xgraph? * Make a script like this one below and place it in you ns-allinone-2.30 directory. When you need to run your NS simulations go to that directory and source the script. #!/bin/sh # added for Xterm window title change export PROMPT_COMMAND='echo -ne "\033]0;NS-2.30 ${HOSTNAME%%.*}:${PWD/#$HOME/~}\007"' # added for command prompt change export PS1="[NS2.30-\u@\h \W]\$ " if [ "x$NS" != "x" ] ; then export NS_ORIG=$NS fi export NS=`pwd` if [ "x$LD_LIBARY_PATH" != "x" ] ; then export LD_LIBRARY_PATH_ORIG=$LD_LIBRARY_PATH fi export LD_LIBRARY_PATH=$NS/otcl-1.12:$NS/lib if [ "x$TCL_LIBRARY" != "x" ] ; then export TCL_LIBRARY_ORIG=$TCL_LIBRARY fi export TCL_LIBRARY=$NS/tcl8.4.13/library export PATH_ORIG=$PATH export PATH=$PATH:$NS/bin:$NS/ns-2.30/bin:$NS/tcl8.4.13/unix:$NS/tk8.4.13/unix unset NS From pedro.estrela at gmail.com Wed Dec 6 09:07:48 2006 From: pedro.estrela at gmail.com (Pedro Vale Estrela) Date: Wed, 6 Dec 2006 17:07:48 -0000 Subject: [ns] accessing queue length in 802.11 MAC In-Reply-To: Message-ID: <001001c71959$0f5d3960$172914ac@Estrela> > I tried to access queue length in MAC. So I wrote > int pkt_num = ((LL *)uptarget_)->ifq()->length(); > > When I run the simulation us gdb, segmentation fault occurs. I shows > that > > Program received signal SIGSEGV, Segmentation fault. > 0x080c3ad4 in Queue::length() (this=0x0) at queue/queue.h:136 this=0x0 means that the ((LL *)uptarget_)->ifq() returns a null pointer - eg, no interface Tip: use DDD From pedro.estrela at gmail.com Wed Dec 6 09:11:33 2006 From: pedro.estrela at gmail.com (Pedro Vale Estrela) Date: Wed, 6 Dec 2006 17:11:33 -0000 Subject: [ns] accessing queue length in 802.11 MAC In-Reply-To: Message-ID: <001101c71959$9483fc50$172914ac@Estrela> Use: If( ((LL *)uptarget_)->ifq()){ //code if non-null } else { // code if null } note that a null queue ? a node without a queue, NOT an empty queue! > -----Original Message----- > From: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU] On Behalf > Of M. Shen > Sent: quarta-feira, 6 de Dezembro de 2006 14:56 > To: ghada; ns-users at ISI.EDU > Subject: Re: [ns] accessing queue length in 802.11 MAC > > > Dear ghada, > > Thank you very much for your reply. But how to check if the queue is > null or not? Should I do it in the queue.cc peoriodically and transfer > the state to mac? Or check it in the MAC? If it's the latter, we still > need to access ifq() in the mac.cc, right? > > thanks, > Min > > > On Wed, 6 Dec 2006 14:03:15 +0900 > "ghada" wrote: > > > > I think you can solve this problem if you check first if the queue > > is null > > or not before using length() function. > > > > > > ----- Original Message ----- From: "M. Shen" > > To: > > Sent: Wednesday, December 06, 2006 12:10 PM > > Subject: Re: [ns] accessing queue length in 802.11 MAC > > > > > > > > > > Dear guys, > > > > > > I tried to access queue length in MAC. So I wrote > > > int pkt_num = ((LL *)uptarget_)->ifq()->length(); > > > > > > When I run the simulation us gdb, segmentation fault occurs. I > > shows > > > that > > > > > > Program received signal SIGSEGV, Segmentation fault. > > > 0x080c3ad4 in Queue::length() (this=0x0) at queue/queue.h:136 > > > 136 int length() { return pq_->length(); } /* number of pkts > > currently > > > in > > > > > > Does any one know how to deal with this problem? > > > > > > Thank you very much, > > > Min > > > > > > > > From pedro.estrela at gmail.com Wed Dec 6 10:48:30 2006 From: pedro.estrela at gmail.com (Pedro Vale Estrela) Date: Wed, 6 Dec 2006 18:48:30 -0000 Subject: [ns] How to measure overhead with ns2? In-Reply-To: <5AC0F51A926CD442BC08D55DA7DAB1D405050B8E@3mxma1r.hpi.uni-potsdam.de> Message-ID: <001801c71967$20019910$172914ac@Estrela> Count the number of sent packets at the agent or router layer Cat trace.tr | grep ^s | grep AGT | grep Use " awk ' { if ($6 == 9999) print } ' " to filter based on certain fields Pedro Vale Estrela > -----Original Message----- > From: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU] On Behalf > Of Schuenemann Bjoern > Sent: quarta-feira, 6 de Dezembro de 2006 15:58 > To: ns-users at ISI.EDU > Cc: Blueher Andreas > Subject: [ns] How to measure overhead with ns2? > > > Hello, > > I'm trying to figure out how i can measure the created overhead which > occured in a network simulation. Actually we are trying to compare a new > idea of detecting malicious nodes with other old-fashion ways. One of our > metrics is the created overhead. > > Assume we have a network with 100 nodes and 20 of them behave unnormally > like dropping all data packets. How many packets have to be resended, > until every packet reaches the destination at least once. How can we > measure how many packets had to be transmitted overall to find out how > much overhead occured? > > Thank you very much for your help! > > Best Regards, > Bj?rn > > --------------------------------------------------------- > > Dipl.-Inform. Bj?rn Sch?nemann > > Hasso-Plattner-Institut f?r Softwaresystemtechnik GmbH > Institut an der Universit?t Potsdam > Postfach 900460, D-14440 Potsdam, Germany > http://www.hpi.uni-potsdam.de > > Phone: +49(0)331 5509 520 > WWW: http://www.schuenemann.name/ > > --------------------------------------------------------- > > > From pedro.estrela at gmail.com Wed Dec 6 11:26:13 2006 From: pedro.estrela at gmail.com (Pedro Vale Estrela) Date: Wed, 6 Dec 2006 19:26:13 -0000 Subject: [ns] accessing queue length in 802.11 MAC In-Reply-To: Message-ID: <002801c7196c$64cb5cc0$172914ac@Estrela> > Do you know why ((LL *)uptarget_)->ifq() returns a null pointer? It means some part of the code could / should initialize that pointer, and it is not being done. Study the ns2 manual on the chapter of mobile nodes to try to find out whats going on with these pointers - I don't know the C++ code of that part. > Does it mean that ifq can not accessed by (LL *)uptarget_? How to > access queue length in mac-802_11.cc? what's the relationship between > ifq and mac. How to transfer data between them. I'm really confused > about it as an ns-beginner. :( > > Thank you very much for your reply. > > > On Wed, 6 Dec 2006 17:07:48 -0000 > "Pedro Vale Estrela" wrote: > > > > > > > > > I tried to access queue length in MAC. So I wrote > > > int pkt_num = ((LL *)uptarget_)->ifq()->length(); > > > > > > When I run the simulation us gdb, segmentation fault occurs. I > > shows > > > that > > > > > > Program received signal SIGSEGV, Segmentation fault. > > > 0x080c3ad4 in Queue::length() (this=0x0) at queue/queue.h:136 > > > > this=0x0 means that the ((LL *)uptarget_)->ifq() returns a null > > pointer - > > eg, no interface > > > > Tip: use DDD > > > > > > From eng_amjadbeainy at hotmail.com Wed Dec 6 12:05:14 2006 From: eng_amjadbeainy at hotmail.com (Amjad Beainy) Date: Wed, 6 Dec 2006 20:05:14 +0000 Subject: [ns] Poisson process in NS2 Message-ID: Hi, I am using ns-2.30, simulating multimedia traffic. I hope that anyone out there can help me in this:I want to simulate connections or flows NOT packets that arrive in a poisson process. the service time is exponential with a certain average time. The problem is that I am unable to implement poisson process. Thanks you in advance,Amjad _________________________________________________________________ Check the weather nationwide with MSN Search: Try it now! http://search.msn.com/results.aspx?q=weather&FORM=WLMTAG From trost_stefan at yahoo.de Thu Dec 7 00:31:27 2006 From: trost_stefan at yahoo.de (Trost Stefan) Date: Thu, 7 Dec 2006 09:31:27 +0100 Subject: [ns] Mac 802_11e post-backoff In-Reply-To: <001801c71967$20019910$172914ac@Estrela> Message-ID: <001701c719da$170c3770$2501a8c0@moschus> Hi all, I performed some changes within the mac layer MAC802_11e-update by Tkn Berlin. I rescheduled the backoff-timers in order to perform some .11p functions, but unfortunatly the NS2 does not handly any incoming messages untill the post-backoff is finished... Does anyone know why this is happening? Thanks Stefan ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de From elainebobby at yahoo.co.in Thu Dec 7 08:24:31 2006 From: elainebobby at yahoo.co.in (elaine bobby) Date: Thu, 7 Dec 2006 16:24:31 +0000 (GMT) Subject: [ns] how to start forming a cluster Message-ID: <712916.68697.qm@web8511.mail.in.yahoo.com> I am a BE student and in the stage of doing my final year project. I want to implement clustering in NS2 based on the number of hops. How can i select the cluster heads??? And how can i form the clusters.... Is there any property of node that i can change??? If so help me in editing the node properties. If any one has already done something related to clustering kindly share your experience with me.. From S.Elaine Bobby --------------------------------- Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW From elainebobby at yahoo.co.in Thu Dec 7 08:29:25 2006 From: elainebobby at yahoo.co.in (elaine bobby) Date: Thu, 7 Dec 2006 16:29:25 +0000 (GMT) Subject: [ns] how to measure the signal strength of a node Message-ID: <317739.70594.qm@web8511.mail.in.yahoo.com> I am in need of measuring the signal strength of a node. I want to measure the sending and receiving signal strength of each node. How can i achieve this. What property of a node can i use for this. Kindly help me. Regards Elaine Bobby --------------------------------- Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW From savitri at tataelxsi.co.in Thu Dec 7 21:11:23 2006 From: savitri at tataelxsi.co.in (Savitri P. Pandharikar) Date: Fri, 8 Dec 2006 10:41:23 +0530 (IST) Subject: [ns] threads in NS-2 Message-ID: <20061208104123.CDC00642@mail.tataelxsi.co.in> Hi, Is it possible to create threads in NS-2,I am using Linux platform for NS-2. Please any one kindly reply to my problem Thanks Savitri P From super0820 at gmail.com Thu Dec 7 21:49:23 2006 From: super0820 at gmail.com (=?GB2312?B?t+u+6r7q?=) Date: Fri, 8 Dec 2006 13:49:23 +0800 Subject: [ns] nam problem Message-ID: <31d2f4f20612072149p287a0c33ue08f1b5457334176@mail.gmail.com> hi, I installed ns-allinone-2.1b6 on redhat(kernel 2.4.20),when I have installed,and input "nam"in/home/user ,there is the information"connot connect to existing nam instance,starting a new one."what's the problem? From mahesh_bakshi at yahoo.com Thu Dec 7 22:45:28 2006 From: mahesh_bakshi at yahoo.com (mahesh bakshi) Date: Thu, 7 Dec 2006 22:45:28 -0800 (PST) Subject: [ns] Fwd: Re: Problem in ns-2.29 installation in suse10.1 Message-ID: <165017.97475.qm@web36109.mail.mud.yahoo.com> --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. From mahrenho at ivs.cs.uni-magdeburg.de Thu Dec 7 23:54:18 2006 From: mahrenho at ivs.cs.uni-magdeburg.de (Daniel Mahrenholz) Date: Fri, 08 Dec 2006 08:54:18 +0100 Subject: [ns] threads in NS-2 In-Reply-To: <20061208104123.CDC00642@mail.tataelxsi.co.in> References: <20061208104123.CDC00642@mail.tataelxsi.co.in> Message-ID: <45791A2A.2060003@ivs.cs.uni-magdeburg.de> Savitri P. Pandharikar schrieb: > Is it possible to create threads in NS-2,I am using Linux platform for NS-2. > In general - yes. But for what purpose? You cannot run the simulation with multiple threads. But you can off-load certain tasks like output compression to separated threads. All simulations are event-based and do not need threads. Daniel. From ele_putzolu at yahoo.it Fri Dec 8 01:22:42 2006 From: ele_putzolu at yahoo.it (Elena Putzolu) Date: Fri, 8 Dec 2006 10:22:42 +0100 Subject: [ns] Problem with Pach WiMax installation under Cygwin Message-ID: <00ab01c71aaa$6bb5af60$e8ce0b3e@winzoz> Hi all, I run the command patch -p0 < patch-wimax-prerelease-092206 in ns-allinone-2.29 directory. Then, after the ./configure, I added in the Makefile --DDEBUG_WIMAX to the DEFINE command (somewhere around line 62). then I did: $ make clean and $ make g++ -c -g -Wall -Werror -Wall -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR \ -I. -I/usr/local/ns-allinone-2.29/tclcl-1.17 -I/usr/local/ns-allinone-2.29/otcl-1.11 -I/usr/local/ns-allinone-2.29/include -I/usr/local/ns-allinone-2.29/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./wimax -I./wpan -o tools/random.o tools/random.cc g++: : No such file or directory In file included from ./config.h:54, from tools/random.cc:40: ./autoconf.h:89: error: expected namespace-name before ';' token ./autoconf.h:89: error: `' is not a namespace make: *** [tools/random.o] Error 1 when I did make install, the result was: $ make install for d in /usr/local/man/man1; do \ if [ ! -d $d ]; then \ mkdir -p $d ;\ fi;\ done /usr/bin/install -c -m 755 ns /usr/local/bin /usr/bin/install: cannot stat `ns': No such file or directory make: *** [install-ns] Error 1 therefore when I did: $ ns simple.tcl gap size=1 invalid command name "Mac/802_16" while executing "Mac/802_16 set debug_ 0" (file "simple.tcl" line 45) what is there that he does not go? thanks in advance Elena From trost_stefan at yahoo.de Fri Dec 8 03:12:43 2006 From: trost_stefan at yahoo.de (Stefan Trost) Date: Fri, 8 Dec 2006 11:12:43 +0000 (GMT) Subject: [ns] Strange problem with AWK Message-ID: <20061208111243.68532.qmail@web26910.mail.ukl.yahoo.com> Hi, I am currently running crazy with a very simple AWK skript... but for any reason awk does not read any floating point variables from my trace file ---------------------------------------- BEGIN{ } { time = $3 printf("Time: %.6g \n", $3) } END{ } --------------------------------------------- The problem is, that I the script just prints the first number and ignors all other digits e.g. 0.499890716 --> 0 I also tried printing it as a string, that works, but I cannot use it for any calculation... Please help!!!!!! ___________________________________________________________ Der fr?he Vogel f?ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de From salex_ns2 at mail.ru Fri Dec 8 04:39:22 2006 From: salex_ns2 at mail.ru (Alexander Sayenko) Date: Fri, 8 Dec 2006 14:39:22 +0200 Subject: [ns] Strange problem with AWK References: <20061208111243.68532.qmail@web26910.mail.ukl.yahoo.com> Message-ID: <005501c71ac5$e3346610$62a9ea82@it.jyu.fi> Hi We had the same problems on one workstation. There are two workstations with Fedora Core 4 Linux. Everything is fine on the first workstation, the second one has this problem. I have tried to solve it by installing different versions of AWK - same result. I presume it is not AWK but some library, maybe glibc, which is responsible for converting the floating-point values. The only difference between these workstations is that they have different regional settings. Could it be so that AWK uses somehow those settings and expect different floating-point separator, i.e. 3.2 and 3,2? Let me know if you solve it. Sincerely, Alexander Sayenko (PhD) Senior Assistant Telecommunication laboratory, MIT department University of Jyvaskyla, Finland Hi, I am currently running crazy with a very simple AWK skript... but for any reason awk does not read any floating point variables from my trace file ---------------------------------------- BEGIN{ } { time = $3 printf("Time: %.6g \n", $3) } END{ } --------------------------------------------- The problem is, that I the script just prints the first number and ignors all other digits e.g. 0.499890716 --> 0 I also tried printing it as a string, that works, but I cannot use it for any calculation... Please help!!!!!! ___________________________________________________________ Der fr?he Vogel f?ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.15/579 - Release Date: 07.12.2006 From martina.umlauft at vienna.at Fri Dec 8 06:40:30 2006 From: martina.umlauft at vienna.at (Martina Umlauft) Date: Fri, 08 Dec 2006 15:40:30 +0100 Subject: [ns] Strange problem with AWK In-Reply-To: <20061208111243.68532.qmail@web26910.mail.ukl.yahoo.com> References: <20061208111243.68532.qmail@web26910.mail.ukl.yahoo.com> Message-ID: <4579795E.1080903@vienna.at> Hi there, I think the reason might be that your locale is set to german and awk expects a "," instead of a "." to denote the floating point number. Try your script with a test file that uses 0,490384092 and see if it works with that -> then you have confirmation. My locale is set to: tina at linux:~> locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= and your script works as is. good luck, Martina Stefan Trost wrote: > Hi, > > I am currently running crazy with a very simple AWK skript... but for any reason awk does not read any floating point variables from my trace file > > ---------------------------------------- > BEGIN{ > } > > { > time = $3 > printf("Time: %.6g \n", $3) > } > END{ > } > --------------------------------------------- > > The problem is, that I the script just prints the first number and ignors all other digits > > e.g. 0.499890716 --> 0 > > I also tried printing it as a string, that works, but I cannot use it for any calculation... > > Please help!!!!!! > > > > > > > > > ___________________________________________________________ > Der fr?he Vogel f?ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de From liuys67 at gmail.com Fri Dec 8 07:43:33 2006 From: liuys67 at gmail.com (Yusheng Liu) Date: Fri, 8 Dec 2006 16:43:33 +0100 Subject: [ns] How to install NS-2.27 in Fedora Core 5? Message-ID: Hi all, Has anybody installed NS-2.27 on Fedora Core 5? My gcc version is 4.1, and I tried the patch for gcc 3.4, I still cannot successfully install NS-2.27. Is there another similar patch for gcc 4.1? Thanks a lot! Pisaier From stelutagheorghiu at yahoo.com Fri Dec 8 09:15:49 2006 From: stelutagheorghiu at yahoo.com (Steluta Gheorghiu) Date: Fri, 8 Dec 2006 09:15:49 -0800 (PST) Subject: [ns] CBR over UDP + user defined agent Message-ID: <374445.43382.qm@web31804.mail.mud.yahoo.com> Hi everybody, I need to simulate some CBR traffic over UDP using an agent Agent/Pass that I defined. My agent has to forward only the packets it receives for the first time. First I used a 3-node-scenario: N0----N1----N2 The CBR source is attached to N0, my agent is attached to N1 and a sink is attached to N2. In this case, the source doesn't send anything. Then, I tried to attach an Agent/Pass to N0, too. This time, the source sends a number of packets, say np. N1 at his turn sends np/2 packets and I know why this happens. The thing I can't understand is why doesn't the source send anything in the first case. Can anyone explain this? Is there anything that I left out? I use ns-2.30 and the tcl script is below. Thanks in advance for any hint, Steluta set MESSAGE_PORT 103 set BROADCAST_ADDR -1 #number of nodes set nn 3 #set the node configuration parameters set val(addr) flat set val(rp) DumbAgent ;#no routing set val(ll) LL set val(mac) Mac/802_11 set val(prop) Propagation/TwoRayGround set val(ifqlen) 50 set val(phy) Phy/WirelessPhy set val(ant) Antenna/OmniAntenna set val(ch) Channel/WirelessChannel #topology set val(x) 100 set val(y) 100 set topo [new Topography] $topo load_flatgrid $val(x) $val(y) #simulator instance set ns [new Simulator] #open trace files set f [open $nn-trace.tr w] $ns trace-all $f $ns use-newtrace #create god object create-god $nn $ns node-config \ -adhocRouting $val(rp) \ -llType $val(ll) \ -macType $val(mac) \ -propType $val(prop) \ -ifqType $val(ifq) \ -ifqLen $val(ifqlen) \ -phyType $val(phy) \ -antType $val(ant) \ -channel [new $val(ch)] \ -topoInstance $topo \ -wiredRouting OFF \ -mobileIP OFF \ -agentTrace ON \ -routerTrace OFF \ -macTrace OFF \ -toraDebug OFF \ -movementTrace OFF \ #create nodes for {set i 0} {$i < $nn} {incr i} { set n($i) [$ns node] } #define initial positions $n(0) set X_ 40 $n(0) set Y_ 50 $n(0) set Z_ 0.0 $n(1) set X_ 40 $n(1) set Y_ 60 $n(1) set Z_ 0.0 $n(2) set X_ 40 $n(2) set Y_ 70 $n(2) set Z_ 0.0 #$n(3) set X_ 60 #$n(3) set Y_ 50 #$n(3) set Z_ 0.0 # create udp agent set udp [new Agent/UDP] $udp set dst_port_ $MESSAGE_PORT $n(0) attach $udp $MESSAGE_PORT # create cbr set cbr [new Application/Traffic/CBR] $cbr attach-agent $udp $cbr set rate_ 100kb #create sink set sink [new Agent/Null] $n([expr $nn - 1]) attach $sink $MESSAGE_PORT #attach Pass agent at intermediate nodes for {set i 1} {$i < [expr $nn - 1]} {incr i} { set a($i) [new Agent/Pass] $a($i) set id_ $i $n($i) attach $a($i) $MESSAGE_PORT } # now set up some events $ns at 1.0 "$cbr start" $ns at 21.0 "$cbr stop" $ns at 21.00001 "finish" proc finish {} { global ns f val nn $ns flush-trace close $f exit 0 } $ns run ____________________________________________________________________________________ Want to start your own business? Learn how on Yahoo! Small Business. http://smallbusiness.yahoo.com/r-index From maric_milica at yahoo.com Fri Dec 8 14:43:40 2006 From: maric_milica at yahoo.com (milica marik) Date: Fri, 8 Dec 2006 14:43:40 -0800 (PST) Subject: [ns] voip over wlan Message-ID: <20061208224340.10144.qmail@web31313.mail.mud.yahoo.com> hello users, i'm trying to simulate voice over ip over wlan 802.11 and also web traffic over wlan and compare the delay of the voip and ftp packets through the lan i would like some help thanks ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com From yasser_alshareef2003 at yahoo.com Fri Dec 8 20:31:24 2006 From: yasser_alshareef2003 at yahoo.com (yaseer shareef) Date: Fri, 8 Dec 2006 20:31:24 -0800 (PST) Subject: [ns] ns-2.27 how can i sort out that problem Message-ID: <782202.75181.qm@web52607.mail.yahoo.com> hi there: i just been trying to install ns-2.27 and i unzipped the file and was wroking fine until i got the error on the instalation stage , could you help for solving that error $ ./install ============================================================ * Testing for Cygwin environment ============================================================ Cygwin detected Note: Cygwin install is still considered EXPERIMENTAL Checking Cygwin version is >=1.3.12... 1.5.7 (should be ok) Checking filesystems are mounted as UNIX filetype... yes Checking default mode is binmode... yes Checking legitimate login name...ok Checking legitimate path name...ok Checking required Cygwin packages are installed... Checking for gcc... ok Checking for gcc-g++... ok Checking for gawk... ok Checking for tar... ok Checking for gzip... ok Checking for make... ok Checking for diff... NO! Package diff is not present on your system. Please install it using Cygwin's setup.exe before trying to install the ns-2 distribution. The above test indicates that your installation of Cygwin is probably NOT SUITABLE for installing ns-2 allinone. (More details can be found in the specific error message above.) Do you wish to proceed regardless? [y/N] y *** OK, but you're on your own... *** Checking for patch... ok Checking for perl... ok Checking for w32api... ok Checking for XFree86-base... ok Checking for XFree86-bin... ok Checking for XFree86-prog... ok Checking for XFree86-lib... ok Checking for XFree86-etc... ok Patching Tcl/Tk for Cygwin. Patching sgb for Cygwin. The original sgb/Makefile is backed up as sgb/Makefile.orig Setting executable format to .exe... ============================================================ * Build XGraph-12.1 ============================================================ loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking if malloc debugging is wanted... no checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for X... (cached) no checking for float.h... (cached) yes checking for limits.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking for strcasecmp... (cached) yes updating cache ./config.cache creating ./config.status creating Makefile creating autoconf.h autoconf.h is unchanged gcc -g -o xgraph xgraph.o xgX.o hard_devices.o dialog.o hpgl.o ps.o idr aw.o xtb.o st.o params.o alloc.o draw.o init.o read.o tgif.o derivative.o -l X11 -lm /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status make: *** [xgraph] Error 1 Can not create xgraph; But xgraph is an optional package, continuing... ============================================================ * Build CWeb ============================================================ Making cweb gcc -g -c -o ctangle.o ctangle.c gcc -g -DCWEBINPUTS=\"/usr/local/lib/cweb\" -c common.c gcc -g -o ctangle ctangle.o common.o gcc -g -c -o cweave.o cweave.c gcc -g -o cweave cweave.o common.o ln: `cweave.exe': File exists ln: `ctangle.exe': File exists ============================================================ * Build Stanford GraphBase ============================================================ Making sgb gcc -g -I/usr/local/sgb/include test_io.c gb_io.o -o test_io gcc -g -I/usr/local/sgb/include test_graph.c gb_graph.o -o test_graph gcc -g -I/usr/local/sgb/include test_flip.c gb_flip.o -o test_flip ./test_io OK, the gb_io routines seem to work! ./test_graph ................................................................................ ....................Hey, I allocated 10000000 bytes successfully. Terrific... OK, the gb_graph routines seem to work! ./test_flip OK, the gb_flip routines seem to work! make gb_sort.o make[1]: Entering directory `/home/Dharmendra/ns-allinone-2.27/sgb' make[1]: `gb_sort.o' is up to date. make[1]: Leaving directory `/home/Dharmendra/ns-allinone-2.27/sgb' make lib make[1]: Entering directory `/home/Dharmendra/ns-allinone-2.27/sgb' make[1]: Nothing to be done for `lib'. make[1]: Leaving directory `/home/Dharmendra/ns-allinone-2.27/sgb' make test_sample make[1]: Entering directory `/home/Dharmendra/ns-allinone-2.27/sgb' gcc -g -I/usr/local/sgb/include -L. -L/usr/local/lib test_sample.c -lgb -lgb -o test_sample make[1]: Leaving directory `/home/Dharmendra/ns-allinone-2.27/sgb' ./test_sample > sample.out diff test.gb test.correct diff sample.out sample.correct rm -f test.gb sample.out test_io test_io.exe test_graph test_graph.exe test_flip test_flip.exe test_sample test_sample.exe echo "Congratulations --- the tests have all been passed." Congratulations --- the tests have all been passed. touch certified cp: cannot create regular file `../gt-itm/lib/libgb.a': No such file or director y ============================================================ * Build GT-ITM ============================================================ sgb lib not found. gt-itm & sgb2ns could not be installed. Continuing.. ============================================================ * Build zlib ============================================================ Checking for gcc... Building static library libz.a version 1.1.4 with gcc. Checking for unistd.h... Yes. Checking for errno.h... Yes. Checking for mmap support... Yes. make: Nothing to be done for `all'. Zlib has been installed successfully. ============================================================ * Build tcl8.4.5 ============================================================ loading cache ./config.cache checking whether to use symlinks for manpages... no checking compression for manpages... no checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for unistd.h... (cached) yes checking for limits.h... (cached) yes checking for building with threads... no (default) checking if the compiler understands -pipe... yes checking for required early compiler flags... (cached) (cached) none checking for 64-bit integer type... (cached) long long checking for struct dirent64... (cached) no checking for struct stat64... (cached) no checking for off64_t... (cached) no checking whether byte ordering is bigendian... (cached) no checking for getcwd... (cached) yes checking for opendir... (cached) yes checking for strstr... (cached) yes checking for strtol... (cached) yes checking for strtoll... (cached) yes checking for strtoull... (cached) yes checking for tmpnam... (cached) yes checking for waitpid... (cached) yes checking for strerror... (cached) yes checking for getwd... (cached) yes checking for wait3... (cached) yes checking for uname... (cached) yes checking for realpath... (cached) yes checking dirent.h... yes checking for errno.h... (cached) yes checking for float.h... (cached) yes checking for values.h... (cached) no checking for limits.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/wait.h... (cached) yes checking for dlfcn.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for sys/modem.h... (cached) no checking termios vs. termio vs. sgtty... (cached) termios checking for fd_set in sys/types... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking for sys/time.h... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for tm_zone in struct tm... (cached) no checking for tzname... (cached) yes checking for gmtime_r... (cached) yes checking for localtime_r... (cached) yes checking tm_tzadj in struct tm... (cached) no checking tm_gmtoff in struct tm... (cached) no checking long timezone variable... no checking time_t timezone variable... (cached) no checking for st_blksize in struct stat... (cached) yes checking for fstatfs... (cached) yes checking for 8-bit clean memcmp... (cached) yes checking for memmove... (cached) yes checking proper strstr implementation... yes checking for strtoul... (cached) yes checking for strtod... (cached) yes checking for strtod... (cached) yes checking for Solaris2.4/Tru64 strtod bugs... (cached) ok checking for ANSI C header files... (cached) yes checking for mode_t... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking for uid_t in sys/types.h... (cached) yes checking for socklen_t... (cached) no checking for opendir... (cached) yes checking union wait... (cached) no checking for strncasecmp... (cached) yes checking for BSDgettimeofday... (cached) no checking for gettimeofday... (cached) yes checking for gettimeofday declaration... (cached) present checking whether char is unsigned... (cached) no checking signed char declarations... (cached) yes checking for a putenv() that copies the buffer... (cached) no checking for langinfo.h... (cached) yes checking whether to use nl_langinfo... yes checking for sin... (cached) yes checking for main in -lieee... (cached) no checking for main in -linet... (cached) no checking for net/errno.h... (cached) no checking for connect... (cached) yes checking for gethostbyname... (cached) yes checking how to build libraries... static checking for ranlib... (cached) ranlib checking if 64bit support is requested... no checking if 64bit Sparc VIS support is requested... no checking system version (for dynamic loading)... CYGWIN_NT-5.1-1.5.7(0.109/3/2) checking for dlopen in -ldl... (cached) no checking for ar... (cached) ar Can't figure out how to do dynamic loading or shared libraries on this system. checking for build with symbols... no checking for sys/ioctl.h... (cached) yes checking for sys/filio.h... (cached) no checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... O_NONBLOCK checking how to package libraries... standard shared library updating cache ./config.cache creating ./config.status creating Makefile creating dltest/Makefile sed: can't read ./dltest/Makefile.in: No such file or directory creating tclConfig.sh make: *** No rule to make target `/home/Dharmendra/ns-allinone-2.27/tcl8.4.5/uni x/dltest/Makefile.in', needed by `Makefile'. Stop. tcl8.4.5 make failed! Exiting ... for problems with Tcl/Tk see www.scriptics.com i hope you got any useful page for solving these probs --------------------------------- Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster. --------------------------------- Have a burning question? Go to Yahoo! Answers and get answers from real people who know. --0-1188119327-1165633401=:38727 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit hi there: i just been trying to install ns-2.27 and i unzipped the file and was wroking fine until i got the error on the instalation stage , could you help for solving that error $ ./install ============================================================ * Testing for Cygwin environment ============================================================ Cygwin detected Note: Cygwin install is still considered EXPERIMENTAL Checking Cygwin version is >=1.3.12... 1.5.7 (should be ok) Checking filesystems are mounted as UNIX filetype... yes Checking default mode is binmode... yes Checking legitimate login name...ok Checking legitimate path name...ok Checking required Cygwin packages are installed... Checking for gcc... ok Checking for gcc-g++... ok Checking for gawk... ok Checking for tar... ok Checking for gzip... ok Checking for make... ok Checking for diff... NO! Package diff is not present on your system. Please install it using Cygwin's setup.exe before trying to install the ns-2 distribution. The above test indicates that your installation of Cygwin is probably NOT SUITABLE for installing ns-2 allinone. (More details can be found in the specific error message above.) Do you wish to proceed regardless? [y/N] y *** OK, but you're on your own... *** Checking for patch... ok Checking for perl... ok Checking for w32api... ok Checking for XFree86-base... ok Checking for XFree86-bin... ok Checking for XFree86-prog... ok Checking for XFree86-lib... ok Checking for XFree86-etc... ok Patching Tcl/Tk for Cygwin. Patching sgb for Cygwin. The original sgb/Makefile is backed up as sgb/Makefile.orig Setting executable format to .exe... ============================================================ * Build XGraph-12.1 ============================================================ loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking if malloc debugging is wanted... no checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for X... (cached) no checking for float.h... (cached) yes checking for limits.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking for strcasecmp... (cached) yes updating cache ./config.cache creating ./config.status creating Makefile creating autoconf.h autoconf.h is unchanged gcc -g -o xgraph xgraph.o xgX.o hard_devices.o dialog.o hpgl.o ps.o idr aw.o xtb.o st.o params.o alloc.o draw.o init.o read.o tgif.o derivative.o -l X11 -lm /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status make: *** [xgraph] Error 1 Can not create xgraph; But xgraph is an optional package, continuing... ============================================================ * Build CWeb ============================================================ Making cweb gcc -g -c -o ctangle.o ctangle.c gcc -g -DCWEBINPUTS=\"/usr/local/lib/cweb\" -c common.c gcc -g -o ctangle ctangle.o common.o gcc -g -c -o cweave.o cweave.c gcc -g -o cweave cweave.o common.o ln: `cweave.exe': File exists ln: `ctangle.exe': File exists ============================================================ * Build Stanford GraphBase ============================================================ Making sgb gcc -g -I/usr/local/sgb/include test_io.c gb_io.o -o test_io gcc -g -I/usr/local/sgb/include test_graph.c gb_graph.o -o test_graph gcc -g -I/usr/local/sgb/include test_flip.c gb_flip.o -o test_flip ./test_io OK, the gb_io routines seem to work! ./test_graph ................................................................................ ....................Hey, I allocated 10000000 bytes successfully. Terrific... OK, the gb_graph routines seem to work! ./test_flip OK, the gb_flip routines seem to work! make gb_sort.o make[1]: Entering directory `/home/Dharmendra/ns-allinone-2.27/sgb' make[1]: `gb_sort.o' is up to date. make[1]: Leaving directory `/home/Dharmendra/ns-allinone-2.27/sgb' make lib make[1]: Entering directory `/home/Dharmendra/ns-allinone-2.27/sgb' make[1]: Nothing to be done for `lib'. make[1]: Leaving directory `/home/Dharmendra/ns-allinone-2.27/sgb' make test_sample make[1]: Entering directory `/home/Dharmendra/ns-allinone-2.27/sgb' gcc -g -I/usr/local/sgb/include -L. -L/usr/local/lib test_sample.c -lgb -lgb -o test_sample make[1]: Leaving directory `/home/Dharmendra/ns-allinone-2.27/sgb' ./test_sample > sample.out diff test.gb test.correct diff sample.out sample.correct rm -f test.gb sample.out test_io test_io.exe test_graph test_graph.exe test_flip test_flip.exe test_sample test_sample.exe echo "Congratulations --- the tests have all been passed." Congratulations --- the tests have all been passed. touch certified cp: cannot create regular file `../gt-itm/lib/libgb.a': No such file or director y ============================================================ * Build GT-ITM ============================================================ sgb lib not found. gt-itm & sgb2ns could not be installed. Continuing.. ============================================================ * Build zlib ============================================================ Checking for gcc... Building static library libz.a version 1.1.4 with gcc. Checking for unistd.h... Yes. Checking for errno.h... Yes. Checking for mmap support... Yes. make: Nothing to be done for `all'. Zlib has been installed successfully. ============================================================ * Build tcl8.4.5 ============================================================ loading cache ./config.cache checking whether to use symlinks for manpages... no checking compression for manpages... no checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for unistd.h... (cached) yes checking for limits.h... (cached) yes checking for building with threads... no (default) checking if the compiler understands -pipe... yes checking for required early compiler flags... (cached) (cached) none checking for 64-bit integer type... (cached) long long checking for struct dirent64... (cached) no checking for struct stat64... (cached) no checking for off64_t... (cached) no checking whether byte ordering is bigendian... (cached) no checking for getcwd... (cached) yes checking for opendir... (cached) yes checking for strstr... (cached) yes checking for strtol... (cached) yes checking for strtoll... (cached) yes checking for strtoull... (cached) yes checking for tmpnam... (cached) yes checking for waitpid... (cached) yes checking for strerror... (cached) yes checking for getwd... (cached) yes checking for wait3... (cached) yes checking for uname... (cached) yes checking for realpath... (cached) yes checking dirent.h... yes checking for errno.h... (cached) yes checking for float.h... (cached) yes checking for values.h... (cached) no checking for limits.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/wait.h... (cached) yes checking for dlfcn.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for sys/modem.h... (cached) no checking termios vs. termio vs. sgtty... (cached) termios checking for fd_set in sys/types... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking for sys/time.h... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for tm_zone in struct tm... (cached) no checking for tzname... (cached) yes checking for gmtime_r... (cached) yes checking for localtime_r... (cached) yes checking tm_tzadj in struct tm... (cached) no checking tm_gmtoff in struct tm... (cached) no checking long timezone variable... no checking time_t timezone variable... (cached) no checking for st_blksize in struct stat... (cached) yes checking for fstatfs... (cached) yes checking for 8-bit clean memcmp... (cached) yes checking for memmove... (cached) yes checking proper strstr implementation... yes checking for strtoul... (cached) yes checking for strtod... (cached) yes checking for strtod... (cached) yes checking for Solaris2.4/Tru64 strtod bugs... (cached) ok checking for ANSI C header files... (cached) yes checking for mode_t... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking for uid_t in sys/types.h... (cached) yes checking for socklen_t... (cached) no checking for opendir... (cached) yes checking union wait... (cached) no checking for strncasecmp... (cached) yes checking for BSDgettimeofday... (cached) no checking for gettimeofday... (cached) yes checking for gettimeofday declaration... (cached) present checking whether char is unsigned... (cached) no checking signed char declarations... (cached) yes checking for a putenv() that copies the buffer... (cached) no checking for langinfo.h... (cached) yes checking whether to use nl_langinfo... yes checking for sin... (cached) yes checking for main in -lieee... (cached) no checking for main in -linet... (cached) no checking for net/errno.h... (cached) no checking for connect... (cached) yes checking for gethostbyname... (cached) yes checking how to build libraries... static checking for ranlib... (cached) ranlib checking if 64bit support is requested... no checking if 64bit Sparc VIS support is requested... no checking system version (for dynamic loading)... CYGWIN_NT-5.1-1.5.7(0.109/3/2) checking for dlopen in -ldl... (cached) no checking for ar... (cached) ar Can't figure out how to do dynamic loading or shared libraries on this system. checking for build with symbols... no checking for sys/ioctl.h... (cached) yes checking for sys/filio.h... (cached) no checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... O_NONBLOCK checking how to package libraries... standard shared library updating cache ./config.cache creating ./config.status creating Makefile creating dltest/Makefile sed: can't read ./dltest/Makefile.in: No such file or directory creating tclConfig.sh make: *** No rule to make target `/home/Dharmendra/ns-allinone-2.27/tcl8.4.5/uni x/dltest/Makefile.in', needed by `Makefile'. Stop. tcl8.4.5 make failed! Exiting ... for problems with Tcl/Tk see http://www.scriptics.com">www.scriptics.com i hope you got any useful page for solving these probs --------------------------------- Access over 1 million songs - Yahoo! Music Unlimited. --------------------------------- Have a burning question? Go to Yahoo! Answers and get answers from real people who know. From liuys67 at gmail.com Sat Dec 9 00:42:27 2006 From: liuys67 at gmail.com (Yusheng Liu) Date: Sat, 9 Dec 2006 09:42:27 +0100 Subject: [ns] How to install NS-2.27 in Fedora Core 5? In-Reply-To: <457A17D3.8050807@gmail.com> References: <457A17D3.8050807@gmail.com> Message-ID: Hi, Firstly the error message is -------- checking system version (for dynamic loading)... ./configure: line 7068: syntax error near unexpected token `)' ./configure: line 7068: ` OSF*)' tcl8.3.2 configuration failed! Exiting ... Tcl is not part of the ns project. Please see www.Scriptics.com to see if they have a fix for your platform. -------- when building tcl. I follow the instruction given in http://mailman.isi.edu/pipermail/ns-users/2006-September/057322.htmltargeting on this problem but I got new error message -------- configure.in:199: error: do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS' If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. -------- Have you experienced the same thing? Thanks a lot. /Piaier On 12/9/06, Nguyen Lan wrote: > > Hello, > > I did install successfully ns227 on FC5. There were several problems I > had to deal with so please send your error message to the mailing list. > > Best, > Nguyen Lan > > Yusheng Liu wrote: > > Hi all, > > > > Has anybody installed NS-2.27 on Fedora Core 5? My gcc version is 4.1, > and I > > tried the patch for gcc 3.4, I still cannot successfully install NS-2.27. > Is > > there another similar patch for gcc 4.1? > > > > Thanks a lot! > > > > Pisaier > > > > > > From hta08 at aub.edu.lb Sat Dec 9 01:52:34 2006 From: hta08 at aub.edu.lb (Hiba Alame) Date: Sat, 9 Dec 2006 11:52:34 +0200 Subject: [ns] BlueHoc need help!!!! Message-ID: <1165657954.457a87621c562@193.188.128.122> Hi to all,I am new to ns2 and I want to simulate bluetooth in ns2. A module BlueHoc is found but it runs with an old version of ns2. Could I run it with ns2.29 or ns2.30. Also if any one has any documenation on Bluehoc and examples on using it please send them to me. If I cnnot run blueHoc on the newer versions of ns2 then what can I do instead, are there any other relaible modules that you know of? Please propose any solution that you can think of. I appreciate all th help I can get. From hta08 at aub.edu.lb Sat Dec 9 01:55:47 2006 From: hta08 at aub.edu.lb (Hiba Alame) Date: Sat, 9 Dec 2006 11:55:47 +0200 Subject: [ns] Configuring a node wit 2 interfaces!!!!! Message-ID: <1165658147.457a882316afc@193.188.128.122> Hi, How can I configure a single node with a WiFi interface and another Bluetooth Interface? Please send me the steps needed, the name of the modules I may need to add and examples, if available, of how to do so. Thank you very much,I appreciate everyone's help. From emin.gencpinar at gmail.com Sat Dec 9 02:42:44 2006 From: emin.gencpinar at gmail.com (Emin Gencpinar) Date: Sat, 9 Dec 2006 12:42:44 +0200 Subject: [ns] Rate Adaptation Protocol (RAP) in ns-2 Message-ID: Hi all ns-2 users, We want to implement Rate Adaptation Protocol (RAP) as an end to end ratebased congestion control mechanism. How can we implement RAP in ns-2 as we are in Internet (end to end) ? Does anyone know a module about RAP in Windows or Linux ? That is, to implement RAP algorithm actually on a computer to physically see how it is working on end to end systems. That is, if there is a module to be installed over Windows or Linux, then we can test the system with the actual Internet. If there is not such a module, can we implement end to end system ( Internet ) in ns-2 ? And can we implement RAP in ns-2 ? We need help as soon as possible. Thanks in advance... From ele_putzolu at yahoo.it Sat Dec 9 02:48:13 2006 From: ele_putzolu at yahoo.it (Elena Putzolu) Date: Sat, 9 Dec 2006 11:48:13 +0100 Subject: [ns] WiMax Patch installation...help! Message-ID: <010101c71b7f$8880afc0$a8c90b3e@winzoz> Hi all, In the ns-2.29 directory, I did: make clean; ./configure -enable-debug; make the result (after many lines) was: trace/trace.cc: In member function `virtual void DequeTrace::recv(Packet*, Handler*)': trace/trace.cc:567: warning: int format, nsaddr_t arg (arg 5) trace/trace.cc:567: warning: int format, nsaddr_t arg (arg 6) trace/trace.cc:586: warning: int format, nsaddr_t arg (arg 5) trace/trace.cc:586: warning: int format, nsaddr_t arg (arg 6) make: *** [trace/trace.o] Error 1 then I edit the Makefile and add the -DDEBUG_WIMAX switch in the DEFINE entry. at last I run ns simple.tcl (example in /tcl/wimax directory) but the result was : invalid command name "Mac/802_16" while executing "Mac/802_16 set debug_ 0" (file "simple.tcl" line 45) In the site it is explained that recompiling the whole system, thing is necessary he means? thanks in advantage Elena From hta08 at aub.edu.lb Sat Dec 9 03:39:06 2006 From: hta08 at aub.edu.lb (Hiba Alame) Date: Sat, 9 Dec 2006 13:39:06 +0200 Subject: [ns] BlueHoc need help!!!! Message-ID: <1165664346.457aa05a39acd@193.188.128.122> Hi to all,I am new to ns2 and I want to simulate bluetooth in ns2. A module BlueHoc is found but it runs with an old version of ns2. Could I run it with ns2.29 or ns2.30. Also if any one has any documenation on Bluehoc and examples on using it please send them to me. If I cnnot run blueHoc on the newer versions of ns2 then what can I do instead, are there any other relaible modules that you know of? Please propose any solution that you can think of. I appreciate all th help I can get. From hta08 at aub.edu.lb Sat Dec 9 03:41:44 2006 From: hta08 at aub.edu.lb (Hiba Alame) Date: Sat, 9 Dec 2006 13:41:44 +0200 Subject: [ns] Configuring a node with 2 interfaces Message-ID: <1165664504.457aa0f85250f@193.188.128.122> Hi, How can I configure a single node with a WiFi interface and another Bluetooth Interface? Please send me the steps needed, the name of the modules I may need to add and examples, if available, of how to do so. Thank you very much,I appreciate everyone's help. From aco.s at cg.yu Sat Dec 9 03:52:10 2006 From: aco.s at cg.yu (Aco) Date: Sat, 9 Dec 2006 12:52:10 +0100 Subject: [ns] BlueHoc need help!!!! References: <1165657954.457a87621c562@193.188.128.122> Message-ID: <000c01c71b88$76712fe0$1900010a@ACO> Hi, I am not sure if it is a same problem like one I had, but it looks like it. Here you can see what was my problem and how I solve it: I had a similar problem having files (modules) made by third party (by changing original ns-2.26 files) and needed to run it under my ns-2.29 and I could put them in ns-2.29 system just like that. So, here is what I did: I had file.cc which is changed version of original file.cc in ns-2.26. I have ns-2.29 and have file.cc also, but not the same like in ns-2.26. I needed to change my file.cc from ns-2.29 to have this feature that has this changed one from ns2.26. Procedure: take changed version of file (from third party), and take the same file that is original from ns-oldversion (download that version of ns (all-in-one package)from NS site). Next, under linux execute (in folder where you put changed_old_file and original_old_file) this: # diff changed_old_file original_old_file > log.txt Now you have log.txt file (in same folder) with all changes that third party have made on that ORIGINAL file. Print it and in some editor insert those "changes to original file on ns-old-version" to SAME file but from ns-2.29 version. Of course, while you adding this lines in file.cc from ns-2.29 (or ns-2.30) you will need some knowledge about code you are changing. Then just, ./configure make make install And that's it. I hope this will help. A. Download ----- Original Message ----- From: "Hiba Alame" To: Sent: Saturday, December 09, 2006 10:52 AM Subject: [ns] BlueHoc need help!!!! > > > Hi to all,I am new to ns2 and > I want to simulate bluetooth in ns2. A module BlueHoc is found but it runs > with > an old version of ns2. Could I run it with ns2.29 or ns2.30. Also if any > one > has any documenation on Bluehoc and examples on using it please send them > to > me. If I cnnot run blueHoc on the newer versions of ns2 then what can I do > instead, are there any other relaible modules that you know of? Please > propose > any solution that you can think of. > > > I appreciate all th help I can get. > > > > From s_marashi at hotmail.com Sun Dec 10 09:49:54 2006 From: s_marashi at hotmail.com (sara MA) Date: Sun, 10 Dec 2006 17:49:54 +0000 Subject: [ns] mac callback Message-ID: Hi everybody: Do you know what is the roblem when the packet get droppd at the mac layer with the reason shown as cbk? Thanks, Sara _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From fl0wer at virgilio.it Sun Dec 10 10:49:43 2006 From: fl0wer at virgilio.it (Marco Fiore) Date: Sun, 10 Dec 2006 19:49:43 +0100 (GMT+01:00) Subject: [ns] R: Re: R: CBR over UDP + user defined agent Message-ID: <10f6db2fd31.fl0wer@virgilio.it> Hi, if I got it right, you want all packets from N0 to be sent to both N1 and N2. Then N1 and N2 choose which packets to forward and which to drop. Well I think this is not easy to do, without changing some c++ code in ns-2 sources. The point is that unless N0, N1and N2 are in a LAN and you can broadcast packets (but this does not seem your case), packets from N0 are routed to N1 *or* N2, according to the routing table. The simplest way to overcome the routing is that your agent at N0 decide to which intermediate node to send the packets (this also reduce the overhead, avoiding that duplicate packets are sent by the source). But then, you will probably have to cope with the return path. The problem of paths disjunction is similar to that adressed by SCTP with Concurrent Multipath Transfer (CMT), which is present in the latest version of ns (2.30). If you look a the ns manual and at the SCTP code, you'll see it is not easy to do it (in SCTP they use multiple nodes - a core and several interfaces - to cope with it...). hope it helps, Marco >----Messaggio originale---- >Da: stelutagheorghiu at yahoo.com >Data: 10-dic-2006 11.03 AM >A: "Marco Fiore" >Ogg: Re: R: [ns] CBR over UDP + user defined agent > >Hi Marco, thanks for your answer. > My idea was to use my agent in larger scenarios, for example in a diamond scenario. > > N1 > / \ > / \ > N0 N3 > \ / > \ / > N2 > > In this case, I have the CBR source attached to N0, the sink attached to N3 and my agent attached to N1 and N2 (and N0, if I want the source to send traffic). What I need to achieve is traffic arrive to N3 both from N1 and N2. If I connect the source with the sink, the traffic only goes through N1 or N2, but not through both. That's why I don't connect them. > > In the three node scenario I also tried to use another agent at the intermediate node instead of my agent and even if I don't connect the source with the sink, the source sends traffic. So, I guess something is wrong with my agent. I tried to do some debug, using Pedro Vale Estrela's tips, but I have some problems figuring things out. > > Thanks for your awk scripts, too, they have been very useful! >Regards, > Steluta > > >Hi, > >the two agents have to be connected with each other: > >$ns >connect $udp $sink > >bye, > >Marco > > >>----Messaggio originale---- >>Da: >stelutagheorghiu at yahoo. com >>Data: 8-dic-2006 6.15 PM >>A: EDU> >>Ogg: [ns] CBR over UDP + user defined agent >> >> >>Hi everybody, >> >> I need to simulate some CBR traffic over UDP using >>an agent >Agent/Pass that I defined. My agent has to >>forward only the packets it >receives for the first >>time. >> First I used a 3-node-scenario: >> >> N0----N1----N2 >> >> The CBR source is attached to N0, my agent is >>attached to N1 and a sink is attached to N2. In this >>case, the source >doesn't send anything. >> Then, I tried to attach an Agent/Pass to N0, >too. >>This time, the source sends a number of packets, say >>np. N1 at >his turn sends np/2 packets and I know why >>this happens. >> The >thing I can't understand is why doesn't the >>source send anything in >the first case. Can anyone >>explain this? Is there anything that I left >out? >> >> I use ns-2.30 and the tcl script is below. >> Thanks in >advance for any hint, >> Steluta >> >>set MESSAGE_PORT 103 >>set >BROADCAST_ADDR -1 >> >>#number of nodes >>set nn 3 >> >>#set the node >configuration parameters >>set val(addr) flat >>set val(rp) DumbAgent ; >#no routing >>set val(ll) LL >>set val(mac) Mac/802_11 >>set val (prop) >Propagation/TwoRayGround >>set val(ifqlen) 50 >>set val(phy) >Phy/WirelessPhy >>set val(ant) Antenna/OmniAntenna >>set val(ch) >Channel/WirelessChannel >> >>#topology >>set val(x) 100 >>set val(y) 100 >>set topo [new Topography] >>$topo load_flatgrid $val(x) $val(y) >> >>#simulator instance >>set ns [new Simulator] >> >>#open trace files >>set >f [open $nn-trace.tr w] >>$ns trace-all $f >> >>$ns use- newtrace >> >>#create god object >>create-god $nn >> >>$ns node-config \ >> -adhocRouting $val(rp) \ >> -llType >$val(ll) \ >> -macType $val (mac) \ >> - >propType $val(prop) \ >> -ifqType $val(ifq) \ >> -ifqLen $val(ifqlen) \ >> -phyType $val >(phy) \ >> -antType $val(ant) \ >> - >channel [new $val(ch)] \ >> -topoInstance $topo \ >> -wiredRouting OFF \ >> - >mobileIP OFF \ >> -agentTrace ON \ >> -routerTrace OFF \ >> - macTrace OFF \ >> -toraDebug OFF \ >> -movementTrace OFF >\ >> >>#create nodes >>for {set i 0} {$i < $nn} {incr i} { >> set n($i) > [$ns node] >>} >> >>#define initial positions >>$n(0) set X_ 40 >>$n(0) set >Y_ 50 >>$n(0) set Z_ 0.0 >>$n(1) set X_ 40 >>$n(1) set Y_ 60 >>$n (1) set Z_ >0.0 >>$n(2) set X_ 40 >>$n(2) set Y_ 70 >>$n(2) set Z_ 0.0 >>#$n(3) set X_ >60 >>#$n(3) set Y_ 50 >>#$n(3) set Z_ 0.0 >> >># create udp agent >>set udp >[new Agent/UDP] >>$udp set dst_port_ $MESSAGE_PORT >>$n(0) attach $udp >$MESSAGE_PORT >> >># create cbr >>set cbr [new Application/Traffic/CBR] >>$cbr attach-agent $udp >>$cbr set rate_ 100kb >> >>#create sink >>set sink >[new Agent/Null] >>$n ([expr $nn - 1]) attach $sink $MESSAGE_PORT >> >>#attach Pass agent at intermediate nodes >>for {set i 1} {$i < [expr >$nn - 1]} {incr i} { >> set a($i) [new Agent/Pass] >> $a >($i) set id_ $i >> $n($i) attach $a ($i) $MESSAGE_PORT >>} >> >># now >set up some events >>$ns at 1.0 "$cbr start" >>$ns at 21.0 "$cbr stop" >>$ns at 21.00001 "finish" >> >>proc finish {} { >> global ns f val >nn >> $ns flush-trace >> close $f >> exit 0 >>} >>$ns >run >> >> >> >>____________________________________________________________________________________ >>Want to start your own business? >>Learn how on Yahoo! Small Business. >>http://smallbusiness.yahoo.com/r-index >> >> > > > > > >--------------------------------- >Want to start your own business? Learn how on Yahoo! Small Business. From hta08 at aub.edu.lb Sun Dec 10 23:32:08 2006 From: hta08 at aub.edu.lb (Hiba Alame) Date: Mon, 11 Dec 2006 09:32:08 +0200 Subject: [ns] BLUEHOC documentation and function description Message-ID: <1165822328.457d09788a6ea@193.188.128.122> Hi to all, Does any one have a detailed description BlueHoc: of the classes and the functions implemented in these classes of BlueHoc (the Bluetooth module). I need to understand exactly how BlueHoc works. I would appreciate all the help I can get. Thank you all. From trost_stefan at yahoo.de Mon Dec 11 02:32:32 2006 From: trost_stefan at yahoo.de (Stefan Trost) Date: Mon, 11 Dec 2006 10:32:32 +0000 (GMT) Subject: [ns] Multi-channel Multi-interface extetion Message-ID: <20061211103232.400.qmail@web26912.mail.ukl.yahoo.com> Hi all, does any one have experience with the multi-channel / Multi -interface extention shown by: http://my.opera.com/HenryFD/blog/show.dml/270422 or http://www.cse.msu.edu/~wangbo1/ns2/nshowto8.html I updated everything a couple of weeks ago and it seemd to work fine... but unformtunatly I only tested it with limited number of nodes (up to 20) My problem right now is, that with increasing number of nodes > 36 (with 3 active channels) I receive a "segmentaion error" and the simulation aborts. Hopefully anyone has some suggestions how to fix that problem... Regards Stefan ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de From brenwilliam at gmail.com Mon Dec 11 03:27:31 2006 From: brenwilliam at gmail.com (Brenda Lindsay Williams) Date: Mon, 11 Dec 2006 12:27:31 +0100 Subject: [ns] ATM & VOIP Message-ID: Could someone pls help me, I wanna create a simulated model of a VOIP network,I wanna carry out a performance evaluation of ATM vs SIP and H.323in VOIP networks using NS 2.To this effect I wanna design a VOIP network using ATM backbone so I wanna know if I can use NS to design the ATM protocol for VOIP networks and if not NS,pls does anyone know what I can use to to that?Thanks From elainebobby at yahoo.co.in Mon Dec 11 06:18:03 2006 From: elainebobby at yahoo.co.in (elaine bobby) Date: Mon, 11 Dec 2006 14:18:03 +0000 (GMT) Subject: [ns] problem with creating an agent Message-ID: <243710.66585.qm@web8513.mail.in.yahoo.com> Dear all, When i created an agent and after making all changes as given in the ns-tutorial and then i gave the command MAKE. This gets compiled correctly. When i ran the TCL file i got the following error. The agent i created is named 'samp' The error is ns samp.tcl [code omitted because of length] : invalid command name "Agent/samp" while executing "Agent/samp set packetSize_ 128" Kindly help me. So I am not able to form agents. Thanking you --------------------------------- Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW From nguyentienlan at gmail.com Mon Dec 11 09:32:42 2006 From: nguyentienlan at gmail.com (Nguyen Lan) Date: Tue, 12 Dec 2006 02:32:42 +0900 Subject: [ns] how to calculate throughput ??? In-Reply-To: <243710.66585.qm@web8513.mail.in.yahoo.com> References: <243710.66585.qm@web8513.mail.in.yahoo.com> Message-ID: <457D963A.4030407@gmail.com> Dear all, I try to simulate a multichannel MAC protocol for wireless network and in that protocols RTS/CTS sent on channel 0 and data sent on other data channels. My question is how can i calculate throughput on data channels. I only use trace graph at the moment. Thank you and best regards, Nguyen Lan. From balkrishna.gukhool at gmail.com Mon Dec 11 10:33:20 2006 From: balkrishna.gukhool at gmail.com (Balkrishna Gukhool) Date: Mon, 11 Dec 2006 13:33:20 -0500 Subject: [ns] problems with 802.11 module on ns2 Message-ID: <1185e9e10612111033n6789acb5le0d540ca849c690@mail.gmail.com> Hi, I have downloaded the 80211 module for ns2, and I have seen that it is actually an ns-2 package. I have tried running some of the tcl scripts, like test-80211.tcl, bt it keeps telling me that it cannot recognise the ns command, even though i have well defined the paths and the environment variables ( i have tested with other scripts). Does anyone know how to successfully run the tcl scripts for this 802.11module? Is there a specific way of running those scripts? Regards, Balkrishna S Gukhool From ozankhan1 at yahoo.com Mon Dec 11 23:30:37 2006 From: ozankhan1 at yahoo.com (nadir shah) Date: Mon, 11 Dec 2006 23:30:37 -0800 (PST) Subject: [ns] How to read Ping header at DSRagen recv() ? Message-ID: <20061212073037.71180.qmail@web53115.mail.yahoo.com> hi all, I have want to read PingAgent header in DSRagent recv() method.. Any one konws how to do that ? Plz help................................! From Nadir Shah Send instant messages to your online friends http://uk.messenger.yahoo.com From itsjustssm at yahoo.co.in Tue Dec 12 04:25:02 2006 From: itsjustssm at yahoo.co.in (sandesh shenoy) Date: Tue, 12 Dec 2006 12:25:02 +0000 (GMT) Subject: [ns] timer problem Message-ID: <196579.73750.qm@web7801.mail.in.yahoo.com> Hello everyone, When i run my simulations for umts using eurane,i get error "can't schedule timer".could someone tell me where and how timers are used in ns as i feel the problem comes not from eurane but generic ns one. Thanks in advance. --------------------------------- Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW From shahatha2003 at yahoo.de Tue Dec 12 07:52:46 2006 From: shahatha2003 at yahoo.de (Shahatha) Date: Tue, 12 Dec 2006 16:52:46 +0100 (CET) Subject: [ns] Multi-channel Multi-interface extention ns-2-28 or ns-2-29 Message-ID: <628102.27812.qm@web37211.mail.mud.yahoo.com> hi all, I am using ns-allinone-2.29.3, Win XP and cygwin. I am looking for an extesion to be able to simulate 802.11s. i found one in http://www.cse.msu.edu/~wangbo1/ns2/nshowto8.html i have done all the steps, but i still get a problem. can anybody help in implenting 802.11s on ns-2?? thanks in advance --------------------------------- NEU: Fragen stellen - Wissen, Meinungen und Erfahrungen teilen. Jetzt auf Yahoo! Clever. From juanmagoga at hotmail.com Tue Dec 12 11:18:23 2006 From: juanmagoga at hotmail.com (juan manuel gomez garcia) Date: Tue, 12 Dec 2006 20:18:23 +0100 Subject: [ns] zigbee routing Message-ID: Hello: Has someone an implementation of zigbee protocol? or know a web page. Thank very much. _________________________________________________________________ ?Est?s pensando en cambiar de coche? Todas los modelos de serie y extras en MSN Motor. http://motor.msn.es/researchcentre/ From emin.gencpinar at gmail.com Tue Dec 12 12:05:30 2006 From: emin.gencpinar at gmail.com (Emin Gencpinar) Date: Tue, 12 Dec 2006 22:05:30 +0200 Subject: [ns] Rate adaptation in ns-2 Message-ID: Hi all ns-2 users, Is there anyone that implemented rate adaptation over ns-2 before ? We hope RAP to simulate. And end-to-end (IP) network to simulate with rate adaptation. Need a help as soon as possible... Thanks in advance. From itsjustssm at yahoo.co.in Wed Dec 13 01:20:33 2006 From: itsjustssm at yahoo.co.in (sandesh shenoy) Date: Wed, 13 Dec 2006 09:20:33 +0000 (GMT) Subject: [ns] schedulers Message-ID: <319282.91562.qm@web7803.mail.in.yahoo.com> Hello , When i try to run a ns code with eurane patch,i get error "couldn't schedule timer".Is this due to the use of multiple node Bs which is implemented in the code.Could anyone tell me how timers r invoked in ns.Any help regarding this will bre appreciated and i will be able to proceed further. Thanks in advance. --------------------------------- Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW From shash at site.uottawa.ca Wed Dec 13 01:34:28 2006 From: shash at site.uottawa.ca (Shafiq Hashmi) Date: Wed, 13 Dec 2006 04:34:28 -0500 Subject: [ns] Multi-channel Multi-interface extention ns-2-28 or ns-2-29 References: <628102.27812.qm@web37211.mail.mud.yahoo.com> Message-ID: <06cd01c71e99$e302a760$dd5b7a89@site.uottawa.ca> Hi, I did implement the same (Multi-channel Multi-interface) from the given site, but on LEACH protocol. It worked fine there. Though I did not have to use the 802.11, as it used its own mac layer protocol. I just modified Modifications in tcl/lib/ns-lib.tcl Modifications in mac/channel.cc a few other places concerned. Shafiq ----- Original Message ----- From: "Shahatha" To: Sent: Tuesday, December 12, 2006 10:52 AM Subject: [ns] Multi-channel Multi-interface extention ns-2-28 or ns-2-29 > > hi all, > > I am using ns-allinone-2.29.3, Win XP and cygwin. > I am looking for an extesion to be able to simulate 802.11s. > i found one in > http://www.cse.msu.edu/~wangbo1/ns2/nshowto8.html > > i have done all the steps, but i still get a problem. > can anybody help in implenting 802.11s on ns-2?? > > > > thanks in advance > > > --------------------------------- > NEU: Fragen stellen - Wissen, Meinungen und Erfahrungen teilen. Jetzt auf > Yahoo! Clever. From acuevasrumin at gmail.com Wed Dec 13 03:08:58 2006 From: acuevasrumin at gmail.com (=?ISO-8859-1?Q?=C1ngel_Cuevas_Rum=EDn?=) Date: Wed, 13 Dec 2006 12:08:58 +0100 Subject: [ns] Wired-cum-wireless scenario using 802.15.4 Message-ID: <58c1ea0612130308n3e088206l5bff34c42882de30@mail.gmail.com> Hi everyone, I am trying to develop simulations using 802.15.4. My idea is connect different wpans using wired links. For example PAN corrdinators could communicate among them using a wired network (TCP/IP). I have tried to follow the example of wired-cum-wireless given in ns tutorial, but I am not able to get a succesful result. I would appreciate if someone, who is working in this topic, could help me. Thanks in advance. ?ngel Cuevas Rum?n Universidad Carlos III de Madrid Departamento de Ingenier?a Telem?tica Avda. de la Universidad, 30 28911 - Legan?s (Madrid) Espa?a email: acrumin at it.uc3m.es Tel?fono: +34 91-624-8859 Fax: +34 91.624-8749 url: www.it.uc3m.es/~acuevasr From shahatha2003 at yahoo.de Wed Dec 13 05:50:37 2006 From: shahatha2003 at yahoo.de (Shahatha) Date: Wed, 13 Dec 2006 14:50:37 +0100 (CET) Subject: [ns] S.O.S : Multi-channel Multi-interface extention In-Reply-To: <913ee3170612121742w7b6dc24tc91c364c786aa677@mail.gmail.com> Message-ID: <20061213135037.43342.qmail@web37203.mail.mud.yahoo.com> Hi all, Iam using WINXP and cygwin. i do the follow steps: 1. untar ns-allinone-2.29.3.tar.gz 2. cd ns-allinone.2.29 ./install , cd ns-2.29 ./validate the installation was successful 3. make all the steps (1 - 16 ) in: http://www.cse.msu.edu/~wangbo1/ns2/nshowto8.html 4. cd ns-2.29 ./configure, make clean, make depend, make with success. 5. i do the step 17 in the link above : 17. Simulation results for validating the extension with twoflows-1channel.tcl ----------------------------------------------------------------------------------------------- $ ns twoflows-1channel.tcl num_nodes is set 4 Add a interface channel add-node INITIALIZE THE LIST xListHead ns-lin.tcl: Multi-channel Multi-interface Add a interface channel add-node INITIALIZE THE LIST xListHead Add a interface channel add-node INITIALIZE THE LIST xListHead Add a interface channel add-node INITIALIZE THE LIST xListHead Add a interface channel add-node INITIALIZE THE LIST xListHead mobile add-target-rtagent called Routing Trace ON New API off Add a interface channel add-node ns-lin.tcl: Multi-channel Multi-interface Add a interface channel add-node Add a interface channel add-node Add a interface channel add-node Add a interface channel add-node mobile add-target-rtagent called Routing Trace ON New API off Add a interface channel add-node ns-lin.tcl: Multi-channel Multi-interface Add a interface channel add-node Add a interface channel add-node Add a interface channel add-node Add a interface channel add-node mobile add-target-rtagent called Routing Trace ON New API off Add a interface channel add-node ns-lin.tcl: Multi-channel Multi-interface Add a interface channel add-node Add a interface channel add-node Add a interface channel add-node Add a interface channel add-node mobile add-target-rtagent called Routing Trace ON New API off Calling superclass Agent's command function!Calling superclass Agent's command function!Calling superclass Agent's command function!Calling superclass Agent's command function!RouteTable: Adding destination 1 tag 999 RouteTable: Adding destination 3 tag 8 Starting Simulation... RouteTable: Adding destination 0 tag -1 Self address = 0 RouteTable: Adding destination 1 tag -1 Self address = 1 RouteTable: Adding destination 2 tag -1 Self address = 2 RouteTable: Adding destination 3 tag -1 Self address = 3 UDP works! the daddr() is 1 Floating point exception (core dumped) ----------------------------------------------------------------------------------------------- and with twoflows-2channel.tcl i get the same messages. the twoflows.tr and twoflows.nam are empty. what did i do wrong?? do i install the extension correct (are the steps above 1 - 4 correct? )?? thank you --------------------------------- Der neue Internet Explorer 7 in deutscher Ausf?hrung ist da! From lucasammarini at libero.it Wed Dec 13 08:31:05 2006 From: lucasammarini at libero.it (lucasammarini@libero.it) Date: Wed, 13 Dec 2006 17:31:05 +0100 Subject: [ns] dynamic link with manual routing Message-ID: Hi, is possible to delete/create links dinamically in ns-2 with manual routing? The new routing is kept up-to-date? I have just read many_tcp.tcl but is very difficult for me to understand the code... Can you give me some command to do this? Thank you very much for any suggestion... Regards Luca From dolkoff at yahoo.com.cn Thu Dec 14 00:05:02 2006 From: dolkoff at yahoo.com.cn (Daniel Dekst) Date: Thu, 14 Dec 2006 16:05:02 +0800 (CST) Subject: [ns] What's the relationship of Pt_ and Pt_consume_ Message-ID: <261891.87362.qm@web15905.mail.cnb.yahoo.com> Hi, all What's the relationship of Pt_ and Pt_consume_? I know when a node receive a packet, it will calculate Pr according to Pt_, then decide whether successfully capture this packet. If I calculate "txPower" according to the distance between two nodes, and replace the Pt_ then the transmission range will be changed. But how much energy should be decreased also should be changed, which is implemented in function "em()->DecrTxEnergy(actual_txtime, Pt_consume_)". Then should we use "(txPower/Pt_)*Pt_consume_" to replace "Pt_consume_" or some other functon? Thanks in advance, Pei --------------------------------- ÇÀ×¢ÑÅ»¢Ãâ·ÑÓÊÏä-3.5GÈÝÁ¿£¬20M¸½¼þ£¡ From ns2.29_user at yahoo.fr Thu Dec 14 01:40:20 2006 From: ns2.29_user at yahoo.fr (ns user) Date: Thu, 14 Dec 2006 09:40:20 +0000 (GMT) Subject: [ns] disable RTS/CTS mode Message-ID: <20061214094020.54058.qmail@web27913.mail.ukl.yahoo.com> dear NS users; i'm simulating a ad hoc network under ns 2.29. to study some parameters , i'm using OLSR routing protocol and i've disabled RTS/CTS mode using the following command : Mac/802_11 set RTSThreshold_ 3000.but at the end of my simulation, the trace file shows rows containing info about RTS/CTS packet. i would understand why this. ___________________________________________________________________________ Yahoo! Mail r?invente le mail ! D?couvrez le nouveau Yahoo! Mail et son interface r?volutionnaire. http://fr.mail.yahoo.com From anjalimls at yahoo.co.in Thu Dec 14 05:34:31 2006 From: anjalimls at yahoo.co.in (Anjali Arora) Date: Thu, 14 Dec 2006 13:34:31 +0000 (GMT) Subject: [ns] ns-allinone-2.26 installation Message-ID: <60934.82003.qm@web8404.mail.in.yahoo.com> hello everyone i have ns-allinone-2.26 and mns-for-2.26.i want to install it on linux red-hat enterprise edition.but its not working,giving error tk 8.3.2 make failed.what is the solution or whats another option? please help me out anjali --------------------------------- Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW From itsjustssm at yahoo.co.in Thu Dec 14 06:09:12 2006 From: itsjustssm at yahoo.co.in (sandesh shenoy) Date: Thu, 14 Dec 2006 14:09:12 +0000 (GMT) Subject: [ns] compile problem Message-ID: <471223.28082.qm@web7808.mail.in.yahoo.com> Hello, Could anyone tell me how to reflect the log statements written in file-ns-lib.tcl,Simulator instproc init args body.If i make under ns-2.28,no changes are brought about.Is there any additional procedure to be followed?Any suggestions will be helpful for me. Thanks in advance. --------------------------------- Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW From balkrishna.gukhool at gmail.com Thu Dec 14 07:41:09 2006 From: balkrishna.gukhool at gmail.com (Balkrishna Gukhool) Date: Thu, 14 Dec 2006 10:41:09 -0500 Subject: [ns] Reg: problems with 802.11 module on ns2 In-Reply-To: <84309.34139.qm@web8401.mail.in.yahoo.com> References: <84309.34139.qm@web8401.mail.in.yahoo.com> Message-ID: <1185e9e10612140741m3bbaa88ahbc859fa84c75e4be@mail.gmail.com> Hi, Thanks for replying to my initial post and apologies for replying so late. I am using the 80211 code by Mathieu Lacage. The problem I am getting is when I am using the command ns test-80211.tcl to run the tcl script. All the other scripts in the examples folder work perfectly fine. So, i guess it is not a problem with the execution paths of ns. here is actually what i get as error. $ ns test-80211.tcl couldn't read file "./node-common/utils.tcl": no such file or directory while executing "source.orig ./node-common/utils.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 ./node-common/utils.tcl" (file "test-80211.tcl" line 1) I have checked whether the folder exists and, of course, it does. I have also tried with the code u told me to download and i get the same error. Am i doing the right thing here? or is there something i missed? Thanks for your help. Regards, Balkrishna S Gukhool From fl0wer at virgilio.it Thu Dec 14 07:43:28 2006 From: fl0wer at virgilio.it (Marco Fiore) Date: Thu, 14 Dec 2006 16:43:28 +0100 (GMT+01:00) Subject: [ns] R: Rate adaptation in ns-2 Message-ID: <10f81a1e54a.fl0wer@virgilio.it> Hi, if you refer to rate-based congestion control, the first result by searching Google is: "Source code for RAP in ns2" http://netweb.usc. edu/reza/RAP/NewRAP/ If you refer to rate adaptation at MAC layer in wireless networks, by looking at the ns mailing list archives, a patch is available at: http://reti.polito.it/fiore Next time please avoid posting to the mailing list without searching the web and the mailing list archives. bye, Marco >----Messaggio originale---- >Da: emin. gencpinar at gmail.com >Data: 12-dic-2006 9.05 PM >A: >Ogg: [ns] Rate adaptation in ns-2 > > >Hi all ns-2 users, > >Is there anyone that implemented rate adaptation over ns-2 before ? We hope >RAP to simulate. And end-to-end (IP) network to simulate with rate >adaptation. > >Need a help as soon as possible... >Thanks in advance. > From fl0wer at virgilio.it Thu Dec 14 07:52:20 2006 From: fl0wer at virgilio.it (Marco Fiore) Date: Thu, 14 Dec 2006 16:52:20 +0100 (GMT+01:00) Subject: [ns] R: disable RTS/CTS mode Message-ID: <10f81aa05d3.fl0wer@virgilio.it> Dear ? it's difficult to tell without any information, you should at least post your tcl script and a portion of the tracefile showing RTS/CTS... bye, Marco >----Messaggio originale---- >Da: ns2. 29_user at yahoo.fr >Data: 14-dic-2006 10.40 AM >A: >Ogg: [ns] disable RTS/CTS mode > > >dear NS users; > >i'm simulating a ad hoc network under ns 2.29. to study some parameters , i'm using OLSR routing protocol and i've disabled RTS/CTS mode using the following command : >Mac/802_11 set RTSThreshold_ 3000.but at the end of my simulation, the trace file shows rows containing info about RTS/CTS packet. > >i would understand why this. > > > > > > > > >___________________________________________________________________________ >Yahoo! Mail r?invente le mail ! D?couvrez le nouveau Yahoo! Mail et son interface r?volutionnaire. >http://fr.mail.yahoo.com > From pedro.estrela at gmail.com Thu Dec 14 08:03:29 2006 From: pedro.estrela at gmail.com (Pedro Vale Estrela) Date: Thu, 14 Dec 2006 16:03:29 -0000 Subject: [ns] compile problem In-Reply-To: <471223.28082.qm@web7808.mail.in.yahoo.com> Message-ID: <000901c71f99$6635fce0$172914ac@Estrela> Sems like a bug in the makefile. Try: rm ns2/gen/ns_tcl.o ; make > -----Original Message----- > From: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU] On Behalf > Of sandesh shenoy > Sent: quinta-feira, 14 de Dezembro de 2006 14:09 > To: ns-users at ISI.EDU > Subject: [ns] compile problem > > > Hello, > Could anyone tell me how to reflect the log statements > written in file-ns-lib.tcl,Simulator instproc init args body.If i make > under ns-2.28,no changes are brought about.Is there any additional > procedure to be followed?Any suggestions will be helpful for me. > > Thanks in advance. > > > --------------------------------- > Find out what India is talking about on - Yahoo! Answers India > Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. > Get it NOW From pedro.estrela at gmail.com Thu Dec 14 08:04:15 2006 From: pedro.estrela at gmail.com (Pedro Vale Estrela) Date: Thu, 14 Dec 2006 16:04:15 -0000 Subject: [ns] ns-allinone-2.26 installation In-Reply-To: <60934.82003.qm@web8404.mail.in.yahoo.com> Message-ID: <000a01c71f99$81276b10$172914ac@Estrela> Use older version of your distribution > -----Original Message----- > From: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU] On Behalf > Of Anjali Arora > Sent: quinta-feira, 14 de Dezembro de 2006 13:35 > To: ns-users at ISI.EDU > Subject: [ns] ns-allinone-2.26 installation > > > hello everyone > i have ns-allinone-2.26 and mns-for-2.26.i want to install it on linux > red-hat enterprise edition.but its not working,giving error tk 8.3.2 make > failed.what is the solution or whats another option? > please help me out > anjali > > > --------------------------------- > Find out what India is talking about on - Yahoo! Answers India > Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. > Get it NOW From SYilmaz at aselsan.com.tr Thu Dec 14 09:54:44 2006 From: SYilmaz at aselsan.com.tr (Semra YILMAZ) Date: Thu, 14 Dec 2006 19:54:44 +0200 Subject: [ns] simulation result with tracegraph analysis Message-ID: <5DDFCAC613F7CA45B1AF070FFD9374DACCD569@papatyaint.aselsan.com.tr> Hi, As a result of my simulation i got the attached trace analysis file from tracegraph. I could not understand that how the number of sent packets is -5138 in the simulation information. If anybody knows the meaning of - (minus) sign here, i need this reply asap? Thanks in advance and best regards, Semra Yilmaz ###################################################################### Dikkat: Bu elektronik posta mesaji kisisel ve ozeldir. Eger size gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz. Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmekte, guvenlik nedeni ile kontrol edilerek saklanmaktadir. Mesajdaki gorusler ve bakis acisi gondericiye ait olup Aselsan A.S. resmi gorusu olmak zorunda degildir. ###################################################################### Attention: This e-mail message is privileged and confidential. If you are not the intended recipient please delete the message and notify the sender. E-mails to and from the company are monitored for operational reasons and in accordance with lawful business practices. Any views or opinions presented are solely those of the author and do not necessarily represent the views of the company. ###################################################################### From balkrishna.gukhool at gmail.com Thu Dec 14 10:55:07 2006 From: balkrishna.gukhool at gmail.com (Balkrishna Gukhool) Date: Thu, 14 Dec 2006 13:55:07 -0500 Subject: [ns] Reg: problems with 802.11 module on ns2 In-Reply-To: <939008.62063.qm@web8412.mail.in.yahoo.com> References: <1185e9e10612140741m3bbaa88ahbc859fa84c75e4be@mail.gmail.com> <939008.62063.qm@web8412.mail.in.yahoo.com> Message-ID: <1185e9e10612141055r18f7e4a5y46b1a8d422ef8da4@mail.gmail.com> Hi, Thank you very much with that piece of advice because it helped solve the error. unfortunately, i seem to get another problem when i run the command ns test-80211.tcl. $ ns test-80211.tcl invalid command name "NodeConstructor" while executing "NodeConstructor create _o12 " invoked from within "catch "$className create $o $args" msg" invoked from within "if [catch "$className create $o $args" msg] { if [string match "__FAILED_SHADOW_OBJECT_" $msg] { delete $o return "" } global errorInfo error "class $..." (procedure "new" line 3) invoked from within "new NodeConstructor" invoked from within "set nodeConstructor [new NodeConstructor]" (file "test-80211.tcl" line 6) Help of any sort is welcomed and hugely appreciated. Regards, Balkrishna S Gukhool From SYilmaz at aselsan.com.tr Thu Dec 14 11:43:17 2006 From: SYilmaz at aselsan.com.tr (Semra YILMAZ) Date: Thu, 14 Dec 2006 21:43:17 +0200 Subject: [ns] simulation result with tracegraph analysis Message-ID: <5DDFCAC613F7CA45B1AF070FFD9374DACCD56A@papatyaint.aselsan.com.tr> Hi, As a result of my simulation i got the attached trace analysis from tracegraph. I could not understand that how the number of sent packets is -5138 in the simulation information. If anybody knows the meaning of - (minus) sign here, i need this reply asap? Thanks in advance and best regards, Semra Yilmaz ###################################################################### Dikkat: Bu elektronik posta mesaji kisisel ve ozeldir. Eger size gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz. Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmekte, guvenlik nedeni ile kontrol edilerek saklanmaktadir. Mesajdaki gorusler ve bakis acisi gondericiye ait olup Aselsan A.S. resmi gorusu olmak zorunda degildir. ###################################################################### Attention: This e-mail message is privileged and confidential. If you are not the intended recipient please delete the message and notify the sender. E-mails to and from the company are monitored for operational reasons and in accordance with lawful business practices. Any views or opinions presented are solely those of the author and do not necessarily represent the views of the company. ###################################################################### From itsjustssm at yahoo.co.in Thu Dec 14 23:23:02 2006 From: itsjustssm at yahoo.co.in (sandesh shenoy) Date: Fri, 15 Dec 2006 07:23:02 +0000 (GMT) Subject: [ns] Re install problem Message-ID: <20061215072303.36316.qmail@web7814.mail.in.yahoo.com> Hello ns-users, I had looged in some comments in some of files like channel.cc etc.When i executed the script,the statements used to appear.But due to some problems,i deleted existing nsallinone-2.28 directory and re installed ns2.28 as given in the website.Now before all path settings are done also if i run ns % appears.I am not able to figure out the problem.Also statement- "When configured, ns found the right version of tclsh in /root/ns-allinone-2.28/ bin/tclsh8.4 but it doesn't seem to be there anymore, so ns will fall back on running the fir st tclsh in your path. The wrong version of tclsh may break the test suites. Rec onfigure and rebuild ns if this is a problem." appears.And the previous comments entered in .cc files appear whereas now in installed .cc files,those r not there.Please help me out in this regard.Any suggeastions will be most valuable to me. Thanks in advance. --------------------------------- Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW From juanmagoga at hotmail.com Fri Dec 15 03:38:58 2006 From: juanmagoga at hotmail.com (juan manuel gomez garcia) Date: Fri, 15 Dec 2006 12:38:58 +0100 Subject: [ns] aodv question Message-ID: Hi ns-users: What is the purpose of the file 'aodv.tcl' of the directory aodv in Ns2? I dont know what it does. Thank you very much. _________________________________________________________________ Grandes ?xitos, superh?roes, imitaciones, cine y TV... http://es.msn.kiwee.com/ Lo mejor para tu m?vil. From bhuvana_p22 at yahoo.co.in Fri Dec 15 05:11:34 2006 From: bhuvana_p22 at yahoo.co.in (bhuvana p) Date: Fri, 15 Dec 2006 13:11:34 +0000 (GMT) Subject: [ns] regarding handoff time Message-ID: <354606.19262.qm@web7611.mail.in.yahoo.com> Hi all, I'm simulating a mobile-IP scenario and I want to find handoff time (duration). How can I get handoff time from trace file? Thanks in advance,e P.Bhuvana Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php From brenwilliam at gmail.com Fri Dec 15 08:41:27 2006 From: brenwilliam at gmail.com (Brenda Lindsay Williams) Date: Fri, 15 Dec 2006 17:41:27 +0100 Subject: [ns] Conerning VOIP & ATM Message-ID: Hi there....I'm Brenda from the Australia ...I'm currently working on a project involving VOIP networks...I wanna design a model of a VOIP network using ATM as its backbone to use for simulation.I'm doing performance evaluations in VOIP networks on parameters that affect QoS( Quality of Service) in VOIP networks.I wanna evaluate ATM against SIP & H.323.Can NS 2 handle it?Or do you know what I can use to design the model?Thanks a lot From amran34 at hotmail.com Fri Dec 15 12:22:39 2006 From: amran34 at hotmail.com (amran akram) Date: Sat, 16 Dec 2006 04:22:39 +0800 Subject: [ns] Video Streaming Simulation Message-ID: Hi sir I am doing project on video streaming over IP. and want to simulate the video streaming on NS2. but i do not know how to simulate it. could you please tell me the idea how to do it on NS2. Amran Akram _________________________________________________________________ Advertisement: Fresh jobs daily. Stop waiting for the newspaper. Search now! www.seek.com.au http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau&_t=757263760&_r=Hotmail_EndText_Dec06&_m=EXT From balkrishna.gukhool at gmail.com Fri Dec 15 12:25:01 2006 From: balkrishna.gukhool at gmail.com (Balkrishna Gukhool) Date: Fri, 15 Dec 2006 15:25:01 -0500 Subject: [ns] problems with 802.11 module on ns2 In-Reply-To: <1166166173.4396.284.camel@garfield.inria.fr> References: <1185e9e10612111032h7b4b37d8y3ddf3cfdf44cf2bb@mail.gmail.com> <1165914683.25508.29.camel@mathieu> <1185e9e10612140744m74f52640g27e2acbc00b375bc@mail.gmail.com> <1166166173.4396.284.camel@garfield.inria.fr> Message-ID: <1185e9e10612151225r4c83a7f9waa54b6e131b040ab@mail.gmail.com> Hi, Thanks for the advice. I have already figured out a way to overcome the error mentioned earlier; bt your way is so easier. The thing is that even then when I run the script, it gives me an error as shown below. $ ns test-80211.tcl invalid command name "NodeConstructor" while executing "NodeConstructor create _o12 " invoked from within "catch "$className create $o $args" msg" invoked from within "if [catch "$className create $o $args" msg] { if [string match "__FAILED_SHADOW_OBJECT_" $msg] { delete $o return "" } global errorInfo error "class $..." (procedure "new" line 3) invoked from within "new NodeConstructor" invoked from within "set nodeConstructor [new NodeConstructor]" (file "test-80211.tcl" line 6) If you could help here, that would be greatly appreciated. I remember you telling me that for some persons this module worked out perfectly fine. if by chance, you have their email addresses, could you send them to me, please? Thanks once again. Regards, Balkrishna S Gukhool From amran34 at hotmail.com Fri Dec 15 12:26:11 2006 From: amran34 at hotmail.com (amran akram) Date: Sat, 16 Dec 2006 04:26:11 +0800 Subject: [ns] voice and video traffic in ns2(help) Message-ID: Hi all, I would like some advice on how to create voice and video traffic in ns2. is there any tutorial about voice and video traffic in ns2? Any suggestions are welcome. Thank you, Amran Akram _________________________________________________________________ Advertisement: Amazing holiday rentals? http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fwww%2Eninemsn%2Erealestate%2Ecom%2Eau%2Fcgi%2Dbin%2Frsearch%3Fa%3Dbhp%26t%3Dhol%26cu%3DMSN&_t=758874163&_r=HM_Txt_Link_Holiday_Oct06&_m=EXT From SYilmaz at aselsan.com.tr Fri Dec 15 12:44:12 2006 From: SYilmaz at aselsan.com.tr (Semra YILMAZ) Date: Fri, 15 Dec 2006 22:44:12 +0200 Subject: [ns] simulation result with tracegraph analysis Message-ID: <5DDFCAC613F7CA45B1AF070FFD9374DACCD56B@papatyaint.aselsan.com.tr> Hi, As a result of my simulation i got the attached trace analysis from tracegraph. I could not understand that how the number of sent packets is -5138 in the simulation information. If anybody knows the meaning of - (minus) sign here, i need this reply asap? Thanks in advance and best regards, Semra Yilmaz ###################################################################### Dikkat: Bu elektronik posta mesaji kisisel ve ozeldir. Eger size gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz. Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmekte, guvenlik nedeni ile kontrol edilerek saklanmaktadir. Mesajdaki gorusler ve bakis acisi gondericiye ait olup Aselsan A.S. resmi gorusu olmak zorunda degildir. ###################################################################### Attention: This e-mail message is privileged and confidential. If you are not the intended recipient please delete the message and notify the sender. E-mails to and from the company are monitored for operational reasons and in accordance with lawful business practices. Any views or opinions presented are solely those of the author and do not necessarily represent the views of the company. ###################################################################### From limkt_2 at hotmail.com Fri Dec 15 16:54:43 2006 From: limkt_2 at hotmail.com (Lim Kong Teong) Date: Sat, 16 Dec 2006 00:54:43 +0000 Subject: [ns] FLID_DL Simulation In-Reply-To: Message-ID: Hi, I conduct experiments on Flid-Dl, which I got from Digital Fountain. We set the experiment as below: 1 Flid-DL session compete with 4 TCP sessions for 2.5Mb bottleneck link. We use dumb bell topology. The experiments run smoothly, however I got some peculiar results. 1) When I check trace file, I find out Flid-Dl receiver receive empty packet with zero packet size as below: r 3.739743 1 3 fliddl 0 ------- 0 2.0 -2147483608.8888 -1 6094 I make one modification as below, but still get the same result. Change: Packet* p = allocpkt(); to Packet* p = allocpkt(packet_payload_); 2) I calculate the packet received by the 4 TCP receivers using the trace file, and suprisingly the throughput suggest that TCP flows consumed all of the bottleneck bandwidth with total throughput 2.5 Mb. Then, I calculate the bottleneck link utilization, and got the link utilization of 2.5 Mb. However, the statistics from Flid suggest Flid session used approximately 0.5 Mb of bottleneck link. Any explanation or suggestion please! TQ. Lim _________________________________________________________________ Get free, personalized commercial-free online radio with MSN Radio powered by Pandora http://radio.msn.com/?icid=T002MSN03A07001 From kaushik at rice.edu Fri Dec 15 17:18:31 2006 From: kaushik at rice.edu (Kaushik Kumar Ram) Date: Fri, 15 Dec 2006 19:18:31 -0600 Subject: [ns] Tracefile: wired-cum-wireless scenario Message-ID: <1166231911.15117.7.camel@cslinux05.cs.rice.edu> Hi, I am simulating TCP over a simple wired-cum-wireless scenario. There is one node connected to a base station via a wired link. There is one mobile node. I used trace-all to trace all the links. But I find that the trace file contains events occurring only at the base station and the mobile node. The TCP flow is from the wired node to the mobile node. Due to this issue I am not able to trace when the packets are being sent from the wired node. Is this is a drawback with the trace support in NS? Thank you -Kaushik From ehsan_ataie59 at yahoo.com Fri Dec 15 21:02:02 2006 From: ehsan_ataie59 at yahoo.com (Ehsan Ataie) Date: Fri, 15 Dec 2006 21:02:02 -0800 (PST) Subject: [ns] Research Position in Iran Message-ID: <20061216050202.4449.qmail@web53908.mail.yahoo.com> Hi friends, A NS-2 developer familiar with C++ and TCL programming and preferably Agent and N.N. simulation is in urgent need for a research position in Iran. Candidates can send they resume to ehsan_ataie59 at yahoo.com or call me on 0098 912 2123290. Sincerely yours, Ehsan Ataie __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From omaildoiuri at gmail.com Sat Dec 16 06:49:19 2006 From: omaildoiuri at gmail.com (Iuri David) Date: Sat, 16 Dec 2006 14:49:19 +0000 Subject: [ns] Fwd: Help with optical fibber networks In-Reply-To: <9c6036850612160645r149cf325gac014aa2de2094d7@mail.gmail.com> References: <9c6036850612160645r149cf325gac014aa2de2094d7@mail.gmail.com> Message-ID: <9c6036850612160649n22e631e9k7b3267a87f510b69@mail.gmail.com> Dear NS users, I'm Iuri a Portuguese student that want to simulate Optical Burst Switching Networks and to do that I install NS simulator, with the OBS-ns, but I don't know how to use this reservation protocols: 1-Tell And Go (TAG) 2-Just-In-Time (JIT) 3-JumpStart 4-Horizon 5-Just-Enough-Time (JET) If someone could help me I will be really great full, if you know some tutorial or document that explain this, it could be really good to me. Thank you for the time that you lost to read this. Best Regards I?ri Veiga From brenwilliam at gmail.com Sat Dec 16 07:04:35 2006 From: brenwilliam at gmail.com (Brenda Lindsay Williams) Date: Sat, 16 Dec 2006 16:04:35 +0100 Subject: [ns] H.323 & SIP implementation for NS 2 Message-ID: Pls I'm interested in the H.323 and SIP implementation for NS 2....I need the documentations,codes and patch.pls if someone can help me,I'll really appreciate it.thanks From brenwilliam at gmail.com Sat Dec 16 08:45:52 2006 From: brenwilliam at gmail.com (Brenda Lindsay Williams) Date: Sat, 16 Dec 2006 17:45:52 +0100 Subject: [ns] ATM service classes Message-ID: I wanna model an ATM network for VOIP based on the evaluation of parameters which affect QoS against SIP & H.323 bandwidth consumption packet loss packet delay(latency) jitter traffic thoroughput... Can someone pls tell me what ATM service class will be relevant to model? From shash at site.uottawa.ca Sat Dec 16 11:23:43 2006 From: shash at site.uottawa.ca (Shafiq Hashmi) Date: Sat, 16 Dec 2006 14:23:43 -0500 Subject: [ns] ATM service classes References: Message-ID: <086401c72147$b34b9c60$dd5b7a89@site.uottawa.ca> Hi, Sometimes those who are following up with the ns-forum currently are not expert in your area or have no idea at all. Search in the previous emails of 4-5 years, you may find someone who might have worked on VOIP/ATM or exactly on your stuff. You can send them the email directly, if that exist. Shafiq ----- Original Message ----- From: "Brenda Lindsay Williams" To: Sent: Saturday, December 16, 2006 11:45 AM Subject: [ns] ATM service classes > > I wanna model an ATM network for VOIP based on the evaluation of > parameters > which affect QoS against SIP & H.323 > > bandwidth consumption > packet loss > packet delay(latency) > jitter > traffic thoroughput... > > Can someone pls tell me what ATM service class will be relevant to model? From shailients at gmail.com Sat Dec 16 19:04:11 2006 From: shailients at gmail.com (Shaili Desai) Date: Sat, 16 Dec 2006 22:04:11 -0500 Subject: [ns] gcc error in Ns-2.29 with setdest.h Message-ID: Hi all I was trying to install Wimax module on ns-2.29 and I did ./configure and make clean and make and it gave me following error: make[1]: Entering directory `/root/ns-allinone-2.29/ns-2.29 /indep-utils/cmu-scen-gen/setdest' g++ -c -Dstand_alone -DSTL_NAMESPACE=@STL_NAMESPACE@ -DCPP_NAMESPACE=std -Wall -o setdest.o setdest.cc setdest.h:26: error: extra qualification 'vector::' on member 'operator=' setdest.h:31: error: extra qualification 'vector::' on member 'operator+=' setdest.h:36: error: extra qualification 'vector::' on member 'operator==' setdest.h:39: error: extra qualification 'vector::' on member 'operator!=' make[1]: *** [setdest.o] Error 1 Can anyone guide me for this error.It is kind of urgent. I would appreciate if you can help me with this. -- Thanx Shaili Desai Master's Candidate Telecommunications and Management University of Maryland,College Park,USA From zongmng at 163.com Sat Dec 16 20:40:17 2006 From: zongmng at 163.com (=?gb2312?B?19rD9w==?=) Date: Sun, 17 Dec 2006 12:40:17 +0800 (CST) Subject: [ns] help! about "cumulative fraction" Message-ID: <4584CA31.00000D.02576@bj163app25.163.com> hi,all What is "cumulative fraction of links"? How can i get from simulator? Thanks! Zong Ming From mdpereyra at gmail.com Sun Dec 17 10:06:06 2006 From: mdpereyra at gmail.com (Martin Dario Pereyra) Date: Sun, 17 Dec 2006 19:06:06 +0100 Subject: [ns] ns-allinone-2.77 instalation problem with tk.8.3.2 In-Reply-To: <108399ba0612170959s6a267a82r1a77a1ee0a90869b@mail.gmail.com> References: <108399ba0612170959s6a267a82r1a77a1ee0a90869b@mail.gmail.com> Message-ID: <108399ba0612171006l26e3ba50paf1940e36d511479@mail.gmail.com> Hi, I'm looking for some help I get the next message in the installation process: tcl8.4.5 installation succeeded. ============================================================ * Build Tk8.4.5 ============================================================ loading cache ./config.cache checking for Tcl configuration... found /home/martin/ns-allinone-2.27/tcl8.4.5/unix/tclConfig.sh checking for existence of /home/martin/ns-allinone-2.27/tcl8.4.5/unix/tclConfig.sh... loading checking whether to use symlinks for manpages... no checking compression for manpages... no checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for unistd.h... yes checking for limits.h... yes checking for building with threads... no (default) checking if the compiler understands -pipe... yes checking for required early compiler flags... _LARGEFILE64_SOURCE checking for 64-bit integer type... long long checking for struct dirent64... no checking for struct stat64... yes checking for off64_t... yes checking how to build libraries... static checking for ranlib... ranlib checking if 64bit support is requested... no checking if 64bit Sparc VIS support is requested... no checking system version (for dynamic loading)... ./configure: line 5200: syntax error near unexpected token `(' ./configure: line 5200: ` case `(ac_space=' '; set | grep ac_space) 2>&1` in' tk8.3.2 configuration failed! Exiting ... Tk is not part of the ns project. Please see www.Scriptics.com to see if they have a fix for your platform. someone can help me please? Thanks From bluemrdr at hotmail.com Sun Dec 17 15:53:19 2006 From: bluemrdr at hotmail.com (Lars Lars) Date: Sun, 17 Dec 2006 23:53:19 +0000 Subject: [ns] Monitoring PDU progress through layers Message-ID: Hi, I'm simulating an 802.11 link and I want to monitor a packet as it passes through each layer/sublayer. I want the tracefile to contain an entry for the packet at each layer/sublayer. Is this possible? So far I have entries i my tracefile for packet send by agent, and packet send by mac layer. How can I get more info in the tracefile? L _________________________________________________________________ Customise your home page with RSS feeds at MSN Ireland! http://ie.msn.com/ From bluemrdr at hotmail.com Sun Dec 17 16:03:27 2006 From: bluemrdr at hotmail.com (Lars Lars) Date: Mon, 18 Dec 2006 00:03:27 +0000 Subject: [ns] lower than expected throughput for 802.11 CBR simulation Message-ID: Hi, I'm sending CBR data over an 802.11, 2 node link via UDP. I'm getting very low throughput figures (0.25Mbps). I expected more like 5.5 Mbps fro my configuration. Can someone tell me if my expectations are unrealistic or if my configuration is flawed please? My config is as follows: 11Mb data rate 1Mb basic rate 10us SIFS 20uS slottime long preamble 2 stationary nodes 11Mb CBR source with 1000Byte packet size 1024Byte UDP packet size Thank you in advance L _________________________________________________________________ Discover the magic of RSS feeds at MSN Ireland! http://ie.msn.com/ From wg.nsmail at gmail.com Sun Dec 17 17:19:25 2006 From: wg.nsmail at gmail.com (wang gang) Date: Mon, 18 Dec 2006 09:19:25 +0800 Subject: [ns] RE Re install problem Message-ID: there are some links in your ns-allinone-2.28/bin, delete them. Or ./install will regenerate them. Date: Fri, 15 Dec 2006 07:23:02 +0000 (GMT) From: sandesh shenoy Subject: [ns] Re install problem To: ns-users at ISI.EDU Message-ID: <20061215072303.36316.qmail at web7814.mail.in.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Hello ns-users, I had looged in some comments in some of files like channel.cc etc.When i executed the script,the statements used to appear.Butdue to some problems,i deleted existing nsallinone-2.28 directory and re installed ns2.28 as given in the website.Now before all path settings are done also if i run ns % appears.Iam not able to figure out the problem.Also statement- "When configured, ns found the right version of tclsh in /root/ns-allinone-2.28/ bin/tclsh8.4 but it doesn't seem to be there anymore, so ns will fall back on running the fir st tclsh in your path. The wrong version of tclsh may break the test suites. Rec onfigure and rebuild ns if this is a problem." appears.And the previous comments entered in .cc files appear whereas now in installed .cc files,those r not there.Please help me out in this regard.Any suggeastions will be most valuable to me. Thanks in advance. --------------------------------- Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW From wg.nsmail at gmail.com Sun Dec 17 17:21:35 2006 From: wg.nsmail at gmail.com (wang gang) Date: Mon, 18 Dec 2006 09:21:35 +0800 Subject: [ns] Video Streaming Simulation Message-ID: I refer you to smallko's work, please google. Message: 5 Date: Sat, 16 Dec 2006 04:22:39 +0800 From: "amran akram" Subject: [ns] Video Streaming Simulation To: ns-users at ISI.EDU Message-ID: Content-Type: text/plain; format=flowed Hi sir I am doing project on video streaming over IP. and want to simulate the video streaming on NS2. but i do not know how to simulate it. could you please tell me the idea how to do it on NS2. Amran Akram _________________________________________________________________ Advertisement: Fresh jobs daily. Stop waiting for the newspaper. Search now! www.seek.com.au http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau&_t=757263760&_r=Hotmail_EndText_Dec06&_m=EXT From itsjustssm at yahoo.co.in Sun Dec 17 21:03:05 2006 From: itsjustssm at yahoo.co.in (sandesh shenoy) Date: Mon, 18 Dec 2006 05:03:05 +0000 (GMT) Subject: [ns] problem while running ns Message-ID: <869879.82180.qm@web7807.mail.in.yahoo.com> Hi, I have created multiple node Bs in Eurane but not able to run the simulations.I feel that the scheduler used is associated with general nodes in ns2.Then in the case of umts,Why the error "couldnt shedule timer "?Could anybody tell me how to implement a new schdeduler or how the scheduler in ns2 works?The problem occurs wen command ns run is executed. Thanks in advance Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php From bluemrdr at hotmail.com Sun Dec 17 23:03:40 2006 From: bluemrdr at hotmail.com (Lars Lars) Date: Mon, 18 Dec 2006 07:03:40 +0000 Subject: [ns] lower than expected throughput for 802.11 CBR simulation In-Reply-To: Message-ID: Hi, my tcl script.... set val(chan) Channel/WirelessChannel ;# channel type set val(prop) Propagation/TwoRayGround ;# radio-propagation model set val(netif) Phy/WirelessPhy ;# network interface type set val(mac) Mac/802_11 ;# MAC type Mac/802_11 set dataRate_ 11Mb ;# Data Rate 11 Mbps Mac/802_11 set basicRate_ 1Mb ;# Basic Rate 1 Mbps Mac/802_11 set SlotTime_ 0.000020 ;# 20us Mac/802_11 set sifs_ 0.000010 ;# 10us Mac/802_11 set PreambleLenght_ 144 ;# 144 bits Mac/802_11 set PLCPHeaderLength_ 48 ;# 48 bits Mac/802_11 set PLCPDataRate_ 1Mb ;# 1Mbps set val(ifq) Queue/DropTail ;# interface queue type/PriQueue set val(ll) LL ;# link layer type set val(ant) Antenna/OmniAntenna ;# antenna model set val(ifqlen) 10 ;# max packet in ifq set val(nn) 2 ;# number of mobilenodes set val(rp) DSDV ;# routing protocol DSDV set ns [new Simulator] $ns color 0 blue $ns color 1 red # set up topography object set topo [new Topography] $topo load_flatgrid 400 200 #Open the trace file set tf [open out.tr w] #$ns use-newtrace $ns trace-all $tf #Open the nam trace file set nf [open out.nam w] $ns namtrace-all-wireless $nf 400 200 # Create God create-god $val(nn) Agent/DSDV set perup_ 15000000 ;# ~ infinite periodic update $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) \ -channelType $val(chan) \ -topoInstance $topo \ #-agentTrace OFF \ -agentTrace ON \ -routerTrace OFF \ -macTrace ON \ -movementTrace OFF # Create and configure nodes set nodeA [$ns node] $nodeA random-motion 0 $nodeA set X_ 100.0 $nodeA set Y_ 100.0 $nodeA set Z_ 0.0 set nodeB [$ns node] $nodeB random-motion 0 $nodeB set X_ 300.0 $nodeB set Y_ 100.0 $nodeB set Z_ 0.0 $ns at 0.0 "$nodeA setdest 100.0 100.0 0.0" $ns at 0.0 "$nodeB setdest 300.0 100.0 0.0" # Setup UDP Connection set udpA [new Agent/UDP] $ns attach-agent $nodeA $udpA $udpA set packetSize_ 1024 set udpSinkB [new Agent/Null] $ns attach-agent $nodeB $udpSinkB $ns connect $udpA $udpSinkB # Setup CBR over UDP Connection set cbrA [new Application/Traffic/CBR] $cbrA attach-agent $udpA $cbrA set type_ CBR $cbrA set packetSize_ 1004 $cbrA set rate_ 11Mb $cbrA set random_ false # Schedule simulation events $ns at 1.0 "$cbrA start" $ns at 31.0 "$cbrA stop" $ns at 31.0000001 "stop" $ns at 31.0000002 "puts \"NS EXITING...\" ; $ns halt" proc stop {} { global ns tf nf $ns flush-trace close $nf close $tf exit 0 } puts "Starting Simulation..." $ns run _________________________________________________________________ Customise your home page with RSS feeds at MSN Ireland! http://ie.msn.com/ From aleemisaleem at rediffmail.com Mon Dec 18 02:56:47 2006 From: aleemisaleem at rediffmail.com (Aleem M.S) Date: 18 Dec 2006 10:56:47 -0000 Subject: [ns] Agent not working Message-ID: <20061218105647.6022.qmail@webmail25.rediffmail.com> Hello everyone! I have installed new TCP agent (TCP-DCR) but i m getting error _036 in my tcl script it says that it cannot create the agent Please help Regards & Thanks Aleem M.S ME-CSE Walchand College Of Engineering, Sangli Call - 09326053389 From brenwilliam at gmail.com Mon Dec 18 03:43:20 2006 From: brenwilliam at gmail.com (Brenda Lindsay Williams) Date: Mon, 18 Dec 2006 12:43:20 +0100 Subject: [ns] Need help on literature review Message-ID: Hi there.I wanna work on a project relating to VOIP networks.I wanna evaluate IP over ATM against IP over Ethernet.I'm working on parameters that affect QoS (Quality of Service) in VOIP networks.I'm gonna evaluating the following parameters; bandwidth consumption packet loss packet delay(latency) jitter traffic thoroughput I'm trying to find if any work has been done on the area(Literature review).Can anyone help?Thanks. From brenwilliam at gmail.com Mon Dec 18 03:52:32 2006 From: brenwilliam at gmail.com (Brenda Lindsay Williams) Date: Mon, 18 Dec 2006 12:52:32 +0100 Subject: [ns] NS patch documentation Message-ID: Can anyone pls link me up to a documentation for developing new protocols for NS?Thanks From pedro.estrela at gmail.com Mon Dec 18 04:23:05 2006 From: pedro.estrela at gmail.com (Pedro Vale Estrela) Date: Mon, 18 Dec 2006 12:23:05 -0000 Subject: [ns] ns-allinone-2.26 installation In-Reply-To: <309959.2593.qm@web8414.mail.in.yahoo.com> Message-ID: <000001c7229f$46718e20$172914ac@Estrela> http://tagus.inesc-id.pt/~pestrela/ns2/ns2_tips.html#_Toc124667338 -----Original Message----- From: Anjali Arora [mailto:anjalimls at yahoo.co.in] Sent: s?bado, 16 de Dezembro de 2006 6:25 To: pedro.estrela at gmail.com Subject: RE: [ns] ns-allinone-2.26 installation thanx & please make it more clear Pedro Vale Estrela wrote: Use older version of your distribution > -----Original Message----- > From: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU] On Behalf > Of Anjali Arora > Sent: quinta-feira, 14 de Dezembro de 2006 13:35 > To: ns-users at ISI.EDU > Subject: [ns] ns-allinone-2.26 installation > > > hello everyone > i have ns-allinone-2.26 and mns-for-2.26.i want to install it on linux > red-hat enterprise edition.but its not working,giving error tk 8.3.2 make > failed.what is the solution or whats another option? > please help me out > anjali > > > --------------------------------- > Find out what India is talking about on - Yahoo! Answers India > Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. > Get it NOW Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php From itsjustssm at yahoo.co.in Mon Dec 18 04:29:54 2006 From: itsjustssm at yahoo.co.in (sandesh shenoy) Date: Mon, 18 Dec 2006 12:29:54 +0000 (GMT) Subject: [ns] C++ debug Message-ID: <710870.20053.qm@web7807.mail.in.yahoo.com> Hello, I have done the initial settings in the file install under ns-allinone directory and run ./install.Later wen i run gdb and try to debug,its giving path filename or directory does not exist.Have i missed out something?Please help me out in this regard.Any suggestions will be helpful for me. Thanks in advance. Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php From ns2car at gmail.com Mon Dec 18 08:20:52 2006 From: ns2car at gmail.com (ns user) Date: Mon, 18 Dec 2006 17:20:52 +0100 Subject: [ns] Giving priority to control messages in ad hoc networks Message-ID: <9598e6d80612180820p1b05b469n2f4c01f18c0cba2@mail.gmail.com> Hello all, I am implementing a protocol for ad hoc networks and I am interested in adding priority of control messages over data messages in mac and physical layers. How can I implement this in ns-2? Thank you in advance. Best regards, Carmen From shailients at gmail.com Mon Dec 18 08:40:36 2006 From: shailients at gmail.com (Shaili Desai) Date: Mon, 18 Dec 2006 11:40:36 -0500 Subject: [ns] Wimax NIST Module-Trace analysis Message-ID: Hello All I am trying to work on WImax NIST module for Scheduling for VoIp application. I would appreciate if someone has worked on it and found how to do the trace analysis of example file.That is they have the example files like l2handover.tcl and others, any ideas on how to get the measures like data rate,latency,jitter. Did anyone try using xgraph or some other tool, cos right now the script generates out.res an that jsu gives the trace file, so I needed to know a method to analyze that trace file. I would appreciate if someone can help. It is bit urgent as I approach the last week of semester. Thanks in advance. -- Thanx Shaili Desai Master's Candidate Telecommunications and Management University of Maryland,College Park,USA From juanmagoga at hotmail.com Mon Dec 18 09:10:40 2006 From: juanmagoga at hotmail.com (juan manuel gomez garcia) Date: Mon, 18 Dec 2006 18:10:40 +0100 Subject: [ns] a simple question Message-ID: Hi ns-users: I don't know what is the difference between Packet::free(p) and drop(p). Thank you for your help. _________________________________________________________________ Descarga gratis la Barra de Herramientas de MSN http://www.msn.es/usuario/busqueda/barra?XAPID=2031&DI=1055&SU=http%3A//www.hotmail.com&HL=LINKTAG1OPENINGTEXT_MSNBH From pedro.estrela at gmail.com Mon Dec 18 10:01:11 2006 From: pedro.estrela at gmail.com (Pedro Vale Estrela) Date: Mon, 18 Dec 2006 18:01:11 -0000 Subject: [ns] a simple question In-Reply-To: Message-ID: <001101c722ce$8089a460$172914ac@Estrela> The first free the memory and doesn't log the drop in the trace file, the second does both (please confirm if it frees the memory) > -----Original Message----- > From: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU] On Behalf > Of juan manuel gomez garcia > Sent: segunda-feira, 18 de Dezembro de 2006 17:11 > To: Ns-users at ISI.EDU > Subject: [ns] a simple question > > > Hi ns-users: > I don't know what is the difference between > > Packet::free(p) and drop(p). > > Thank you for your help. > > _________________________________________________________________ > Descarga gratis la Barra de Herramientas de MSN > http://www.msn.es/usuario/busqueda/barra?XAPID=2031&DI=1055&SU=http%3A//ww > w.hotmail.com&HL=LINKTAG1OPENINGTEXT_MSNBH From bluemrdr at hotmail.com Mon Dec 18 13:46:19 2006 From: bluemrdr at hotmail.com (Lars Lars) Date: Mon, 18 Dec 2006 21:46:19 +0000 Subject: [ns] CBR packet size on 802.11b link Message-ID: Hi, I'm sending 1004 Byte CBR packets using a UDP agent with a packet size of 1024. After the RTS/CTS handshaking is complete I can see the packet sending and receiving. Tracefile extract is below. Why is the cbr packet size 1076 when sending and 1024 when arriving?? L s 1.213410777 _0_ MAC --- 0 RTS 44 r 1.213763444 _1_ MAC --- 0 RTS 44 s 1.213773444 _1_ MAC --- 0 CTS 38 r 1.21407811 _0_ MAC --- 0 CTS 38 s 1.21408811 _0_ MAC --- 267 cbr 1076 r 1.215045868 _1_ MAC --- 267 cbr 1024 _________________________________________________________________ Discover the magic of RSS feeds at MSN Ireland! http://ie.msn.com/ From pedro.estrela at gmail.com Mon Dec 18 14:58:51 2006 From: pedro.estrela at gmail.com (Pedro Vale Estrela) Date: Mon, 18 Dec 2006 22:58:51 -0000 Subject: [ns] CBR packet size on 802.11b link In-Reply-To: Message-ID: <003101c722f8$15b1b4f0$172914ac@Estrela> Good question. You'll get confusing and sometimes conflicting packets sizes when setting it at the agent, transport or application level, but this is at the same layer. Maybe the send is L2 packet size, with l2 headers, and recv is L4 pakcet size without headers Try enabling the RTR and AGT traces Pedro Vale Estrela > -----Original Message----- > From: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU] On Behalf > Of Lars Lars > Sent: segunda-feira, 18 de Dezembro de 2006 21:46 > To: ns-users at ISI.EDU > Subject: [ns] CBR packet size on 802.11b link > > > Hi, > I'm sending 1004 Byte CBR packets using a UDP agent with a packet size of > 1024. After the RTS/CTS handshaking is complete I can see the packet > sending > and receiving. Tracefile extract is below. Why is the cbr packet size 1076 > when sending and 1024 when arriving?? > > L > > > s 1.213410777 _0_ MAC --- 0 RTS 44 > r 1.213763444 _1_ MAC --- 0 RTS 44 > s 1.213773444 _1_ MAC --- 0 CTS 38 > r 1.21407811 _0_ MAC --- 0 CTS 38 > s 1.21408811 _0_ MAC --- 267 cbr 1076 > r 1.215045868 _1_ MAC --- 267 cbr 1024 > > _________________________________________________________________ > Discover the magic of RSS feeds at MSN Ireland! http://ie.msn.com/ From wg.nsmail at gmail.com Mon Dec 18 17:14:58 2006 From: wg.nsmail at gmail.com (wang gang) Date: Tue, 19 Dec 2006 09:14:58 +0800 Subject: [ns] gcc error in Ns-2.29 with setdest.h Message-ID: please what wimax module do you use. I have installed NIST module, but did not meet this problem. wang gang. From wg.nsmail at gmail.com Mon Dec 18 17:20:23 2006 From: wg.nsmail at gmail.com (wang gang) Date: Tue, 19 Dec 2006 09:20:23 +0800 Subject: [ns] re Monitoring PDU progress through layers Message-ID: I think add trace on in your simulator will do, but only part of information you can get. So the direct way is to use debug tools in your simulation, eg. gdb or ddd. Now you can trace everyting you like. wang gang. Message: 4 Date: Sun, 17 Dec 2006 23:53:19 +0000 From: "Lars Lars" Subject: [ns] Monitoring PDU progress through layers To: ns-users at ISI.EDU Message-ID: Content-Type: text/plain; format=flowed Hi, I'm simulating an 802.11 link and I want to monitor a packet as it passes through each layer/sublayer. I want the tracefile to contain an entry for the packet at each layer/sublayer. Is this possible? So far I have entries i my tracefile for packet send by agent, and packet send by mac layer. How can I get more info in the tracefile? From wg.nsmail at gmail.com Mon Dec 18 17:24:01 2006 From: wg.nsmail at gmail.com (wang gang) Date: Tue, 19 Dec 2006 09:24:01 +0800 Subject: [ns] re lower than expected throughput for 802.11 CBR simulation Message-ID: Please paste your simulation script, so we can figure it out. wang gang. Hi, I'm sending CBR data over an 802.11, 2 node link via UDP. I'm getting very low throughput figures (0.25Mbps). I expected more like 5.5 Mbps fro my configuration. Can someone tell me if my expectations are unrealistic or if my configuration is flawed please? My config is as follows: 11Mb data rate 1Mb basic rate 10us SIFS 20uS slottime long preamble 2 stationary nodes 11Mb CBR source with 1000Byte packet size 1024Byte UDP packet size Thank you in advance From yxhhyps at yahoo.com.cn Mon Dec 18 17:32:15 2006 From: yxhhyps at yahoo.com.cn (=?gb2312?q?=CF=E6=BA=CD?=) Date: Tue, 19 Dec 2006 09:32:15 +0800 (CST) Subject: [ns] can't trace event Message-ID: <20061219013215.9486.qmail@web15610.mail.cnb.yahoo.com> Hi sir: In my simulation, I can't trace all event happened. I use the following scripts to trace: set LStr [open ls.tr w] $ns trace-all $LStr set LSnam [open ls.nam w] $ns namtrace-all $LSnam proc finish {} { global ns LStr LSnam $ns flush-trace close $LStr $ns flush-trace close $LSnam puts "is ok" exit 0 } the first half works well, but when "$ns rtmodel-at 2.55 down $n3 $n6" happened. nothing was traced. Why? Thanks Yang __________________________________________________ ¸Ï¿ì×¢²áÑÅ»¢³¬´óÈÝÁ¿Ãâ·ÑÓÊÏä? http://cn.mail.yahoo.com From wg.nsmail at gmail.com Mon Dec 18 18:00:04 2006 From: wg.nsmail at gmail.com (wang gang) Date: Tue, 19 Dec 2006 10:00:04 +0800 Subject: [ns] lower than expected throughput for 802.11 CBR Message-ID: 2 problems in your simulation, I think (1) not use PriQueue, so routing message not get priority. (2) ifqlen is set too small, so routing message can be always dropped. that can lead to your poor results. wang gang. Hi, my tcl script.... set val(chan) Channel/WirelessChannel ;# channel type set val(prop) Propagation/TwoRayGround ;# radio-propagation model set val(netif) Phy/WirelessPhy ;# network interface type set val(mac) Mac/802_11 ;# MAC type Mac/802_11 set dataRate_ 11Mb ;# Data Rate 11 Mbps Mac/802_11 set basicRate_ 1Mb ;# Basic Rate 1 Mbps Mac/802_11 set SlotTime_ 0.000020 ;# 20us Mac/802_11 set sifs_ 0.000010 ;# 10us Mac/802_11 set PreambleLenght_ 144 ;# 144 bits Mac/802_11 set PLCPHeaderLength_ 48 ;# 48 bits Mac/802_11 set PLCPDataRate_ 1Mb ;# 1Mbps set val(ifq) Queue/DropTail ;# interface queue type/PriQueue set val(ll) LL ;# link layer type set val(ant) Antenna/OmniAntenna ;# antenna model set val(ifqlen) 10 ;# max packet in ifq set val(nn) 2 ;# number of mobilenodes set val(rp) DSDV ;# routing protocol DSDV set ns [new Simulator] $ns color 0 blue $ns color 1 red # set up topography object set topo [new Topography] $topo load_flatgrid 400 200 #Open the trace file set tf [open out.tr w] #$ns use-newtrace $ns trace-all $tf #Open the nam trace file set nf [open out.nam w] $ns namtrace-all-wireless $nf 400 200 # Create God create-god $val(nn) Agent/DSDV set perup_ 15000000 ;# ~ infinite periodic update $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) \ -channelType $val(chan) \ -topoInstance $topo \ #-agentTrace OFF \ -agentTrace ON \ -routerTrace OFF \ -macTrace ON \ -movementTrace OFF # Create and configure nodes set nodeA [$ns node] $nodeA random-motion 0 $nodeA set X_ 100.0 $nodeA set Y_ 100.0 $nodeA set Z_ 0.0 set nodeB [$ns node] $nodeB random-motion 0 $nodeB set X_ 300.0 $nodeB set Y_ 100.0 $nodeB set Z_ 0.0 $ns at 0.0 "$nodeA setdest 100.0 100.0 0.0" $ns at 0.0 "$nodeB setdest 300.0 100.0 0.0" # Setup UDP Connection set udpA [new Agent/UDP] $ns attach-agent $nodeA $udpA $udpA set packetSize_ 1024 set udpSinkB [new Agent/Null] $ns attach-agent $nodeB $udpSinkB $ns connect $udpA $udpSinkB # Setup CBR over UDP Connection set cbrA [new Application/Traffic/CBR] $cbrA attach-agent $udpA $cbrA set type_ CBR $cbrA set packetSize_ 1004 $cbrA set rate_ 11Mb $cbrA set random_ false # Schedule simulation events $ns at 1.0 "$cbrA start" $ns at 31.0 "$cbrA stop" $ns at 31.0000001 "stop" $ns at 31.0000002 "puts \"NS EXITING...\" ; $ns halt" proc stop {} { global ns tf nf $ns flush-trace close $nf close $tf exit 0 } puts "Starting Simulation..." $ns run _________________________________________________________________ Customise your home page with RSS feeds at MSN Ireland! http://ie.msn.com/ From itsjustssm at yahoo.co.in Tue Dec 19 00:56:36 2006 From: itsjustssm at yahoo.co.in (sandesh shenoy) Date: Tue, 19 Dec 2006 08:56:36 +0000 (GMT) Subject: [ns] debugging Message-ID: <22848.73529.qm@web7815.mail.in.yahoo.com> Hello, Is tre a way i can debug c++ part of my tcl script.Tcl debugger does not go to c++ part.suppose i want to debug scheduler::run() in the .cc code,then wat i have to do?Referring to a previous ns FAQs,i initialized some makefiles and CFLAGS.But that is not working out.Whenever i give run in gdb,it gives starting program:"path" but then it gives file or directory not found,does not exist.Why is that? Any suggestion will be valuable to me.I have been able to progress a lot because of ns users' help.Thanks a lot for that. Thanks in advance. Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php From sayazim at yahoo.com Tue Dec 19 03:36:17 2006 From: sayazim at yahoo.com (Serkan Ayaz) Date: Tue, 19 Dec 2006 03:36:17 -0800 (PST) Subject: [ns] NS-2 Simulation Performance Message-ID: <20061219113618.18777.qmail@web31415.mail.mud.yahoo.com> Hi All, I wan to run a simulation with more than 500/1000 mobile nodes. How can I accelerate ns-2 performance? Thnks, Serkan __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From brenwilliam at gmail.com Tue Dec 19 04:12:51 2006 From: brenwilliam at gmail.com (Brenda Lindsay Williams) Date: Tue, 19 Dec 2006 13:12:51 +0100 Subject: [ns] Concerning IP over ATM & IP over Ethernet. Message-ID: Hi my fellow nsers.....I want to know if anyone has done any work on IP over ATM or IP over Ethernet.I'm currently carrying out a Literature review.I'm looking for work done on to area.I want to know the advantages and disadvantages of both networking technology.I want to start work on a project relating to both of them so I need to know the state of curent work done on both of them as it will enable me define the scope of the work I'm about to carry out.Thanks a lot and best regaards. Brenda From shahatha2003 at yahoo.de Tue Dec 19 05:09:15 2006 From: shahatha2003 at yahoo.de (Shahatha) Date: Tue, 19 Dec 2006 14:09:15 +0100 (CET) Subject: [ns] Multi-channel Multi-interface extention hyacinth for NS-2.29 In-Reply-To: <913ee3170612121742w7b6dc24tc91c364c786aa677@mail.gmail.com> Message-ID: <20061219130916.81413.qmail@web37213.mail.mud.yahoo.com> Hi, Ive adapt the extension in (hyacinth for NS-2.29): http://my.opera.com/HenryFD/blog/show.dml/270422 and it works successful. but i still have other questions about the extesion. in simple.tcl you can see: --------------------------------------------------- set chan_1_ [new $val(chan)] set chan_11_ [new $val(chan)] set chan_6_ [new $val(chan)] . . $ns_ node-config -channel $chan_6_ \ -channelincome $chan_11_\ -channeloutcome $chan_1_ --------------------------------------------------- 1. what is the useage of -channel ? 2. is channelincome is used for sending apaket and channeloutcome for receiving the ACK? at 802.11b we have in europe 11 Channel. 3. how can i control in wich channel i send a paket and in wich channel i receive the ACK? thank in advice --------------------------------- Der neue Internet Explorer 7 in deutscher Ausf?hrung ist da! From aritra.besu at gmail.com Tue Dec 19 07:00:40 2006 From: aritra.besu at gmail.com (aritra pal) Date: Tue, 19 Dec 2006 20:30:40 +0530 Subject: [ns] how to run makefile & makedepend? Message-ID: hi all, i have created a new data packet format to use it as an agent.inamed it packet1.now after creating the requisite packety.h, packet.cc files,i want to incorporate it in the ns.for this i edited the packet.h, makefile files.now it is recommended to run the makefile & makedepend files.pleasecan someone help me on how to do this??thanks in advance, -aritra. From shailients at gmail.com Tue Dec 19 08:26:44 2006 From: shailients at gmail.com (Shaili Desai) Date: Tue, 19 Dec 2006 11:26:44 -0500 Subject: [ns] Trace analysis-with Source modification in Wimax simulation Message-ID: Hello all I am trying to do the traceanalysis by source modifciation as explained in below link method 2: http://140.116.72.80/~smallko/ns2/tool_en.htm Has anyone tried doing it that way? In my case it compiles just fine and the script runs and gives the right results also, but the send and receive file created sd and rd are blank.Doesnt show any trace, so main purpose not solved. Following are my changes in the script to create the new agent as explained in the above link after all compilations has been done after source modification. for {set i 0} {$i < $val(nn_bs0)} {incr i} { # a mUDP connection set udp($i) [new Agent/mUDP] #set the sender trace file name(sd) $udp set_filename sd $ns_ attach-agent $node_($i) $udp($i) set null($i) [new Agent/mUdpSink] #set the receiver trace file name(rd) $null set_filename rd $ns_ attach-agent $BS(0) $null($i) $ns_ connect $udp($i) $null($i) } I would appreciate any help/suggestions on this as it is kind of urgent for my semester deadline. THanks much. -- Thanx Shaili Desai Master's Candidate Telecommunications and Management University of Maryland,College Park,USA From bluemrdr at hotmail.com Tue Dec 19 10:06:59 2006 From: bluemrdr at hotmail.com (Lars Lars) Date: Tue, 19 Dec 2006 18:06:59 +0000 Subject: [ns] CBR packet size on 802.11b link In-Reply-To: <003101c722f8$15b1b4f0$172914ac@Estrela> Message-ID: Hi Pedro, what do you mean by L2 & L4 packet size? I enabled RTR & AGT. As far as I understand, the AGT trace shows the packet as it's generated by the agent(in this case UDP. I that correct? What does the RTR trace show? it's got the exact same packet size and timestamp as my AGT trace? It's not any clearer why the received packet at node1 is smaller than the sent packet at node0? Richard >From: "Pedro Vale Estrela" >Reply-To: pedro.estrela at gmail.com >To: "'Lars Lars'" , >Subject: Re: [ns] CBR packet size on 802.11b link >Date: Mon, 18 Dec 2006 22:58:51 -0000 > > > > >Good question. You'll get confusing and sometimes conflicting packets sizes >when setting it at the agent, transport or application level, but this is >at >the same layer. > >Maybe the send is L2 packet size, with l2 headers, and recv is L4 pakcet >size without headers >Try enabling the RTR and AGT traces > >Pedro Vale Estrela > > > > -----Original Message----- > > From: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU] On >Behalf > > Of Lars Lars > > Sent: segunda-feira, 18 de Dezembro de 2006 21:46 > > To: ns-users at ISI.EDU > > Subject: [ns] CBR packet size on 802.11b link > > > > > > Hi, > > I'm sending 1004 Byte CBR packets using a UDP agent with a packet size >of > > 1024. After the RTS/CTS handshaking is complete I can see the packet > > sending > > and receiving. Tracefile extract is below. Why is the cbr packet size >1076 > > when sending and 1024 when arriving?? > > > > L > > > > > > s 1.213410777 _0_ MAC --- 0 RTS 44 > > r 1.213763444 _1_ MAC --- 0 RTS 44 > > s 1.213773444 _1_ MAC --- 0 CTS 38 > > r 1.21407811 _0_ MAC --- 0 CTS 38 > > s 1.21408811 _0_ MAC --- 267 cbr 1076 > > r 1.215045868 _1_ MAC --- 267 cbr 1024 > > > > _________________________________________________________________ > > Discover the magic of RSS feeds at MSN Ireland! http://ie.msn.com/ > > _________________________________________________________________ Find a baby-sitter FAST with MSN Search! http://search.msn.ie/ From s_gazal at hotmail.com Tue Dec 19 12:04:12 2006 From: s_gazal at hotmail.com (s. gazal) Date: Tue, 19 Dec 2006 20:04:12 +0000 Subject: [ns] ns-2.29 under cygwin Message-ID: Dear all , I was trying to install ns-2.29 under windows XP, while I faced the follwing problem : "checking system version (for dynamic loading)... ./configure: line 7624: syntax error near unexpected token ')' ./configure: line 7624: ' OSF*)' tcl8.3.2 configuration failed! Exiting ... Tcl is not part of the ns project. Please see www.Scriptics.com to see if they have a fix for your problem." please , can anyone help me solving this problem? thanks in advance sahar _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ From shailients at gmail.com Tue Dec 19 13:35:31 2006 From: shailients at gmail.com (Shaili Desai) Date: Tue, 19 Dec 2006 16:35:31 -0500 Subject: [ns] AWK Problem-Urgent Message-ID: Following is the error I am getting when running the attached awk file. awk: measure-loss.awk:2: 'in expressionss.awk:2: ^ invalid char ' I gave the command awk -f measure-loss.awk pmp.tr Following is the sample record from my pmp.tr file: s 1.375051200 _0_ AGT --- 0 cbr 512 [] ------- [1:0 0:0 32 0] [0] 0 0 r 2.000054006 _1_ AGT --- 0 cbr 512 [] ------- [1:0 0:0 32 0] [0] 0 0 and I am pasting below the measure-loss.awk file: It is used to calculate pakcet loss: BEGIN { # Initialization. Set two variables. fsDrops: packets drop. numFs: packets sent fsDrops = 0; numFs = 0; numFr = 0; } { action = $1; time = $2; from = $3; to = $4; type = $5; pktsize = $6; flow_id = $8; src = $9; dst = $10; seq_no = $11; packet_id = $12; if (from==0 && to==AGT && action == "s") numFs++; if (from==1 && to==AGT && action == "r") numFr++; fsDrops= numFs-numFr; } END { printf("number of packets sent:%d lost:%d\n", numFs, fsDrops); } Can anyone suggest me on what could have been the mistake? I would appreciate if someone can help me as it is very urgent. THanks in advance. Thanx Shaili Desai Master's Candidate Telecommunications and Management University of Maryland,College Park,USA From bluemrdr at hotmail.com Tue Dec 19 14:28:42 2006 From: bluemrdr at hotmail.com (Lars Lars) Date: Tue, 19 Dec 2006 22:28:42 +0000 Subject: [ns] TCP over 802.11b dropping ACKs Message-ID: Hi, I've a 2-node(static) wireless link(802.11b). The tracefile is showing me that ACK packets being sent from node1 to node0 are being dropped(which is OK), however, the fourth column in the tracefile is IFQ which implies that these packets are being dropped due to the ifq. How can this be? PAckets on the return path don't enter a queue at any point surely??? My simulation is transferring FTP data from node0 to node1. The TCP agent is on node0 and the sink is on node1. below is a section from my trace file. What does IFQ mean in column 4. If (as I understand it) this means that these packets are being dropped by the ifq, then why is there an IFQ on the return path as all the traffic is going from node0 to node1? (My simulation script is below also). Thanks L D 30.32288741 _0_ IFQ --- 15598 tcp 1084 [0 D 30.34824777 _0_ IFQ --- 15611 tcp 1084 [0 D 30.62936723 _1_ IFQ --- 15759 ack 60 [0 D 30.6869282 _1_ IFQ --- 15792 ack 60 [0 D 30.70534317 _1_ IFQ --- 15801 ack 60 [0 D 30.72629153 _1_ IFQ --- 15813 ack 60 [0 set val(chan) Channel/WirelessChannel ;# channel type set val(prop) Propagation/TwoRayGround ;# radio-propagation model set val(netif) Phy/WirelessPhy ;# network interface type set val(mac) Mac/802_11 ;# MAC type Mac/802_11 set dataRate_ 11Mb ;# Data Rate 11 Mbps Mac/802_11 set basicRate_ 1Mb ;# Basic Rate 1 Mbps # Mac/802_11 set RTSThreshold_ 3000 ;# Turn off RTS / CTS Mac/802_11 set SlotTime_ 0.000020 ;# 20us Mac/802_11 set sifs_ 0.000010 ;# 10us Mac/802_11 set PreambleLenght_ 144 ;# 144 bits Mac/802_11 set PLCPHeaderLength_ 48 ;# 48 bits Mac/802_11 set PLCPDataRate_ 1Mb ;# 1Mbps set val(ifq) Queue/DropTail ;# interface queue type/PriQueue set val(ll) LL ;# link layer type set val(ant) Antenna/OmniAntenna ;# antenna model set val(ifqlen) 10 ;# max packet in ifq set val(nn) 2 ;# number of mobilenodes set val(rp) DSDV ;# routing protocol DSDV set ns [new Simulator] $ns color 0 blue $ns color 1 red # set up topography object set topo [new Topography] $topo load_flatgrid 400 200 #Open the trace file set tf [open out.tr w] $ns trace-all $tf #Open the nam trace file set nf [open out.nam w] $ns namtrace-all-wireless $nf 400 200 # Create God create-god $val(nn) Agent/DSDV set perup_ 15000000 ;# ~ infinite periodic update $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) \ -channelType $val(chan) \ -topoInstance $topo \ -agentTrace OFF \ -routerTrace OFF \ -macTrace ON \ -movementTrace OFF # Create and configure nodes set nodeA [$ns node] $nodeA random-motion 0 $nodeA set X_ 100.0 $nodeA set Y_ 100.0 $nodeA set Z_ 0.0 set nodeB [$ns node] $nodeB random-motion 0 $nodeB set X_ 300.0 $nodeB set Y_ 100.0 $nodeB set Z_ 0.0 $ns at 0.0 "$nodeA setdest 100.0 100.0 0.0" $ns at 0.0 "$nodeB setdest 300.0 100.0 0.0" # Setup TCP Connection set tcpA [new Agent/TCP] $ns attach-agent $nodeA $tcpA $tcpA set packetSize_ 1024 set tcpSinkB [new Agent/TCPSink] $ns attach-agent $nodeB $tcpSinkB $ns connect $tcpA $tcpSinkB # Setup FTP over TCP Connection set ftpA [new Application/FTP] $ftpA attach-agent $tcpA $ftpA set type_ FTP # Schedule simulation events $ns at 1.0 "$ftpA start" $ns at 31.0 "$ftpA stop" $ns at 31.0000001 "stop" $ns at 31.0000002 "puts \"NS EXITING...\" ; $ns halt" proc stop {} { global ns tf nf $ns flush-trace close $nf close $tf exit 0 } puts "Starting Simulation..." $ns run _________________________________________________________________ Find accommodation FAST with MSN Search! http://search.msn.ie/ From waldecktorres at bol.com.br Tue Dec 19 15:07:09 2006 From: waldecktorres at bol.com.br (Waldeck Torres) Date: Tue, 19 Dec 2006 21:07:09 -0200 Subject: [ns] RES: NS-2 Simulation Performance In-Reply-To: <20061219113618.18777.qmail@web31415.mail.mud.yahoo.com> Message-ID: Hi Serkan What you mean with ns-2 performance ? Computational Processing Capacity ? Routing protocol efficiency ? Please clarify. Waldeck Torres -----Mensagem original----- De: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU] Em nome de Serkan Ayaz Enviada em: ter?a-feira, 19 de dezembro de 2006 09:36 Para: nsusers Assunto: [ns] NS-2 Simulation Performance Hi All, I wan to run a simulation with more than 500/1000 mobile nodes. How can I accelerate ns-2 performance? Thnks, Serkan __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From bluemrdr at hotmail.com Tue Dec 19 15:43:11 2006 From: bluemrdr at hotmail.com (Lars Lars) Date: Tue, 19 Dec 2006 23:43:11 +0000 Subject: [ns] TCP over 802.11b dropping ACKs In-Reply-To: <0JAJ00GYGMYJO0O0@groucho.mail.uwo.pri> Message-ID: Hi Dan, still getting dropped ACKS from node1 with column4=IFQ, indicating dropped because of queue??? Is tis some sort of NS error? Am I correct in thinking that this isn't a feature of the network/protocol and it should be ignored in my analysis? L >From: Dan Dechene >To: 'Lars Lars' >Subject: RE: [ns] TCP over 802.11b dropping ACKs >Date: Tue, 19 Dec 2006 18:06:43 -0500 > >This shouldn't happen. However try: > >Queue/DropTail/PriQueue as interface queue type instead of Queue/DropTail > >Dan Dechene, B.Eng. > >-----Original Message----- >From: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU] On Behalf >Of Lars Lars >Sent: Tuesday, December 19, 2006 5:29 PM >To: ns-users at ISI.EDU >Subject: [ns] TCP over 802.11b dropping ACKs > > >Hi, > I've a 2-node(static) wireless link(802.11b). The tracefile is showing >me >that ACK packets being sent from node1 to node0 are being dropped(which is >OK), however, the fourth column in the tracefile is IFQ which implies that >these packets are being dropped due to the ifq. How can this be? PAckets on >the return path don't enter a queue at any point surely??? My simulation is >transferring FTP data from node0 to node1. The TCP agent is on node0 and >the > >sink is on node1. below is a section from my trace file. What does IFQ mean >in column 4. If (as I understand it) this means that these packets are >being > >dropped by the ifq, then why is there an IFQ on the return path as all the >traffic is going from node0 to node1? (My simulation script is below also). > >Thanks > >L > >D 30.32288741 _0_ IFQ --- 15598 tcp 1084 [0 >D 30.34824777 _0_ IFQ --- 15611 tcp 1084 [0 >D 30.62936723 _1_ IFQ --- 15759 ack 60 [0 >D 30.6869282 _1_ IFQ --- 15792 ack 60 [0 >D 30.70534317 _1_ IFQ --- 15801 ack 60 [0 >D 30.72629153 _1_ IFQ --- 15813 ack 60 [0 > > >set val(chan) Channel/WirelessChannel ;# channel type >set val(prop) Propagation/TwoRayGround ;# radio-propagation >model >set val(netif) Phy/WirelessPhy ;# network interface >type >set val(mac) Mac/802_11 ;# MAC type > Mac/802_11 set dataRate_ 11Mb ;# Data Rate >11 Mbps > Mac/802_11 set basicRate_ 1Mb ;# Basic >Rate 1 Mbps ># Mac/802_11 set RTSThreshold_ 3000 ;# Turn off >RTS / CTS > Mac/802_11 set SlotTime_ 0.000020 ;# 20us > Mac/802_11 set sifs_ 0.000010 ;# 10us > Mac/802_11 set PreambleLenght_ 144 ;# 144 bits > Mac/802_11 set PLCPHeaderLength_ 48 ;# 48 bits > Mac/802_11 set PLCPDataRate_ 1Mb ;# 1Mbps > >set val(ifq) Queue/DropTail ;# interface queue type/PriQueue >set val(ll) LL ;# link layer type >set val(ant) Antenna/OmniAntenna ;# antenna model >set val(ifqlen) 10 ;# max packet in ifq >set val(nn) 2 ;# number of mobilenodes >set val(rp) DSDV ;# routing protocol DSDV > >set ns [new Simulator] > >$ns color 0 blue >$ns color 1 red > ># set up topography object >set topo [new Topography] >$topo load_flatgrid 400 200 > >#Open the trace file >set tf [open out.tr w] >$ns trace-all $tf > >#Open the nam trace file >set nf [open out.nam w] >$ns namtrace-all-wireless $nf 400 200 > ># Create God >create-god $val(nn) > >Agent/DSDV set perup_ 15000000 ;# ~ infinite periodic update > > $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) \ > -channelType $val(chan) \ > -topoInstance $topo \ > -agentTrace OFF \ > -routerTrace OFF \ > -macTrace ON \ > -movementTrace OFF > > > ># Create and configure nodes >set nodeA [$ns node] >$nodeA random-motion 0 >$nodeA set X_ 100.0 >$nodeA set Y_ 100.0 >$nodeA set Z_ 0.0 > >set nodeB [$ns node] >$nodeB random-motion 0 >$nodeB set X_ 300.0 >$nodeB set Y_ 100.0 >$nodeB set Z_ 0.0 > >$ns at 0.0 "$nodeA setdest 100.0 100.0 0.0" >$ns at 0.0 "$nodeB setdest 300.0 100.0 0.0" > > ># Setup TCP Connection >set tcpA [new Agent/TCP] >$ns attach-agent $nodeA $tcpA >$tcpA set packetSize_ 1024 >set tcpSinkB [new Agent/TCPSink] >$ns attach-agent $nodeB $tcpSinkB > >$ns connect $tcpA $tcpSinkB > ># Setup FTP over TCP Connection >set ftpA [new Application/FTP] >$ftpA attach-agent $tcpA >$ftpA set type_ FTP > ># Schedule simulation events > >$ns at 1.0 "$ftpA start" >$ns at 31.0 "$ftpA stop" >$ns at 31.0000001 "stop" >$ns at 31.0000002 "puts \"NS EXITING...\" ; $ns halt" > >proc stop {} { > global ns tf nf > $ns flush-trace > close $nf > close $tf > exit 0 >} > >puts "Starting Simulation..." >$ns run > >_________________________________________________________________ >Find accommodation FAST with MSN Search! http://search.msn.ie/ > _________________________________________________________________ Find a baby-sitter FAST with MSN Search! http://search.msn.ie/ From iinan at eecs.uci.edu Tue Dec 19 17:04:16 2006 From: iinan at eecs.uci.edu (inanc inan) Date: Tue, 19 Dec 2006 17:04:16 -0800 Subject: [ns] TCP over 802.11b dropping ACKs Message-ID: <001801c723d2$c880d860$b2b1c380@kumquat> FTP is modeled as bulk data transfer, so in your case the source data rate is larger than available 11b bandwidth. ACKs at node 1 are dropped since IFQ becomes full after some point in time (dropped from tail). If you may increase the IFQ length or use another type agent, you may decrease the probability of such drops. Cheers, Inanc -----Original Message----- From: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU] On Behalf Of Lars Lars Sent: Tuesday, December 19, 2006 3:43 PM To: ddechene at uwo.ca Cc: ns-users at ISI.EDU Subject: Re: [ns] TCP over 802.11b dropping ACKs Hi Dan, still getting dropped ACKS from node1 with column4=IFQ, indicating dropped because of queue??? Is tis some sort of NS error? Am I correct in thinking that this isn't a feature of the network/protocol and it should be ignored in my analysis? L >From: Dan Dechene >To: 'Lars Lars' >Subject: RE: [ns] TCP over 802.11b dropping ACKs >Date: Tue, 19 Dec 2006 18:06:43 -0500 > >This shouldn't happen. However try: > >Queue/DropTail/PriQueue as interface queue type instead of Queue/DropTail > >Dan Dechene, B.Eng. > >-----Original Message----- >From: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU] On Behalf >Of Lars Lars >Sent: Tuesday, December 19, 2006 5:29 PM >To: ns-users at ISI.EDU >Subject: [ns] TCP over 802.11b dropping ACKs > > >Hi, > I've a 2-node(static) wireless link(802.11b). The tracefile is showing >me >that ACK packets being sent from node1 to node0 are being dropped(which is >OK), however, the fourth column in the tracefile is IFQ which implies that >these packets are being dropped due to the ifq. How can this be? PAckets on >the return path don't enter a queue at any point surely??? My simulation is >transferring FTP data from node0 to node1. The TCP agent is on node0 and >the > >sink is on node1. below is a section from my trace file. What does IFQ mean >in column 4. If (as I understand it) this means that these packets are >being > >dropped by the ifq, then why is there an IFQ on the return path as all the >traffic is going from node0 to node1? (My simulation script is below also). > >Thanks > >L > >D 30.32288741 _0_ IFQ --- 15598 tcp 1084 [0 >D 30.34824777 _0_ IFQ --- 15611 tcp 1084 [0 >D 30.62936723 _1_ IFQ --- 15759 ack 60 [0 >D 30.6869282 _1_ IFQ --- 15792 ack 60 [0 >D 30.70534317 _1_ IFQ --- 15801 ack 60 [0 >D 30.72629153 _1_ IFQ --- 15813 ack 60 [0 > > >set val(chan) Channel/WirelessChannel ;# channel type >set val(prop) Propagation/TwoRayGround ;# radio-propagation >model >set val(netif) Phy/WirelessPhy ;# network interface >type >set val(mac) Mac/802_11 ;# MAC type > Mac/802_11 set dataRate_ 11Mb ;# Data Rate >11 Mbps > Mac/802_11 set basicRate_ 1Mb ;# Basic >Rate 1 Mbps ># Mac/802_11 set RTSThreshold_ 3000 ;# Turn off >RTS / CTS > Mac/802_11 set SlotTime_ 0.000020 ;# 20us > Mac/802_11 set sifs_ 0.000010 ;# 10us > Mac/802_11 set PreambleLenght_ 144 ;# 144 bits > Mac/802_11 set PLCPHeaderLength_ 48 ;# 48 bits > Mac/802_11 set PLCPDataRate_ 1Mb ;# 1Mbps > >set val(ifq) Queue/DropTail ;# interface queue type/PriQueue >set val(ll) LL ;# link layer type >set val(ant) Antenna/OmniAntenna ;# antenna model >set val(ifqlen) 10 ;# max packet in ifq >set val(nn) 2 ;# number of mobilenodes >set val(rp) DSDV ;# routing protocol DSDV > >set ns [new Simulator] > >$ns color 0 blue >$ns color 1 red > ># set up topography object >set topo [new Topography] >$topo load_flatgrid 400 200 > >#Open the trace file >set tf [open out.tr w] >$ns trace-all $tf > >#Open the nam trace file >set nf [open out.nam w] >$ns namtrace-all-wireless $nf 400 200 > ># Create God >create-god $val(nn) > >Agent/DSDV set perup_ 15000000 ;# ~ infinite periodic update > > $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) \ > -channelType $val(chan) \ > -topoInstance $topo \ > -agentTrace OFF \ > -routerTrace OFF \ > -macTrace ON \ > -movementTrace OFF > > > ># Create and configure nodes >set nodeA [$ns node] >$nodeA random-motion 0 >$nodeA set X_ 100.0 >$nodeA set Y_ 100.0 >$nodeA set Z_ 0.0 > >set nodeB [$ns node] >$nodeB random-motion 0 >$nodeB set X_ 300.0 >$nodeB set Y_ 100.0 >$nodeB set Z_ 0.0 > >$ns at 0.0 "$nodeA setdest 100.0 100.0 0.0" >$ns at 0.0 "$nodeB setdest 300.0 100.0 0.0" > > ># Setup TCP Connection >set tcpA [new Agent/TCP] >$ns attach-agent $nodeA $tcpA >$tcpA set packetSize_ 1024 >set tcpSinkB [new Agent/TCPSink] >$ns attach-agent $nodeB $tcpSinkB > >$ns connect $tcpA $tcpSinkB > ># Setup FTP over TCP Connection >set ftpA [new Application/FTP] >$ftpA attach-agent $tcpA >$ftpA set type_ FTP > ># Schedule simulation events > >$ns at 1.0 "$ftpA start" >$ns at 31.0 "$ftpA stop" >$ns at 31.0000001 "stop" >$ns at 31.0000002 "puts \"NS EXITING...\" ; $ns halt" > >proc stop {} { > global ns tf nf > $ns flush-trace > close $nf > close $tf > exit 0 >} > >puts "Starting Simulation..." >$ns run > >_________________________________________________________________ >Find accommodation FAST with MSN Search! http://search.msn.ie/ > _________________________________________________________________ Find a baby-sitter FAST with MSN Search! http://search.msn.ie/ From leizh at mail.ustc.edu.cn Tue Dec 19 18:25:51 2006 From: leizh at mail.ustc.edu.cn (Lei Zhang) Date: Wed, 20 Dec 2006 10:25:51 +0800 Subject: [ns] How to set dynamic BER in 802.11 networks Message-ID: <366581551.11878@ustc.edu.cn> hi,everyone! I want to simulate packet loss in wireless multi-hop network now. The BER is a variable value when the simulation run. But I don't know how to set the BER dynamically. As I know, There are only one fixed BER in a simulation. I hope the BER is time-varying and link-varying, that is BER of each link is different and BER in each minite is different! Can u give me some advice? Thanks a lot! best regards Lei Zhang From khaulah_tc at yahoo.com Wed Dec 20 01:06:48 2006 From: khaulah_tc at yahoo.com (Nur Aini Rakhmawati) Date: Wed, 20 Dec 2006 01:06:48 -0800 (PST) Subject: [ns] ns-2.29 under cygwin Message-ID: <20061220090648.91853.qmail@web38005.mail.mud.yahoo.com> change this line system=MP-RAS-`awk '{print }' /etc/.relid'` become system=MP-RAS-`awk '{print }' /etc/.relid` you can find this in configure file ----- Original Message ---- From: s. gazal To: ns-users at ISI.EDU Sent: Wednesday, December 20, 2006 4:04:12 AM Subject: [ns] ns-2.29 under cygwin Dear all , I was trying to install ns-2.29 under windows XP, while I faced the follwing problem : "checking system version (for dynamic loading)... ./configure: line 7624: syntax error near unexpected token ')' ./configure: line 7624: ' OSF*)' tcl8.3.2 configuration failed! Exiting ... Tcl is not part of the ns project. Please see www.Scriptics.com to see if they have a fix for your problem." please , can anyone help me solving this problem? thanks in advance sahar _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From bluemrdr at hotmail.com Wed Dec 20 03:19:34 2006 From: bluemrdr at hotmail.com (Lars Lars) Date: Wed, 20 Dec 2006 11:19:34 +0000 Subject: [ns] 80211b send & receive: differences in packet sizes? Message-ID: Hi, I've two simulations, both over 802.11b networks and in both simulations, my sent packets are consistently 52Bytes larger then the receive packets?? Below is a section of out.tr for the TCP simulation? Can anyone explain the differences in sent & received packet sizes? Thanks L s 1.281090923 _1_ MAC --- 0 CTS 38 r 1.28139559 _0_ MAC --- 0 CTS 38 s 1.28140559 _0_ MAC --- 97 tcp 1136 r 1.282406984 _1_ MAC --- 97 tcp 1084 s 1.282416984 _1_ MAC --- 0 ACK 38 _________________________________________________________________ Customise your home page with RSS feeds at MSN Ireland! http://ie.msn.com/ From pedro.estrela at gmail.com Wed Dec 20 06:30:46 2006 From: pedro.estrela at gmail.com (Pedro Vale Estrela) Date: Wed, 20 Dec 2006 14:30:46 -0000 Subject: [ns] debugging In-Reply-To: <22848.73529.qm@web7815.mail.in.yahoo.com> Message-ID: <004c01c72443$6fec62c0$172914ac@Estrela> check http://tagus.inesc-id.pt/~pestrela/ns2/ns2_debugging.html > -----Original Message----- > From: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU] On Behalf > Of sandesh shenoy > Sent: ter?a-feira, 19 de Dezembro de 2006 8:57 > To: nsusers > Subject: [ns] debugging > > > Hello, > Is tre a way i can debug c++ part of my tcl script.Tcl > debugger does not go to c++ part.suppose i want to debug scheduler::run() > in the .cc code,then wat i have to do?Referring to a previous ns FAQs,i > initialized some makefiles and CFLAGS.But that is not working out.Whenever > i give run in gdb,it gives starting program:"path" but then it gives file > or directory not found,does not exist.Why is that? Any suggestion will be > valuable to me.I have been able to progress a lot because of ns users' > help.Thanks a lot for that. > > Thanks in advance. > > Send free SMS to your Friends on Mobile from your Yahoo! Messenger. > Download Now! http://messenger.yahoo.com/download.php From s_gazal at hotmail.com Wed Dec 20 06:41:46 2006 From: s_gazal at hotmail.com (s. gazal) Date: Wed, 20 Dec 2006 14:41:46 +0000 Subject: [ns] ns-2.29 under cygwin In-Reply-To: <20061220090648.91853.qmail@web38005.mail.mud.yahoo.com> Message-ID: Dear Nur, I found this line in the configuration file which exists in the directory ~ns-allinone2.29\tcl-1.11 I changed the line as indicated, but it didn't work. I still have the same error msg. were you talking about another configure file ? if yes, may you give me the exact path ? any other suggestions ? thanks sahar >From: Nur Aini Rakhmawati >To: "s. gazal" , ns-users at ISI.EDU >Subject: Re: [ns] ns-2.29 under cygwin >Date: Wed, 20 Dec 2006 01:06:48 -0800 (PST) > >change this line > >system=MP-RAS-`awk '{print }' /etc/.relid'` > >become > >system=MP-RAS-`awk '{print }' /etc/.relid` > >you can find this in configure file > >----- Original Message ---- >From: s. gazal >To: ns-users at ISI.EDU >Sent: Wednesday, December 20, 2006 4:04:12 AM >Subject: [ns] ns-2.29 under cygwin > > > > >Dear all , >I was trying to install ns-2.29 under windows XP, while I faced the >follwing > problem : >"checking system version (for dynamic loading)... ./configure: line >7624: syntax >error near unexpected token ')' >./configure: line 7624: ' OSF*)' >tcl8.3.2 configuration failed! Exiting ... >Tcl is not part of the ns project. Please see www.Scriptics.com >to see >if they have a fix for your problem." > >please , can anyone help me solving this problem? >thanks in advance >sahar > >_________________________________________________________________ >Don't just search. Find. Check out the new MSN Search! >http://search.msn.click-url.com/go/onm00200636ave/direct/01/ > > > > > >__________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.com _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From kth_thesis at yahoo.co.uk Wed Dec 20 10:47:47 2006 From: kth_thesis at yahoo.co.uk (pipi VN) Date: Wed, 20 Dec 2006 18:47:47 +0000 (GMT) Subject: [ns] Energy analysis in NS-2 Message-ID: <20061220184747.44567.qmail@web26909.mail.ukl.yahoo.com> I'm studying about the energy saving strategies in wireless network. There are several issue I still confuse about that and hope could get opinion from you. I have read the ns-2 manual but it was quite poor documented in energy model section, there is only the a simple explanation about the basic strategy. There have been a lot of paper written about this issue but the detail implementation and analysis is not public or at least I couldn't google it with in first 50 results. Could please you tell me some paper consider to be "famous" in this area? I think this would be easy answer with some one already have studied about this issue before. I'm also curious about the matrix that prove an energy-saving model is more efficient than others. The general analysis is not show in detail except some meaningless figure (no explain how to get that result). I'm finding some of implementation that show how to calculate several metric base on the ns2 new trace format for: energy consumed/packet, network partition time, variant in node power levels, node cost .. ? Any such resource or experience are appreciated. Thank you. --- Ns-2 newbee Send instant messages to your online friends http://uk.messenger.yahoo.com From khurramks2001 at yahoo.com Wed Dec 20 11:43:38 2006 From: khurramks2001 at yahoo.com (khurram shahzad) Date: Wed, 20 Dec 2006 11:43:38 -0800 (PST) Subject: [ns] i need OLSR Script code... Message-ID: <20061220194338.67990.qmail@web30204.mail.mud.yahoo.com> i want to implement OLSR protocol, i got UM-OLSR ns2 from its site, but i did not know the script for OLSR, if any body knows, plz send me __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From emin.gencpinar at gmail.com Wed Dec 20 11:45:00 2006 From: emin.gencpinar at gmail.com (Emin Gencpinar) Date: Wed, 20 Dec 2006 21:45:00 +0200 Subject: [ns] Why is not ns-2 old version ns-allinone.2.1b3 installed correctly ? Message-ID: Hi all, We want to use ns-2 for RAP. We see that a newer ns-2 version already has rap folder inside. Do new versions provide RAP already ? Or we will use source codes provided by Reza, then we must use old version of ns-2. (ns-allinone.2.1b3) That is not installed correctly which gives tcl file' s compiling errors like tclcl-mappings.h... ( ns-2.30 installs correctly, and we installed many times up to now ). Is there any short answer ? Thanks in advance. From pedro.estrela at gmail.com Wed Dec 20 15:22:45 2006 From: pedro.estrela at gmail.com (Pedro Vale Estrela) Date: Wed, 20 Dec 2006 23:22:45 -0000 Subject: [ns] Why is not ns-2 old version ns-allinone.2.1b3 installedcorrectly ? In-Reply-To: Message-ID: <004501c7248d$c18cd750$172914ac@Estrela> > > Hi all, > > We want to use ns-2 for RAP. We see that a newer ns-2 version already has > rap folder inside. Do new versions provide RAP already ? > > Or we will use source codes provided by Reza, then we must use old version > of ns-2. (ns-allinone.2.1b3) That is not installed correctly which gives > tcl > file' s compiling errors like tclcl-mappings.h... ( ns-2.30 installs > correctly, and we installed many times up to now ). Is there any short > answer ? yes - use an old linux distribution, that has the old gcc compiler "PS: on a related note, this idea also works backwards; If you are trying to compile old code for old versions of NS (NS-1b6 and friends), You'll get a much better chance if you use earlier versions of GCC, like gcc-2.95." http://tagus.inesc-id.pt/~pestrela/ns2/ns2_tips.html#_Toc124667338 Pedro Vale Estrela From jaso4you at yahoo.com Wed Dec 20 22:39:25 2006 From: jaso4you at yahoo.com (jas Ogwilu) Date: Wed, 20 Dec 2006 22:39:25 -0800 (PST) Subject: [ns] How to set error rate for Two-state error model Message-ID: <20061221063925.43429.qmail@web62415.mail.re1.yahoo.com> I have the following code for my error model. How can i set the model so that my packet loss rate is 20%. Thanks for your help set good [new ErrorModel/Uniform 0 pkt] set bad [new ErrorModel/Uniform .7 pkt] set m_states [list $good $bad] set m_periods [list 0.1 0.75] set m_transmx {{0.9 0.1} {0.7 0.3}} set m_trunit pkt set m_sttype time set m_nstates 2 set m_nstart [lindex $m_states 0] set errmod [new ErrorModel/Multistate $m_states $m_periods $m_transmx \ $m_trunit $m_sttype $m_nstates $m_nstart] $ns link-lossmodel $errmod $n0 $n1 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From fjrm at dif.um.es Thu Dec 21 01:28:43 2006 From: fjrm at dif.um.es (Francisco J. Ros) Date: Thu, 21 Dec 2006 10:28:43 +0100 Subject: [ns] i need OLSR Script code... In-Reply-To: <20061220194338.67990.qmail@web30204.mail.mud.yahoo.com> References: <20061220194338.67990.qmail@web30204.mail.mud.yahoo.com> Message-ID: <200612211028.43569.fjrm@dif.um.es> Hi, Usage instructions in http://masimum.inf.um.es/?Software:UM-OLSR:Using A simple example in http://masimum.dif.um.es/um-olsr/olsr_example.tcl Regards, fran On Wednesday 20 December 2006 20:43, khurram shahzad wrote: > i want to implement OLSR protocol, i got UM-OLSR ns2 from its site, but i > did not know the script for OLSR, if any body knows, plz send me > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com From kth_thesis at yahoo.co.uk Thu Dec 21 01:38:47 2006 From: kth_thesis at yahoo.co.uk (pipi VN) Date: Thu, 21 Dec 2006 09:38:47 +0000 (GMT) Subject: [ns] Energy analysis in NS-2 Message-ID: <20061221093847.93425.qmail@web26903.mail.ukl.yahoo.com> Hi, I have read that two paper however that was exactly what I have said in my previous email, the paper mean nothing if you do not show how you implement it and how you measure it. The 2 paper said they have done something, but how they did it, does they do the right way? There are no explanation and public work (code, analysis script, validation ...) after they public their paper and therefore they can not guanranty that the result is correct (it could be 1+1 =3). I'm finding a resource that give a hint of how to extract the metric regarding energy consumtion in wireless network from new trace format. There are not much information about is so far. Please share it or post here if you know how to locate it from somewhere or someone. Thank you. -------- Ns-2 newbee ----- Original Message ---- From: Matthias Kuhnert To: pipi VN Sent: Thursday, 21 December, 2006 2:52:04 AM Subject: Re: [ns] Energy analysis in NS-2 Hi, unfortunately I can't help you much on that topic, as there is only the raw energy model present in ns2. Everything going further is implementation and protocol specific. If you want some hints and an example implementation take a look at the wpan folder for the zigbee protocol. The university washington had also made some improvements - google for washington university zigbee... The thing to do is in general simple and straight forward: get the time spent in different states, like sending, receiving, idle, sleeping(...) and hand them over to the energymodel with the corresponding energyconsumption. The problem is to find each of the values and the right parts of the code to insert the statements... I don't know any papers that explain the implementation for ns2, only some with specific sleep models or sleep schedulings for specific protocols... But if you receive some useful answers it would be very kind, if you'd forward them to me :) Greets, Matthias pipi VN schrieb: > I'm studying about the energy saving strategies in wireless network. There are several issue I still confuse about that and hope could get opinion from you. I have read the ns-2 manual but it was quite poor documented in energy model section, there is only the a simple explanation about the basic strategy. There have been a lot of paper written about this issue but the detail implementation and analysis is not public or at least I couldn't google it with in first 50 results. Could please you tell me some paper consider to be "famous" in this area? I think this would be easy answer with some one already have studied about this issue before. > > I'm also curious about the matrix that prove an energy-saving model is more efficient than others. The general analysis is not show in detail except some meaningless figure (no explain how to get that result). I'm finding some of implementation that show how to calculate several metric base on the ns2 new trace format for: energy consumed/packet, network partition time, variant in node power levels, node cost .. ? Any such resource or experience are appreciated. > > Thank you. > > --- > Ns-2 newbee > > > Send instant messages to your online friends http://uk.messenger.yahoo.com > > Send instant messages to your online friends http://uk.messenger.yahoo.com From jiahu_al at hotmail.com Thu Dec 21 02:34:22 2006 From: jiahu_al at hotmail.com (? ?) Date: Thu, 21 Dec 2006 18:34:22 +0800 Subject: [ns] validation of saturation throughput in 802.11 Message-ID: Hi all, I am validating the saturation throughput of bianchi's model , however , I found my results do not match the model well. Both model and simulations are with DSSS parameters and the packet size is 8000 bits. Stations are identical , locate in 200mx200m square. CBR traffic is adopted and the date rate is high enough to assure saturation. The results are as belows. nodes 10 20 30 40 Model 0.76 0.70 0.66 0.64 Sim 0.77 0.72 0.69 0.68 The ns-2 version is 2.28. Simulation time is 600 seconds. Could anyone helps me? Thanks in advance. Sincerely, joshua _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ From itsjustssm at yahoo.co.in Thu Dec 21 02:40:41 2006 From: itsjustssm at yahoo.co.in (sandesh shenoy) Date: Thu, 21 Dec 2006 10:40:41 +0000 (GMT) Subject: [ns] debugger install Message-ID: <701728.4696.qm@web7813.mail.in.yahoo.com> Hello, I went through ns2 otcl+Mash+Tkcon+Tcl-debug debugging page and tried to follow the procedures.After adding Tk support,I tried to run nstk,but it is giving nstk command not found.Any problem with the patching?One patcing in common and other under ns-2.28 directory right?I am not able to get what went wrong.Any other initializations to be done?Please do help me in this regard. Thanks in advance. Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php From gancho at designspots.com Thu Dec 21 02:25:56 2006 From: gancho at designspots.com (=?ISO-8859-1?Q?S=E9rgio_Alexandre?=) Date: Thu, 21 Dec 2006 10:25:56 +0000 Subject: [ns] {Spam?} diffserv + mobileIP Message-ID: <458A6134.4010408@designspots.com> Dear all, i'm testing some wireless scenarios that would help me for my research. I have a difficulty to configure the policies of the scheduler because of the hierarchical type of address (ex: MobileNode: 1.1.1) is, in a certain way, incompatible with the current inputs of diffserv. In wired environment i use(ex): $q1_2 addPolicyEntry [$W(0) id] [$W(1) id] TokenBucket 20 $cirAF3 $cbsAF3 In a wireless mode, ns tells me: No Policy Table entry found for Source 0-Destination 4194305 This Destination is, i suppose, the mobility node with the hierarchical type of ip. Any solution for this "problem"? Thanks in advance. Alexandre From pedro.estrela at gmail.com Thu Dec 21 09:37:57 2006 From: pedro.estrela at gmail.com (Pedro Vale Estrela) Date: Thu, 21 Dec 2006 17:37:57 -0000 Subject: [ns] debugger install In-Reply-To: <701728.4696.qm@web7813.mail.in.yahoo.com> Message-ID: <001101c72526$c0a6cb90$172914ac@Estrela> This guide has been used successfully many times. Try Make nstk Nstk -----Original Message----- From: sandesh shenoy [mailto:itsjustssm at yahoo.co.in] Sent: quinta-feira, 21 de Dezembro de 2006 10:41 To: nsusers Cc: pedro.estrela at inesc.pt Subject: [ns] debugger install Hello, I went through ns2 otcl+Mash+Tkcon+Tcl-debug debugging page and tried to follow the procedures.After adding Tk support,I tried to run nstk,but it is giving nstk command not found.Any problem with the patching?One patcing in common and other under ns-2.28 directory right?I am not able to get what went wrong.Any other initializations to be done?Please do help me in this regard. Thanks in advance. Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php From shailients at gmail.com Thu Dec 21 10:31:38 2006 From: shailients at gmail.com (Shaili Desai) Date: Thu, 21 Dec 2006 13:31:38 -0500 Subject: [ns] VoIP Traffic Generator Message-ID: Hello All I have followin two questions: 1) Can anyone please tell me how to simulate VoIP traffic generator using G.729 codec. I read somewhere on the mailing list, that we have to modify CBR traffic for that, but that was in archives and I am not sure, if we already have now G.729 support as traffic generator in NS?/ 2) Can anyone suggest me a variant of DRR or WFQ scheduler whcih I can use in the Wimax Module, I am trying to work on. I would appreciate if someone can help me witht htis. Thanks in advance and Happy Holidays to all! -- Thanx Shaili Desai Master's Candidate Telecommunications and Management University of Maryland,College Park,USA From eduardgv at gmail.com Thu Dec 21 11:07:59 2006 From: eduardgv at gmail.com (Eduard GV) Date: Thu, 21 Dec 2006 20:07:59 +0100 Subject: [ns] validation of saturation throughput in 802.11 In-Reply-To: References: Message-ID: <66c3877d0612211107u61988e0eh91d0bf152ae9f8a0@mail.gmail.com> Have you takein into account IP/UDP overhead? Note that Bianchi usually provides throughput at MAC layer and uses 1024Byte frames to show his results. That's all I can say with the details you provided. 2006/12/21, ? ? : > > Hi all, > > I am validating the saturation throughput of bianchi's model , however , I > found my results do not match the model well. Both model and simulations > are with DSSS parameters and the packet size is 8000 bits. Stations are > identical , locate in 200mx200m square. CBR traffic is adopted and the date > rate is high enough to assure saturation. The results are as belows. > > nodes 10 20 30 40 > > Model 0.76 0.70 0.66 0.64 > > Sim 0.77 0.72 0.69 0.68 > > The ns-2 version is 2.28. Simulation time is 600 seconds. > Could anyone helps me? Thanks in advance. > > Sincerely, > joshua > > _________________________________________________________________ > Don't just search. Find. Check out the new MSN Search! > http://search.msn.click-url.com/go/onm00200636ave/direct/01/ > > From shailients at gmail.com Thu Dec 21 11:13:12 2006 From: shailients at gmail.com (Shaili Desai) Date: Thu, 21 Dec 2006 14:13:12 -0500 Subject: [ns] VoIP with VAD Message-ID: Basically, in continuation t o my previous mail, I am trying to simulate VoIP application with Silence suppression. So,has anyone done that before or if anyone has any idea, can you please guide me.?/ Thanks in advance -- Thanx Shaili Desai Master's Candidate Telecommunications and Management University of Maryland,College Park,USA From jiahu_al at hotmail.com Thu Dec 21 13:41:21 2006 From: jiahu_al at hotmail.com (? ?) Date: Fri, 22 Dec 2006 05:41:21 +0800 Subject: [ns] validation of saturation throughput in 802.11 In-Reply-To: <66c3877d0612211107u61988e0eh91d0bf152ae9f8a0@mail.gmail.com> Message-ID: Thanks for your help. But I didnot take overhead into account, and both my model and simulations used the same packet payload with 1000 bytes and DSSS settings. I used Bianchi's model but did not use his system parameters. Here is the awk script. Every station starts sending at 1.0 and stops at 600.0, and I set channel bit rate to 1Mbps. ====================== BEGIN { recv_size=0 first=0 hdr_size=0 startTime = 1.0 stopTime = 600.0 } { if ($2 == "-t") { event = $1 time = $3 node_id = $5 flow_id = $39 pkt_id = $41 pkt_size = $37 flow_t = $45 level = $19 } if (level == "MAC" && event == "r" && pkt_size >= pkt) { hdr_size = pkt_size % pkt pkt_size -= hdr_size recv_size += pkt_size } } } END{ printf("average throughput:%f kbps\n", (float)recv_size/(stopTime - startTime)*(8/1000)) printf("start time %f stop time %f\n", startTime, stopTime) } ====================== >From: "Eduard GV" >To: ns-users at ISI.EDU >Subject: Re: [ns] validation of saturation throughput in 802.11 >Date: Thu, 21 Dec 2006 20:07:59 +0100 > > >Have you takein into account IP/UDP overhead? Note that Bianchi >usually provides throughput at MAC layer and uses 1024Byte frames to >show his results. > >That's all I can say with the details you provided. > >2006/12/21, ? ? : > > > > Hi all, > > > > I am validating the saturation throughput of bianchi's model , however , >I > > found my results do not match the model well. Both model and >simulations > > are with DSSS parameters and the packet size is 8000 bits. Stations are > > identical , locate in 200mx200m square. CBR traffic is adopted and the >date > > rate is high enough to assure saturation. The results are as belows. > > > > nodes 10 20 30 40 > > > > Model 0.76 0.70 0.66 0.64 > > > > Sim 0.77 0.72 0.69 0.68 > > > > The ns-2 version is 2.28. Simulation time is 600 seconds. > > Could anyone helps me? Thanks in advance. > > > > Sincerely, > > joshua > > > > _________________________________________________________________ > > Don't just search. Find. Check out the new MSN Search! > > http://search.msn.click-url.com/go/onm00200636ave/direct/01/ > > > > > _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From dolkoff at yahoo.com.cn Thu Dec 21 18:28:34 2006 From: dolkoff at yahoo.com.cn (Daniel Dekst) Date: Fri, 22 Dec 2006 10:28:34 +0800 (CST) Subject: [ns] Energy analysis in NS-2 In-Reply-To: Message-ID: <808236.90148.qm@web15910.mail.cnb.yahoo.com> Hi, I'm also confused at how to compare my method with another concerning energy consumption. Some use success ratio vs. time to illustrate the better performance on energy save. If you have any idea, pls tell me. Pei ------------------------------ Message: 3 Date: Thu, 21 Dec 2006 09:38:47 +0000 (GMT) From: pipi VN Subject: Re: [ns] Energy analysis in NS-2 To: Matthias Kuhnert Cc: NS-user Message-ID: <20061221093847.93425.qmail at web26903.mail.ukl.yahoo.com> Content-Type: text/plain; charset=ascii Hi, I have read that two paper however that was exactly what I have said in my previous email, the paper mean nothing if you do not show how you implement it and how you measure it. The 2 paper said they have done something, but how they did it, does they do the right way? There are no explanation and public work (code, analysis script, validation ...) after they public their paper and therefore they can not guanranty that the result is correct (it could be 1+1 =3). I'm finding a resource that give a hint of how to extract the metric regarding energy consumtion in wireless network from new trace format. There are not much information about is so far. Please share it or post here if you know how to locate it from somewhere or someone. Thank you. -------- Ns-2 newbee __________________________________________________ ¸Ï¿ì×¢²áÑÅ»¢³¬´óÈÝÁ¿Ãâ·ÑÓÊÏä? http://cn.mail.yahoo.com From fang_ns2 at hotmail.com Thu Dec 21 19:27:22 2006 From: fang_ns2 at hotmail.com (Karena Xu) Date: Fri, 22 Dec 2006 11:27:22 +0800 Subject: [ns] problems executing .sh (shell script) in ns2.29.3 Message-ID: Hi all, I've encountered the below mentioned problem: rm: cannot remove `1.txt\r': No such file or directory (this is one of error which basically that any stuffs I have included in the file, even if it is comments e.g. # TEST, there is error as well) when trying to execute ./sh (shell script) after installing cygwin and ns2.29.3. Previously, I didn't encountered this problem when i run this same shell script on my previous installation of cygwin and ns2.29.3. However, I have removed it and just recently, I reinstalled both and this error appears. I even uninstalled and re-installed cygwin/ns-2.29.3 several times. Can someone please kindly help me in this? Thank you very much. Would appreciate your help greatly. Best regards, Karena _________________________________________________________________ Find singles online in your area with MSN Dating and Match.com! http://cp.intl.match.com/eng/msn/msnsg/wbc/wbc.html From jiahu_al at hotmail.com Thu Dec 21 19:40:19 2006 From: jiahu_al at hotmail.com (? ?) Date: Fri, 22 Dec 2006 11:40:19 +0800 Subject: [ns] validation of saturation throughput in 802.11 In-Reply-To: <693eb4210612211419p770bed1cn4be9162e4fabaa85@mail.gmail.com> Message-ID: Thanks for your help. I expect the error is less than 0.01 (i.e. when 20 nodes, 0.71-0.70=0.01) , Is that reasonable or achievable? I found the ns-2 results in some paper matches very well with Bianchi's model (less than 0.01). I wonder how to achieve this accuracy. Is there any amendment needed to conform the ns2 implementation to the model? Moreover, I found the results are closer when I changed the scenario from 200x200m to 100x100m. Is it because that the default transmission range is 250m in ns2, so that some stations may not be able to send packets to its destination in 200x200m scenario, so it overestimated the throughput? Here are the results, could the model and ns2 match any closer? nodes 10 20 30 40 Model 0.76 0.70 0.66 0.64 Sim(200x200) 0.77 0.72 0.69 0.68 Sim(100x100) 0.76 0.71 0.68 0.65 >From: "Joshua Robinson" >To: "? ?" >Subject: Re: [ns] validation of saturation throughput in 802.11 >Date: Thu, 21 Dec 2006 16:19:00 -0600 > >do not forget that both model and simulation are not perfect and so it >is not reasonable to expect an exact match. I suggest also figuring >out what error you expect/find reasonable. > >On 12/21/06, ? ? wrote: >> >>Hi all, >> >>I am validating the saturation throughput of bianchi's model , however , I >>found my results do not match the model well. Both model and simulations >>are with DSSS parameters and the packet size is 8000 bits. Stations are >>identical , locate in 200mx200m square. CBR traffic is adopted and the >>date >>rate is high enough to assure saturation. The results are as belows. >> >>nodes 10 20 30 40 >> >>Model 0.76 0.70 0.66 0.64 >> >>Sim 0.77 0.72 0.69 0.68 >> >>The ns-2 version is 2.28. Simulation time is 600 seconds. >>Could anyone helps me? Thanks in advance. >> >>Sincerely, >>joshua >> >>_________________________________________________________________ >>Don't just search. Find. Check out the new MSN Search! >>http://search.msn.click-url.com/go/onm00200636ave/direct/01/ >> >> _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From aleemisaleem at rediffmail.com Thu Dec 21 21:35:11 2006 From: aleemisaleem at rediffmail.com (Aleem M.S) Date: 22 Dec 2006 05:35:11 -0000 Subject: [ns] Agent not working after make Message-ID: <20061222053511.13170.qmail@webmail71.rediffmail.com> Hello everyone, I hav added a new tcp agent named TCPPR. i hav done make successfully. But i m getting following errors in my tcl script named testpr.tcl [root at localhost ex]# ns testpr.tcl invalid command name "Agent/TCP/PR" while executing "Agent/TCP/PR create _o36 " invoked from within "catch "$className create $o $args" msg" (procedure "new" line 3) invoked from within "new Agent/TCP/PR" invoked from within "set tcp [new Agent/TCP/PR]" (file "testpr.tcl" line 18) [root at localhost ex]# ----------------------------------- My tcl script named testpt.tcl is as follows set ns [new Simulator] $ns color 0 blue $ns color 1 red set n0 [$ns node] set n1 [$ns node] set f [open out.tr w] $ns trace-all $f set nf [open out.nam w] $ns namtrace-all $nf $ns duplex-link $n0 $n1 5Mb 2ms DropTail #$ns duplex-link-op $n0 $n1 queuePos 0.5 set tcp [new Agent/TCP/PR] $ns attach-agent $n0 $tcp set sink [new Agent/TCPSink] $ns attach-agent $n1 $sink $ns connect $tcp $sink set ftp [new Application/FTP] $ftp attach-agent $tcp $ns at 1.2 "$ftp start" $ns at 10.35 "$ns detach-agent $n0 $tcp ; $ns detach-agent $n1 $sink" $ns at 11.0 "finish" proc finish {} { global ns f nf $ns flush-trace close $f close $nf puts "running nam..." exec nam out.nam & exit 0 } $ns run --------------------------------------------- I am attaching the zip file for agent along with tcl scipts etc..please reply me whether there is problem in tcl script or agent or the ns2 version.. Thanks you all...Merry christmas and Happy new year to all ? Regards & Thanks Aleem M.S ME-CSE Walchand College Of Engineering, Sangli Call - 09326053389 From aleemisaleem at rediffmail.com Fri Dec 22 01:09:12 2006 From: aleemisaleem at rediffmail.com (Aleem M.S) Date: 22 Dec 2006 09:09:12 -0000 Subject: [ns] New Agent Problem Message-ID: <20061222090912.30442.qmail@webmail26.rediffmail.com> Hello everyone, I hav added a new tcp agent named TCPPR. i hav done make successfully. But i m getting following errors in my tcl script named testpr.tcl [root at localhost ex]# ns testpr.tcl invalid command name "Agent/TCP/PR" while executing "Agent/TCP/PR create _o36 " invoked from within "catch "$className create $o $args" msg" (procedure "new" line 3) invoked from within "new Agent/TCP/PR" invoked from within "set tcp [new Agent/TCP/PR]" (file "testpr.tcl" line 18) [root at localhost ex]# ----------------------------------- My tcl script named testpt.tcl is as follows set ns [new Simulator] $ns color 0 blue $ns color 1 red set n0 [$ns node] set n1 [$ns node] set f [open out.tr w] $ns trace-all $f set nf [open out.nam w] $ns namtrace-all $nf $ns duplex-link $n0 $n1 5Mb 2ms DropTail #$ns duplex-link-op $n0 $n1 queuePos 0.5 set tcp [new Agent/TCP/PR] $ns attach-agent $n0 $tcp set sink [new Agent/TCPSink] $ns attach-agent $n1 $sink $ns connect $tcp $sink set ftp [new Application/FTP] $ftp attach-agent $tcp $ns at 1.2 "$ftp start" $ns at 10.35 "$ns detach-agent $n0 $tcp ; $ns detach-agent $n1 $sink" $ns at 11.0 "finish" proc finish {} { global ns f nf $ns flush-trace close $f close $nf puts "running nam..." exec nam out.nam & exit 0 } $ns run --------------------------------------------- please reply me whether there is problem in tcl script or agent or the ns2 version.. Thanks you all...Merry christmas and Happy new year to all ? Regards & Thanks Aleem M.S ME-CSE Walchand College Of Engineering, Sangli Call - 09326053389 From kaushik at rice.edu Fri Dec 22 01:52:54 2006 From: kaushik at rice.edu (Kaushik Kumar) Date: Fri, 22 Dec 2006 03:52:54 -0600 Subject: [ns] New Agent Problem References: <20061222090912.30442.qmail@webmail26.rediffmail.com> Message-ID: <005901c725ae$f41d0bf0$12d92a80@Kaushik> I guess the error has to be in your ns code, can you attach the ns code too? It might help. -Kaushik ----- Original Message ----- From: "Aleem M.S" To: Sent: Friday, December 22, 2006 3:09 AM Subject: [ns] New Agent Problem Hello everyone, I hav added a new tcp agent named TCPPR. i hav done make successfully. But i m getting following errors in my tcl script named testpr.tcl [root at localhost ex]# ns testpr.tcl invalid command name "Agent/TCP/PR" while executing "Agent/TCP/PR create _o36 " invoked from within "catch "$className create $o $args" msg" (procedure "new" line 3) invoked from within "new Agent/TCP/PR" invoked from within "set tcp [new Agent/TCP/PR]" (file "testpr.tcl" line 18) [root at localhost ex]# ----------------------------------- My tcl script named testpt.tcl is as follows set ns [new Simulator] $ns color 0 blue $ns color 1 red set n0 [$ns node] set n1 [$ns node] set f [open out.tr w] $ns trace-all $f set nf [open out.nam w] $ns namtrace-all $nf $ns duplex-link $n0 $n1 5Mb 2ms DropTail #$ns duplex-link-op $n0 $n1 queuePos 0.5 set tcp [new Agent/TCP/PR] $ns attach-agent $n0 $tcp set sink [new Agent/TCPSink] $ns attach-agent $n1 $sink $ns connect $tcp $sink set ftp [new Application/FTP] $ftp attach-agent $tcp $ns at 1.2 "$ftp start" $ns at 10.35 "$ns detach-agent $n0 $tcp ; $ns detach-agent $n1 $sink" $ns at 11.0 "finish" proc finish {} { global ns f nf $ns flush-trace close $f close $nf puts "running nam..." exec nam out.nam & exit 0 } $ns run --------------------------------------------- please reply me whether there is problem in tcl script or agent or the ns2 version.. Thanks you all...Merry christmas and Happy new year to all Regards & Thanks Aleem M.S ME-CSE Walchand College Of Engineering, Sangli Call - 09326053389 From caishihuang at gmail.com Fri Dec 22 04:11:24 2006 From: caishihuang at gmail.com (Kevin) Date: Fri, 22 Dec 2006 20:11:24 +0800 Subject: [ns] How can I set different RXThresh_ and CPThresh_ for different packets? Message-ID: <200612222011219216830@gmail.com> Dear All, Although we can use the following methods to set the thresholds for all the packets: Phy/WirelessPhy set CPThresh_ Phy/WirelessPhy set CSThresh_ Phy/WirelessPhy set RXThresh_ But..... If I want to let different packets having different RXThresh_ and CPThresh_. For example: RTS/CTS RXThresh_ 1 and CPThresh_1 DATA/ACK RXThresh_ 2 and CPThresh_2 How can I realize this? Are there any people ever worked on the related things before? Any hints and/or information are welcomed! Thank you in advance! -------------- Kevin 2006-12-18 From shailients at gmail.com Fri Dec 22 05:55:49 2006 From: shailients at gmail.com (Shaili Desai) Date: Fri, 22 Dec 2006 08:55:49 -0500 Subject: [ns] iNSpect for Wireless Simulations Message-ID: Hey everyone Has anyone tried using iNSpect for Wireless Simulation and Trace Analysis in NS2? I could install it, but am not sure how to run it. The steps followed by manual doesnt work. It does modify bashrc. But I dont know what path shold be in theer? Can anyone help me for this? I would be more than glad for if anyone can help. Thanks in advance. Happy Holidays! -- Thanx Shaili Desai Master's Candidate Telecommunications and Management University of Maryland,College Park,USA From Y.Zhao-2 at student.TUDelft.NL Fri Dec 22 07:24:42 2006 From: Y.Zhao-2 at student.TUDelft.NL (Zhao) Date: Fri, 22 Dec 2006 16:24:42 +0100 Subject: [ns] WiMAX simulation in NS2 References: Message-ID: <397EF9472E87024EA7BCFE79039CC081032F75@SRV602.tudelft.net> Hi, everyone I am doing the simulation of WiMAX in NS-2. I used the scenario that there are 1 BS and 2 SSs,1 uplink (FTP/TCP) with the variable bit rate, and 1 downlink(CBR/UDP). The codes as follow: The problem is whether it is right to use the RNG to set the variable bit rate and packet size? ____________________________________________________________________ set rng [new RNG] $rng seed 999 set size_ [new RandomVariable/Uniform] $size_ use-rng $rng $size_ set min_ 100 $size_ set max_ 2000 set rate_ [new RandomVariable/Uniform] $rate_ use-rng $rng $rate_ set min_ 0.05 $rate_ set max_ 20.0 set agent1 [new Agent/TCP] ;#creat the TCP agent $agent1 set packetSize_ [expr round([$size_ value])] $agent1 set prio_ 1 $ns attach-agent $ss_(0) $agent1 set sink1 [new Agent/TCPSinkMonitor] $ns attach-agent $bstation $sink1 $ns connect $agent1 $sink1 set app1 [new Application/FTP] $app1 set packetSize_ [expr round([$size_ value])] $app1 set rate_ [expr [$rate_ value]] $app1 attach-agent $agent1 ____________________________________________________________________________________ Anybody have any idea about this, please tell me! I will appreciate your help. Regards, Yudy From dolkoff at yahoo.com.cn Fri Dec 22 20:27:37 2006 From: dolkoff at yahoo.com.cn (dekst) Date: Fri, 22 Dec 2006 20:27:37 -0800 (PST) Subject: [ns] How can I set different RXThresh_ and CPThresh_ for different packets? In-Reply-To: <200612222011219216830@gmail.com> References: <200612222011219216830@gmail.com> Message-ID: <8031614.post@talk.nabble.com> Hi, Maybe you can change the function sendUp() in wireless-phy.cc to decide whether capture the packet according to your different CPThresh_ Pei Kevin-130 wrote: > > > > Dear All, > > Although we can use the following methods to set the thresholds for all > the packets: > Phy/WirelessPhy set CPThresh_ > Phy/WirelessPhy set CSThresh_ > Phy/WirelessPhy set RXThresh_ > But..... > If I want to let different packets having different RXThresh_ and > CPThresh_. For example: > RTS/CTS RXThresh_ 1 and CPThresh_1 > DATA/ACK RXThresh_ 2 and CPThresh_2 > > How can I realize this? Are there any people ever worked on the related > things before? Any hints and/or information are welcomed! > Thank you in advance! > > -------------- > Kevin > 2006-12-18 > > > -- View this message in context: http://www.nabble.com/How-can-I-set-different-RXThresh_-and-CPThresh_-for-different-packets--tf2870515.html#a8031614 Sent from the ns-users mailing list archive at Nabble.com. From smiertx at gmail.com Sat Dec 23 00:53:36 2006 From: smiertx at gmail.com (Ikhyar Subani) Date: Sat, 23 Dec 2006 15:53:36 +0700 Subject: [ns] rtp mixer and translator Message-ID: <762b9fb10612230053o798262bcpfdeea7068350fffc@mail.gmail.com> hi, i'm newbie ... i'll implement rtp mixer and translator in ns-2. anyone can help with the source ??? thx's before ... From hanan_6531 at yahoo.com Sun Dec 24 14:30:04 2006 From: hanan_6531 at yahoo.com (h sh) Date: Sun, 24 Dec 2006 14:30:04 -0800 (PST) Subject: [ns] which routing algorithms are implemented in NS-2 Message-ID: <26367.47572.qm@web36712.mail.mud.yahoo.com> hi How to known which routing algorithms are implemented in NS-2 and which routing algorithms are implemented in NS-2 ? please help me thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From robin2046 at 163.com Mon Dec 25 01:01:08 2006 From: robin2046 at 163.com (Huang Wei) Date: Mon, 25 Dec 2006 17:01:08 +0800 Subject: [ns] How does agent's target_ got initialized? In-Reply-To: Message-ID: <000001c72803$3ad24460$ac84403b@bupthuangwei> Hi, all. Wish everyone a merry Christmas and a happy new year! I was going through the source code of ns and got confused when I wanted to find out how 'target_' of class agent, which is derived from class connector, gets initialized? I know in Connector::command(), command "target" is defined to do so. But where does this got invoked? In function simulator's attach-agent{}, it calls node's attach{}. But in attach "target" command is not invoked. Finally I find the target_ was initialized after invoking Node's function:add-target { agent port }. But, how? I don't understand the code of this function: Node instproc add-target { agent port } { $self instvar ptnotif_ # Replaces the following line from old ns (2.1b7 and earlier) # $self add-target $agent $port foreach m [$self set ptnotif_] { $m attach $agent $port } } It seems that the expression "$m attach $agent $port" does not invoke the function Node instproc attach { agent { port "" } }(Because I got it to print information and if it is called it will print). What is this "attach"? And how is target_ of agent finally got initialized? Thanks. HuangWei From suchdeokapil at gmail.com Mon Dec 25 01:10:48 2006 From: suchdeokapil at gmail.com (Kapil Suchdeo) Date: Mon, 25 Dec 2006 14:40:48 +0530 Subject: [ns] OLSR implementation in ns2 Message-ID: Hello, Can anybody tell me where i can get implementation of OLSR in ns2. -- Er. Kapil Suchdeo 98275-49045 From ghada at hasebat.com Mon Dec 25 01:16:02 2006 From: ghada at hasebat.com (ghada) Date: Mon, 25 Dec 2006 18:16:02 +0900 Subject: [ns] very long trace files? References: <26367.47572.qm@web36712.mail.mud.yahoo.com> Message-ID: <00aa01c72805$4d5a0080$56539e82@khoriba> Dear ALL, I have set of large trace files around 3 GB; I am using Perl script to extract throughput and Data Delivery Ratio, But it takes a very long time, Any one has a solution for this... Thanks for your help, From maric_milica at yahoo.com Mon Dec 25 02:43:01 2006 From: maric_milica at yahoo.com (milica marik) Date: Mon, 25 Dec 2006 02:43:01 -0800 (PST) Subject: [ns] help instalation ns-2.27 problems Message-ID: <20061225104302.18795.qmail@web31315.mail.mud.yahoo.com> Hello users I was installing ns-2.27(allinone) and while building tclcl it appeared # tclcl-mappings.h:51 error: incomplete type 'Tcl' used in nested name specifier tclcl-mappings.h:52 error: invalid use of undefined type 'struct Tcl' tclcl-mappings.h:41 error: forward declaration of'struct Tcl' tclcl-mappings.h:57 error: invalid use of undefined type 'struct Tcl' tclcl-mappings.h:41 error: forward declaration of'struct Tcl' tclcl-1.15 make failed! Exiting... See http://www.isi.edu/nsnam/ns/ns-problems.html for problems # so i couldn't find solution to my problem on the displayed page. If anyone from you can help me with my problem. Thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From caishihuang at gmail.com Mon Dec 25 07:23:56 2006 From: caishihuang at gmail.com (Kevin) Date: Mon, 25 Dec 2006 23:23:56 +0800 Subject: [ns] Where I get the ns2 script of receiver initiated MAC protocol or/and power control MAC? Message-ID: <200612252323543562964@gmail.com> Dear All, (1) I am trying to do some experiment on Ad Hoc and WLAN MAC protocol on ns2, and I want to implement the receiver initiated MAC proposed by some researchers, can anyone tell me where I can some relavent materials? (2) I am also trying to implement the power control MAC protocol for Ad hoc network, can anyone also give me some hints or relavent materials about that? I would appreciate if someone can help me within this. Thanks in advance and Happy Holidays to all! Kevin From zhanghuixiang at gmail.com Mon Dec 25 21:55:21 2006 From: zhanghuixiang at gmail.com (=?GB2312?B?1cW728/o?=) Date: Tue, 26 Dec 2006 13:55:21 +0800 Subject: [ns] Different RTTs Message-ID: <5ec4446a0612252155l27f05d23g9fd4c2dd1bbf1ac3@mail.gmail.com> hi everyone, I am a new comer to ns. Can anybody tell me how to simulate nodes with diffrent rtts. Do I have to create 100 links with different delay if I want to simulate 100 rtts? thanks. zhanghuixiang From debarshisanyal at gmail.com Tue Dec 26 03:37:30 2006 From: debarshisanyal at gmail.com (Debarshi Sanyal) Date: Tue, 26 Dec 2006 17:07:30 +0530 Subject: [ns] Help required: Unable to build xgraph Message-ID: <13c56af70612260337k188246c0u24c3ac98c47432dc@mail.gmail.com> Hi, Festive greetings to you all! I recently installed ns2 on Red Hat Linux 9. I am unable to build "xgraph" although other components of ns2 are getting built correctly. When I run ./configure followed by make in the xgraph directory, it tells: Makefile:255: *** missing separator. Stop. This is the same problem discussed in the mail "Why building Xgraph Failed?" in ns-users mailing list. But I haven't found the solution there. Could anyone please help me to fix this issue? This is very urgent. Thanks you so much for your time. Regards, Debarshi From caishihuang at gmail.com Tue Dec 26 04:34:38 2006 From: caishihuang at gmail.com (Kevin) Date: Tue, 26 Dec 2006 20:34:38 +0800 Subject: [ns] Where I get the ns2 script of receiver initiated MAC protocol or/and power control MAC? Message-ID: <200612262034329667800@gmail.com> Dear All, (1) I am trying to do some experiment on Ad Hoc and WLAN MAC protocol on ns2, and I want to implement the receiver initiated MAC proposed by some researchers, can anyone tell me where I can get some relavent materials? (2) I am also trying to implement the power control MAC protocol for Ad hoc network, can anyone also give me some hints or relavent materials about that? I would appreciate if someone can help me within this. Thanks in advance and Happy Holidays to all! Kevin From debarshisanyal at gmail.com Tue Dec 26 05:28:44 2006 From: debarshisanyal at gmail.com (Debarshi Sanyal) Date: Tue, 26 Dec 2006 18:58:44 +0530 Subject: [ns] Urgent help required: Unable to build xgraph Message-ID: <13c56af70612260528m454d928cv38d4451c3c9ce84d@mail.gmail.com> > > Hi, > Festive greetings to you all! > I recently installed ns2.29 on Red Hat Linux 9. I am unable to build > "xgraph" although other components of ns2 are getting built correctly. When > I run ./configure followed by make in the xgraph directory, it tells: > > Makefile:255: *** missing separator. Stop. > > This is the same problem discussed in the mail "Why building Xgraph > Failed?" in ns-users mailing list. > But I haven't found the solution there. > > Could anyone please help me fix this issue? This is very urgent. > Pleeeeeeesssssee help !! > > Thank you so much for your time. > > Regards, > Debarshi From larry.brigman at gmail.com Tue Dec 26 13:41:30 2006 From: larry.brigman at gmail.com (Larry Brigman) Date: Tue, 26 Dec 2006 13:41:30 -0800 Subject: [ns] help instalation ns-2.27 problems In-Reply-To: <20061225104302.18795.qmail@web31315.mail.mud.yahoo.com> References: <20061225104302.18795.qmail@web31315.mail.mud.yahoo.com> Message-ID: It would help if you also provided the distro that you are using. There are sometimes different answers depending on the distro. I do know that cygwin has several different problems that I don't know anything about but others here do. You will need to provide some more details. Also I don't know if you are locked into using ns-2.27 as ns-2.29 and ns-2.30 are available and are known to work on a larger set of platforms. On 12/25/06, milica marik wrote: > > > Hello users > > I was installing ns-2.27(allinone) and while building tclcl it appeared > # > tclcl-mappings.h:51 error: incomplete type 'Tcl' used in nested name specifier > tclcl-mappings.h:52 error: invalid use of undefined type 'struct Tcl' > tclcl-mappings.h:41 error: forward declaration of'struct Tcl' > tclcl-mappings.h:57 error: invalid use of undefined type 'struct Tcl' > tclcl-mappings.h:41 error: forward declaration of'struct Tcl' > > tclcl-1.15 make failed! Exiting... > > See http://www.isi.edu/nsnam/ns/ns-problems.html for problems > > # > so i couldn't find solution to my problem on the displayed page. > If anyone from you can help me with my > problem. > > Thanks > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > From larry.brigman at gmail.com Tue Dec 26 13:44:02 2006 From: larry.brigman at gmail.com (Larry Brigman) Date: Tue, 26 Dec 2006 13:44:02 -0800 Subject: [ns] Fwd: Urgent help required: Unable to build xgraph In-Reply-To: <200612262133.kBQLXbsZ013756@gamma.isi.edu> References: <13c56af70612260528m454d928cv38d4451c3c9ce84d@mail.gmail.com> <200612262133.kBQLXbsZ013756@gamma.isi.edu> Message-ID: On 12/26/06, Debarshi Sanyal wrote: > > > > > Hi, > > Festive greetings to you all! > > I recently installed ns2.29 on Red Hat Linux 9. I am unable to build > > "xgraph" although other components of ns2 are getting built correctly. When > > I run ./configure followed by make in the xgraph directory, it tells: > > > > Makefile:255: *** missing separator. Stop. > > > > This is the same problem discussed in the mail "Why building Xgraph > > Failed?" in ns-users mailing list. > > But I haven't found the solution there. > > > > Could anyone please help me fix this issue? This is very urgent. > > Pleeeeeeesssssee help !! > > You will need the Xwindows development headers and libraries to build xgraph. From kbalasub at stanford.edu Tue Dec 26 15:15:07 2006 From: kbalasub at stanford.edu (Koussalya Balasubramanian) Date: Tue, 26 Dec 2006 15:15:07 -0800 Subject: [ns] help instalation ns-2.27 problems In-Reply-To: References: <20061225104302.18795.qmail@web31315.mail.mud.yahoo.com> Message-ID: <1167174907.4591acfb3e660@webmail.stanford.edu> Hi, I had the same problem in cygwin and I had sent a mail already for this. IF someone could help that should be great. Regards Koussalya Quoting Larry Brigman : > > It would help if you also provided the distro that you are using. There > are sometimes different answers depending on the distro. I do know that > cygwin has several different problems that I don't know anything about > but > others here do. > > You will need to provide some more details. Also I don't know if you are > locked > into using ns-2.27 as ns-2.29 and ns-2.30 are available and are known to > work on a larger set of platforms. > > On 12/25/06, milica marik wrote: > > > > > > Hello users > > > > I was installing ns-2.27(allinone) and while building tclcl it appeared > > # > > tclcl-mappings.h:51 error: incomplete type 'Tcl' used in nested name > specifier > > tclcl-mappings.h:52 error: invalid use of undefined type 'struct Tcl' > > tclcl-mappings.h:41 error: forward declaration of'struct Tcl' > > tclcl-mappings.h:57 error: invalid use of undefined type 'struct Tcl' > > tclcl-mappings.h:41 error: forward declaration of'struct Tcl' > > > > tclcl-1.15 make failed! Exiting... > > > > See http://www.isi.edu/nsnam/ns/ns-problems.html for problems > > > > # > > so i couldn't find solution to my problem on the displayed page. > > If anyone from you can help me with my > > problem. > > > > Thanks > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > > From debarshisanyal at gmail.com Tue Dec 26 21:52:46 2006 From: debarshisanyal at gmail.com (Debarshi Sanyal) Date: Wed, 27 Dec 2006 11:22:46 +0530 Subject: [ns] Fwd: Urgent help required: Unable to build xgraph In-Reply-To: References: <13c56af70612260528m454d928cv38d4451c3c9ce84d@mail.gmail.com> <200612262133.kBQLXbsZ013756@gamma.isi.edu> Message-ID: <13c56af70612262152u3d22210eye468c6212b69059f@mail.gmail.com> Thanks you so much, Larry. But during ./configure in xgraph-12.1 directory (or with top-level install script), it reports checking for X... (cached) libraries /usr/X11R6/lib, headers= /usr/X11R6/include At the end, it quips creating Makefile creating autoconf.h autoconf.h is unchanged And yet when I run make, it errors out. I have tried after including the above Xdevelopment headers and libraries in PATH, but the issue persists. Could you please suggest a solution? Thanks a lot, Debarshi On 12/27/06, Larry Brigman wrote: > > > On 12/26/06, Debarshi Sanyal wrote: > > > > > > > > Hi, > > > Festive greetings to you all! > > > I recently installed ns2.29 on Red Hat Linux 9. I am unable to > build > > > "xgraph" although other components of ns2 are getting built correctly. > When > > > I run ./configure followed by make in the xgraph directory, it tells: > > > > > > Makefile:255: *** missing separator. Stop. > > > > > > This is the same problem discussed in the mail "Why building Xgraph > > > Failed?" in ns-users mailing list. > > > But I haven't found the solution there. > > > > > > Could anyone please help me fix this issue? This is very urgent. > > > Pleeeeeeesssssee help !! > > > > You will need the Xwindows development headers and libraries to build > xgraph. > > From zhengdw at bupt.edu.cn Tue Dec 26 22:16:56 2006 From: zhengdw at bupt.edu.cn (=?gb2312?B?1qO0886wKERhd2VpIFpoZW5nKQ==?=) Date: Wed, 27 Dec 2006 14:16:56 +0800 Subject: [ns] looking for FHMIP extension Message-ID: <200612270617.kBR6HUxr005379@noya.bupt.edu.cn> Hi all, I am looking for FHMIP extension. FHMIP extension site ¡°http://mobqos.ee.unsw.edu.au/~robert/nsinstall.php¡± is empty. Anyone have it??? Or anyone know another site to download it??? If you have FHMIP extension, please send me.. Best regards Dawei Zheng ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ 2006-12-27 From itsjustssm at yahoo.co.in Tue Dec 26 23:36:54 2006 From: itsjustssm at yahoo.co.in (sandesh shenoy) Date: Wed, 27 Dec 2006 07:36:54 +0000 (GMT) Subject: [ns] debug Message-ID: <875616.39929.qm@web7815.mail.in.yahoo.com> Hello , I tried to install debugger as given in the ns site.While patching the makefile,configure and tkappinit its giving 2 out of 6 hunks failed.What is the reason? I am not able to proceed further.Tk is not getting installed.Could anybody help me out in this regard? Thanks in advance Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php From farhan_abdulfattah at yahoo.com Wed Dec 27 03:06:04 2006 From: farhan_abdulfattah at yahoo.com (farhan farhan) Date: Wed, 27 Dec 2006 03:06:04 -0800 (PST) Subject: [ns] learn NS2 for simulate IDS for MENT and mobile Message-ID: <20061227110604.73614.qmail@web33113.mail.mud.yahoo.com> Hi all.. I am trying to learn NS2 for simulate IDS for manet and mobile agent ,, there any body who could help me to find the best defult source code of IDS in NS2 specilly for MANet?? .. if you give even simple guidline for me that are in the first level of learning NS2 is quite usefull farhan Farhan AbdulFattah farhan_abdulfattah at yahoo.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From aristome at ceid.upatras.gr Wed Dec 27 03:19:00 2006 From: aristome at ceid.upatras.gr (aristome@ceid) Date: Wed, 27 Dec 2006 13:19:00 +0200 Subject: [ns] looking for FHMIP extension In-Reply-To: <200612270617.kBR6HUxr005379@noya.bupt.edu.cn> References: <200612270617.kBR6HUxr005379@noya.bupt.edu.cn> Message-ID: <459256A4.9080104@ceid.upatras.gr> hi, i had also asked for the extension few weeks ago, but no answer from the list... Although thanks to izzeldin shibeika who kindly sent it to me, there it is... http://rapidshare.com/files/9124547/fhmip-ext.zip.html FHMIPv6 extension by R.Hseih George ???(Dawei Zheng) wrote: > ------------------------------------------------------------------------ > > Hi all, > > I am looking for FHMIP extension. > > FHMIP extension site ?http://mobqos.ee.unsw.edu.au/~robert/nsinstall.php? > is empty. > > Anyone have it??? Or anyone know another site to download it??? > > > > If you have FHMIP extension, please send me.. > > > > > > > > Best regards > > Dawei Zheng > ???????? > 2006-12-27 > > From fjrm at dif.um.es Wed Dec 27 04:19:44 2006 From: fjrm at dif.um.es (Francisco J. Ros) Date: Wed, 27 Dec 2006 13:19:44 +0100 Subject: [ns] OLSR implementation in ns2 In-Reply-To: References: Message-ID: <200612271319.44934.fjrm@dif.um.es> Hi, I'm aware of two different implementations: http://masimum.inf.um.es/?Software:UM-OLSR http://hipercom.inria.fr/olsr/ Regards, fran On Monday 25 December 2006 10:10, Kapil Suchdeo wrote: > Hello, > Can anybody tell me where i can get implementation of OLSR in ns2. From sinemkokten2 at gmail.com Wed Dec 27 05:55:54 2006 From: sinemkokten2 at gmail.com (sinem kokten) Date: Wed, 27 Dec 2006 15:55:54 +0200 Subject: [ns] URGENT-Binary tree in ns2 In-Reply-To: <990b772d0612270548y3ab388a4n7a9b757819521e16@mail.gmail.com> References: <990b772d0612270548y3ab388a4n7a9b757819521e16@mail.gmail.com> Message-ID: <990b772d0612270555x56a32d1iec3f8a040fc61cce@mail.gmail.com> Hi; I have to implement a binary tree network (3 or 4 or 5 layer) and make some udp and ping attacks on it. Have somebody ns-2 code for a binary tree network which i can implement in ns 2.29 or ns 2.30? Please answer me as soon as possible From debarshisanyal at gmail.com Wed Dec 27 05:59:33 2006 From: debarshisanyal at gmail.com (Debarshi Sanyal) Date: Wed, 27 Dec 2006 19:29:33 +0530 Subject: [ns] Fwd: Urgent help required: Unable to build xgraph In-Reply-To: <13c56af70612262152u3d22210eye468c6212b69059f@mail.gmail.com> References: <13c56af70612260528m454d928cv38d4451c3c9ce84d@mail.gmail.com> <200612262133.kBQLXbsZ013756@gamma.isi.edu> <13c56af70612262152u3d22210eye468c6212b69059f@mail.gmail.com> Message-ID: <13c56af70612270559v7b1426daqfb07c158fbe2eaf0@mail.gmail.com> Hi All, Please let me know how to build xgraph-12.1 given the issues I am facing. The build is on RHEL (Red Hat Enterprise Linux) 3 (Taroon). Appreciate your response in this regard. Regards, Debarshi On 12/27/06, Debarshi Sanyal wrote: > > Thanks you so much, Larry. But during ./configure in xgraph-12.1 directory > (or with top-level install script), it reports > > checking for X... (cached) libraries /usr/X11R6/lib, headers= > /usr/X11R6/include > > At the end, it quips > > creating Makefile > creating autoconf.h > autoconf.h is unchanged > > And yet when I run make, it errors out. I have tried after including the > above Xdevelopment headers and libraries in PATH, but the issue persists. > Could you please suggest a solution? > > Thanks a lot, > Debarshi > > On 12/27/06, Larry Brigman wrote: > > > > > > On 12/26/06, Debarshi Sanyal wrote: > > > > > > > > > > > Hi, > > > > Festive greetings to you all! > > > > I recently installed ns2.29 on Red Hat Linux 9. I am unable to > > build > > > > "xgraph" although other components of ns2 are getting built > > correctly. When > > > > I run ./configure followed by make in the xgraph directory, it > > tells: > > > > > > > > Makefile:255: *** missing separator. Stop. > > > > > > > > This is the same problem discussed in the mail "Why building Xgraph > > > > Failed?" in ns-users mailing list. > > > > But I haven't found the solution there. > > > > > > > > Could anyone please help me fix this issue? This is very urgent. > > > > Pleeeeeeesssssee help !! > > > > > > You will need the Xwindows development headers and libraries to build > > xgraph. > > > > > From balper at metu.edu.tr Wed Dec 27 16:30:01 2006 From: balper at metu.edu.tr (Alper BEREKETLI) Date: Thu, 28 Dec 2006 02:30:01 +0200 Subject: [ns] multi-event generation & sensing range Message-ID: <200612280030.kBS0U69C014313@tenedos.general.services.metu.edu.tr> Hi All, I am performing some simulations for wireless sensor networks on Ns-2.26. I have two problems: 1) How can we set the sensing (and transmission) range of a node? I tried to set the range by executing "threshold.cc" but that was of no use. 2) I am using the NRL extension for event generation, and I have to simulate the simultaneous occurrence of more than one events. Do you know how I can create multiple events using NRL?? Have you ever seen an example of this on the web? I would appreciate any suggestions. Thanks in advance.. Alper BEREKETLI Research & Teaching Assistant Next-Generation Wireless Communications Laboratory Department of Electrical and Electronics Engineering Middle East Technical University, Ankara, TURKEY E-Mail: balper at metu.edu.tr, balper at eee.metu.edu.tr Lab: D123, Phone: (+90 312) 210 45 74 From eng_amjadbeainy at hotmail.com Thu Dec 28 00:49:31 2006 From: eng_amjadbeainy at hotmail.com (Amjad Beainy) Date: Thu, 28 Dec 2006 08:49:31 +0000 Subject: [ns] deducing Exponential Function from it average value Message-ID: Dear All,Am using the ExponentialRandomVariable class available in NS2 and assigning a certain average value. I want to deduce the mathematical exponential function approximately governing the generated values. I had imported the generated values to an excel sheet and got the formula, but i want to relate this formula to the assigned average value. In other words, the input is the average value and the output is an approx. exponential function. Is there any idea am missing?Anyone out there can help? your support is appreciated.Amjad _________________________________________________________________ Try amazing new 3D maps http://maps.live.com/?wip=51 From balper at metu.edu.tr Thu Dec 28 02:24:23 2006 From: balper at metu.edu.tr (Alper BEREKETLI) Date: Thu, 28 Dec 2006 12:24:23 +0200 Subject: [ns] no-slot default handler Message-ID: <200612281024.kBSAOSpe013795@tenedos.general.services.metu.edu.tr> Hi All, when I try to generate multiple events using more than one PHENOM nodes, tcl gives "Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl)" error and halts program execution. Could you please suggest a solution to this problem? Is there any other way of creating multiple events? How should I configure PHENOM nodes? Alper BEREKETLI Research & Teaching Assistant Next-Generation Wireless Communications Laboratory Department of Electrical and Electronics Engineering Middle East Technical University, Ankara, TURKEY E-Mail: balper at metu.edu.tr, balper at eee.metu.edu.tr Lab: D123, Phone: (+90 312) 210 45 74 From raulitomb at hotmail.com Thu Dec 28 02:33:06 2006 From: raulitomb at hotmail.com (Raul Morales Berrocal) Date: Thu, 28 Dec 2006 11:33:06 +0100 Subject: [ns] [ns2] Ssendfailure DSR Message-ID: Hi!! This is the first time I write a mail to this mailing list. I have a problem: I am making simulations with DSR routing protocol. The simulation time is 3000 s, but the simulations never finish. Sometimes, it appears a fail like SSendFailure 2037.200261563 _9_ 911747 2 9:3 11:0 9->13 1 2 2 3 [|9 13 11 ] and the simulation finish, and other times the simulations finish before they arrive 3000 s but don't show ssenfailure message. What is the problem?? How can I solve it?? Thank you _________________________________________________________________ Acepta el reto MSN Premium: Protecci?n para tus hijos en internet. Desc?rgalo y pru?balo 2 meses gratis. http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_proteccioninfantil From hanan_6531 at yahoo.com Thu Dec 28 09:51:00 2006 From: hanan_6531 at yahoo.com (h sh) Date: Thu, 28 Dec 2006 09:51:00 -0800 (PST) Subject: [ns] How Link State Routing in NS2 works? Message-ID: <967109.87868.qm@web36710.mail.mud.yahoo.com> Hi How Link State Routing is implemented in NS2 ? please help me thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From Y.Zhao-2 at student.TUDelft.NL Thu Dec 28 13:14:05 2006 From: Y.Zhao-2 at student.TUDelft.NL (Zhao) Date: Thu, 28 Dec 2006 22:14:05 +0100 Subject: [ns] how to caculate the Packet delay? Message-ID: <397EF9472E87024EA7BCFE79039CC081032F7B@SRV602.tudelft.net> Hi, everyone I was wondering how to caculate the Packet delay of the FTP/TCP flow and CBR/UDP. Does anyone has the idea about this? If you know, please share with me. Thanks a lot. Best regards, Yiyu From zubair_m84 at yahoo.com Thu Dec 28 18:25:13 2006 From: zubair_m84 at yahoo.com (Zubair Mehmood) Date: Thu, 28 Dec 2006 18:25:13 -0800 (PST) Subject: [ns] Less Xgraph options Message-ID: <20061229022514.21397.qmail@web58301.mail.re3.yahoo.com> Hi?. Hope you all will be at quiet ease. I have configured ns 2.29 with help of cygwin on windows xp professional 2003. When I executed the example4.tcl (Creating output files for Xgraph) given in tutorial: I have just three options on Xgraph ?CLOSE HDCPY ABOUT ?, I have no commands of ?ANIM REPLOT DERIV? plz help me what to do?.? Example is here: #Example4.tcl #Create a simulator object set ns [new Simulator] #Open the output files set f0 [open out0.tr w] set f1 [open out1.tr w] set f2 [open out2.tr w] #Create 5 nodes set n0 [$ns node] set n1 [$ns node] set n2 [$ns node] set n3 [$ns node] set n4 [$ns node] #Connect the nodes $ns duplex-link $n0 $n3 1Mb 100ms DropTail $ns duplex-link $n1 $n3 1Mb 100ms DropTail $ns duplex-link $n2 $n3 1Mb 100ms DropTail $ns duplex-link $n3 $n4 1Mb 100ms DropTail #Define a 'finish' procedure proc finish {} { global f0 f1 f2 #Close the output files close $f0 close $f1 close $f2 #Call xgraph to display the results exec xgraph out0.tr out1.tr out2.tr -geometry 800x400 & exit 0 } #Define a procedure that attaches a UDP agent to a previously created node #'node' and attaches an Expoo traffic generator to the agent with the #characteristic values 'size' for packet size 'burst' for burst time, #'idle' for idle time and 'rate' for burst peak rate. The procedure connects #the source with the previously defined traffic sink 'sink' and returns the #source object. proc attach-expoo-traffic { node sink size burst idle rate } { #Get an instance of the simulator set ns [Simulator instance] #Create a UDP agent and attach it to the node set source [new Agent/UDP] $ns attach-agent $node $source #Create an Expoo traffic agent and set its configuration parameters set traffic [new Application/Traffic/Exponential] $traffic set packetSize_ $size $traffic set burst_time_ $burst $traffic set idle_time_ $idle $traffic set rate_ $rate # Attach traffic source to the traffic generator $traffic attach-agent $source #Connect the source and the sink $ns connect $source $sink return $traffic } #Define a procedure which periodically records the bandwidth received by the #three traffic sinks sink0/1/2 and writes it to the three files f0/1/2. proc record {} { global sink0 sink1 sink2 f0 f1 f2 #Get an instance of the simulator set ns [Simulator instance] #Set the time after which the procedure should be called again set time 0.5 #How many bytes have been received by the traffic sinks? set bw0 [$sink0 set bytes_] set bw1 [$sink1 set bytes_] set bw2 [$sink2 set bytes_] #Get the current time set now [$ns now] #Calculate the bandwidth (in MBit/s) and write it to the files puts $f0 "$now [expr $bw0/$time*8/1000000]" puts $f1 "$now [expr $bw1/$time*8/1000000]" puts $f2 "$now [expr $bw2/$time*8/1000000]" #Reset the bytes_ values on the traffic sinks $sink0 set bytes_ 0 $sink1 set bytes_ 0 $sink2 set bytes_ 0 #Re-schedule the procedure $ns at [expr $now+$time] "record" } #Create three traffic sinks and attach them to the node n4 set sink0 [new Agent/LossMonitor] set sink1 [new Agent/LossMonitor] set sink2 [new Agent/LossMonitor] $ns attach-agent $n4 $sink0 $ns attach-agent $n4 $sink1 $ns attach-agent $n4 $sink2 #Create three traffic sources set source0 [attach-expoo-traffic $n0 $sink0 200 2s 1s 100k] set source1 [attach-expoo-traffic $n1 $sink1 200 2s 1s 200k] set source2 [attach-expoo-traffic $n2 $sink2 200 2s 1s 300k] #Start logging the received bandwidth $ns at 0.0 "record" #Start the traffic sources $ns at 10.0 "$source0 start" $ns at 10.0 "$source1 start" $ns at 10.0 "$source2 start" #Stop the traffic sources $ns at 50.0 "$source0 stop" $ns at 50.0 "$source1 stop" $ns at 50.0 "$source2 stop" #Call the finish procedure after 60 seconds simulation time $ns at 60.0 "finish" #Run the simulation $ns run Send instant messages to your online friends http://uk.messenger.yahoo.com From larry.brigman at gmail.com Thu Dec 28 18:39:40 2006 From: larry.brigman at gmail.com (Larry Brigman) Date: Thu, 28 Dec 2006 18:39:40 -0800 Subject: [ns] how to caculate the Packet delay? In-Reply-To: <397EF9472E87024EA7BCFE79039CC081032F7B@SRV602.tudelft.net> References: <397EF9472E87024EA7BCFE79039CC081032F7B@SRV602.tudelft.net> Message-ID: On 12/28/06, Zhao wrote: > > Hi, everyone > > I was wondering how to caculate the Packet delay of the FTP/TCP flow and CBR/UDP. Does anyone has the idea about this? If you know, please share with me. > Thanks a lot. > Turn on tracing and use the info that is provided in the trace file to calculate a packet delay. Some of this delay is based on the info that you provide in the simulation (link delay, link bandwidth,packet size). From anilegna at gmail.com Sat Dec 30 01:22:16 2006 From: anilegna at gmail.com (gl gl) Date: Sat, 30 Dec 2006 11:22:16 +0200 Subject: [ns] packets per second In-Reply-To: <171487960612291522n57159715w2fa66c65589c088a@mail.gmail.com> References: <171487960612291522n57159715w2fa66c65589c088a@mail.gmail.com> Message-ID: <171487960612300122q612b8a09rbe27275b3f66c078@mail.gmail.com> hello, i have a problem, i would like to write code, in which every node, will send 200 packets per second and the packet size is 256 bytes. how shall i write it ? thank you From anilegna at gmail.com Sat Dec 30 01:22:01 2006 From: anilegna at gmail.com (gl gl) Date: Sat, 30 Dec 2006 11:22:01 +0200 Subject: [ns] moving node In-Reply-To: <171487960612291527h62eeee10laa89bcc7f1f56b73@mail.gmail.com> References: <171487960612291527h62eeee10laa89bcc7f1f56b73@mail.gmail.com> Message-ID: <171487960612300122g5c345f91r4e66e67a67a85865@mail.gmail.com> hello, in a problem, i want to write code, where i have 2 moving mobile nodes. the topography is 1000*1000, and node A is initially at (200, 200) and B at (250,250). A and B move with some speed x to the edges of topography and return back with the half speed of the initial x. i want also to let the distance betwwen the nodes fixed at 100. can youhelp me pliz with the code?which functions shall i use? thank you. From giantpassos at ig.com.br Sat Dec 30 04:21:01 2006 From: giantpassos at ig.com.br (giantpassos) Date: Sat, 30 Dec 2006 09:21:01 -0300 Subject: [ns] trace2stats + gnuplot Message-ID: <20061230_122101_032907.giantpassos@ig.com.br> Hi everybory, I need to work with trace2stats and gnuplot. For who already has done that. Please, mail me the gnuplot file commands. Regards, Diego Passos. From fokumdt at ittc.ku.edu Sat Dec 30 09:28:20 2006 From: fokumdt at ittc.ku.edu (fokumdt@ittc.ku.edu) Date: Sat, 30 Dec 2006 11:28:20 -0600 (CST) Subject: [ns] nam installation error Message-ID: <58837.66.45.156.87.1167499700.squirrel@webmail.ittc.ku.edu> Hi, I got the following message when trying to install the nam package in ns-allinone-2.30 on a Linux Redhat workstation. rm -f nam g++ -o nam \ tkcompat.o tkUnixInit.o xwd.o netview.o netmodel.o edge.o packet.o node. o main.o trace.o queue.o drop.o animation.o agent.o feature.o route.o transform. o paint.o state.o monitor.o anetmodel.o random.o rng.o view.o graphview.o netgra ph.o tracehook.o lan.o psview.o group.o editview.o tag.o address.o animator.o wn etmodel.o nam_stream.o enetmodel.o testview.o parser.o trafficsource.o lossmodel .o queuehandle.o gen/version.o gen/nam_tcl.o -L/tools/ns2/fokumdt/ns- allinone-2 .30/tclcl-1.18 -ltclcl -L/tools/ns2/fokumdt/ns- allinone-2.30/otcl-1.12 -lotcl -L /tools/ns2/fokumdt/ns- allinone-2.30/lib -ltk8.4 -L/tools/ns2/fokumdt/ns-allinone -2.30/lib - ltcl8.4 -L/usr/X11R6/lib -lXext -lX11 -lnsl -ldl -lm /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXext.so when searching for -lXext /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXext.a when searching for - lXext /usr/bin/ld: cannot find -lXext collect2: ld returned 1 exit status make: *** [nam] Error 1 Nam make failed! Continue ... See http://www.isi.edu/nsnam/ns-problems.html for problems Please compile your nam separately. How do I resolve this error? Thanks, Daniel From f.kolovos at gmail.com Sun Dec 31 03:45:27 2006 From: f.kolovos at gmail.com (Filippos Kolovos) Date: Sun, 31 Dec 2006 13:45:27 +0200 Subject: [ns] how to caculate the Packet delay? In-Reply-To: <8372803c0612310341x751f8429taa90284b5ac81e65@mail.gmail.com> References: <8372803c0612310341x751f8429taa90284b5ac81e65@mail.gmail.com> Message-ID: <8372803c0612310345j452ed9c2w4a7de0b0a2b6d907@mail.gmail.com> - You can also check the link below in the ns-users archives for calculating the average queue delay in wired links (i.e. packet delay) using monitor objects. http://mailman.isi.edu/pipermail/ns-users/2006-August/056736.html Hope that I have helped. Regards, -Fk > On 12/30/06, ns-users-request at isi.edu wrote: > > > > ---------- Forwarded message ---------- > > From: "Larry Brigman" > > To: Zhao > > Date: Thu, 28 Dec 2006 18:39:40 -0800 > > Subject: Re: [ns] how to caculate the Packet delay? > > On 12/28/06, Zhao wrote: > > > > > > Hi, everyone > > > > > > I was wondering how to caculate the Packet delay of the FTP/TCP flow > > and CBR/UDP. Does anyone has the idea about this? If you know, please share > > with me. > > > Thanks a lot. > > > > > > > Turn on tracing and use the info that is provided in the trace file to > > calculate > > a packet delay. Some of this delay is based on the info that you > > provide in the > > simulation (link delay, link bandwidth,packet size). > > > > > > > > > > _______________________________________________ > > Ns-users mailing list > > Ns-users at isi.edu > > http://mailman.isi.edu/mailman/listinfo/ns-users > > > > > > > -- Filippos N Kolovos Software Systems Analyst & Engineer M.Sc. (Eng.) in Data Communications Automation & Networking Department University of Macedonia Library Egnatia 156, P.O.Box 1591 540 06 Thessaloniki, Greece E-Mail: f.kolovos at ieee.org, filippos at uom.gr ---------------------------------------------- From suchdeokapil at gmail.com Sun Dec 31 22:54:13 2006 From: suchdeokapil at gmail.com (Kapil Suchdeo) Date: Mon, 01 Jan 2007 12:24:13 +0530 Subject: [ns] Help regarding video traffic in ns2 for MANET Message-ID: <4598B015.2000601@googlemail.com> Hi All, I am trying to simulate wireless networks in ns2. With traffic generated fron Application/Trace using trace file video.dat which is generated from Verbose_Jurassic_256.dat file.( I am attaching all files for your reference.) I am getting problem that first No trace is generating for AODV and DSR while for DSDV, TORA and OLSR it is working. Also no AGT trace trace is generating for same traffic. Please let me know the solution. Thanks in advance. Kapil Suchdeo