From tomhend at u.washington.edu Sat Mar 1 07:39:28 2008 From: tomhend at u.washington.edu (tomhend@u.washington.edu) Date: Sat, 1 Mar 2008 07:39:28 -0800 Subject: [ns] ns-2 FAQ Message-ID: <200803011539.m21FdSgq017634@ns-regression.ee.washington.edu> The Network Simulator ns-2: Frequently Asked Questions Note: This FAQ is now available at the project wiki: http://nsnam.isi.edu/nsnam/index.php/Ns_Users_FAQ _The mailing is is now subscriber only---please see the FAQ entry on "How do I post to the mailing list? Why was my post rejected?" for details._ * _Where do I get ns?_ From the ns web site at http://www.isi.edu/nsnam/ns/ns.html and the download page http://www.isi.edu/nsnam/ns/ns-tests.html. * _What platforms does ns run on and what kind of hardware do I need?_ Please see "where to start" on the building ns web page: http://www.isi.edu/nsnam/ns/ns-build.html#start. * _What should I do if I have trouble downloading/extracting ns?_ This question is answered in detail at http://www.isi.edu/nsnam/ns/ns-problems.html#downloading. * _What should I do if I encounter problems building ns?_ Check: 1. the README that comes in the distribution (very brief), 2. the "installation problems, bug fixes and help" web page http://www.isi.edu/nsnam/ns/ns-problems.html, 3. the archives of the ns-users mailing list http://www.isi.edu/nsnam/ns/ns-lists.html, 4. post a bug report (see below) http://www.isi.edu/cgi-bin/nsnam/reportbug.cgi. * _What do I do after I successfully build ns?_ + Put the path to your ns executable into your PATH environment + Put the path to your otcl into your LD_LIBRARY_PATH environment + Put the path to your tcl library into your TCL_LIBRARY environment * _Where can I find documentation for ns?_ All documentation is linked from the main ns web page http://www.isi.edu/nsnam/ns/. Documentation includes a tutorial (originally from Marc Greis) and a reference manual (ns notes and documentation). * _Words, words, words... that documentation is nice, but where are some sample scripts I can start from?_ Many sample scripts can be found in the ns distribution in ~ns-2/tcl/ex and ~ns-2/tcl/test. * _What protocols does ns support?_ A lot! Almost all variants of TCP, several forms of multicast, wired networking, several ad hoc routing protocols and propagation models (but not cellular phones), data diffusion, satellite, and other stuff. See the documentation (described above) for details, or download ns and look. * _How do I know that ns correctly implements these protocols?_ Ns has validation tests that cover many protocols, see http://www.isi.edu/nsnam/ns/ns-tests.html. However, ultimately users are responsible for verifying that ns is accurate for their purposes---since we cannot foresee all the ways ns may be used, we cannot test all cases with all inputs. * _Are there any contributed/additional protocols not in the main distribution?_ Yes, please see the contributed code web page http://www.isi.edu/nsnam/ns/ns-contributed.html. The mailing list archives can also be helpful (see below). * _How should I get started doing something (like implementing a new protocol or trying an experiment)?_ We recommend that you look through the tutorial (see documentation, above), then start with an example program that is most similar to yours (in the tutorial, or in tcl/ex or tcl/test in the distribution), and then start changing things. * _What should I do to compile ns to reflect my changes if I've modified some .cc or .h files?_ go to ns directory and run "make" or "make depend; make" * _How do I subscribe to the ns-users mailing list? How do I search old list archives? I can't take any more---how do I get off this list?_ To subscribe or unsubscribe, see http://www.isi.edu/nsnam/ns/ns-lists.html. The list archive is at http://www.isi.edu/nsnam/ns/ns-lists.html. * _How do I post to the mailing list? Why was my post rejected?_ As of June 2004 the ns-users lists allow posts from _subscriber only_. If you're not a subscriber, your posts to the list will be rejected. (This is unfortunately necessary to dispose efficiently of spam; manual filtering is too expensive.) We realize that the list is high traffic, so if you wish to post to the list without receiving messages on it, please subscribe and select the _no-mail_ option for your subscription. For details about the mailing list including mailing-list specific FAQ (for example, what if you're subscribed but still can't post), please see http://www.isi.edu/nsnam/ns/ns-lists.html. * _Did my post appear on the mailing list? (Or, why didn't my post appear on the mailing list?)_ See the http://www.isi.edu/nsnam/ns/ns-lists.html web page for help debugging mailing list problems. * _What if I have a question that's not answered here?_ If you've checked the installation problems and bug fixes web page (http://www.isi.edu/nsnam/ns/ns-problems.html) and there's no answer to your question, you may want to file a bug report or post a question to the ns-user's mailing list. First, you should check the archive of the list at http://www.isi.edu/nsnam/ns/ns-lists.html. Your question may already be answered there. If not, you can post a bug report using the web form at http://www.isi.edu/cgi-bin/nsnam/reportbug.cgi. If your question is NOT about ns implementation bugs, you may wish to post to the list. First you should subscribe. Subscription instructions are at http://www.isi.edu/nsnam/ns/ns-lists.html. _Please note that mail sent to the list is publicly distributed and archived. _If you have concerns about your message being made public (spam harvesting of your address), please consider that _before_ posting. We cannot remove messages from reciepient's mailboxes or the public archive after they're posted. When posting bug reports, please _always_ include information including at least (the bug report form includes spaces for these): + what version of ns you're using, + what operating system you're running on (not just Linux or Solaris, but RedHat version 7.0 or Solaris 2.4---send us the output of "uname -a"), + what specific behavior you see (if ns doesn't compile, what's the specific error; if TCP does something strange, what exactly did it do [send a pointer to a packet trace]), + what behavior you expected to see (if ns doesn't compile this is obvious, but if TCP does something strange, why is it strange, where is the TCP spec violated?), + pointers to your script detailed output files, + a statement that "yes, I've read the FAQ, ns-problems page, and manual and I couldn't find the answer there" (or a statement about why you didn't do that yet :-) Soo-Hyun Choi observed from posts to the list: _Sometimes, I see this list is filled with the questions with: 1) asked many times before 2) hardly understandable what this guy is asking 3) too easy to find an answer over a few clicks over the Internet 4) soliciting to do their homework in a simple way by asking in this list 5) easily seekable an answer by contributing a couple of hours of reading the ns-manual 6) etc, etc. _ _As many of us in this list are doing an advanced degree, it would be suggested to read the following article in order to raise a useful/meaningful question in a smart way. http://www.catb.org/~esr/faqs/smart-questions.html _ This is _very_ good advice, since asking the Right Question is very likely to get a good/helpful answer, while asking a question poorly. For example, think about how you would answer these two questions: _"Ns doesn't work for me, it crashes. Help."_ as compared to _"I get a segmentation fault when running test script test-suite-webcache on Mandrake 10 Linux. The backtrace is on my web page at www.someu.edu/~someone. It looks like it passes in the on-line test suites, but it fails for me. Am I doing something wrong?_ A reminder about mailing list etiquette: + Please check the web pages and list archives before posting your question. + Please keep the body of your post to simple ASCII, not HTML. + Please do _not_ send large attachments (if what you have is bigger than a few kilobytes, put it on a web page and send a URL) + Before posting a question like "did people see my post" or "the list seems down", please check the archives (you can answer this question more accurately by checking yourself rather than asking). + Please don't post subscribe/unsubscribe requests directly to the list, use the lists' information page. (see the web page mentioned above for details). From ssakthivel85 at gmail.com Sat Mar 1 02:45:45 2008 From: ssakthivel85 at gmail.com (Sakthivel Subramanian) Date: Sat, 1 Mar 2008 16:15:45 +0530 Subject: [ns] tool for extending tcl with c++ Message-ID: <8f98fbc00803010245q700c0b50w1731e975a6d51ce1@mail.gmail.com> Hi friends, I donot know how to link our c++ with tcl...I have referred so many tutorials still i could not get clear picture ... Is there any tool available for ns2 using cygwin such that we can give our c++ and tcl in order to communicate between c++ and tcl.. Thanks S.Sakthivel From SYilmaz at aselsan.com.tr Sat Mar 1 12:03:01 2008 From: SYilmaz at aselsan.com.tr (Semra YILMAZ) Date: Sat, 1 Mar 2008 22:03:01 +0200 Subject: [ns] FW: the relation between node and assigned queue for that node References: <22DF48915EF5BF4998B4B34DE67C0A99814883@POSTA.aselsan.com.tr> <22DF48915EF5BF4998B4B34DE67C0A9981488B@POSTA.aselsan.com.tr> Message-ID: <22DF48915EF5BF4998B4B34DE67C0A9981488C@POSTA.aselsan.com.tr> Dear all, I really need the answer of my below question as soon as possible. Thanks for help. Semra ________________________________ From: Semra YILMAZ Sent: Wed 27.02.2008 08:13 To: ns-users at ISI.EDU Subject: the link between node and assigned queue for that node Dear ns-users, I want to check the queue occupancy while a packet loss occurs, but i could not find any relation between node and assigned queue for that node in the source code. Does anybody know where (in which file) this link is created in the source code. Best regards, Semra ###################################################################### 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 nirexx at centrum.cz Sun Mar 2 04:31:03 2008 From: nirexx at centrum.cz (Nirex) Date: Sun, 2 Mar 2008 13:31:03 +0100 Subject: [ns] How can I get nonwireless id in classifier.cc Message-ID: <000501c87c61$47b1b680$d7152380$@cz> Hello, I want to create simulation of network with using cisco routers with their access lists. I decided that particular access list of routers I would store to particular node. If I understand working of NS correctly I can catch incoming packet for some node in: classifier.cc in void Classifier::recv(Packet* p, Handler*h) Incoming packet has header. There is prev_hop (it could be actual node) in packet header. hdr_cmn *cmnh; cmnh = hdr_cmn::access(p); prev_hop = cmnh->prev_hop(); Bui If I use it it still return 0 Please, could you help me? Or could you tell me another way, how I can get id of actual nonwireles node. Thanx a lot Jiri Macku From mayurmvegad at yahoo.com Sun Mar 2 07:08:14 2008 From: mayurmvegad at yahoo.com (Mayur M Vegad) Date: Sun, 2 Mar 2008 07:08:14 -0800 (PST) Subject: [ns] Problem in M/M/m Queueing system implementation. Message-ID: <441841.46207.qm@web56903.mail.re3.yahoo.com> Dear all, We have to implement M/M/m queueing system (eg m = 5 servers), with no buffer , lamda = 400 and mu = 10ms. Should we keep the Queue_limit ZERO or ONE for NO_BUFFER case here? We doubt because this gives all the packets (100%) dropped, while making the Queue_limit 2 (and more) reduces the dropped packets to less than 16%. Note: We used array of nodes for multiple servers and used array of UDP agents to attach with each of them. Will be thankful if someone can give a little hint on where we mistake! regards, Mayur --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From karancs12 at yahoo.com Mon Mar 3 00:58:18 2008 From: karancs12 at yahoo.com (Karan Singh) Date: Mon, 3 Mar 2008 00:58:18 -0800 (PST) Subject: [ns] Ns-users Digest, Vol 51, Issue 2 In-Reply-To: Message-ID: <613052.13754.qm@web38205.mail.mud.yahoo.com> ns-users-request at ISI.EDU wrote: Send Ns-users mailing list submissions to ns-users at isi.edu To subscribe or unsubscribe via the World Wide Web, visit http://mailman.isi.edu/mailman/listinfo/ns-users or, via email, send a message with subject or body 'help' to ns-users-request at isi.edu You can reach the person managing the list at ns-users-owner at isi.edu When replying, please edit your Subject line so it is more specific than "Re: Contents of Ns-users digest..." Today's Topics: 1. How can I get nonwireless id in classifier.cc (Nirex) 2. Problem in M/M/m Queueing system implementation. (Mayur M Vegad) 3. How can i get M/M/m queueing system implementation in ns. (Karan ) ---------------------------------------------------------------------- Message: 1 Date: Sun, 2 Mar 2008 13:31:03 +0100 From: "Nirex" Subject: [ns] How can I get nonwireless id in classifier.cc To: Message-ID: <000501c87c61$47b1b680$d7152380$@cz> Content-Type: text/plain; charset="iso-8859-2" Hello, I want to create simulation of network with using cisco routers with their access lists. I decided that particular access list of routers I would store to particular node. If I understand working of NS correctly I can catch incoming packet for some node in: classifier.cc in void Classifier::recv(Packet* p, Handler*h) Incoming packet has header. There is prev_hop (it could be actual node) in packet header. hdr_cmn *cmnh; cmnh = hdr_cmn::access(p); prev_hop = cmnh->prev_hop(); Bui If I use it it still return 0 Please, could you help me? Or could you tell me another way, how I can get id of actual nonwireles node. Thanx a lot Jiri Macku ------------------------------ Message: 2 Date: Sun, 2 Mar 2008 07:08:14 -0800 (PST) From: Mayur M Vegad Subject: [ns] Problem in M/M/m Queueing system implementation. To: ns-users at ISI.EDU Message-ID: <441841.46207.qm at web56903.mail.re3.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Dear all, We have to implement M/M/m queueing system (eg m = 5 servers), with no buffer , lamda = 400 and mu = 10ms. Should we keep the Queue_limit ZERO or ONE for NO_BUFFER case here? We doubt because this gives all the packets (100%) dropped, while making the Queue_limit 2 (and more) reduces the dropped packets to less than 16%. Note: We used array of nodes for multiple servers and used array of UDP agents to attach with each of them. Will be thankful if someone can give a little hint on where we mistake! regards, Mayur --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. ------------------------------ _______________________________________________ Ns-users mailing list Ns-users at isi.edu http://mailman.isi.edu/mailman/listinfo/ns-users End of Ns-users Digest, Vol 51, Issue 2 *************************************** --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. From zawtun78 at gmail.com Mon Mar 3 01:19:41 2008 From: zawtun78 at gmail.com (Zaw Tun) Date: Mon, 3 Mar 2008 01:19:41 -0800 (PST) Subject: [ns] to save rq_timestamp and rp_timestamp in trace file Message-ID: <15799908.post@talk.nabble.com> Hi all, I want to save the value of rq_timestamp and rp_timestamp to the trace file for each node. How can I save those values. Thanks -- View this message in context: http://www.nabble.com/to-save-rq_timestamp-and-rp_timestamp-in-trace-file-tp15799908p15799908.html Sent from the ns-users mailing list archive at Nabble.com. From bicheng_huang at yahoo.com Mon Mar 3 05:49:09 2008 From: bicheng_huang at yahoo.com (darkchild) Date: Mon, 3 Mar 2008 05:49:09 -0800 (PST) Subject: [ns] EURANE input tracefiles Message-ID: <15666172.post@talk.nabble.com> Hi, Does anyone know how to change the velocity in EURANE input tracefiles to lower than 3kmh? I know there is a protection mechanism in the MATLAB scripts. Is there a way to make the UEs stationary? Thank you very much in advance! -- View this message in context: http://www.nabble.com/EURANE-input-tracefiles-tp15666172p15666172.html Sent from the ns-users mailing list archive at Nabble.com. From mandarchoure at gmail.com Tue Mar 4 04:35:58 2008 From: mandarchoure at gmail.com (Mandar Choure) Date: Tue, 4 Mar 2008 18:05:58 +0530 Subject: [ns] How to change bandwidth of wireless node Message-ID: Hi, I am using wired cum wireless topology, i want to change the bandwidth of wireless node. Can any body tell me how to change the bandwidth of a wireless node ? Plz help me. Regards Mandar From saritha.bheemisetty at gmail.com Tue Mar 4 04:37:09 2008 From: saritha.bheemisetty at gmail.com (saritha bheemisetty) Date: Tue, 4 Mar 2008 18:07:09 +0530 Subject: [ns] multicasting for Mobile Node in NS2 Message-ID: <44253bb00803040437v4e1b6cabybd8a3b02dfa69278@mail.gmail.com> Hi to all, I am working on simulations of mobile ipv6 in ns2.29. I want to have the multicasting group of all base stations. Do any one know how to do muticasting for Mobile Node in Ns2. If u know how to that in NS2 ( what changes need to be done), please reply me. Thanks in advance. From ksentini.amel at gmail.com Tue Mar 4 09:18:41 2008 From: ksentini.amel at gmail.com (amela) Date: Tue, 4 Mar 2008 09:18:41 -0800 (PST) Subject: [ns] help on aodv-uu Message-ID: <15832266.post@talk.nabble.com> Hi everybody, I am using the aodv-uu as a routing protocol for an ad hoc network on ns. In the file trace, i find all the packets dropped because of IFQ or NRTE. Please help me solving this problem. -- View this message in context: http://www.nabble.com/help-on-aodv-uu-tp15832266p15832266.html Sent from the ns-users mailing list archive at Nabble.com. From ksentini.amel at gmail.com Tue Mar 4 09:32:36 2008 From: ksentini.amel at gmail.com (amela) Date: Tue, 4 Mar 2008 09:32:36 -0800 (PST) Subject: [ns] ad hoc networks In-Reply-To: <200802262353.ab06582@pat.Cs.Nott.AC.UK> References: <200802262353.ab06582@pat.Cs.Nott.AC.UK> Message-ID: <15832609.post@talk.nabble.com> Hi Adriano, I think you should write "$ns initial_node_pos $node(0) 20" instead of "..._position ..." Let me know if it is OK! good luck Adriano Galati wrote: > > > Hi, please, has anybody used ns2 for ad hoc networks?? It seems I have a > problem with positioning... in the code below initial_node_position launch > the following error > =============================================================== > -bash-3.00$ > ns ex3.tcl num_nodes is set 3 INITIALIZE THE LIST xListHead > > (_o3 cmd line 1) > invoked from within > "_o3 cmd initial_node_position _o14 20" > invoked from within > "catch "$self cmd $args" ret" > invoked from within > "if [catch "$self cmd $args" ret] { > set cls [$self info class] > global errorInfo > set savedInfo $errorInfo > error "error when calling class $cls: $args" $..." > (procedure "_o3" line 2) > (SplitObject unknown line 2) > invoked from within > "$ns initial_node_position $node(0) 20" > (file "ex3.tcl" line 78) > -bash-3.00$ > ================================================= > > And the tcl code is this: > > # Create simulator > set ns [new Simulator] > > # Create a topology in a 670m x 670m area > set topo [new Topography] > $topo load_flatgrid 670 670 > > # ns trace and nam trace > $ns trace-all [open ns.tr w] > $ns namtrace-all-wireless [open ns.nam w] 670 670 > > # Create God > set god [create-god 3] > > # Define how to create a mobile node > $ns node-config \ > -adhocRouting DSR \ > -llType LL \ > -macType Mac/802_11 \ > -ifqLen 50 \ > -ifqType Queue/DropTail/PriQueue \ > -phyType Phy/WirelessPhy \ > -antType Antenna/OmniAntenna \ > -propType Propagation/TwoRayGround \ > -channel [new Channel/WirelessChannel] \ > -topoInstance $topo \ > -agentTrace ON \ > -routerTrace OFF \ > -macTrace OFF \ > -movementTrace OFF > > # Create mobile nodes > for {set i 0} {$i<3} {incr i} { > set node($i) [$ns node] > # disable random motion for static network > $node($i) random-motion 0 > } > > # Define movement model (if applicable) > #source movement-scenario-files > # Define traffic model (if applicable) > #source traffic-scenario-files > > $node(0) set X_ 83.4 > $node(0) set Y_ 239.4 > $node(0) set Z_ 0.0 > $node(1) set X_ 257.1 > $node(1) set Y_ 345.4 > $node(1) set Z_ 0.0 > $node(2) set X_ 591.3 > $node(2) set Y_ 199.4 > $node(2) set Z_ 0.0 > $ns at 33.0 "$node(0) setdest 89.7 283.5 19.2" > $ns at 51.0 "$node(1) setdest 221.8 80.9 14.9" > $ns at 50.0 "$node(2) setdest 369.5 170.5 3.4" > > > > set udp_(0) [new Agent/UDP] > $ns attach-agent $node(0) $udp_(0) > set null_(0) [new Agent/Null] > $ns attach-agent $node(2) $null_(0) > set cbr_(0) [new Application/Traffic/CBR] > $cbr_(0) set packetSize_ 1000 > $cbr_(0) set interval_ 4.0 > $cbr_(0) set random_ 1 > $cbr_(0) set maxpkts_ 10000 > $cbr_(0) attach-agent $udp_(0) > $ns connect $udp_(0) $null_(0) > $ns at 20.0 "$cbr_(0) start" > > > # Define node initial position in nam > #for {set i 0} {$i < 3} {incr i} { > # $ns initial_node_position $node($i) 20 > #} > > $ns initial_node_position $node(0) 20 > $ns initial_node_position $node(1) 20 > $ns initial_node_position $node(2) 20 > > # Tell ns/nam the simulation stop time > $ns at 100.0 "$ns nam-end-wireless 100.0" > $ns at 100.0 "$ns halt" > # Start your simulation > $ns run > ===================================================== > > Any suggestion is more than welcome, > Thanks, > Adriano > > This message has been checked for viruses but the contents of an > attachment > may still contain software viruses, which could damage your computer > system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > > -- View this message in context: http://www.nabble.com/ad-hoc-networks-tp15703113p15832609.html Sent from the ns-users mailing list archive at Nabble.com. From reborges at timbrasil.com.br Tue Mar 4 11:53:18 2008 From: reborges at timbrasil.com.br (Roberto Evelim Penha Borges) Date: Tue, 4 Mar 2008 16:53:18 -0300 Subject: [ns] Change Link Cost Message-ID: <2D7DACF7B604E841B6CC8CC2E0D1E70102B14F2C@SNEDCPMS02.internal.timbrasil.com.br> Hi all, I have a topology running LS rtProto and I need to change the cost of a link during the simulation. I tried doing something like: $ns at 5 "$ns cost $n1 $n2 10" I didn't receive any error message, but it just didn't work. It doesn't matter how high I set the link cost, the traffic keeps going trough it. Does anyone have any suggestion about what I can do? Do I need to modify any NS file? Which ones? Thanks in advance, Roberto Evelim Penha Borges From arthurnl at gmail.com Tue Mar 4 13:52:30 2008 From: arthurnl at gmail.com (Arthur Lima) Date: Tue, 4 Mar 2008 18:52:30 -0300 Subject: [ns] Dispaly problem with nam In-Reply-To: <66e46ef10803041138ob49ecdk23f520523de9e563@mail.gmail.com> References: <66e46ef10803041138ob49ecdk23f520523de9e563@mail.gmail.com> Message-ID: <66e46ef10803041352l8bd72b7me3f4f85aaaab6771@mail.gmail.com> Hi... I had the display error thing, and after searching, i found ppl telling me to do this: export DISPLAY=localhost:0.0 then use "startx", and from there, use nam... and it works fine... but i tried to put that "export DISPLAY=localhost:0.0" into the ".bashrc" and, although it puts the DISPLAY variable there, i get this error after trying "nam" into the startx thing: nam: couldn't connect to display "localhost:0.0" How do i fix this problem? OBS.: im using cygwin under windows Thanks, -- ==================================> Arthur N?brega de Lima ==================================> From nalin.vijay at gmail.com Tue Mar 4 18:17:10 2008 From: nalin.vijay at gmail.com (anitha vijay) Date: Wed, 5 Mar 2008 07:47:10 +0530 Subject: [ns] Fwd: in diffserv(ns2) In-Reply-To: <97f027d00803010243l6c953770h7eb0339530cab066@mail.gmail.com> References: <97f027d00803010243l6c953770h7eb0339530cab066@mail.gmail.com> Message-ID: <97f027d00803041817v6236a1bcq4216153668699899@mail.gmail.com> ---------- Forwarded message ---------- From: anitha vijay Date: Sat, Mar 1, 2008 at 4:13 PM Subject: in diffserv(ns2) To: ns-users at isi.edu hi iam doing my project in diffserv in ns2 .i want to know how to record the traffic coming to the edge node.i dont know where to modify in c++ file. If anybody know help me. From gananthi at tce.edu Tue Mar 4 22:01:18 2008 From: gananthi at tce.edu (gananthi@tce.edu) Date: Wed, 5 Mar 2008 11:31:18 +0530 (IST) Subject: [ns] [Fwd: need clarification] Message-ID: <3052.10.4.1.60.1204696878.squirrel@mail.tce.edu> ---------------------------- Original Message ---------------------------- Subject: need clarification From: gananthi at tce.edu Date: Tue, March 4, 2008 3:13 pm To: ns-users at isi.edu -------------------------------------------------------------------------- Hello Plz go thro the attachment.. Kindly clarify me if possible. ananthi ----------------------------------------- This email was sent using TCEMail Service. Thiagarajar College of Engineering Madurai - 625015 (India) ----------------------------------------- This email was sent using TCEMail Service. Thiagarajar College of Engineering Madurai - 625015 (India) From gananthi at tce.edu Tue Mar 4 22:07:05 2008 From: gananthi at tce.edu (gananthi@tce.edu) Date: Wed, 5 Mar 2008 11:37:05 +0530 (IST) Subject: [ns] [Fwd: need clarification] Message-ID: <3063.10.4.1.60.1204697225.squirrel@mail.tce.edu> ---------------------------- Original Message ---------------------------- Subject: need clarification From: gananthi at tce.edu Date: Tue, March 4, 2008 3:13 pm To: ns-users at isi.edu -------------------------------------------------------------------------- Hello Plz go thro the attachment.. Kindly clarify me if possible. ananthi ----------------------------------------- This email was sent using TCEMail Service. Thiagarajar College of Engineering Madurai - 625015 (India) ----------------------------------------- This email was sent using TCEMail Service. Thiagarajar College of Engineering Madurai - 625015 (India) From gananthi at tce.edu Tue Mar 4 22:17:12 2008 From: gananthi at tce.edu (gananthi@tce.edu) Date: Wed, 5 Mar 2008 11:47:12 +0530 (IST) Subject: [ns] wireless sensor Message-ID: <3072.10.4.1.60.1204697832.squirrel@mail.tce.edu> Hello Can anyone know how to simulate the given Network using NS 2.31 ? The Distance is short range one ( Sensor Network based ) The Time slot length is given between the two nodes and the constellation size ?b (no of bits transmitted) is also be given. After simulating the model , I m in need of Network Delay and Energy. I am trying for the problem. I did n?t get exact solution. Kindly answer if possible. node 1 (15,0) source node node 2 (10,0) node 3 (5,0) node 4 (0,0) sink node bits transmission node 1 node 2 9 bits time slot length 0.044 node 2 node 4 6 bits time slot length 0.6 node 1 node 3 6 bits time slot length 0.035 node 3 node 4 9 bits time slot length 0.044 if possible kindly send me the query ananthi ----------------------------------------- This email was sent using TCEMail Service. Thiagarajar College of Engineering Madurai - 625015 (India) From abhijit.subramanya at gmail.com Tue Mar 4 22:51:48 2008 From: abhijit.subramanya at gmail.com (abhijit subramanya) Date: Wed, 5 Mar 2008 12:21:48 +0530 Subject: [ns] ADTFRC code Message-ID: Hi if anyone has the code for Ad hoc Tcp freindly Rate Control Protocol please send me the module for that. i am really in need of it. please someone send me the code if you have it. thanks. From sheraz_nadeem at hotmail.com Wed Mar 5 00:53:29 2008 From: sheraz_nadeem at hotmail.com (Sheraz Nadeem) Date: Wed, 5 Mar 2008 13:53:29 +0500 Subject: [ns] problem regarding MAODV implementation Message-ID: Hi all i am using ns-2.31 and i am having problem regarding the implementation of MAODV. i am trying to achieve multicasting in AODV. i am having the error which is ///////////////////////ERROR/////////////////////////////////////// ./ns ns.tcl 01 10 1 num_nodes is set 50 INITIALIZE THE LIST xListHead Loading connection pattern ... Loading scenarios file... Starting Simulation ... ns: _o734 aodv-join-group 0xE000000: (_o734 cmd line 1) invoked from within "_o734 cmd aodv-join-group 0xE000000" invoked from within "catch "$self cmd $args" ret" invoked from within "if [catch "$self cmd $args" ret] { set cls [$self info class] global errorInfo set savedInfo $errorInfo error "error when calling class $cls: $args" $..." (procedure "_o734" line 2) (SplitObject unknown line 2) invoked from within "_o734 a odv-join-group 0xE000000" //////////////////////////////////////////////////////////////////////// and i am using the simulation script /////////////////////////////////////////////////////////////////////// set opt(stop) 910.0 set nodes 50 set mobility 1 set scenario [lindex $argv 2] set pausetime 0 set traffic cbr set senders [lindex $argv 0] set receivers [lindex $argv 1] set ns_ [new Simulator] set topo [new Topography] $topo load_flatgrid 1500 300 set tracefd [open ./trace-$pausetime-$mobility-$scenario-$senders-$receivers w] $ns_ trace-all $tracefd set god_ [create-god $nodes] $ns_ node-config -adhocRouting AODV \ -llType LL \ -macType Mac/802_11 \ -ifqLen 50 \ -ifqType Queue/DropTail/PriQueue \ -antType Antenna/OmniAntenna \ -propType Propagation/TwoRayGround \ -phyType Phy/WirelessPhy \ -channel [new Channel/WirelessChannel] \ -topoInstance $topo \ -agentTrace ON \ -routerTrace ON \ -macTrace OFF \ -movementTrace OFF for {set i 0} {$i < $nodes} {incr i} { set node_($i) [$ns_ node] $node_($i) random-motion 0; } puts "Loading connection pattern ..." source "traffic/$traffic-$senders-$receivers" puts "Loading scenarios file..." source "scenarios/scen-1500x300-$nodes-$pausetime-$mobility-$scenario" for {set i 0} {$i < $nodes} {incr i} { $ns_ at $opt(stop) "$node_($i) reset"; } $ns_ at $opt(stop) "$ns_ halt" puts "Starting Simulation ..." $ns_ run ///////////////////////////////////////////////////////////////// i have got the sample traffic and scenario files from the internet for multicasting but i am having errror regarding the multicast address (0xE000000) why is this happening. i got the whole package of multicasting inclluding all the header and cc files necessary for multicasting. and i have enabled the multicast feature in aodv.h so why this is happening. i have the following lines aodv.cc ///////////////////////in aodv.cc//////////////// #ifdef MULTICAST else if (strcmp(argv[1], "aodv-join-group") == 0){ nsaddr_t mcast_addr = atoi(argv[2]); if (mcast_addr < IP_MULTICAST) return TCL_ERROR; aodv_mt_entry *mt = mtable.mt_lookup(mcast_addr); if (mt == 0) mt = mtable.mt_add(mcast_addr); if (mt->mt_node_status == ON_GROUP){ return TCL_OK; } if (mt->mt_node_status == ON_TREE){ mt->mt_node_status = ON_GROUP; return TCL_OK; } // node is not on the tree mt->mt_flags = MTF_IN_REPAIR; mt->mt_grp_leader_addr = INFINITY8; mt->mt_node_status = ON_GROUP; sendMRQ(mt, RREQ_J); return TCL_OK; } else if (strcmp(argv[1], "aodv-leave-group") == 0){ nsaddr_t mcast_addr = atoi(argv[2]); if (mcast_addr < IP_MULTICAST) return TCL_ERROR; aodv_mt_entry *mt = mtable.mt_lookup(mcast_addr); if (mt == 0 || mt->mt_node_status != ON_GROUP) return TCL_OK; if (mt->mt_grp_leader_addr != index) mt_prune(mt->mt_dst); else { mt->mt_node_status = ON_TREE; mt->mt_grp_leader_addr = INFINITY8; selectLeader(mt, INFINITY8); } return TCL_OK; } #endif ////////////////////////////////////////////////////////////// so is it not recognising the strings "aodv-join-group" or aodv-leave-group" tell me plz as quickly as you can. thanks _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From barcelonista at interia.pl Wed Mar 5 03:48:00 2008 From: barcelonista at interia.pl (Bartek Nawrocki) Date: Wed, 05 Mar 2008 12:48:00 +0100 Subject: [ns] Dispaly problem with nam In-Reply-To: <66e46ef10803041352l8bd72b7me3f4f85aaaab6771@mail.gmail.com> References: <66e46ef10803041138ob49ecdk23f520523de9e563@mail.gmail.com> <66e46ef10803041352l8bd72b7me3f4f85aaaab6771@mail.gmail.com> Message-ID: <47CE8870.9060507@interia.pl> maybe you should try to type export DISPLAY=:0.0 instead of export DISPLAY=localhost:0.0 Best regards, Bartek Nawrocki Arthur Lima pisze: > Hi... > > I had the display error thing, and after searching, i found ppl telling me > to do this: > > export DISPLAY=localhost:0.0 > > then use "startx", and from there, use nam... > > > and it works fine... > > but i tried to put that "export DISPLAY=localhost:0.0" into the ".bashrc" > and, although it puts the DISPLAY variable there, i get this error after > trying "nam" into the startx thing: > nam: couldn't connect to display "localhost:0.0" > > > How do i fix this problem? > > OBS.: im using cygwin under windows > > > Thanks, > > ---------------------------------------------------------------------- Bedac w toalecie korzystala z ... Sprawd? >>> http://link.interia.pl/f1d2e From jimitjshah at gmail.com Wed Mar 5 04:11:23 2008 From: jimitjshah at gmail.com (jimit shah) Date: Wed, 5 Mar 2008 17:41:23 +0530 Subject: [ns] 'cout' doesnt print on the console Message-ID: I have 3 linked files - 'ourapp.tcl', 'ourapp.h' and 'ourapp.cc' . I have included all the necessary files in my .cc file, including iostream.h . But the 'cout' statements dont get printed onto the console. Can someone help me get around the problem? If 'cout' doesnt work, what command can be used in order to print messages from the .cc file onto the console? Do i need to include anymore header files? Please help me....Its urgent. I'm working on ns-2.27 on Red Hat Linux 9.0 platform. -- jjs From khaulah_tc at yahoo.com Wed Mar 5 05:04:58 2008 From: khaulah_tc at yahoo.com (Nur Aini Rakhmawati) Date: Wed, 5 Mar 2008 05:04:58 -0800 (PST) Subject: [ns] 'cout' doesnt print on the console Message-ID: <516177.21844.qm@web38015.mail.mud.yahoo.com> Hi, Perhaps there is any IF condition that make it could not print your file You could test it by putting cout on your constructor file Suppose your constructor function in ourapp.cc is ourapp:ourapp() { cout << "hello Aini :D"< To: ns-users at ISI.EDU Sent: Wednesday, March 5, 2008 7:11:23 PM Subject: [ns] 'cout' doesnt print on the console I have 3 linked files - 'ourapp.tcl', 'ourapp.h' and 'ourapp.cc' . I have included all the necessary files in my .cc file, including iostream.h . But the 'cout' statements dont get printed onto the console. Can someone help me get around the problem? If 'cout' doesnt work, what command can be used in order to print messages from the .cc file onto the console? Do i need to include anymore header files? Please help me....Its urgent. I'm working on ns-2.27 on Red Hat Linux 9.0 platform. -- jjs ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs From jimitjshah at gmail.com Wed Mar 5 05:14:26 2008 From: jimitjshah at gmail.com (jimit shah) Date: Wed, 5 Mar 2008 18:44:26 +0530 Subject: [ns] Error: "Cannot convert int to FILE*" - File pointer error Message-ID: With the following code in my '.cc' file, I'm getting a file pointer error saying that "Cannot convert int to FILE*". I have also attached the screenshot of the error. Please help me get around the problem ASAP. I'm working on ns-2.27 on RedHat Linux 9.0 platform. following are the lines of code : =================================================================== #include "ourapp.h" #include #include #include #include #include static rstation res[10]; static cache rc[10],wc[10]; static int cnt=0,expseqno=1; static int rcnt=0,wcnt=0; const int rs=10; const int c=10; static int k=0; FILE* fp; fp = fopen("/root/ns/ns-allinone-2.27/ns-2.27/iSCSI/output.txt", "w"); fprintf(fp,"Enter the program"); . . . ================================================================ -- jjs From ozankhan1 at yahoo.com Wed Mar 5 06:27:16 2008 From: ozankhan1 at yahoo.com (nadir shah) Date: Wed, 5 Mar 2008 06:27:16 -0800 (PST) Subject: [ns] Obstacle Objects simulation in ns-2 Message-ID: <893135.77832.qm@web53109.mail.re2.yahoo.com> hi all, I am simulating urban scenario of vanet routing protocols considering obstacles, like building etc. Can any body guide me how to include do it in ns-2? Waiting for reply.................... Nadir Shah Send instant messages to your online friends http://uk.messenger.yahoo.com From ilmojung at gmail.com Wed Mar 5 07:32:58 2008 From: ilmojung at gmail.com (ILMO JUNG) Date: Wed, 5 Mar 2008 09:32:58 -0600 Subject: [ns] TFRC headerSize 32bytes ? Message-ID: <20050e7a0803050732ha113970rf9984b8edd93d872@mail.gmail.com> Hi, While checking TFRC's header size, I found it was 32 bytes. I guess, in that 32 bytes, IP header(20bytes) and UDP(8bytes) headers are included. If my guess is correct, what is the remaining 4 bytes? Thank you in advance! -Il Mo Jung From stan.bred at yahoo.com Wed Mar 5 14:05:25 2008 From: stan.bred at yahoo.com (Stankiewicz Bredkjaer) Date: Wed, 5 Mar 2008 14:05:25 -0800 (PST) Subject: [ns] trouble with bind Message-ID: <274061.48570.qm@web58306.mail.re3.yahoo.com> Hello everybody, i have some problems with the "bind" function when used to bind variables I've defined. i.e. I've created a new Agent called HIGH_AVAIL with 2 new integer variables, which I've binded in the constructor like this: bind("timeOut_", &timeout_); bind("warnTime_", &warntime_); after initialization in "ns-default.tcl" and compiling, these variables still get the default values even if I set new different ones in the tcl script. can someone please help me? I am desperate now, since I've tried everything to fix it, but it still don't work! Many have had the same problem as I could notice from the archives, but there weren't no solutions for this, can someone please help? Thanks. Stan. --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. From samaneh_rastegari at yahoo.com Wed Mar 5 18:48:44 2008 From: samaneh_rastegari at yahoo.com (samaneh rastegari) Date: Wed, 5 Mar 2008 18:48:44 -0800 (PST) Subject: [ns] Problem with adding a new agent... Message-ID: <714250.51817.qm@web36501.mail.mud.yahoo.com> Hi all, Actually I am trying to add a new Agent and I did all steps according to ns-2 manual but now when I am trying to access this Agent in my tcl script I come to this error: invalid command name "Agent/UDP/dns_server" while executing "Agent/UDP/dns_server create _o36 " 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 Agent/UDP/dns_server" invoked from within "set dns0 [new Agent/UDP/dns_server]" (file "test.tcl" line 38) can you tell me what's wrong with my new agent? Thanks, Samaneh --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From shwt_sk at yahoo.com Wed Mar 5 19:56:06 2008 From: shwt_sk at yahoo.com (shweta s k) Date: Wed, 5 Mar 2008 19:56:06 -0800 (PST) Subject: [ns] about telent Message-ID: <43075.56937.qm@web62501.mail.re1.yahoo.com> hello, can anybody tell me how to use the telnet application for tcp connection,i tried but it does not supporting.please help me. ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping From shwt_sk at yahoo.com Thu Mar 6 01:32:36 2008 From: shwt_sk at yahoo.com (shweta s k) Date: Thu, 6 Mar 2008 01:32:36 -0800 (PST) Subject: [ns] awk script for throughput Message-ID: <76927.11950.qm@web62504.mail.re1.yahoo.com> hi, i am newer to this ns,please anybody tell me how to write an awk script for measuring throughput for any topology....please help me.... ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs From L.Zhao at napier.ac.uk Thu Mar 6 02:47:12 2008 From: L.Zhao at napier.ac.uk (Zhao, Liang) Date: Thu, 6 Mar 2008 10:47:12 -0000 Subject: [ns] Ns-users Digest, Vol 51, Issue 5 Message-ID: <735F04A99D358E468A16EDB64FC04555062FCEFC@EVS1.napier-mail.napier.ac.uk> Hi all Anyone can tell me that I sent several emails to ns-user at isi.edu, I haven?t seen any on the " Today's Topics ". Could you tell me why? Liang -----Original Message----- From: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU] On Behalf Of ns-users-request at ISI.EDU Sent: 2008?3?6? 1:00 To: ns-users at ISI.EDU Subject: Ns-users Digest, Vol 51, Issue 5 Send Ns-users mailing list submissions to ns-users at isi.edu To subscribe or unsubscribe via the World Wide Web, visit http://mailman.isi.edu/mailman/listinfo/ns-users or, via email, send a message with subject or body 'help' to ns-users-request at isi.edu You can reach the person managing the list at ns-users-owner at isi.edu When replying, please edit your Subject line so it is more specific than "Re: Contents of Ns-users digest..." Today's Topics: 1. Fwd: in diffserv(ns2) (anitha vijay) 2. [Fwd: need clarification] (gananthi at tce.edu) 3. [Fwd: need clarification] (gananthi at tce.edu) 4. wireless sensor (gananthi at tce.edu) 5. ADTFRC code (abhijit subramanya) 6. problem regarding MAODV implementation (Sheraz Nadeem) 7. Re: Dispaly problem with nam (Bartek Nawrocki) 8. 'cout' doesnt print on the console (jimit shah) 9. Re: 'cout' doesnt print on the console (Nur Aini Rakhmawati) 10. Error: "Cannot convert int to FILE*" - File pointer error (jimit shah) 11. Obstacle Objects simulation in ns-2 (nadir shah) 12. TFRC headerSize 32bytes ? (ILMO JUNG) 13. trouble with bind (Stankiewicz Bredkjaer) ---------------------------------------------------------------------- Message: 1 Date: Wed, 5 Mar 2008 07:47:10 +0530 From: "anitha vijay" Subject: [ns] Fwd: in diffserv(ns2) To: ns-users at ISI.EDU Message-ID: <97f027d00803041817v6236a1bcq4216153668699899 at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 ---------- Forwarded message ---------- From: anitha vijay Date: Sat, Mar 1, 2008 at 4:13 PM Subject: in diffserv(ns2) To: ns-users at isi.edu hi iam doing my project in diffserv in ns2 .i want to know how to record the traffic coming to the edge node.i dont know where to modify in c++ file. If anybody know help me. ------------------------------ Message: 2 Date: Wed, 5 Mar 2008 11:31:18 +0530 (IST) From: gananthi at tce.edu Subject: [ns] [Fwd: need clarification] To: ns-users at ISI.EDU Message-ID: <3052.10.4.1.60.1204696878.squirrel at mail.tce.edu> Content-Type: text/plain; charset="iso-8859-1" ---------------------------- Original Message ---------------------------- Subject: need clarification From: gananthi at tce.edu Date: Tue, March 4, 2008 3:13 pm To: ns-users at isi.edu -------------------------------------------------------------------------- Hello Plz go thro the attachment.. Kindly clarify me if possible. ananthi ----------------------------------------- This email was sent using TCEMail Service. Thiagarajar College of Engineering Madurai - 625015 (India) ----------------------------------------- This email was sent using TCEMail Service. Thiagarajar College of Engineering Madurai - 625015 (India) ------------------------------ Message: 3 Date: Wed, 5 Mar 2008 11:37:05 +0530 (IST) From: gananthi at tce.edu Subject: [ns] [Fwd: need clarification] To: ns-users at ISI.EDU Message-ID: <3063.10.4.1.60.1204697225.squirrel at mail.tce.edu> Content-Type: text/plain; charset="iso-8859-1" ---------------------------- Original Message ---------------------------- Subject: need clarification From: gananthi at tce.edu Date: Tue, March 4, 2008 3:13 pm To: ns-users at isi.edu -------------------------------------------------------------------------- Hello Plz go thro the attachment.. Kindly clarify me if possible. ananthi ----------------------------------------- This email was sent using TCEMail Service. Thiagarajar College of Engineering Madurai - 625015 (India) ----------------------------------------- This email was sent using TCEMail Service. Thiagarajar College of Engineering Madurai - 625015 (India) ------------------------------ Message: 4 Date: Wed, 5 Mar 2008 11:47:12 +0530 (IST) From: gananthi at tce.edu Subject: [ns] wireless sensor To: ns-users at ISI.EDU Message-ID: <3072.10.4.1.60.1204697832.squirrel at mail.tce.edu> Content-Type: text/plain; charset="iso-8859-1" Hello Can anyone know how to simulate the given Network using NS 2.31 ? The Distance is short range one ( Sensor Network based ) The Time slot length is given between the two nodes and the constellation size ?b (no of bits transmitted) is also be given. After simulating the model , I m in need of Network Delay and Energy. I am trying for the problem. I did n?t get exact solution. Kindly answer if possible. node 1 (15,0) source node node 2 (10,0) node 3 (5,0) node 4 (0,0) sink node bits transmission node 1 node 2 9 bits time slot length 0.044 node 2 node 4 6 bits time slot length 0.6 node 1 node 3 6 bits time slot length 0.035 node 3 node 4 9 bits time slot length 0.044 if possible kindly send me the query ananthi ----------------------------------------- This email was sent using TCEMail Service. Thiagarajar College of Engineering Madurai - 625015 (India) ------------------------------ Message: 5 Date: Wed, 5 Mar 2008 12:21:48 +0530 From: "abhijit subramanya" Subject: [ns] ADTFRC code To: ns-users at ISI.EDU Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Hi if anyone has the code for Ad hoc Tcp freindly Rate Control Protocol please send me the module for that. i am really in need of it. please someone send me the code if you have it. thanks. ------------------------------ Message: 6 Date: Wed, 5 Mar 2008 13:53:29 +0500 From: Sheraz Nadeem Subject: [ns] problem regarding MAODV implementation To: ns users Message-ID: Content-Type: text/plain; charset="iso-8859-1" Hi all i am using ns-2.31 and i am having problem regarding the implementation of MAODV. i am trying to achieve multicasting in AODV. i am having the error which is ///////////////////////ERROR/////////////////////////////////////// ./ns ns.tcl 01 10 1 num_nodes is set 50 INITIALIZE THE LIST xListHead Loading connection pattern ... Loading scenarios file... Starting Simulation ... ns: _o734 aodv-join-group 0xE000000: (_o734 cmd line 1) invoked from within "_o734 cmd aodv-join-group 0xE000000" invoked from within "catch "$self cmd $args" ret" invoked from within "if [catch "$self cmd $args" ret] { set cls [$self info class] global errorInfo set savedInfo $errorInfo error "error when calling class $cls: $args" $..." (procedure "_o734" line 2) (SplitObject unknown line 2) invoked from within "_o734 a odv-join-group 0xE000000" //////////////////////////////////////////////////////////////////////// and i am using the simulation script /////////////////////////////////////////////////////////////////////// set opt(stop) 910.0 set nodes 50 set mobility 1 set scenario [lindex $argv 2] set pausetime 0 set traffic cbr set senders [lindex $argv 0] set receivers [lindex $argv 1] set ns_ [new Simulator] set topo [new Topography] $topo load_flatgrid 1500 300 set tracefd [open ./trace-$pausetime-$mobility-$scenario-$senders-$receivers w] $ns_ trace-all $tracefd set god_ [create-god $nodes] $ns_ node-config -adhocRouting AODV ? -llType LL ? -macType Mac/802_11 ? -ifqLen 50 ? -ifqType Queue/DropTail/PriQueue ? -antType Antenna/OmniAntenna ? -propType Propagation/TwoRayGround ? -phyType Phy/WirelessPhy ? -channel [new Channel/WirelessChannel] ? -topoInstance $topo ? -agentTrace ON ? -routerTrace ON ? -macTrace OFF ? -movementTrace OFF for {set i 0} {$i < $nodes} {incr i} { set node_($i) [$ns_ node] $node_($i) random-motion 0; } puts "Loading connection pattern ..." source "traffic/$traffic-$senders-$receivers" puts "Loading scenarios file..." source "scenarios/scen-1500x300-$nodes-$pausetime-$mobility-$scenario" for {set i 0} {$i < $nodes} {incr i} { $ns_ at $opt(stop) "$node_($i) reset"; } $ns_ at $opt(stop) "$ns_ halt" puts "Starting Simulation ..." $ns_ run ///////////////////////////////////////////////////////////////// i have got the sample traffic and scenario files from the internet for multicasting but i am having errror regarding the multicast address (0xE000000) why is this happening. i got the whole package of multicasting inclluding all the header and cc files necessary for multicasting. and i have enabled the multicast feature in aodv.h so why this is happening. i have the following lines aodv.cc ///////////////////////in aodv.cc//////////////// #ifdef MULTICAST else if (strcmp(argv[1], "aodv-join-group") == 0){ nsaddr_t mcast_addr = atoi(argv[2]); if (mcast_addr < IP_MULTICAST) return TCL_ERROR; aodv_mt_entry *mt = mtable.mt_lookup(mcast_addr); if (mt == 0) mt = mtable.mt_add(mcast_addr); if (mt->mt_node_status == ON_GROUP){ return TCL_OK; } if (mt->mt_node_status == ON_TREE){ mt->mt_node_status = ON_GROUP; return TCL_OK; } // node is not on the tree mt->mt_flags = MTF_IN_REPAIR; mt->mt_grp_leader_addr = INFINITY8; mt->mt_node_status = ON_GROUP; sendMRQ(mt, RREQ_J); return TCL_OK; } else if (strcmp(argv[1], "aodv-leave-group") == 0){ nsaddr_t mcast_addr = atoi(argv[2]); if (mcast_addr < IP_MULTICAST) return TCL_ERROR; aodv_mt_entry *mt = mtable.mt_lookup(mcast_addr); if (mt == 0 || mt->mt_node_status != ON_GROUP) return TCL_OK; if (mt->mt_grp_leader_addr != index) mt_prune(mt->mt_dst); else { mt->mt_node_status = ON_TREE; mt->mt_grp_leader_addr = INFINITY8; selectLeader(mt, INFINITY8); } return TCL_OK; } #endif ////////////////////////////////////////////////////////////// so is it not recognising the strings "aodv-join-group" or aodv-leave-group" tell me plz as quickly as you can. thanks _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ------------------------------ Message: 7 Date: Wed, 05 Mar 2008 12:48:00 +0100 From: Bartek Nawrocki Subject: Re: [ns] Dispaly problem with nam To: ns-users at ISI.EDU Message-ID: <47CE8870.9060507 at interia.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed maybe you should try to type export DISPLAY=:0.0 instead of export DISPLAY=localhost:0.0 Best regards, Bartek Nawrocki Arthur Lima pisze: > Hi... > > I had the display error thing, and after searching, i found ppl telling me > to do this: > > export DISPLAY=localhost:0.0 > > then use "startx", and from there, use nam... > > > and it works fine... > > but i tried to put that "export DISPLAY=localhost:0.0" into the ".bashrc" > and, although it puts the DISPLAY variable there, i get this error after > trying "nam" into the startx thing: > nam: couldn't connect to display "localhost:0.0" > > > How do i fix this problem? > > OBS.: im using cygwin under windows > > > Thanks, > > ---------------------------------------------------------------------- Bedac w toalecie korzystala z ... Sprawd? >>> http://link.interia.pl/f1d2e ------------------------------ Message: 8 Date: Wed, 5 Mar 2008 17:41:23 +0530 From: "jimit shah" Subject: [ns] 'cout' doesnt print on the console To: ns-users at ISI.EDU Message-ID: Content-Type: text/plain; charset=ISO-8859-1 I have 3 linked files - 'ourapp.tcl', 'ourapp.h' and 'ourapp.cc' . I have included all the necessary files in my .cc file, including iostream.h . But the 'cout' statements dont get printed onto the console. Can someone help me get around the problem? If 'cout' doesnt work, what command can be used in order to print messages from the .cc file onto the console? Do i need to include anymore header files? Please help me....Its urgent. I'm working on ns-2.27 on Red Hat Linux 9.0 platform. -- jjs ------------------------------ Message: 9 Date: Wed, 5 Mar 2008 05:04:58 -0800 (PST) From: Nur Aini Rakhmawati Subject: Re: [ns] 'cout' doesnt print on the console To: ns-users at ISI.EDU Message-ID: <516177.21844.qm at web38015.mail.mud.yahoo.com> Content-Type: text/plain; charset=us-ascii Hi, Perhaps there is any IF condition that make it could not print your file You could test it by putting cout on your constructor file Suppose your constructor function in ourapp.cc is ourapp:ourapp() { cout << "hello Aini :D"< To: ns-users at ISI.EDU Sent: Wednesday, March 5, 2008 7:11:23 PM Subject: [ns] 'cout' doesnt print on the console I have 3 linked files - 'ourapp.tcl', 'ourapp.h' and 'ourapp.cc' . I have included all the necessary files in my .cc file, including iostream.h . But the 'cout' statements dont get printed onto the console. Can someone help me get around the problem? If 'cout' doesnt work, what command can be used in order to print messages from the .cc file onto the console? Do i need to include anymore header files? Please help me....Its urgent. I'm working on ns-2.27 on Red Hat Linux 9.0 platform. -- jjs ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs ------------------------------ Message: 10 Date: Wed, 5 Mar 2008 18:44:26 +0530 From: "jimit shah" Subject: [ns] Error: "Cannot convert int to FILE*" - File pointer error To: ns-users at ISI.EDU Message-ID: Content-Type: text/plain; charset="iso-8859-1" With the following code in my '.cc' file, I'm getting a file pointer error saying that "Cannot convert int to FILE*". I have also attached the screenshot of the error. Please help me get around the problem ASAP. I'm working on ns-2.27 on RedHat Linux 9.0 platform. following are the lines of code : =================================================================== #include "ourapp.h" #include #include #include #include #include static rstation res[10]; static cache rc[10],wc[10]; static int cnt=0,expseqno=1; static int rcnt=0,wcnt=0; const int rs=10; const int c=10; static int k=0; FILE* fp; fp = fopen("/root/ns/ns-allinone-2.27/ns-2.27/iSCSI/output.txt", "w"); fprintf(fp,"Enter the program"); . . . ================================================================ -- jjs ------------------------------ Message: 11 Date: Wed, 5 Mar 2008 06:27:16 -0800 (PST) From: nadir shah Subject: [ns] Obstacle Objects simulation in ns-2 To: ns-users at ISI.EDU Message-ID: <893135.77832.qm at web53109.mail.re2.yahoo.com> Content-Type: text/plain; charset=utf-8 hi all, I am simulating urban scenario of vanet routing protocols considering obstacles, like building etc. Can any body guide me how to include do it in ns-2? Waiting for reply.................... Nadir Shah Send instant messages to your online friends http://uk.messenger.yahoo.com ------------------------------ Message: 12 Date: Wed, 5 Mar 2008 09:32:58 -0600 From: "ILMO JUNG" Subject: [ns] TFRC headerSize 32bytes ? To: ns-users at ISI.EDU Message-ID: <20050e7a0803050732ha113970rf9984b8edd93d872 at mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Hi, While checking TFRC's header size, I found it was 32 bytes. I guess, in that 32 bytes, IP header(20bytes) and UDP(8bytes) headers are included. If my guess is correct, what is the remaining 4 bytes? Thank you in advance! -Il Mo Jung ------------------------------ Message: 13 Date: Wed, 5 Mar 2008 14:05:25 -0800 (PST) From: Stankiewicz Bredkjaer Subject: [ns] trouble with bind To: ns-users at ISI.EDU Message-ID: <274061.48570.qm at web58306.mail.re3.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Hello everybody, i have some problems with the "bind" function when used to bind variables I've defined. i.e. I've created a new Agent called HIGH_AVAIL with 2 new integer variables, which I've binded in the constructor like this: bind("timeOut_", &timeout_); bind("warnTime_", &warntime_); after initialization in "ns-default.tcl" and compiling, these variables still get the default values even if I set new different ones in the tcl script. can someone please help me? I am desperate now, since I've tried everything to fix it, but it still don't work! Many have had the same problem as I could notice from the archives, but there weren't no solutions for this, can someone please help? Thanks. Stan. --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. ------------------------------ _______________________________________________ Ns-users mailing list Ns-users at isi.edu http://mailman.isi.edu/mailman/listinfo/ns-users End of Ns-users Digest, Vol 51, Issue 5 *************************************** This message is intended for the addressee(s) only and should not be read, copied or disclosed to anyone else outwith the University without the permission of the sender. It is your responsibility to ensure that this message and any attachments are scanned for viruses or other defects. Napier University does not accept liability for any loss or damage which may result from this email or any attachment, or for errors or omissions arising after it was sent. Email is not a secure medium. Email entering the University's system is subject to routine monitoring and filtering by the University. From ssmukaka at gmail.com Thu Mar 6 03:33:31 2008 From: ssmukaka at gmail.com (SS Mukaka) Date: Thu, 6 Mar 2008 13:33:31 +0200 Subject: [ns] Vectors in NS Message-ID: Dear All How do you define and manipulate vectors in C++ code. I have written my own protocol but I'm having problems with the vectors Here is how I defined my vector: vector MyVector and this is how I manipulate it MyVector.erase(index) MyVector. push_back(DataItem) This is the error that I get when I try to compile my code (using make) error: no matching function for call to 'std::vector >::erase(int)' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/vector.tcc:110: note: candidates are: typename std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(__gnu_cxx::__normal_iterator::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >) [with _Tp = int, _Alloc = std::allocator] /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/vector.tcc:122: note: typename std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(__gnu_cxx::__normal_iterator::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >, __gnu_cxx::__normal_iterator::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >) [with _Tp = int, _Alloc = std::allocator] Regards SS Mukaka From mahrenholz at rt-solutions.de Thu Mar 6 04:02:26 2008 From: mahrenholz at rt-solutions.de (Daniel Mahrenholz) Date: Thu, 06 Mar 2008 13:02:26 +0100 Subject: [ns] Vectors in NS In-Reply-To: References: Message-ID: <47CFDD52.9020603@rt-solutions.de> Hi, vector.erase(...) works only on iterators. Look here for more information: http://www.cplusplus.com/reference/stl/vector/erase.html Daniel. SS Mukaka schrieb: > Dear All > > How do you define and manipulate vectors in C++ code. > I have written my own protocol but I'm having problems with the vectors > > Here is how I defined my vector: > > vector MyVector > > and this is how I manipulate it > > MyVector.erase(index) > MyVector. push_back(DataItem) > > This is the error that I get when I try to compile my code (using make) > error: no matching function for call to 'std::vector std::allocator >::erase(int)' > /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/vector.tcc:110: > note: candidates are: typename std::vector<_Tp, _Alloc>::iterator > std::vector<_Tp, _Alloc>::erase(__gnu_cxx::__normal_iterator std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp, > _Alloc> >) [with _Tp = int, _Alloc = std::allocator] > /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/vector.tcc:122: > note: typename std::vector<_Tp, _Alloc>::iterator > std::vector<_Tp, _Alloc>::erase(__gnu_cxx::__normal_iterator std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp, > _Alloc> >, __gnu_cxx::__normal_iterator _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >) [with _Tp = > int, _Alloc = std::allocator] > > Regards > > SS Mukaka > From ksentini.amel at gmail.com Thu Mar 6 06:21:59 2008 From: ksentini.amel at gmail.com (amel ksentini) Date: Thu, 6 Mar 2008 15:21:59 +0100 Subject: [ns] ad hoc static routing Message-ID: Hi ns users! Any one can tell me how to configure static routing on ad hoc network ??? thanks From stan.bred at yahoo.com Thu Mar 6 09:34:24 2008 From: stan.bred at yahoo.com (Stankiewicz Bredkjaer) Date: Thu, 6 Mar 2008 09:34:24 -0800 (PST) Subject: [ns] trouble with bind In-Reply-To: Message-ID: <522632.18384.qm@web58308.mail.re3.yahoo.com> Hi, that's the way I've initialized them in the tcl script, but it didn't work... One have suggest to write a function in c++ wich get the arguments from the command function, i will try it. The alternative with "bind" seemed much easier, therefore i would appreciate any hint anyway. Thx, Stan Arturo Servin wrote: How are you setting the variables in your tcl script? It must someting like: set ag1 [new Agent/HIGH_AVAIL] $ag1 set timeOut_ 10 -as On 5 Mar 2008, at 22:05, Stankiewicz Bredkjaer wrote: > > Hello everybody, > > i have some problems with the "bind" function when used to bind > variables I've defined. > i.e. I've created a new Agent called HIGH_AVAIL with 2 new integer > variables, which I've binded in the constructor like this: > > bind("timeOut_", &timeout_); > bind("warnTime_", &warntime_); > > after initialization in "ns-default.tcl" and compiling, these > variables still get the default values even if I set new different > ones in the tcl script. > can someone please help me? I am desperate now, since I've tried > everything to fix it, but it still don't work! > > Many have had the same problem as I could notice from the archives, > but there weren't no solutions for this, can someone please help? > > Thanks. > > Stan. > > > --------------------------------- > Looking for last minute shopping deals? Find them fast with Yahoo! > Search. --------------------------------- Never miss a thing. Make Yahoo your homepage. From errahulmathur at gmail.com Thu Mar 6 21:04:45 2008 From: errahulmathur at gmail.com (rahul mathur) Date: Fri, 7 Mar 2008 10:34:45 +0530 Subject: [ns] help regrading SNOOP n I-TCP In-Reply-To: References: Message-ID: hello All, Could anyone guide me in implementing SNOOP n I-TCP.. Thanks in advance Rahul From errahulmathur at gmail.com Thu Mar 6 21:04:45 2008 From: errahulmathur at gmail.com (rahul mathur) Date: Fri, 7 Mar 2008 10:34:45 +0530 Subject: [ns] help regrading SNOOP n I-TCP In-Reply-To: References: Message-ID: hello All, Could anyone guide me in implementing SNOOP n I-TCP.. Thanks in advance Rahul From oliverrelinque at hotmail.com Fri Mar 7 09:39:51 2008 From: oliverrelinque at hotmail.com (oliver fernandez) Date: Fri, 7 Mar 2008 18:39:51 +0100 Subject: [ns] setdest code modification Message-ID: Hi all: I'm a new ns-2 user and my programming skills are not very good... I'm trying to generate differents mobility traces with setdest tool (which stands in "/ns/indep-utils/cmu-scen-gen/setdest" folder) for VANET simulation. This tool (setdest) only generates node movements according to uniform or normal speed distributions (i.e., the probability density function of aleatory speed for nodes can be chosen as uniform or normal). Does anyone know if is possible to change setdest.cc code for generate the nodes speeds according to another probability distributions, and how can I do it? (I'm interested in gamma and weibull speed distributions for nodes). Thanks in advance and have a nice week-end! _________________________________________________________________ MSN Video. http://video.msn.com/?mkt=es-es From khedimi at hotmail.com Fri Mar 7 12:54:29 2008 From: khedimi at hotmail.com (nabila) Date: Fri, 7 Mar 2008 12:54:29 -0800 (PST) Subject: [ns] expo and cbr trafic Message-ID: <15905847.post@talk.nabble.com> -- View this message in context: http://www.nabble.com/expo-and-cbr-trafic-tp15905847p15905847.html Sent from the ns-users mailing list archive at Nabble.com. From khedimi at hotmail.com Fri Mar 7 12:59:48 2008 From: khedimi at hotmail.com (nabila) Date: Fri, 7 Mar 2008 12:59:48 -0800 (PST) Subject: [ns] cbr object or cbrgen.tcl generation Message-ID: <15906012.post@talk.nabble.com> Hi, is there any difference between generating traffic with cbrgen.tcl and the object /application/traffic/cbr another question, for the exponential trafic , can we give any parameters to the application/traffic/exponential to have a real expo traffic thanks for help nabila -- View this message in context: http://www.nabble.com/cbr-object-or-cbrgen.tcl-generation-tp15906012p15906012.html Sent from the ns-users mailing list archive at Nabble.com. From ssobeidat at gmail.com Fri Mar 7 13:53:14 2008 From: ssobeidat at gmail.com (suhaib obeidat) Date: Fri, 7 Mar 2008 14:53:14 -0700 Subject: [ns] Scheduler Issue In-Reply-To: <626f2e110803071350pb12a5abo151907d6c72632a8@mail.gmail.com> References: <626f2e110803071350pb12a5abo151907d6c72632a8@mail.gmail.com> Message-ID: <626f2e110803071353y4c0ece40p46e2adbd6bee1e2d@mail.gmail.com> > > All, > > I have a set of simulations which I wrote, tested and used for quite a > while now. I recently tried to add mobility to my work, however, a strange > thing happens: > > It complains about the setdest command within the mobility profile > > I removed the first lines within the file (the ones specifying what should > happen at time 0) and it stopped complaining. > > However, the simulation does not work now. The first packet transmission > takes place, a second packet is scheduled using a local timer within the > code. But this one never fires and the simulation gets stuck. > > I am using version 2.1b7a under redhat 8.0 > > Any clues may help > Thanks > From ssobeidat at gmail.com Fri Mar 7 14:16:30 2008 From: ssobeidat at gmail.com (suhaib obeidat) Date: Fri, 7 Mar 2008 15:16:30 -0700 Subject: [ns] Scheduler Issue Message-ID: <626f2e110803071416n3230321duc1c427248c575776@mail.gmail.com> All, I have a set of simulations which I wrote, tested and used for quite a while now. I recently tried to add mobility to my work, however, a strange thing happens: It complains about the setdest command within the mobility profile I removed the first lines within the file (the ones specifying what should happen at time 0) and it stopped complaining. However, the simulation does not work now. The first packet transmission takes place, a second packet is scheduled using a local timer within the code. But this one never fires and the simulation gets stuck. I am using version 2.1b7a under redhat 8.0 Any clues may help Thanks From L.Wood at surrey.ac.uk Fri Mar 7 19:41:11 2008 From: L.Wood at surrey.ac.uk (Lloyd Wood) Date: Sat, 08 Mar 2008 03:41:11 +0000 Subject: [ns] reminder: CFP for Workshop on ns-2 (WNS2) Message-ID: <200803080341.m283fET13783@cisco.com> WNS2, the Workshop on ns2 (and -3) that is the ns event of the year, is this October in Athens, Greece, home of the ancients and stuff of legend. http://www.wns2.org/ http://www.wns2.org/docs/wns2-2008-call-for-papers.pdf WNS2 part of Valuetools 2008, and is taking place in Athens the same week as the Internet Measurement Conference. http://www.imconf.net/imc-2008/cfp.html WNS2 is in association with ACM, and papers will be archived in the ACM library. Do consider submitting a paper! L. for the WNS2 co-chairs. SCOPE ns, the free open-source network simulator, is the de-facto standard for research over a wide variety of networking areas. ns version 2 is widely used across both academia and industry as a way of designing, testing and evaluating new and existing protocols and architectures, and has also proven a very useful tool for teaching purposes. ns version 3 is under active development. The Workshop on ns-2 (WNS2) is a two-day event held in conjunction with VALUETOOLS 2008, the Third International Conference on Performance Evaluation Methodologies and Tools (http://www.valuetools.org/), during the week of 20-24 October 2008 in Athens, Greece. WNS2 2008 follows the success of the first WNS2 workshop in 2006. A tutorial day on Thursday 23 October is followed by presentation of reviewed papers on Friday 24 October 2008. The main goals of this second WNS2 workshop are to bring together networking researchers from both academia and industry, to discuss recent advances, to identify future directions in network simulation, and to foster interdisciplinary collaborative research in this area. The workshop aims to emphasise the future evolution of ns-2, now that ns-3 is under active development, and its extension in novel research areas and networking technologies and scenarios. TOPICS This workshop focuses on the ns simulator in itself, and in improving simulation. We seek original contributions that go beyond the use of ns-2 "as is" for networking scenarios, and which try to make ns do something new and different. Topics of interest for the Workshop include, but are not limited to: Structural developments/enhancements to the NS-2 simulator itself: * Presentation/evaluation of new features/architectures under development for ns-3. * Dynamic management of libraries / ns-Modules. * Large-scale network simulation and model-based simulation approaches. * Development of parallel and distributed versions of ns. Use of virtualization with ns. * Integration of simulation and emulation. * Post-processing tools, including GUIs for statistical analysis and visualization of simulation results. Simulator use and validation of simulation accuracy: * Validation of ns behaviour with experimentation and real data from implementations. * Comparative studies of ns and other network simulation tools, both commercial and freely available. * Environments and methodologies: the best practices, third-party code, helper scripts, and frameworks that serious users of ns recommend to get things done New simulation models and features: * Wireless channel modelling. * Frameworks for cross-layer support. * Mobile and wireless networks, 3G/4G networks, WLANs, WPANs, WiMAX, Mesh networks... * Delay-tolerant networking. * Congestion-control and transport-layer issues in long-fat networks. * Mobility: network mobility (NEMO), physical node mobility (e.g., group mobility models). * Sensor and actuator networks (wireless, underwater, underground). * Peer-to-peer systems. * Network coding: data dissemination, encoding/decoding suites. * Grid computing. Important Dates Full Papers due: May 25, 2008 Notification of Acceptance: July 1, 2008 Camera-ready Manuscripts due: August 1, 2008 Conference Dates: October 24, 2008 From imranfastmail at gmail.com Sat Mar 8 03:47:03 2008 From: imranfastmail at gmail.com (Imranullah Mohammed) Date: Sat, 8 Mar 2008 17:17:03 +0530 Subject: [ns] Need guidance - AODV code Message-ID: <002601c88112$24c083d0$6e418b70$@com> hi people, ?? iam trying to implement preemptive action in aodv code for ns2 for wireless communication. iam stuck up in this. I dont have an idea on how to analyze the aodv execution flow of aodv. i dont understand most of the stuff. i am quite strong with creating tcl files. but stuck up in understanding the execution flow of aodv. i searched the entire nabble forum for aodv help i couldnt find any help. thats why iam making a personal request. if i can understand the code. My project would be completed. and i dont have proper guidance in this. Thanks in advance. Imranullah Mohammed From imranfastmail at gmail.com Sat Mar 8 03:56:40 2008 From: imranfastmail at gmail.com (md_imranullah) Date: Sat, 8 Mar 2008 03:56:40 -0800 (PST) Subject: [ns] Need guidance - AODV code Message-ID: <15912858.post@talk.nabble.com> hi people, iam trying to implement preemptive action in aodv code for ns2 for wireless communication. iam stuck up in this. I dont have an idea on how to analyze the aodv execution flow of aodv. i dont understand most of the stuff. i am quite strong with creating tcl files. but stuck up in understanding the execution flow of aodv. i searched the entire nabble forum for aodv help i couldnt find any help. thats why iam making a personal request. if i can understand the code. My project would be completed. and i dont have proper guidance in this. Thanks in advance. Imranullah Mohammed -- View this message in context: http://www.nabble.com/Need-guidance---AODV-code-tp15912858p15912858.html Sent from the ns-users mailing list archive at Nabble.com. From ssmukaka at gmail.com Sat Mar 8 06:17:33 2008 From: ssmukaka at gmail.com (SS Mukaka) Date: Sat, 8 Mar 2008 16:17:33 +0200 Subject: [ns] segmentation fault(core dumped) Message-ID: I have written and compiled a new protocol for NS2.... When I'm running my tcl script i get this error message before the simulation ends [segmentation fault (core dumped)] I have noted also that my nodes are able to send packets but they are not receiving... i dont know if there is a connection between these two errors. Please help From ssmukaka at gmail.com Sat Mar 8 22:51:47 2008 From: ssmukaka at gmail.com (SS Mukaka) Date: Sun, 9 Mar 2008 08:51:47 +0200 Subject: [ns] One-hop broadcast Message-ID: I'm writing a protocol that requires some messages to be broadcast to one hop neighbors only... How can i implement that. Regards SS From niteshdhiman at rediffmail.com Sun Mar 9 23:19:07 2008 From: niteshdhiman at rediffmail.com (Nitesh Dhiman) Date: 10 Mar 2008 06:19:07 -0000 Subject: [ns] needs SAODV implementation in ns2 Message-ID: <20080310061907.10726.qmail@f4mail-235-235.rediffmail.com> ? Hi everybody, anybody could please provide me the SAODV script in ns2.I would be highly thankful to you. Thanks Nitesh From maddy.ns2 at gmail.com Mon Mar 10 01:05:33 2008 From: maddy.ns2 at gmail.com (Madhava N) Date: Mon, 10 Mar 2008 13:35:33 +0530 Subject: [ns] Link Bandwidth Estimation in NS2 Message-ID: <79b2d0750803100105y1cc53ae6yad18b8c6a38c15b@mail.gmail.com> The *chapter 9 (Delays & Links)* of the NS Document gives the details of finding out the Link bandwidth, latency and transmission time of a given link. I am implementing a new protocol in NS2 for Mesh Networking and want to make use of this in my protocol. If at least I were to be told on how to modify *AODV for the same *would also be helpful. My question is that how to make use of this to *measure these details* in our protocol. Like use these functions and *obtain the link characteristics* . Please do let me know on this. Regards, Madhava. From jianw32 at gmail.com Mon Mar 10 16:50:03 2008 From: jianw32 at gmail.com (Jian Wang) Date: Mon, 10 Mar 2008 18:50:03 -0500 Subject: [ns] using ns to test an application Message-ID: <39c7615b0803101650t67516b8cjf8a0f87499fc7dcb@mail.gmail.com> This is the second email of the same content. The first one is auto replyed by a daemon program because I'm a newbie. I appologize for the inconvenience for anyone who receives this email twice. ========================================== Hi, all, I'm a newbie to ns. Recently, I developed a network application(web cache based) on my server. This application operates on http requests from a subnet. Now I want to simulate a large amount of http traffic (only consider those send by machines in the subnet) to the application to test its efficiency and stability. There are several basic requirements for my test: (1). ip spoofing: at the application side, I need the http requests look like they are coming from different ip addresses (given a range: such as 192.168.*.*) (2). the destination of the http request must be vary: since I'm using web cache in my application, I want the http requests to be either cache hits or cache misses--as the situation in a real network. (3). my server is connnecting to internet through an ethernet connection, I definitely don't want the simulation mess up the network by sending a huge amount of traffic. Can any expert tell me is it possible to achieve my goal using ns2? And where should I start? Jian Thanks. From rupesh.ns2 at gmail.com Mon Mar 10 17:25:14 2008 From: rupesh.ns2 at gmail.com (siva rupesh ss) Date: Mon, 10 Mar 2008 19:25:14 -0500 Subject: [ns] how to access rtPeer and dvr table class objects from c++ source code in creating new RPF check Message-ID: <2247645d0803101725r2f023b3dvff8267ea2475ef@mail.gmail.com> hi, I am trying to write a modified DVMRP protocol for multicasting In order to do that i want to write a new RPF( Reverse Path Forwarding) check by adding additional field to the packet . >From ns manual ,in chapter 29 there is a class rtPeer and RouteLogic to access all the neighbor addresses of a node and DV routing tables in tcl code But there is no information regarding how to access those objects using C++ source code Can anyone help me regarding this... Thank You Rupesh From comsians_bce at yahoo.com Mon Mar 10 23:20:22 2008 From: comsians_bce at yahoo.com (Mahmood Qureshi) Date: Mon, 10 Mar 2008 23:20:22 -0700 (PDT) Subject: [ns] How to build my own packet Message-ID: <328283.82641.qm@web39514.mail.mud.yahoo.com> I m new in NS-2 I studied NS-manual but did not get the point. I installed NS-2 on Linux (Fedora 5) and working efficiently Even I implemented an example of "OTCL Linkage" Now I want to build my own packet with each and everything is defined by me i.e. of GOOSE Packet but have no idea how to do it. Please guide me and I think it is best if you provide the help with example. (You can create your own packet any specification ) Help on this topic is greatly appreciated. I would be thankful to you Engr. Mahmood Qureshi HEC Scholar Graduate Student: Computer Engineering Myongji University, South-Korea San 38-2 Nam-Dong Yong-in Gyunggi-Do (449-728) South Korea Mobile No. : +82-10-2891-7096 --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From the_lover_pharoah at hotmail.com Mon Mar 10 23:47:37 2008 From: the_lover_pharoah at hotmail.com (Ahmad Osman) Date: Tue, 11 Mar 2008 08:47:37 +0200 Subject: [ns] How to build my own packet Message-ID: Mahmoud, I think great tutorial about implementing a new protocol using ns2 is attached at the mail, Hope it answers ur question. Ahmad > Date: Mon, 10 Mar 2008 23:20:22 -0700 > From: comsians_bce at yahoo.com > To: ns-users at ISI.EDU > Subject: [ns] How to build my own packet > > > > I m new in NS-2 I studied NS-manual but did not get the point. I > installed NS-2 on Linux (Fedora 5) and working efficiently > > Even I implemented an example of 'OTCL Linkage' > > Now I want to build my own packet with each and everything is defined > by me i.e. of GOOSE Packet but have no idea how to do it. > Please guide me and I think it is best if you provide the help with > example. (You can create your own packet any specification ) > > Help on this topic is greatly appreciated. I would be thankful to you > > > > > Engr. Mahmood Qureshi > HEC Scholar > Graduate Student: Computer Engineering > Myongji University, South-Korea > San 38-2 > Nam-Dong > Yong-in > Gyunggi-Do (449-728) > South Korea > Mobile No. : +82-10-2891-7096 > > --------------------------------- > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From gananthi at tce.edu Mon Mar 10 23:53:24 2008 From: gananthi at tce.edu (gananthi@tce.edu) Date: Tue, 11 Mar 2008 12:23:24 +0530 (IST) Subject: [ns] reg TCP Message-ID: <60804.203.129.194.20.1205218404.squirrel@mail.tce.edu> Hi all How to initiate data rate and no of packets from one node to another in wireless sensor network? and use tcp protocol for transmission. if possible,kindly reply me. ananthi ----------------------------------------- This email was sent using TCEMail Service. Thiagarajar College of Engineering Madurai - 625015 (India) From gkioumou at gmail.com Tue Mar 11 01:48:50 2008 From: gkioumou at gmail.com (GEORGIOS KIOUMOURTZIS) Date: Tue, 11 Mar 2008 09:48:50 +0100 Subject: [ns] One-hop broadcast Message-ID: <2c92d6790803110148i7fd3e734v9ebd032380b2de51@mail.gmail.com> I suggest you check the following link. they have implemented broadcast.. you will need to restrict it in only in one hop broadcast.. read the code http://www.sce.carleton.ca/wmc/code.html br -- Georgios Kioumourtzis,MSc Computer Engineering and Informatics Department University of Patras, Greece alt email: gkioumou at ceid.upatras.gr URL:http://gkioumou.googlepages.com/home From vighneshlall at gmail.com Tue Mar 11 03:52:43 2008 From: vighneshlall at gmail.com (vighnesh lall) Date: Tue, 11 Mar 2008 16:22:43 +0530 Subject: [ns] DSR trace file help Message-ID: <7ceda4860803110352g35597f06gf1bec5f7e1c89c2f@mail.gmail.com> Hello Friends ... Can someone please help me with the counting of DSR packets sent by the source nodes and no of packets received by the destination nodes in DSR trace file ... -- Vighnesh Lall From basimjaved at gmail.com Tue Mar 11 06:55:33 2008 From: basimjaved at gmail.com (Basim Javed) Date: Tue, 11 Mar 2008 14:55:33 +0100 Subject: [ns] changing PF Message-ID: hello could some body help me. I am running the code: set q [new Queue/DTail/PriQ] $q set Prio 0 PF 2 puts "one [$q set Prio]" puts "two [$q set Prio 0 PF_]" and expect the output of two to be: two 2, but it gives 0. could u plz point out where I am doing the mistake? thanks many b From ssmukaka at gmail.com Tue Mar 11 07:16:50 2008 From: ssmukaka at gmail.com (SS Mukaka) Date: Tue, 11 Mar 2008 16:16:50 +0200 Subject: [ns] Nodes not receiving broadcast message Message-ID: I want to send a broadcast message to neighbours.... I'm having a problem because the nodes are not receiving the message if I put ih->daddr() = IP_BROADCAST; I have tested it by putting ih->daddr() = 1; and it worked... ie. node 1 was able to receive the message.. Below is my code for sending and also for receiving void ReQuest::sendREQUEST() { Packet* p = Packet::alloc(); struct hdr_cmn* ch = HDR_CMN(p); struct hdr_ip* ih = HDR_IP(p); struct hdr_MyPacket* ah = HDR_MyPacket(p); ch->size() = IP_HDR_LEN + ah->size(); ch->addr_type() = NS_AF_NONE; ih->daddr() = IP_BROADCAST; ih->saddr() = index; ah->MyPacket_type = ReQ; Scheduler::instance().schedule(target_, p, 0.0); } My receive function is as follows: void ReQuest::recv(Packet* p, Handler*) { struct hdr_cmn* ch = HDR_CMN(p); struct hdr_ip* ih = HDR_IP(p); struct hdr_MyPacket* ah = HDR_MyPacket(p); nsaddr_t src = ih->saddr(); printf("Node %d receiving data packet from %d \n", index, src); // processing packet } like i said, nodes can only receive messages if i put the IP address of the receipient but when i use IP_BROADCAST, nothing is received... Thank you in advance From ns at integrated-it.net Tue Mar 11 09:08:25 2008 From: ns at integrated-it.net (NS) Date: Tue, 11 Mar 2008 16:08:25 +0000 Subject: [ns] make: *** No rule to make target `gen/version.o', needed by `ns'. Stop. In-Reply-To: <9df239ed0803110902s5a3e331dw8f01a38a7b27a1c8@mail.gmail.com> References: <9df239ed0803110902s5a3e331dw8f01a38a7b27a1c8@mail.gmail.com> Message-ID: <9df239ed0803110908v17e70b98g6545c7345e67d299@mail.gmail.com> Hi has anyone got any ideas? im stuck on the makefile on a new box This is the last bit.... any ideas please? g++ -c -Wall -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I/Users/student3/ns/tclcl-1.19 -I/Users/student3/ns/otcl-1.13 -I/Users/student3/ns/include -I/Users/student3/ns/include -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o packmime/packmime_ranvar.o packmime/packmime_ranvar.cc make: *** No rule to make target `gen/version.o', needed by `ns'. Stop. Thanking you Mark From khaulah_tc at yahoo.com Tue Mar 11 16:05:18 2008 From: khaulah_tc at yahoo.com (Nur Aini Rakhmawati) Date: Tue, 11 Mar 2008 16:05:18 -0700 (PDT) Subject: [ns] make: *** No rule to make target `gen/version.o', needed by `ns'. Stop. Message-ID: <924257.48988.qm@web38011.mail.mud.yahoo.com> I found this problem before http://nuraini.net/2007/09/14/make-no-rule-to-make-target/ ----- Original Message ---- From: NS To: ns-users at ISI.EDU Sent: Wednesday, March 12, 2008 12:08:25 AM Subject: [ns] make: *** No rule to make target `gen/version.o', needed by `ns'. Stop. Hi has anyone got any ideas? im stuck on the makefile on a new box This is the last bit.... any ideas please? g++ -c -Wall -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I/Users/student3/ns/tclcl-1.19 -I/Users/student3/ns/otcl-1.13 -I/Users/student3/ns/include -I/Users/student3/ns/include -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o packmime/packmime_ranvar.o packmime/packmime_ranvar.cc make: *** No rule to make target `gen/version.o', needed by `ns'. Stop. Thanking you Mark ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping From ns at integrated-it.net Tue Mar 11 17:58:35 2008 From: ns at integrated-it.net (NS) Date: Wed, 12 Mar 2008 00:58:35 +0000 Subject: [ns] /bin/sh: line 1: /Users/student3/ns/bin/tclsh8.4: cannot execute binary file Message-ID: <9df239ed0803111758k37439e32laced182f10da0dcd@mail.gmail.com> Hi anyone got any ideas, I have tried a make clean and a ./configure and still it produces the same error: g++ -c -fno-common -fPIC -pipe -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I/Users/student3/ns/tclcl-1.19 -I/Users/student3/ns/otcl -I/Users/student3/ns/include -I/Users/student3/ns/include -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o packmime/packmime_ranvar.o packmime/packmime_ranvar.cc rm -f gen/version.c /Users/student3/ns/bin/tclsh8.4 bin/string2c.tcl version_string < VERSION > gen/version.c /bin/sh: line 1: /Users/student3/ns/bin/tclsh8.4: cannot execute binary file make: *** [gen/version.c] Error 126 i have checked the permissions and they are: -rwxr--r-- Thanks Mark From shwt_sk at yahoo.com Tue Mar 11 20:45:10 2008 From: shwt_sk at yahoo.com (shweta s k) Date: Tue, 11 Mar 2008 20:45:10 -0700 (PDT) Subject: [ns] about usage fo thorughput.awk file Message-ID: <670662.97002.qm@web62503.mail.re1.yahoo.com> ----- Forwarded Message ---- From: shweta s k To: ns-users at ISI.EDU Sent: Wednesday, March 12, 2008 9:07:35 AM Subject: hi tell me usage of throughput.awk for any trace file.usually we are use the command to run awk file as follows awk -f the awkfilename tracefilename but when using this one to calculate the throughput it's giving the error message as divide by zero error occured. so tell me how to use.... Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs From basilthomas at rediffmail.com Tue Mar 11 23:22:05 2008 From: basilthomas at rediffmail.com (Basil Thomas) Date: 12 Mar 2008 06:22:05 -0000 Subject: [ns] Multichannel single interface MAC simulation help Message-ID: <20080312062205.26271.qmail@f5mail-236-232.rediffmail.com> hi, Can anyone help me to simulate multi channel ''''single interface'''' mac for wireless network.Is there any patch or modification available. basil From jeffy at dcl.ee.ncku.edu.tw Wed Mar 12 01:38:48 2008 From: jeffy at dcl.ee.ncku.edu.tw (Jeffy) Date: Wed, 12 Mar 2008 16:38:48 +0800 Subject: [ns] Underwater module install problem! Message-ID: <1205311128.5583.6.camel@jeffy> Dear all, I failed to install the latest underwater module under NS2. I added .o files, modified ns-default file as the instruction. I put the underwaterchannel.cc and underwaterchannel.h in mobile dir. The rest are put into mac dir. That was all about. Help me please! The following are the messages dumping. mac/underwater-phy.cc: In constructor ?UnderwaterPhy::UnderwaterPhy()?: mac/underwater-phy.cc:44: error: no matching function for call to ?Sleep_Timer::Sleep_Timer(UnderwaterPhy* const)? ./mac/wireless-phy.h:58: note: candidates are: Sleep_Timer::Sleep_Timer(WirelessPhy*) ./mac/wireless-phy.h:56: note: Sleep_Timer::Sleep_Timer(const Sleep_Timer&) mac/underwater-phy.cc: In member function ?virtual void UnderwaterPhy::sendDown(Packet*)?: mac/underwater-phy.cc:221: error: ?MIN? was not declared in this scope make: *** [mac/underwater-phy.o] Error 1 Is that the compiler version problem? Or it's simply the bug in this program? Help please!! Thank you very much! p.s. I use ubuntu-v7.10 as my unix-like OS. Best, Jeffy Yang From bluesky_my at hotmail.com Wed Mar 12 02:41:14 2008 From: bluesky_my at hotmail.com (cool) Date: Wed, 12 Mar 2008 02:41:14 -0700 (PDT) Subject: [ns] aw k script for new trace format Message-ID: <16000970.post@talk.nabble.com> Hi, Anyone can provide me the awk / perl script for end-to-end delay, throughput, jitter and packet loss for new trace format? Thank you. -- View this message in context: http://www.nabble.com/awk-script-for-new-trace-format-tp16000970p16000970.html Sent from the ns-users mailing list archive at Nabble.com. From mkcgphy at gmail.com Wed Mar 12 06:56:35 2008 From: mkcgphy at gmail.com (mj) Date: Wed, 12 Mar 2008 19:26:35 +0530 Subject: [ns] TRP code Message-ID: hi all , can anybody provide me coding for Token routing protocol please. thanks -- mk From ksentini.amel at gmail.com Wed Mar 12 07:06:01 2008 From: ksentini.amel at gmail.com (amel ksentini) Date: Wed, 12 Mar 2008 15:06:01 +0100 Subject: [ns] packets generated number Message-ID: hi ns users! is there anyone can tell i there is a command to return number of packets generated by a source? thanks. From farias at fe.up.pt Wed Mar 12 08:06:53 2008 From: farias at fe.up.pt (Nuno Farias) Date: Wed, 12 Mar 2008 15:06:53 +0000 Subject: [ns] Extending 802.11 Message-ID: <20080312150653.8h7i91cmn4o0cgs4@webmail.fe.up.pt> Hi, I've been studying NS3. My goal is to create a 802.11s module by extending 802.11 code (recently added by Mathieu Lacage). I've been looking to NS3 architecture and in particular, the 802.11 code and supplied wifi examples: main-adhoc-wifi.cc and main-ap-wifi.cc. At this point I have some doubts that maybe someone could give some pointers: 1. How do I active tracing to see (wifi) frames and if it's possible to trace frames in pcap format. 2. How to add IP to the main-ap-wifi.cc example? Do I need just to use InternetNode instead of Node? What else should I need? 3. After analyzing Mathieu's 802.11 code, it seems that it wasn't structured in such a way that it is possible/easy to add more management frames, new beacon, etc. At first glance, it seems that I need to create a WifiMacHeader subclass and create new methods and enum types, instead of overriding methods such as: - void SetType (enum WifiMacType_e type) - enum WifiMacType_e GetType ( ) Best Regards, Nuno Rodrigues From khaulah_tc at yahoo.com Wed Mar 12 08:15:22 2008 From: khaulah_tc at yahoo.com (Nur Aini Rakhmawati) Date: Wed, 12 Mar 2008 08:15:22 -0700 (PDT) Subject: [ns] Nodes not receiving broadcast message Message-ID: <819377.14384.qm@web38004.mail.mud.yahoo.com> in my protocol code, the addr_type is NS_AF_INET I define the port number as well here is my broadcast code : http://nuraini.net/2007/09/16/unicast-and-broadcat-packet-on-ns2/ it works for me :) --------------- Nur Aini Rakhmawati Touch the sky, Down to the earth http://nuraini.net/ ----- Original Message ---- From: SS Mukaka To: ns-users at ISI.EDU Sent: Tuesday, March 11, 2008 10:16:50 PM Subject: [ns] Nodes not receiving broadcast message I want to send a broadcast message to neighbours.... I'm having a problem because the nodes are not receiving the message if I put ih->daddr() = IP_BROADCAST; I have tested it by putting ih->daddr() = 1; and it worked... ie. node 1 was able to receive the message.. Below is my code for sending and also for receiving void ReQuest::sendREQUEST() { Packet* p = Packet::alloc(); struct hdr_cmn* ch = HDR_CMN(p); struct hdr_ip* ih = HDR_IP(p); struct hdr_MyPacket* ah = HDR_MyPacket(p); ch->size() = IP_HDR_LEN + ah->size(); ch->addr_type() = NS_AF_NONE; ih->daddr() = IP_BROADCAST; ih->saddr() = index; ah->MyPacket_type = ReQ; Scheduler::instance().schedule(target_, p, 0.0); } My receive function is as follows: void ReQuest::recv(Packet* p, Handler*) { struct hdr_cmn* ch = HDR_CMN(p); struct hdr_ip* ih = HDR_IP(p); struct hdr_MyPacket* ah = HDR_MyPacket(p); nsaddr_t src = ih->saddr(); printf("Node %d receiving data packet from %d \n", index, src); // processing packet } like i said, nodes can only receive messages if i put the IP address of the receipient but when i use IP_BROADCAST, nothing is received... Thank you in advance ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs From maddy.ns2 at gmail.com Wed Mar 12 10:26:23 2008 From: maddy.ns2 at gmail.com (Madhava N) Date: Wed, 12 Mar 2008 22:56:23 +0530 Subject: [ns] packets generated number In-Reply-To: References: Message-ID: <79b2d0750803121026q3aa06ae2j7873f4eb3de2e35b@mail.gmail.com> Not sure of built in commands but you can call in TCL like disp_count and in command function call a function and display. For this maintain array of countpkt[n] where n is no of nodes. Keep incrementing for every timer expiry of Hello + forward() function + send functions. Better have it as static variable. Regards, Maddy. On Wed, Mar 12, 2008 at 7:36 PM, amel ksentini wrote: > > hi ns users! > is there anyone can tell i there is a command to return number of packets > generated by a source? > thanks. > From arkroan at googlemail.com Wed Mar 12 11:06:56 2008 From: arkroan at googlemail.com (George Ef) Date: Wed, 12 Mar 2008 18:06:56 +0000 Subject: [ns] Transmitting packets without using AODV in 802.15.4 In-Reply-To: <40d70d3f0803111631t6855e4e1kbcea09f2cb002786@mail.gmail.com> References: <40d70d3f0803111631t6855e4e1kbcea09f2cb002786@mail.gmail.com> Message-ID: <40d70d3f0803121106m208c7bfdn3f377ca9411e71ec@mail.gmail.com> Dear friends, First of all, i would like to apologise if this is a duplicated post. I had some problems with the ns-users mailing list. I would greatly appreciate some information, or an example script, on how to sent packets without using AODV. I want to set up a CBR and "directly send down packets from SSCS to MAC using 802.15.4 data primitives". I have looked in the ns FAQ and ns mailing lists but couldn't find any information on how to do it. It is mentioned that there is a TCL interface to set the transmission method in Mac802_15_4::txOption. How one can use this through a TCL script??? I am sorry for your time, if this is something trivial that I have overlooked. I await your response. Regards, George From SYilmaz at aselsan.com.tr Wed Mar 12 13:18:48 2008 From: SYilmaz at aselsan.com.tr (Semra YILMAZ) Date: Wed, 12 Mar 2008 22:18:48 +0200 Subject: [ns] how can i change BER of the link Message-ID: <22DF48915EF5BF4998B4B34DE67C0A998148CA@POSTA.aselsan.com.tr> Hello all ns users, With which command in tcl i can deteriorate the wireless link characteristics, such as changing the BER (bit error rate)? Regards, Semra ###################################################################### 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 caijiebupt at gmail.com Wed Mar 12 18:30:15 2008 From: caijiebupt at gmail.com (caijie) Date: Thu, 13 Mar 2008 09:30:15 +0800 Subject: [ns] about usage fo thorughput.awk file Message-ID: <870eb6e30803121830n2789ff1fqe278cdba4ed94c00@mail.gmail.com> It has nothing to do with the USAGE of the awk file. Check the algorithm in your awk file, especially the denominators. Seems you used a 0-value counter as a denominator. good luck! -- ´ËÖ ¾´Àñ ²Ì½Ü From ns at integrated-it.net Wed Mar 12 17:33:17 2008 From: ns at integrated-it.net (NS) Date: Thu, 13 Mar 2008 00:33:17 +0000 Subject: [ns] install works but make on its own produces errors on powerpc-apple-darwin8.11.0. Message-ID: <9df239ed0803121733n3b384691j129ef425fab93696@mail.gmail.com> Hi I am having a very odd problem I am installing ns-2 on powerpc-apple-darwin8.11.0. I have not changed the makefile or any other files yet but... If I use the install /ns-2/allinone/install,v 1.31 it installs and runs fine. However soon as I go to remake it from ns-allinone-2.32/ns-2.32/Makefile it fails with the following error: * /usr/bin/ld: /Users/student3/ns-2/ns-allinone-2.32/tclcl-1.19/libtclcl.a( embedded-tclobj.o) malformed object, illegal reference for -dynamic code (reference to a coalesced section (__TEXT,__textcoal_nt) from section (__TEXT,__eh_frame) relocation entry (8)) collect2: ld returned 1 exit status make: *** [ns] Error 1* If I do a make again it produces the same error. if i then do a *make clean *then a *make *it produces the same error again. If I do a *make distclean* then a *./configure --with-otcl=../otcl-1.13/ --with-tclcl=../tclcl-1.19/* (this what I think the install is doing) then make it still produces the same error. Please any ideas? I'm going mad! Thank you Mark From bluesky_my at hotmail.com Wed Mar 12 19:04:25 2008 From: bluesky_my at hotmail.com (cool) Date: Wed, 12 Mar 2008 19:04:25 -0700 (PDT) Subject: [ns] ZRP source code Message-ID: <16019765.post@talk.nabble.com> Hi, Can anyone provide me the Zone Routing Protocol (ZRP) source code that support ns2.28 or above?? Thank you. -- View this message in context: http://www.nabble.com/ZRP-source-code-tp16019765p16019765.html Sent from the ns-users mailing list archive at Nabble.com. From mathieu.lacage at sophia.inria.fr Wed Mar 12 21:29:54 2008 From: mathieu.lacage at sophia.inria.fr (Mathieu Lacage) Date: Thu, 13 Mar 2008 05:29:54 +0100 Subject: [ns] Extending 802.11 In-Reply-To: <20080312150653.8h7i91cmn4o0cgs4@webmail.fe.up.pt> References: <20080312150653.8h7i91cmn4o0cgs4@webmail.fe.up.pt> Message-ID: <1205382594.5324.15.camel@mathieu> hi nuno, On Wed, 2008-03-12 at 15:06 +0000, Nuno Farias wrote: > Hi, > I've been studying NS3. My goal is to create a 802.11s module by > extending 802.11 code (recently added by Mathieu Lacage). cool ! > At this point I have some doubts that maybe someone could give some pointers: > 1. How do I active tracing to see (wifi) frames and if it's possible > to trace frames in pcap format. There are two aspects to getting pcap trace output: - you need to make sure you get a trace event for the packet tx or rx event. - you need to connect the trace event to a pcap generator. The latter is really not a problem: you can trivially use the PcapWriter class. The former might be more complicated and really depends on the version of ns-3 you are using: so, which version of ns-3 are you using ? > 2. How to add IP to the main-ap-wifi.cc example? Do I need just to use > InternetNode instead of Node? What else should I need? That should be enough, yes. > 3. After analyzing Mathieu's 802.11 code, it seems that it wasn't > structured in such a way that it is possible/easy to add more > management frames, new beacon, etc. At first glance, it seems that I > need to create a WifiMacHeader subclass and create new methods and > enum types, instead of overriding methods such as: > - void SetType (enum WifiMacType_e type) > - enum WifiMacType_e GetType ( ) I have not read the 802.11s specification so, the following might not be the right answer. If so, please, tell me what is wrong. I suspect that what you are trying to do is to set the type/subtype field of the header to a value which was not specified in the original 802.11-1999 spec. If so, I think that the simplest thing to do would be for you to submit a patch which extends the existing type enum and the code to handle this new value. Mathieu From ssdoria at gmail.com Wed Mar 12 23:49:28 2008 From: ssdoria at gmail.com (Sidney Doria) Date: Thu, 13 Mar 2008 03:49:28 -0300 Subject: [ns] Nodes not receiving broadcast message In-Reply-To: <1bc975700803122344k1653fc88g278207ffd0368dd9@mail.gmail.com> References: <819377.14384.qm@web38004.mail.mud.yahoo.com> <1bc975700803122344k1653fc88g278207ffd0368dd9@mail.gmail.com> Message-ID: <1bc975700803122349k2fc43c12x43fe3d025ac05cc0@mail.gmail.com> Hi Mukaka and all, try to add this ch->direction() = hdr_cmn::DOWN; ch->next_hop() = MAC_BROADCAST; Sidney Doria 2008/3/12, Nur Aini Rakhmawati : > > in my protocol code, the addr_type is NS_AF_INET > I define the port number as well > here is my broadcast code : > > http://nuraini.net/2007/09/16/unicast-and-broadcat-packet-on-ns2/ > > it works for me :) > > --------------- > Nur Aini Rakhmawati > Touch the sky, Down to the earth > http://nuraini.net/ > > ----- Original Message ---- > From: SS Mukaka > To: ns-users at ISI.EDU > Sent: Tuesday, March 11, 2008 10:16:50 PM > Subject: [ns] Nodes not receiving broadcast message > > > I want to send a broadcast message to neighbours.... I'm having a problem > because the nodes are not receiving the message if I put ih->daddr() = > IP_BROADCAST; > I have tested it by putting ih->daddr() = 1; and it worked... ie. node 1 was > able to receive the message.. Below is my code for sending and also for > receiving > > void ReQuest::sendREQUEST() > { > > Packet* p = Packet::alloc(); > struct hdr_cmn* ch = HDR_CMN(p); > struct hdr_ip* ih = HDR_IP(p); > struct hdr_MyPacket* ah = HDR_MyPacket(p); > ch->size() = IP_HDR_LEN + ah->size(); > ch->addr_type() = NS_AF_NONE; > > ih->daddr() = IP_BROADCAST; > ih->saddr() = index; > ah->MyPacket_type = ReQ; > Scheduler::instance().schedule(target_, p, 0.0); > } > > My receive function is as follows: > > void ReQuest::recv(Packet* p, Handler*) > { > struct hdr_cmn* ch = HDR_CMN(p); > struct hdr_ip* ih = HDR_IP(p); > struct hdr_MyPacket* ah = HDR_MyPacket(p); > nsaddr_t src = ih->saddr(); > printf("Node %d receiving data packet from %d \n", index, src); > > // processing packet > } > > like i said, nodes can only receive messages if i put the IP address of the > receipient but when i use IP_BROADCAST, nothing is received... > > Thank you in advance > > > > > > > ____________________________________________________________________________________ > Never miss a thing. Make Yahoo your home page. > http://www.yahoo.com/r/hs > > -- Sidney Doria Redes ad hoc m?veis Mestrado em Computa??o UFCG Brasil "Nessa jornada, o conhecimento ser? o seu escudo..." (Mestre dos Magos no epis?dio do grimoire de ouro) From mademoiselle.louatif at yahoo.fr Thu Mar 13 02:06:18 2008 From: mademoiselle.louatif at yahoo.fr (fatma louati) Date: Thu, 13 Mar 2008 10:06:18 +0100 (CET) Subject: [ns] how to access to a parameter in layer 3 from layer 2 Message-ID: <438343.16608.qm@web23208.mail.ird.yahoo.com> hi everyone, I have already declared and calculated a parameter (X) in the Mac802_11.h and Mac802_11.cc I need that parameter to use it in routing protocol AODV. I wonder how to access to it from Mac802_11.cc. I did declared AODV like a friend class in MAC802_11.h when I run a simulation, X is calculated in MAC file and it is not nul. But, when I print it from AODV file it is always nul !!! How to solve that problem some help will be nice. I will be grateful thanks in advance Fatma --------------------------------- Envoy? avec Yahoo! Mail. Une boite mail plus intelligente. From mademoiselle.louatif at yahoo.fr Thu Mar 13 04:33:23 2008 From: mademoiselle.louatif at yahoo.fr (fatma louati) Date: Thu, 13 Mar 2008 12:33:23 +0100 (CET) Subject: [ns] HOW TO ACCESS AN INSTANCE VARIABLE USING TCL Message-ID: <638217.99338.qm@web23201.mail.ird.yahoo.com> hi everybody, I have already defined an instance variable in mac-802_11.cc and I would like to access to it in my .tcl would someone please tell me how to do it. I would really appreciate it. thks in adance --------------------------------- Envoy? avec Yahoo! Mail. Une boite mail plus intelligente. From hussainaks at hotmail.com Thu Mar 13 07:36:53 2008 From: hussainaks at hotmail.com (ahmad hussain) Date: Thu, 13 Mar 2008 19:36:53 +0500 Subject: [ns] FW: How to modify default parameters in IEEE 802.16? Message-ID: From: hussainaks at hotmail.comTo: ns-users at isi.eduSubject: How to modify default parameters in IEEE 802.16?Date: Thu, 13 Mar 2008 19:30:22 +0500 would someone please help me ! I am simulating IEEE 802.16 wimax, and want to modify the defaultparameters for Datarate_, Delay_,Bandwidth. Let me know from where can Ifound information in this regard and how can I modify these parameters. Regards. Express yourself instantly with MSN Messenger! MSN Messenger _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From L.Zhao at napier.ac.uk Thu Mar 13 08:10:34 2008 From: L.Zhao at napier.ac.uk (Zhao, Liang) Date: Thu, 13 Mar 2008 15:10:34 -0000 Subject: [ns] how to simulate 802.11 based wireless mesh networks ns2 Message-ID: <735F04A99D358E468A16EDB64FC04555062FCF18@EVS1.napier-mail.napier.ac.uk> Hi all, I saw the paper of Enhanced Wireless Mesh Networking for ns-2 simulator. Is there an example of tcl of this simulation in ns-2.31 or 2.32? if not, anyone knows how I can find one tcl to run this simulation? Thanks. Liang This message is intended for the addressee(s) only and should not be read, copied or disclosed to anyone else outwith the University without the permission of the sender. It is your responsibility to ensure that this message and any attachments are scanned for viruses or other defects. Napier University does not accept liability for any loss or damage which may result from this email or any attachment, or for errors or omissions arising after it was sent. Email is not a secure medium. Email entering the University's system is subject to routine monitoring and filtering by the University. From gladiator_uts at yahoo.com Thu Mar 13 11:57:46 2008 From: gladiator_uts at yahoo.com (Livian) Date: Thu, 13 Mar 2008 11:57:46 -0700 (PDT) Subject: [ns] Fwd: Multiple TCP connection Message-ID: <215338.14651.qm@web37003.mail.mud.yahoo.com> Livian wrote: Date: Wed, 12 Mar 2008 12:13:53 -0700 (PDT) From: Livian Subject: Multiple TCP connection To: NS-User Does anyone have some code realting with Fairness Calculation : ----> Where 10 sender and 10 Receiver nodes will be connected by a Router and a Base station . Thanks in advance. Livian --------------------------------- Never miss a thing. Make Yahoo your homepage. --------------------------------- Never miss a thing. Make Yahoo your homepage. From ssmukaka at gmail.com Thu Mar 13 22:59:43 2008 From: ssmukaka at gmail.com (SS Mukaka) Date: Fri, 14 Mar 2008 07:59:43 +0200 Subject: [ns] segmentation fault(core dumped) error In-Reply-To: References: Message-ID: I'm having problems with the above mentioned error when the number of nodes in my simulation is more than 30. I'm simulating my own protocol and it works well with nodes less than 30... Regards... From sabareisch at yahoo.co.in Thu Mar 13 23:11:34 2008 From: sabareisch at yahoo.co.in (sabareisch) Date: Thu, 13 Mar 2008 23:11:34 -0700 (PDT) Subject: [ns] how to compile new agent Message-ID: <16045034.post@talk.nabble.com> hi, I have created a new agent by modifying 'ping' example in Marc Greis tutorial. But if i execute the '.tcl' file im getting the same output as before. I have added some classes.but i execeuted by commenting those classes and i changed the following line alone: I have changed: sprintf(out, "%s recv %d %3.1f", name(), hdrip->src_.addr_ >> Address::instance().NodeShift_[1], (Scheduler::instance().clock()-hdr->send_time) * 1000); into: sprintf(out, "%s recv %d %3.1f", name(), hdrip->src_.addr_ >> Address::instance().NodeShift_[1], (Scheduler::instance().clock()-hdr->send_time) * 1000+15); I also compiled the .cc file. But the errors are created. Even the ping.cc file is also not compiling well. Can anyone Please help me to solve this problem?...i need to execute with the desired classes added... Please furnish me steps to accomplish successful execution...This is my final year project.I ll be very thankful to you if you do me favour.. I Thank you for your help which you are going to do for me -- View this message in context: http://www.nabble.com/how-to-compile-new-agent-tp16045034p16045034.html Sent from the ns-users mailing list archive at Nabble.com. From nayagicse at gmail.com Fri Mar 14 02:40:53 2008 From: nayagicse at gmail.com (S.Selva Nayagi) Date: Fri, 14 Mar 2008 15:10:53 +0530 Subject: [ns] RSSI Reg Message-ID: <673522a90803140240u568cca1br2be6e075dbd81901@mail.gmail.com> Hello, Any one having code for RSSI values getting from Beacon nodes using Ns2. From aservin at cs.york.ac.uk Fri Mar 14 02:58:34 2008 From: aservin at cs.york.ac.uk (Arturo Servin) Date: Fri, 14 Mar 2008 09:58:34 +0000 Subject: [ns] segmentation fault(core dumped) error In-Reply-To: References: Message-ID: I have 69 nodes, it was working well until yesterday that I added one line to create a new variable. After the value set up the simulation crash around the middle, if I remove the line, it works well. The "offending" line could be something as silly as: set dummy 0 I wonder if any body knows any limits in the number of nodes (as the original e-mail), number of procedures, variables that the ns can handle in a tcl script. Thanks, -as On 14 Mar 2008, at 05:59, SS Mukaka wrote: > > I'm having problems with the above mentioned error when the number > of nodes > in my simulation is more than 30. > I'm simulating my own protocol and it works well with nodes less > than 30... > > > Regards... From sheraz_nadeem at hotmail.com Fri Mar 14 04:02:39 2008 From: sheraz_nadeem at hotmail.com (Sheraz Nadeem) Date: Fri, 14 Mar 2008 16:02:39 +0500 Subject: [ns] anyone with adov code with enhanced security Message-ID: Hello, if anyone have the implementation of the AODV or MAODV or SAODV with enhanced security plz provide it to me or any type of help you can provide.I am using NS-2.31thanks bye _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From ranjith.asp at gmail.com Fri Mar 14 05:34:24 2008 From: ranjith.asp at gmail.com (RANJITH KUMAR) Date: Fri, 14 Mar 2008 18:04:24 +0530 Subject: [ns] (1)Trace file issue & (2)Tracing parameters that are not usually traced with TRACE-ALL instance Message-ID: <3886ce930803140534l740dc444i9f3e41b2c8a5b982@mail.gmail.com> I just wanna ask two different doubts.. First: Take a look at these trace file content.. It uses new-trace format of wireless n/w Sconfig 0.00000 tap: on snoop: rts? on errs? on Sconfig 0.00000 salvage: on !bd replies? on Sconfig 0.00000 grat error: on grat reply: on Sconfig 0.00000 $reply for props: on ring 0 search: on Sconfig 0.00000 using MOBICACHE M 0.20000 0 (50.00, 50.00, 0.00), (50.00, 50.00), 0.00 M 0.20000 1 (100.00, 50.00, 0.00), (100.00, 50.00), 0.00 s -t 0.500000000 -Hs 0 -Hd -2 -Ni 0 -Nx 50.00 -Ny 50.00 -Nz 0.00 -Ne 0.200000 -Nl AGT -Nw --- -Ma 0 -Md 0 -Ms 0 -Mt 0 -Is 0.0 -Id 1.0 -It tcp -Il 40 -If 2 -Ii 0 -Iv 32 -Pn tcp -Ps 0 -Pa 0 -Pf 0 -Po 0 r -t 0.500000000 -Hs 0 -Hd -2 -Ni 0 -Nx 50.00 -Ny 50.00 -Nz 0.00 -Ne 0.200000 -Nl RTR -Nw --- -Ma 0 -Md 0 -Ms 0 -Mt 0 -Is 0.0 -Id 1.0 -It tcp -Il 40 -If 2 -Ii 0 -Iv 32 -Pn tcp -Ps 0 -Pa 0 -Pf 0 -Po 0 s -t 0.506923068 -Hs 0 -Hd -1 -Ni 0 -Nx 50.00 -Ny 50.00 -Nz 0.00 -Ne 0.200000 -Nl RTR -Nw --- -Ma 0 -Md 0 -Ms 0 -Mt 0 -Is 0.255 -Id 1.255 -It DSR -Il 32 -If 0 -Ii 1 -Iv 32 -P dsr -Ph 1 -Pq 1 -Ps 1 -Pp 0 -Pn 1 -Pl 0 -Pe 0->0 -Pw 0 -Pm 0 -Pc 0 -Pb 0->0 N -t 0.507578 -n 1 -e 0.199933 r -t 0.508275235 -Hs 1 -Hd -1 -Ni 1 -Nx 100.00 -Ny 50.00 -Nz 0.00 -Ne 0.199933 -Nl RTR -Nw --- -Ma 0 -Md ffffffff -Ms 0 -Mt 800 -Is 0.255 -Id 1.255 -It DSR -Il 32 -If 0 -Ii 1 -Iv 32 -P dsr -Ph 1 -Pq 1 -Ps 1 -Pp 0 -Pn 1 -Pl 0 -Pe 0->0 -Pw 0 -Pm 0 -Pc 0 -Pb 0->0 s -t 0.510446830 -Hs 1 -Hd 0 -Ni 1 -Nx 100.00 -Ny 50.00 -Nz 0.00 -Ne 0.199933 -Nl RTR -Nw --- -Ma 0 -Md 0 -Ms 0 -Mt 0 -Is 1.255 -Id 0.255 -It DSR -Il 44 -If 0 -Ii 2 -Iv 254 -P dsr -Ph 2 -Pq 0 -Ps 1 -Pp 1 -Pn 1 -Pl 2 -Pe 0->1 -Pw 0 -Pm 0 -Pc 0 -Pb 0->0 N -t 0.510862 -n 0 -e 0.199869 N -t 0.511857 -n 1 -e 0.199834 N -t 0.512219 -n 0 -e 0.199803 N -t 0.512533 -n 1 -e 0.199739 N -t 0.513184 -n 0 -e 0.199709 N -t 0.513898 -n 0 -e 0.199674 N -t 0.514260 -n 1 -e 0.199643 N -t 0.514574 -n 0 -e 0.199566 N -t 0.515352 -n 1 -e 0.199536 and it goes on.. In this i don kno wat r these lines containin 'N' in the beginnin, which also shows the Node energy level getting depleted in a short duration without any activity as it shows the timestamp too.. (Revised Trace format explanation can be found in detail in ns official manual oct'07, Page:158) Second: How can i trace a single numerical parameter into a separate trace file.. I kno how to create trace files but i wanna kno how to capture the parameter we need, for instance i can say the Node energy which is prefixed with -Ne (which can be seen in trace file i have given above), or anythin that will not be traced in trace-all like Received Signal Strength Indication(RSSI) or anythin else like that.. And is there something like Only when the trace file has numerical datas of only one parameter, it can be used ofr xgraph plotting??????? If so how can we filter the numerical content of a single parameter (say that of timestamp) from a 'trace-all' trace file..? Of course different trace files having different parameters in it can be used in plottin with xgraph (One can Refer Marc. Greis Turorial) Thx in advance my dear frndss... -- Warm regards, Ranjithkumar Mohanasundaram. From comsians_bce at yahoo.com Fri Mar 14 07:43:30 2008 From: comsians_bce at yahoo.com (Mahmood Qureshi) Date: Fri, 14 Mar 2008 07:43:30 -0700 (PDT) Subject: [ns] Node and TCP files help required Message-ID: <195768.61118.qm@web39505.mail.mud.yahoo.com> Is any body send the detail description file related to the following file node.cc node.h tcl.h tcl.cc tcp.cc If any body have the description file ( Describe each functions and how it is working ) so kindly give me .. Or any other help is greatly appreciated PS: I dont want this kind of discription http://www.auto-nomos.de/ns2doku/node_8cc.html I need detail description of each functions e.g. in case of tcp how tcp functions are working ............. I shall be grateful to you --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. From gabrial_monty at yahoo.com Fri Mar 14 21:50:15 2008 From: gabrial_monty at yahoo.com (Gabrial Monty) Date: Fri, 14 Mar 2008 21:50:15 -0700 (PDT) Subject: [ns] Preample issue in 802.11a mac layer Message-ID: <413425.56593.qm@web44906.mail.sp1.yahoo.com> Dear all, I want to simulate the detailed behavior of 802.11a mac layer where I want to consider the preample and the PLCP header when calculating the transmission time and the PER of a data packet. For the PLCP header it is specified in the standard its size and the data rate used to transmit it which is 24 bits (without the Service field) and it is transmitted at 6 Mbps. But what about the peample? what I have found is that it is composed of 12 Symbols and needs 16us to be transmitted, but what is the Symbol? and what is the size of a symbol in bits? Moreover, many papers do not include the preample size while calculating the PER and they incorporate its transmission time in the total data packet transmission time, can I use the same approach in my simulations? Thanks and waiting your reply, gaby --------------------------------- Never miss a thing. Make Yahoo your homepage. From gabrial_monty at yahoo.com Fri Mar 14 22:10:56 2008 From: gabrial_monty at yahoo.com (Gabrial Monty) Date: Fri, 14 Mar 2008 22:10:56 -0700 (PDT) Subject: [ns] Agere ORINCO 802.11a User Guide Message-ID: <306396.28795.qm@web44902.mail.sp1.yahoo.com> Dear all, From where I can get the "User's Guide for ORINCO PC Card" from Agere Syatems since I need the reciever sensiitvity of that card for 802.11a. I have searched the internet but I could not find the needed information. Any hint please? Best wishes, gaby --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From ghadaayed at yahoo.com Sun Mar 16 00:08:47 2008 From: ghadaayed at yahoo.com (Ghada Al-Mashaqbeh) Date: Sun, 16 Mar 2008 00:08:47 -0700 (PDT) Subject: [ns] Advice is needed regarding trace file anlaysis Message-ID: <343962.18399.qm@web51704.mail.re2.yahoo.com> Hi all, What do you think is better for analyzing ns-2 trace files, to use already exist softwares (such as Tracegraph) or to write my own scripts auch awk scripts? I have no information about awk scripts or other scripts, so I have decieded to use Tracegrpah program but it does not work, alot of bugs have appeared and really I cannot understand them, even I do not understand the solutions introduced on the different forums, and alot of people have many douts about the corrcetnesss of the obtained results. So, what do you suggest? any useful hints, resources, or comments will be higly appreciated. Regards, Ghada --------------------------------- Never miss a thing. Make Yahoo your homepage. From kingkouka2006 at yahoo.fr Sun Mar 16 05:59:34 2008 From: kingkouka2006 at yahoo.fr (king kouka) Date: Sun, 16 Mar 2008 12:59:34 +0000 (GMT) Subject: [ns] 2 multicast group Message-ID: <246264.18298.qm@web25401.mail.ukl.yahoo.com> hello I am using MAODV code from Zhu and Kunz.... This implement only ONE multicast group ... How to run 2 or more groups ? regards _____________________________________________________________________________ Envoyez avec Yahoo! Mail. La boite email la plus appreci?e au monde. http://mail.yahoo.fr From basimjaved at gmail.com Sun Mar 16 07:59:19 2008 From: basimjaved at gmail.com (Basim Javed) Date: Sun, 16 Mar 2008 15:59:19 +0100 Subject: [ns] set and get the parameter values of EDCA of a node Message-ID: Dear all NS/ers Could somebody help me in a terrible situation, for which i am not getting any help. I am using ns 2.31 and TKN EDCA patch for 802.11e. I need to set and get the priority queues of 802.11e based node, for different parameters such as AIFS (per node per queue). I am not very familiar with tcl, and have no idea what this msg is asking me. So do u have any idea how to resolve this error for 802.11e? thank you very much. kind regards basim ----------- CODE piece ---------- Node/MobileNode instproc get-ifq {} { puts "First" $self instvar ifq_ puts "Second" return $ifq_(0) } puts "Test RV" set ifq [$node_(0) get-ifq] $ifq Prio 0 AIFS 2 puts "Test RV_END" close $testout proc dump_priority {} { global node_ # dump mobile priorities (all mobile priorities are the same, so only dump one of them) set ifq [$node_(0) get-ifq] puts "Test BWP1" set addr [AddrParams addr2id [$node_(0) node-addr]] #set levels [$ifq levels] set levels 4 puts "Test BWP2" foreach var "PF CW_MIN CW_MAX AIFS TXOPLimit" { puts -nonewline stderr [format "%7d %-9s " $addr $var] for {set i 0} {$i < $levels} {incr i} { if {$var == "TXOPLimit"} { puts -nonewline stderr [format "%1d %8.6f " $i \ [$ifq get-prio $i $var]] } else { puts -nonewline stderr [format "%1d %8d " $i \ [$ifq get-prio $i $var]] } } puts stderr "" } } puts "iub" #set levels [$ifq levels] set a [$ifq get-prio 0 PF] ---------- ERRORS ---------- (_o22 cmd line 1) invoked from within "_o22 cmd get-prio 0 PF" invoked from within "catch "$self cmd $args" ret" invoked from within "if [catch "$self cmd $args" ret] { set cls [$self info class] global errorInfo set savedInfo $errorInfo error "error when calling class $cls: $args" $..." (procedure "_o22" line 2) (SplitObject unknown line 2) invoked from within "$ifq get-prio 0 PF" invoked from within "set a [$ifq get-prio 0 PF]" (file "w1.tcl" line 258) From bkocot at interia.pl Sun Mar 16 08:57:47 2008 From: bkocot at interia.pl (Bartek) Date: 16 Mar 2008 16:57:47 +0100 Subject: [ns] instalation problem Message-ID: <20080316155747.A7E896D455@f09.poczta.interia.pl> Hi I have an instalation's problem with ns-2.32. I'm using WinXP and Cygwin software. When I try to install ns-2.32 it's broken down and problem occur (otcl). I attach a screen. Any ideas? Thanks ---------------------------------------------------------------------- Wez udzial w konkursie i wygraj super nagrody! Ciesz sie zdrowym usmiechem! Zobacz >> http://link.interia.pl/f1d58 From khaulah_tc at yahoo.com Sun Mar 16 19:39:52 2008 From: khaulah_tc at yahoo.com (Nur Aini Rakhmawati) Date: Sun, 16 Mar 2008 19:39:52 -0700 (PDT) Subject: [ns] 2 multicast group Message-ID: <460039.91207.qm@web38015.mail.mud.yahoo.com> I never implement MAODV Just give you some solution Perhaps you take a look the TCL file I think there are some command to run multicast group --------------- Nur Aini Rakhmawati http://nuraini.net/ ----- Original Message ---- From: king kouka To: ns-user Sent: Sunday, March 16, 2008 8:59:34 PM Subject: [ns] 2 multicast group hello I am using MAODV code from Zhu and Kunz.... This implement only ONE multicast group ... How to run 2 or more groups ? regards _____________________________________________________________________________ Envoyez avec Yahoo! Mail. La boite email la plus appreci?e au monde. http://mail.yahoo.fr ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs From lray0503 at gmail.com Sun Mar 16 20:14:13 2008 From: lray0503 at gmail.com (lray) Date: Mon, 17 Mar 2008 11:14:13 +0800 Subject: [ns] ns problems!! Message-ID: <58f5fe770803162014y7b68c13ci1306051e41d1a254@mail.gmail.com> I'm doing research on the IEEE802.21MIH.Several days ago, I got the NIST module. I need to use the module in the hsntg subdirectory.There are two files in the module. One of them is in the file of .../ns-allinone-2.29/ns-2.29/hsntg.The other one in the file of .../ns-2.29/tcl/hsntg.I changed the directory to .../tcl/hsntg, run the testMIH.tcl file. $ ns testMIH.tcl The error is: invalid command name "Handover/Simple" while executing "Handover/Simple set debug_ 1" (file "testMIH.tcl" line 43) I don't know how to solve the porblem.Please give me some suggestion.Thank you very much! From ghadaayed at yahoo.com Mon Mar 17 00:08:53 2008 From: ghadaayed at yahoo.com (Ghada Al-Mashaqbeh) Date: Mon, 17 Mar 2008 00:08:53 -0700 (PDT) Subject: [ns] Too large size trace file, is it logical!!!! Message-ID: <508427.69078.qm@web51712.mail.re2.yahoo.com> Hi all, I am facing the problem of getting very lrage size trace files from my simulation scenarios (I am using a 7x7 grid of static wireless node, each node is equipped with 5 interfaces, and one traffic flow with 1 Mbps demand, AGT, RTR , and MAC traces are set ON, simulation time is 800 sec). I get a trace file of size 3 - 5 GB, is this logical? the problem of the toooo long time to process it and the storage needed for 10 or more runs, what should I do? Thanks, Ghada --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From ghadaayed at yahoo.com Mon Mar 17 02:21:19 2008 From: ghadaayed at yahoo.com (Ghada Al-Mashaqbeh) Date: Mon, 17 Mar 2008 02:21:19 -0700 (PDT) Subject: [ns] How to calculate maximum channel utilization Message-ID: <499598.10947.qm@web51705.mail.re2.yahoo.com> Dear all, Is there a way to calculate the channel utilization from ns-2 trace file? that is which is better to let each node measure the channel utilization based on Is_idle() function at mac and record the value for each node or count the number of transmissions/receiving/forwarding of data packets from the trace file within a specific time duration and find the channel utilization (or busy time fraction)? which option you think it is better? Regards, Ghada --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From L.Zhao at napier.ac.uk Mon Mar 17 10:20:35 2008 From: L.Zhao at napier.ac.uk (Zhao, Liang) Date: Mon, 17 Mar 2008 17:20:35 -0000 Subject: [ns] help of segmentation fault Message-ID: <735F04A99D358E468A16EDB64FC04555062FCF23@EVS1.napier-mail.napier.ac.uk> Hi you all Anyone can help about my simulation. I run a two clusters simulation with two mobile nodes each and one AP for each cluster. I would like to send a packet from one mobile in cluster A to another node in cluster B using AODV. However, When I run the simulation, there is always a Segmentation fault: code dumped. Here is my tcl code shown below: Thanks. global opt set opt(chan) Channel/WirelessChannel set opt(prop) Propagation/TwoRayGround set opt(netif) Phy/WirelessPhy set opt(mac) Mac/802_11 set opt(ifq) Queue/DropTail/PriQueue set opt(ll) LL set opt(ant) Antenna/OmniAntenna set opt(x) 670 set opt(y) 670 set opt(ifqlen) 50 set opt(tr) wired-and-wireless.tr set opt(namtr) wired-and-wireless.nam set opt(nn) 4 set opt(adhocRouting) AODV set opt(cp) "" set opt(sc) "scen-3-test" set opt(stop) 250 #set num_wired_nodes 2 set num_bs_nodes 2 set ns_ [new Simulator] # set up for hierarchical routing $ns_ node-config -addressType hierarchical AddrParams set domain_num_ 1 lappend cluster_num 2 AddrParams set cluster_num_ $cluster_num lappend eilastlevel 3 3 AddrParams set nodes_num_ $eilastlevel set tracefd [open $opt(tr) w] $ns_ trace-all $tracefd set namtracefd [open $opt(namtr) w] $ns_ namtrace-all-wireless $namtracefd $opt(x) $opt(y) set topo [new Topography] $topo load_flatgrid $opt(x) $opt(y) # god needs to know the number of all wireless interfaces create-god [expr $opt(nn) + $num_bs_nodes] #create wired nodes # set temp {0.0.0 0.1.0} #for {set i 0} {$i < $num_wired_nodes} {incr i} { # set W($i) [$ns_ node [lindex $temp $i]] #} $ns_ node-config -adhocRouting $opt(adhocRouting) \ -llType $opt(ll) \ -macType $opt(mac) \ -ifqType $opt(ifq) \ -ifqLen $opt(ifqlen) \ -antType $opt(ant) \ -propInstance [new $opt(prop)] \ -phyType $opt(netif) \ -channel [new $opt(chan)] \ -topoInstance $topo \ -wiredRouting ON \ -agentTrace ON \ -routerTrace OFF \ -macTrace OFF #set BS1 is the first node of 0.0.0 of the cluster list set temp {1.0.0 1.0.1 1.0.2} set BS(0) [$ns_ node [lindex $temp 0]] set temp2 {0.0.0 0.0.1 0.0.2} set BS(1) [$ns_ node [lindex $temp2 0]] $BS(0) random-motion 0 $BS(1) random-motion 0 $BS(0) set X_ 1.0 $BS(0) set Y_ 2.0 $BS(0) set Z_ 0.0 $BS(1) set X_ 650.0 $BS(1) set Y_ 600.0 $BS(1) set Z_ 0.0 #configure for mobilenodes $ns_ node-config -wiredRouting OFF for {set j 0} {$j < $opt(nn)} {incr j} { if ($j%2==0) { set node_($j) [ $ns_ node [lindex $temp \ [expr $j / 2 +1]] ] $node_($j) base-station [AddrParams addr2id [$BS(0) node-addr]] puts $j puts [lindex $temp \ [expr $j / 2 +1]] } else { set node_($j) [ $ns_ node [lindex $temp2 \ [expr $j / 2 +1]] ] $node_($j) base-station [AddrParams addr2id [$BS(1) node-addr]] puts $j puts [lindex $temp2 \ [expr $j / 2 +1]] } } #create links between BS and BS nodes $ns_ duplex-link $BS(0) $BS(1) 5Mb 2ms DropTail $ns_ duplex-link-op $BS(0) $BS(1) orient left-down puts "aaa" # setup TCP connections set tcp1 [new Agent/TCP] $tcp1 set class_ 2 set sink1 [new Agent/TCPSink] $ns_ attach-agent $node_(0) $tcp1 $ns_ attach-agent $node_(2) $sink1 $ns_ connect $tcp1 $sink1 set ftp1 [new Application/FTP] $ftp1 attach-agent $tcp1 $ns_ at 120 "$ftp1 start" puts "aab" for {set i 0} {$i < $opt(nn)} {incr i} { $ns_ initial_node_pos $node_($i) 20 } puts "aac" for {set i } {$i < $opt(nn) } {incr i} { $ns_ at $opt(stop).0000010 "$node_($i) reset"; } puts "aad" $ns_ at $opt(stop).0000010 "$BS(0) reset"; $ns_ at $opt(stop).0000020 "$BS(1) reset"; $ns_ at $opt(stop).1 "puts \"NS EXITING...\" ; $ns_ halt" puts "Starting Simulation..." $ns_ run This message is intended for the addressee(s) only and should not be read, copied or disclosed to anyone else outwith the University without the permission of the sender. It is your responsibility to ensure that this message and any attachments are scanned for viruses or other defects. Napier University does not accept liability for any loss or damage which may result from this email or any attachment, or for errors or omissions arising after it was sent. Email is not a secure medium. Email entering the University's system is subject to routine monitoring and filtering by the University. From jayachandra_5010 at yahoo.co.in Mon Mar 17 12:48:59 2008 From: jayachandra_5010 at yahoo.co.in (jayachandra gullapalli) Date: Tue, 18 Mar 2008 01:18:59 +0530 (IST) Subject: [ns] Regarding Sleep mode Message-ID: <519278.84291.qm@web8508.mail.in.yahoo.com> Hi, I am working with wireless networks, I need to make a node to sleep explicitly from the TCL file. Can anyone give me the command to make a node sleep? Thanks, Jayachandra. Why delete messages? Unlimited storage is just a click away. Go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html From ejortegau at unal.edu.co Mon Mar 17 18:05:29 2008 From: ejortegau at unal.edu.co (Eduardo J. Ortega U.) Date: Mon, 17 Mar 2008 19:05:29 -0600 Subject: [ns] Agent/TCP/Newreno flow control not behaving as expected Message-ID: <6fec99f30803171805s27a00a9fl9505b79b1d7c3a06@mail.gmail.com> Hi all: I have set up an experiment for TCP but I am puzzled by its results, so I thought maybe you can shed some light on it: I have linear network with 4 nodes. 1 ----- 2 ----- 3 ------ 4 Link 1-2 and Link 3-4 are full duplex 100 Mb 1ms Link 2 -3 is full duplex 1Mb 1ms. I set up an FTP application sending from an Agent/TCP/Newreno in node 1 to an Agent/TCPSink in node 4. There's no other traffic. I would expect TCP to increase the transmisison window, and therefore, the throughput, until the queue in the link from 2 to 3 became full. Then, TCP should lose a packet and reduce the window. If I plot the cwnd_ of my TCP agent as a function of time, I see that indeed it keeps increasing until the simulation ends. However, the throughput reaches almost from the beginning a value close to the link capacity of 1 Mb, and the flow doesn't lose any packets (the queue does not get full). Is this caused by something specific of the TCP agent flow control, or am I missing something here? Thanks, -- Eduardo J. Ortega U. From saravanan_forums at yahoo.com Tue Mar 18 02:25:14 2008 From: saravanan_forums at yahoo.com (Sarwan Sivaji) Date: Tue, 18 Mar 2008 02:25:14 -0700 (PDT) Subject: [ns] Need help for Wireless Simulation Message-ID: <360976.69713.qm@web46008.mail.sp1.yahoo.com> hi all, I am new to NS 2. I want to simulate a Wireless network. The network consists of some static nodes (non-mobile nodes) and one mobile node. The mobile node move around the specified topography. While it moves it should broadcast its current location at regular intervals (beacon message). The other nodes receives the message and should give acknowledgement. The ack also broadcasted by the receiving nodes. Each node has communication range of 30m. When the mobile node enters the communication range of the static node, they can receive the beacon message. Can any one tell me... 1. how to make the wireless mobile node to broadcast its current location? 2. which agents to use? which is suitable for broadcasting? my topography is 200 X 200m I want to set the communication range of each node to be 30m. How to set the communication range of nodes? please...kindly give suggestions... regards Sarwan --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From agrawaldeepansh at yahoo.com Tue Mar 18 07:19:33 2008 From: agrawaldeepansh at yahoo.com (Deepansh Agrawal) Date: Tue, 18 Mar 2008 14:19:33 +0000 (GMT) Subject: [ns] Multichannel single interface MAC simulation help Message-ID: <122553.30043.qm@web8806.mail.in.yahoo.com> Hi Basil, I believe a multi channel "single interface" mac implementation for 802.11 is available in the NIST addon for ns-2 (mobility package). You can find documentation related to it from http://w3.antd.nist.gov/seamlessandsecure/files/mobility/doc/MAC802_11.pdf You can download it from http://w3.antd.nist.gov/seamlessandsecure/download.html Hope it helps. -Deepansh --------------------------------- Chat on a cool, new interface. No download required. Click here. From asraf06 at gmail.com Tue Mar 18 07:58:06 2008 From: asraf06 at gmail.com (Noor Asraf) Date: Tue, 18 Mar 2008 22:58:06 +0800 Subject: [ns] Dijkstra's Implementation in NS-2 Message-ID: <189a7b9c0803180758q7e72e4enaf04c7afe6592d7f@mail.gmail.com> Hi all, This seems to be a longstanding issue: I searched through this mail archive to find out if there is an implementation that allows to calculate shortest route (say in a route table or a tree), but unable to find one. I notice there is a bfs and dijkstra's code in ../routealgo/ but they appear to be standalone. Anyone here tried to use this code or implmented something similiar? Thanks, Asraf From L.Zhao at napier.ac.uk Tue Mar 18 10:43:23 2008 From: L.Zhao at napier.ac.uk (Zhao, Liang) Date: Tue, 18 Mar 2008 17:43:23 -0000 Subject: [ns] wireless mesh network Message-ID: <735F04A99D358E468A16EDB64FC04555062FCF28@EVS1.napier-mail.napier.ac.uk> Hi all I installed Multi-channel Multi-interface Simulation in NS2 (2.29) from http://www.cse.msu.edu/~wangbo1/ns2/ and I would like to know how to use this extension to simulate a wireless mesh network. Anyone has ideas? Many thanks. Liang This message is intended for the addressee(s) only and should not be read, copied or disclosed to anyone else outwith the University without the permission of the sender. It is your responsibility to ensure that this message and any attachments are scanned for viruses or other defects. Napier University does not accept liability for any loss or damage which may result from this email or any attachment, or for errors or omissions arising after it was sent. Email is not a secure medium. Email entering the University's system is subject to routine monitoring and filtering by the University. From ranjith.asp at gmail.com Tue Mar 18 23:36:53 2008 From: ranjith.asp at gmail.com (RANJITH KUMAR) Date: Wed, 19 Mar 2008 12:06:53 +0530 Subject: [ns] Tracing RSSI in Wireless Simulations Message-ID: <3886ce930803182336x4d2b09a9md93b33adad0b3c09@mail.gmail.com> How can we put the RSSI(Received Signal Strength Indication) or each data received in a separate trace file?? or How can we include it to be traced when using trace-all -- Warm regards, Ranjithkumar Mohanasundaram. From mohammed2742007 at yahoo.com Wed Mar 19 02:55:55 2008 From: mohammed2742007 at yahoo.com (mohammed) Date: Wed, 19 Mar 2008 02:55:55 -0700 (PDT) Subject: [ns] [bug] root@localhost tk8.4.18]# Message-ID: <200803190955.CAA02245@www.isi.edu> [Bug Report] ----------------------------- Category: Installation Failure Package: otcl 4.18 OS: mandrake10 Environment Variables: root at localhost tk8.4.18]# [root at localhost tk8.4.18]# ls bitmaps/ changes doc/ library/ mac/ README unix/ xlib/ ChangeLog compat/ generic/ license.terms macosx/ tests/ win/ [root at localhost tk8.4.18]# cd unix [root at localhost unix]# ls aclocal.m4 README tkUnixCursor.c tkUnixMenubu.c config.cache tcl.m4 tkUnixDefault.h tkUnixMenu.c config.log tkAppInit.c tkUnixDialog.c tkUnixPort.h config.status* tkConfig.sh tkUnixDraw.c tkUnixScale.c configure* tkConfig.sh.in tkUnixEmbed.c tkUnixScrlbr.c configure.in* tk.spec tkUnixEvent.c tkUnixSelect.c installManPage* tkUnix3d.c tkUnixFocus.c tkUnixSend.c install-sh* tkUnixButton.c tkUnixFont.c tkUnixWm.c license.terms tkUnix.c tkUnixInit.c tkUnixXId.c Makefile tkUnixColor.c tkUnixInt.h Makefile.in tkUnixConfig.c tkUnixKey.c [root at localhost unix]# ./configure loading cache ./config.cache checking for Tcl configuration... (cached) found /home/mahmoud/ns2/tcl8.4.17/unix/tclConfig.sh checking for existence of /home/mahmoud/ns2/tcl8.4.17/unix/tclConfig.sh... loading checking for tclsh... (cached) /usr/bin/tclsh8.4 checking for tclsh in Tcl build directory... /home/mahmoud/ns2/tcl8.4.17/unix/tclsh checking whether to use symlinks for manpages... no checking whether to compress the manpages... no checking whether to add a package name suffix for the 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 limits.h... (cached) yes checking for unistd.h... (cached) yes checking stdlib.h... yes checking if the compiler understands -pipe... (cached) yes checking for building with threads... no (default) checking for sin... (cached) no checking for main in -lieee... (cached) yes checking how to build libraries... shared checking for ranlib... (cached) ranlib checking if 64bit support is requested... no checking if 64bit Sparc VIS support is requested... no checking system version... (cached) Linux-2.6.3-7mdk checking for dlopen in -ldl... (cached) yes checking for ar... (cached) ar checking for build with symbols... no checking for required early compiler flags... (cached) (cached) (cached) _LARGEFILE64_SOURCE checking for 64-bit integer type... (cached) long long checking for struct dirent64... (cached) no checking for struct stat64... (cached) yes checking for open64... (cached) yes checking for lseek64... (cached) yes checking for off64_t... (cached) yes checking whether byte ordering is bigendian... (cached) no checking for fd_set in sys/types... (cached) yes checking for sys/time.h... (cached) yes checking whether time.h and sys/time.h may both be included... (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 pw_gecos in struct pwd... (cached) yes checking for X... (cached) no checking for X11 header files... checking for X11 libraries... checking for XCreateWindow in -lXwindow... (cached) no could not find any! Using -lX11. checking for main in -lXbsd... (cached) no checking for connect... (cached) yes checking for gethostbyname... (cached) yes checking whether char is unsigned... (cached) no creating ./config.status creating Makefile creating tkConfig.sh [root at localhost unix]# [root at localhost unix]# cd .. [root at localhost tk8.4.18]# cd .. [root at localhost ns2]# ls Marc Greis' Tutorial for the UCB_LBNL_VINT Network Simulator 'ns'details2_files/ Marc Greis' Tutorial for the UCB_LBNL_VINT Network Simulator 'ns'details2.htm* nam-1.13/ nam-src-1.13.tar.gz* ns-2.32/ ns-src-2.32.tar.gz* otcl-1.13/ otcl-src-1.13.tar.gz* q2part1.html* sgb2ns.tar.gz* tcl8.4.17/ tcl8417-src.zip* tcl8.4.17.zip tclcl/ tclcl-20080121.tar.gz* tcl-debug-2.0/ tcl-debug.tar.gz* tiers1.0/ tiers1.0.tar.gz* tk8.4.17/ tk8417-src.zip* tk8.4.18/ tk8418-src.zip* xgraph-12.1/ xgraph-12.1.tar.gz* [root at localhost ns2]# cd otcl-1.13 [root at localhost otcl-1.13]# ls CHANGES.html config.sub* install-sh otclAppInit.c README.html conf/ configure* lib/ otcl.c VERSION config.guess* configure.in Makefile.in otcl.h config.log doc/ makefile.vc otkAppInit.c [root at localhost otcl-1.13]# ./configure No .configure file found in current directory Continuing with default options... checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for string.h... (cached) yes checking for main in -lXbsd... no checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for dcgettext in -lintl... no checking for getnodebyname in -ldnet_stub... no checking that g++ can handle -O2... no checking standard STL is available... no checking for tcl.h... -I/usr/include checking for tclInt.h... no checking for libtcl8.4... -L/usr/lib -ltcl8.4 checking for init.tcl... /usr/lib/tcl8.4 checking for http.tcl... /usr/lib/tcl8.4/http2.4 checking Tcl http.tcl library... yes checking for tclsh8.4.14... no checking for tclsh8.4... /usr/bin/tclsh8.4 configure: error: Installation of tcl seems incomplete or can't be found automatically. Please correct the problem by telling configure where tcl is using the argument --with-tcl=/path/to/package (perhaps after installing it), or the package is not required, disable it with --with-tcl=no. [root at localhost otcl-1.13]# ----------------------------- Description: Description of Problem: tcl is using the argument --with-tcl=/path/to/package (perhaps after installing it), or the package is not required, disable it with --with-tcl=no How Easily Reproducible: (e.g. every time, intermittent, once only, etc.) once only Steps to Reproduce: (describe the minimal set of steps necessary to trigger the bug) 1. 2. 3. Actual Results: (describe what the application did after performing the above steps) Expected Results: (describe what the application should have done, were the bug not present) Additional Information: (the following infomation is helpful to debug: 1. simulation script, detailed output files, packet trace 2. patch file if you modify some source code 3. a backtrace from gdb if you get a segment fault If they are big files, PLEASE put them in your web space and include the URL here.) root at localhost tk8.4.18]# [root at localhost tk8.4.18]# ls bitmaps/ changes doc/ library/ mac/ README unix/ xlib/ ChangeLog compat/ generic/ license.terms macosx/ tests/ win/ [root at localhost tk8.4.18]# cd unix [root at localhost unix]# ls aclocal.m4 README tkUnixCursor.c tkUnixMenubu.c config.cache tcl.m4 tkUnixDefault.h tkUnixMenu.c config.log tkAppInit.c tkUnixDialog.c tkUnixPort.h config.status* tkConfig.sh tkUnixDraw.c tkUnixScale.c configure* tkConfig.sh.in tkUnixEmbed.c tkUnixScrlbr.c configure.in* tk.spec tkUnixEvent.c tkUnixSelect.c installManPage* tkUnix3d.c tkUnixFocus.c tkUnixSend.c install-sh* tkUnixButton.c tkUnixFont.c tkUnixWm.c license.terms tkUnix.c tkUnixInit.c tkUnixXId.c Makefile tkUnixColor.c tkUnixInt.h Makefile.in tkUnixConfig.c tkUnixKey.c [root at localhost unix]# ./configure loading cache ./config.cache checking for Tcl configuration... (cached) found /home/mahmoud/ns2/tcl8.4.17/unix/tclConfig.sh checking for existence of /home/mahmoud/ns2/tcl8.4.17/unix/tclConfig.sh... loading checking for tclsh... (cached) /usr/bin/tclsh8.4 checking for tclsh in Tcl build directory... /home/mahmoud/ns2/tcl8.4.17/unix/tclsh checking whether to use symlinks for manpages... no checking whether to compress the manpages... no checking whether to add a package name suffix for the 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 limits.h... (cached) yes checking for unistd.h... (cached) yes checking stdlib.h... yes checking if the compiler understands -pipe... (cached) yes checking for building with threads... no (default) checking for sin... (cached) no checking for main in -lieee... (cached) yes checking how to build libraries... shared checking for ranlib... (cached) ranlib checking if 64bit support is requested... no checking if 64bit Sparc VIS support is requested... no checking system version... (cached) Linux-2.6.3-7mdk checking for dlopen in -ldl... (cached) yes checking for ar... (cached) ar checking for build with symbols... no checking for required early compiler flags... (cached) (cached) (cached) _LARGEFILE64_SOURCE checking for 64-bit integer type... (cached) long long checking for struct dirent64... (cached) no checking for struct stat64... (cached) yes checking for open64... (cached) yes checking for lseek64... (cached) yes checking for off64_t... (cached) yes checking whether byte ordering is bigendian... (cached) no checking for fd_set in sys/types... (cached) yes checking for sys/time.h... (cached) yes checking whether time.h and sys/time.h may both be included... (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 pw_gecos in struct pwd... (cached) yes checking for X... (cached) no checking for X11 header files... checking for X11 libraries... checking for XCreateWindow in -lXwindow... (cached) no could not find any! Using -lX11. checking for main in -lXbsd... (cached) no checking for connect... (cached) yes checking for gethostbyname... (cached) yes checking whether char is unsigned... (cached) no creating ./config.status creating Makefile creating tkConfig.sh [root at localhost unix]# [root at localhost unix]# cd .. [root at localhost tk8.4.18]# cd .. [root at localhost ns2]# ls Marc Greis' Tutorial for the UCB_LBNL_VINT Network Simulator 'ns'details2_files/ Marc Greis' Tutorial for the UCB_LBNL_VINT Network Simulator 'ns'details2.htm* nam-1.13/ nam-src-1.13.tar.gz* ns-2.32/ ns-src-2.32.tar.gz* otcl-1.13/ otcl-src-1.13.tar.gz* q2part1.html* sgb2ns.tar.gz* tcl8.4.17/ tcl8417-src.zip* tcl8.4.17.zip tclcl/ tclcl-20080121.tar.gz* tcl-debug-2.0/ tcl-debug.tar.gz* tiers1.0/ tiers1.0.tar.gz* tk8.4.17/ tk8417-src.zip* tk8.4.18/ tk8418-src.zip* xgraph-12.1/ xgraph-12.1.tar.gz* [root at localhost ns2]# cd otcl-1.13 [root at localhost otcl-1.13]# ls CHANGES.html config.sub* install-sh otclAppInit.c README.html conf/ configure* lib/ otcl.c VERSION config.guess* configure.in Makefile.in otcl.h config.log doc/ makefile.vc otkAppInit.c [root at localhost otcl-1.13]# ./configure No .configure file found in current directory Continuing with default options... checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for string.h... (cached) yes checking for main in -lXbsd... no checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for dcgettext in -lintl... no checking for getnodebyname in -ldnet_stub... no checking that g++ can handle -O2... no checking standard STL is available... no checking for tcl.h... -I/usr/include checking for tclInt.h... no checking for libtcl8.4... -L/usr/lib -ltcl8.4 checking for init.tcl... /usr/lib/tcl8.4 checking for http.tcl... /usr/lib/tcl8.4/http2.4 checking Tcl http.tcl library... yes checking for tclsh8.4.14... no checking for tclsh8.4... /usr/bin/tclsh8.4 configure: error: Installation of tcl seems incomplete or can't be found automatically. Please correct the problem by telling configure where tcl is using the argument --with-tcl=/path/to/package (perhaps after installing it), or the package is not required, disable it with --with-tcl=no. [root at localhost otcl-1.13]# From mohammed2742007 at yahoo.com Wed Mar 19 03:06:02 2008 From: mohammed2742007 at yahoo.com (mohammed) Date: Wed, 19 Mar 2008 03:06:02 -0700 (PDT) Subject: [ns] [bug] make: *** [tk3d.o] Error 1 Message-ID: <200803191006.DAA02749@www.isi.edu> [Bug Report] ----------------------------- Category: Installation Failure Package: ns 2.32 OS: mandrake10 Environment Variables: LD_LIBRARY_PATH= TCL_LIBRARY= TK_LIBRARY= ----------------------------- Description: Description of Problem: make: *** [tk3d.o] Error 1 tk8.4.15 make failed! Exiting ... For problems with Tcl/Tk see http://www.scriptics.com How Easily Reproducible: (e.g. every time, intermittent, once only, etc.) once only Steps to Reproduce: (describe the minimal set of steps necessary to trigger the bug) 1. 2. /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:720: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:733: error: conflicting types for `parentPtr' /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk.h:766: error: previous declaration of `parentPtr' /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:738: error: conflicting types for `nextPtr' /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:602: error: previous declaration of `nextPtr' /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:773: error: parse error before "changes" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:773: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:777: error: parse error before "atts" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:777: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:857: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:857: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:877: error: parse error before '}' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:877: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:898: error: parse error before "Pixmap" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:898: warning: no semicolon at end of struct or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:898: warning: no semicolon at end of struct or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:900: error: parse error before '}' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:900: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:901: error: parse error before '}' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:901: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:910: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:910: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:967: error: parse error before '*' token In file included from /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:975, from /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:18, from /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:16: /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:38: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:38: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:38: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:44: error: parse error before "XPoint" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:48: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:50: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:57: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:60: error: parse error before "TkDisplay" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:79: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:79: error: parse error before "XColor" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:79: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:91: error: parse error before "TkCurrentTime" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:91: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:91: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:95: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:97: error: parse error before "GC" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:101: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:103: error: parse error before "Display" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:116: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:118: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:121: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:121: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:121: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:128: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:130: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:141: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:141: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:147: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:147: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:147: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:153: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:153: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:153: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:168: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:170: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:175: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:182: error: parse error before "keysym" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:190: error: parse error before "XPoint" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:199: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:201: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:209: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:212: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:214: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:223: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:223: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:223: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:225: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:225: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:225: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:238: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:238: error: `TkpMakeWindow' declared as function returning a function /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:244: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:244: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:247: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:256: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:259: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:268: error: parse error before "TkDisplay" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:271: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:274: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:281: error: parse error before "GC" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:285: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:287: error: parse error before "XEvent" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:292: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:299: error: parse error before "TkStringToKeysym" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:299: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:305: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:308: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:310: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:310: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:310: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:312: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:314: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:316: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:319: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:322: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:325: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:327: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:353: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:353: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:361: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:514: error: parse error before "GC" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:518: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:521: error: parse error before "KeySym" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:524: error: parse error before "TkpGetKeySym" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:524: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:524: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:527: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:532: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:532: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:532: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:537: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:539: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:576: error: parse error before "TkWindow" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:576: warning: no semicolon at end of struct or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:578: error: parse error before "XPoint" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:579: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:580: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:583: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:584: error: parse error before "TkDisplay" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:588: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:588: error: parse error before "XColor" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:588: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:591: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:591: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:591: error: `Time' declared as function returning a function /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:591: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:593: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:594: error: parse error before "GC" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:595: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:596: error: parse error before "Display" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:599: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:600: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:601: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:601: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:601: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:604: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:605: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:608: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:608: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:610: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:610: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:610: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:612: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:612: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:612: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:617: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:618: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:620: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:622: error: parse error before "keysym" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:625: error: parse error before "XPoint" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:627: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:628: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:631: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:632: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:633: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:636: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:636: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:636: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:637: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:637: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:637: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:642: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:642: error: `tkpMakeWindow' declared as function returning a function /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:644: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:644: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:645: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:648: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:649: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:652: error: parse error before "TkDisplay" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:653: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:654: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:655: error: parse error before "GC" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:656: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:657: error: parse error before "XEvent" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:659: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:662: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:662: error: `KeySym' declared as function returning a function /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:662: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:664: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:665: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:666: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:666: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:666: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:667: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:668: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:669: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:670: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:671: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:672: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:673: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:682: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:682: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:685: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:821: error: parse error before "GC" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:822: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:823: error: parse error before "KeySym" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:824: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:824: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:824: error: `KeySym' declared as function returning a function /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:824: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:825: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:827: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:827: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:827: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:829: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:830: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:850: error: parse error before '}' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:850: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:855: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkIntDecls.h:855: warning: data definition has no type or storage class In file included from /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:18, from /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:16: /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:1181: error: parse error before "XImage" In file included from /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:16: /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:33: error: parse error before "Screen" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:33: warning: no semicolon at end of struct or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:34: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:38: error: parse error before "colormap" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:38: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:52: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:52: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:55: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:55: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:58: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:58: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:62: error: parse error before "shadow" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:62: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:66: error: parse error before "bgGC" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:66: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:68: error: parse error before "darkGC" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:68: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:71: error: parse error before "lightGC" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:71: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:76: error: conflicting types for `nextPtr' /usr/src/ns-allinone-2.32/tk8.4.15/generic/tkInt.h:738: error: previous declaration of `nextPtr' /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:81: error: parse error before '}' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:81: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:94: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:94: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:95: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.h:97: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:31: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:35: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:38: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c: In function `Tk_Alloc3DBorderFromObj': /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:88: error: `borderPtr' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:88: error: (Each undeclared identifier is reported only once /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:88: error: for each function it appears in.) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:93: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:109: warning: implicit declaration of function `ScreenOfDisplay' /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:109: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:109: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:110: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:134: error: `firstBorderPtr' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:135: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:139: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:139: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:140: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:153: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c: In function `Tk_Get3DBorder': /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:193: error: `borderPtr' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:193: error: `existingBorderPtr' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:193: warning: left-hand operand of comma expression has no effect /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:195: error: `XGCValues' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:195: error: parse error before "gcValues" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:196: error: `XColor' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:197: error: invalid operands to binary * /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:199: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:201: error: request for member `borderInit' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:205: error: request for member `borderTable' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:205: error: request for member `borderTable' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:207: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:210: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:210: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:211: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:233: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:233: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:234: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:235: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:236: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:242: error: `None' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:256: error: `gcValues' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:257: error: `GCForeground' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c: In function `Tk_Draw3DRectangle': /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:284: error: parse error before "Drawable" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c: In function `Tk_NameOf3DBorder': /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:331: error: `borderPtr' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:331: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c: At top level: /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:352: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:354: warning: return type defaults to `int' /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c: In function `Tk_3DBorderColor': /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:356: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c: At top level: /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:376: error: parse error before "Tk_3DBorderGC" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:377: warning: return type defaults to `int' /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c: In function `Tk_3DBorderGC': /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:383: error: `borderPtr' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:383: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:385: error: `None' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:402: error: parse error before "None" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c: In function `Tk_Free3DBorder': /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:428: error: `borderPtr' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:428: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:429: error: `Display' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:429: warning: implicit declaration of function `DisplayOfScreen' /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:430: error: `prevPtr' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:437: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:448: error: `None' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c: In function `FreeBorderObjProc': /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:532: error: `borderPtr' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:532: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c: In function `DupBorderObjProc': /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:567: error: `borderPtr' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:567: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c: In function `Tk_SetBackgroundFromBorder': /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:599: error: syntax error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:601: error: `borderPtr' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c: In function `Tk_Draw3DPolygon': /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:755: error: parse error before "Drawable" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:757: error: parse error before "XPoint" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:769: error: `XPoint' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:771: error: syntax error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:772: error: `borderPtr' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:772: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:775: error: `Display' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:775: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:777: error: `None' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:803: error: `p1Ptr' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:803: error: subscripted value is neither array nor pointer /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:804: error: `p2Ptr' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:804: error: subscripted value is neither array nor pointer /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:850: error: subscripted value is neither array nor pointer /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:850: warning: left-hand operand of comma expression has no effect /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:851: warning: left-hand operand of comma expression has no effect /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:862: error: `newB1' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:863: error: `newB2' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:865: error: `poly' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:868: error: `b1' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:868: error: `b2' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:900: error: `perp' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:903: error: `c' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:904: error: `shift1' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:905: error: `shift2' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:919: error: `gc' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:923: warning: implicit declaration of function `XFillPolygon' /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:923: error: `Convex' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:924: error: `CoordModeOrigin' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:850: warning: value computed is not used /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:850: warning: value computed is not used /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c: In function `Tk_Fill3DRectangle': /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:963: error: parse error before "Drawable" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:971: error: syntax error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:997: warning: implicit declaration of function `XFillRectangle' /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:997: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:997: error: `borderPtr' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c: In function `Tk_Fill3DPolygon': /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1028: error: parse error before "Drawable" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1030: error: parse error before "XPoint" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1042: error: syntax error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1044: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1044: error: `borderPtr' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1045: error: `Complex' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1045: error: `CoordModeOrigin' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c: At top level: /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1070: error: parse error before "TkDisplay" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1070: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1071: error: parse error before '{' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1073: error: parse error before '&' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1073: error: conflicting types for `Tcl_InitHashTable' /usr/src/ns-allinone-2.32/tcl8.4.15/generic/tclDecls.h:595: error: previous declaration of `Tcl_InitHashTable' /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1073: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1096: error: parse error before "XPoint" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1096: error: `p1Ptr' used prior to declaration /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1096: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1097: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1097: error: `p2Ptr' used prior to declaration /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1097: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1102: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1102: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1104: error: parse error before '{' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1127: error: parse error before "if" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1131: error: parse error before "for" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1133: error: conflicting types for `cosine' /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1129: error: previous declaration of `cosine' /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1133: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1134: error: `i' undeclared here (not in a function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1134: error: conflicting types for `shiftTable' /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1120: error: previous declaration of `shiftTable' /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1134: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1135: error: parse error before '}' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1138: warning: initialization makes pointer from integer without a cast /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1138: error: initializer element is not constant /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1138: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1139: error: request for member `x' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1139: error: request for member `x' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1139: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1140: error: request for member `y' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1140: error: request for member `y' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1140: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1141: error: parse error before "if" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1143: error: redefinition of `dy' /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1140: error: `dy' previously defined here /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1143: error: initializer element is not constant /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1143: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1144: error: parse error before '}' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1149: error: redefinition of `dx' /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1139: error: `dx' previously defined here /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1149: error: initializer element is not constant /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1149: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1150: error: parse error before '}' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1189: error: parse error before "XPoint" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1189: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1190: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1190: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1191: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1191: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1192: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1192: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1193: error: parse error before '*' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1193: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1194: error: parse error before '{' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1203: error: request for member `x' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1203: error: request for member `x' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1203: error: request for member `y' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1203: error: request for member `y' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1203: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1204: error: request for member `x' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1204: error: request for member `x' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1204: error: request for member `y' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1204: error: request for member `y' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1204: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1205: error: request for member `x' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1205: error: request for member `x' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1205: error: request for member `x' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1205: error: request for member `x' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1205: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1206: error: request for member `y' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1206: error: request for member `y' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1206: error: request for member `y' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1206: error: request for member `y' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1206: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1208: error: parse error before "if" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1211: error: request for member `x' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1211: error: request for member `x' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1211: error: request for member `y' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1211: error: request for member `y' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1211: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1212: error: initializer element is not constant /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1212: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1213: error: parse error before "if" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1215: error: redefinition of `q' /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1212: error: `q' previously defined here /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1215: error: initializer element is not constant /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1215: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1216: error: parse error before '}' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1222: error: redefinition of `p' /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1211: error: `p' previously defined here /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1222: error: request for member `y' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1222: error: request for member `y' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1222: error: request for member `x' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1222: error: request for member `x' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1222: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1223: error: redefinition of `q' /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1215: error: `q' previously defined here /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1223: error: initializer element is not constant /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1223: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1224: error: parse error before "if" /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1226: error: redefinition of `q' /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1223: error: `q' previously defined here /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1226: error: initializer element is not constant /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1226: warning: data definition has no type or storage class /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1227: error: parse error before '}' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c: In function `Tk_Get3DBorderFromObj': /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1262: error: `borderPtr' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1264: error: invalid operands to binary * /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1264: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1277: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1280: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1280: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1281: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1301: error: request for member `borderTable' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1301: error: request for member `borderTable' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1305: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1307: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1307: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1308: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c: In function `TkDebugBorder': /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1388: error: `borderPtr' undeclared (first use in this function) /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1391: error: invalid operands to binary * /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1391: error: parse error before ')' token /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1394: error: request for member `borderTable' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1394: error: request for member `borderTable' in something not a structure or union /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1396: error: parse error before ')' token /usr/include/sys/stat.h: At top level: /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:1134: error: storage size of `shiftTable' isn't known /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:31: warning: `BorderInit' declared `static' but never defined /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:35: warning: `Intersect' declared `static' but never defined /usr/src/ns-allinone-2.32/tk8.4.15/generic/tk3d.c:38: warning: `ShiftLine' declared `static' but never defined {standard input}: Assembler messages: {standard input}:702: Error: symbol `dy' is already defined {standard input}:708: Error: symbol `dx' is already defined {standard input}:755: Error: symbol `q' is already defined {standard input}:761: Error: symbol `p' is already defined {standard input}:767: Error: symbol `q' is already defined {standard input}:773: Error: symbol `q' is already defined make: *** [tk3d.o] Error 1 tk8.4.15 make failed! Exiting ... For problems with Tcl/Tk see http://www.scriptics.com [root at localhost ns-allinone-2.32]# ls bin/ include/ lib/ ns-2.32/ sgb/ tk8.4.15/ cweb/ install* man/ otcl-1.13/ tcl8.4.15/ xgraph-12.1/ gt-itm/ INSTALL.WIN32 nam-1.13/ README tclcl-1.19/ zlib-1.2.3/ [root at localhost ns-allinone-2.32]# cd bin [root at localhost bin]# ls ctangle@ cweave@ tclsh8.4* [root at localhost bin]# cd tclsh8.4 bash: cd: tclsh8.4: Not a directory [root at localhost bin]# urpmi make Everything already installed [root at localhost bin]# urpmi make Everything already installed [root at localhost bin]# [root at localhost bin]# Additional Information: (the following infomation is helpful to debug: 1. simulation script, detailed output files, packet trace 2. patch file if you modify some source code 3. a backtrace from gdb if you get a segment fault If they are big files, PLEASE put them in your web space and include the URL here.) From adi.sriku366 at gmail.com Wed Mar 19 06:58:37 2008 From: adi.sriku366 at gmail.com (adimulam srikanth) Date: Wed, 19 Mar 2008 19:28:37 +0530 Subject: [ns] How to choose a particular path if there is more than one path In-Reply-To: References: Message-ID: Hi, I have two applications at a node that want to send data to the same destination. And the case is I have more than one path through which I can send the data. But when I tried to start the application both were taking the same path & there was a overflow from the queue of the link. I am still a novice to this ns2, I think there is some way I can have control over the path I can use.. The topology is like say: Source & Destination are connected via two paths, each path having an intermediary node. Thnx, Srikanth A From comsians_bce at yahoo.com Wed Mar 19 09:18:17 2008 From: comsians_bce at yahoo.com (Mahmood Qureshi) Date: Wed, 19 Mar 2008 09:18:17 -0700 (PDT) Subject: [ns] How to select the Exponential (Only) in TCL Message-ID: <336824.58016.qm@web39506.mail.mud.yahoo.com> Hi everyone I want to implement the Finite Queuing in NS-2 according to the formula the Throughput can be calculated as Throughput = lambda(1-Pk) // k is the queue length and Pk = (e^k)*Po and P0 = (1-e)/(1-e^(k+1)) which i have implemented in this code if queue size is 2 then throughput = 0.010144 Is it possible I can get the nearest of this value without using Random Variable ? What Should I do ? How to cancel the effect of random variable in the following code Kindly Help me .............. It shall be greatly appreciated ............. In the given below i have provided the code ......... set ns [new Simulator] set tf [open out.tr w] $ns trace-all $tf set lambda 30.0 set mu 33.0 set qsize 2 set duration 200 set n1 [$ns node] set n2 [$ns node] set link [$ns simplex-link $n1 $n2 100kb 0ms DropTail] $ns queue-limit $n1 $n2 $qsize # generate random interarrival times and packet sizes set InterArrivalTime [new RandomVariable/Exponential] $InterArrivalTime set avg_ [expr 1/$lambda] #line edited below one #set pktSize 100 set pktSize [new RandomVariable/Exponential] $pktSize set avg_ [expr 100000.0/(8*$mu)] set src [new Agent/UDP] $src set packetSize_ 100000 $ns attach-agent $n1 $src # queue monitoring set qmon [$ns monitor-queue $n1 $n2 [open qm.out w] 0.1] $link queue-sample-timeout proc finish {} { global ns tf $ns flush-trace close $tf exit 0 } proc th_put {} { global qsize InterArrivalTime set eps 2.718281828 set qsize1 [expr $qsize +1] set eps_qsize1 [expr pow($eps,$qsize1)] set eps_qsize [expr pow($eps, $qsize)] set p0_1 [expr 1-$eps] set p0_2 [expr 1-$eps_qsize1] set p0 [expr $p0_1/$p0_2] set pk [expr $eps_qsize*$p0] for {set i 1} {$i<= 10} {incr i} { set iat [$InterArrivalTime value] puts " ====== IATe --> $iat ======= " # Throughput set t_put [expr [expr 1 - $pk]* $iat] puts "Throughput = $t_put" # Response Time set res_time [expr $qsize1 / $t_put] puts "Response Time = $res_time" } } proc sendpacket {} { global ns src InterArrivalTime pktSize set time [$ns now] $ns at [expr $time + [$InterArrivalTime value]] "sendpacket" #edited line below one #set bytes $pktSize set bytes [expr round ([$pktSize value])] $src send $bytes } set sink [new Agent/Null] $ns attach-agent $n2 $sink $ns connect $src $sink $ns at 0.0001 "sendpacket" $ns at 190 "th_put" $ns at $duration "finish" ############################################################################ puts "" puts "===========================Testing====================================" puts "Processing ... " $ns run Engr. Mahmood Qureshi HEC Scholar Graduate Student: Computer Engineering Myongji University, South-Korea San 38-2 Nam-Dong Yong-in Gyunggi-Do (449-728) South Korea Mobile No. : +82-10-2891-7096 --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. From saravanan_forums at yahoo.com Wed Mar 19 11:26:17 2008 From: saravanan_forums at yahoo.com (Sarwan Sivaji) Date: Wed, 19 Mar 2008 11:26:17 -0700 (PDT) Subject: [ns] Problem in TCP connection Message-ID: <417966.59728.qm@web46010.mail.sp1.yahoo.com> hi, I am new to NS 2. I am facing this small problem...please can anyone help in this regard.... I simulating wireless scenario. I have one mobile node and one static(non-mobile) node. I set a specified route for mobile node. while it travels, it may enter and exit the communication range of static node. I established the tcp connection between them as follows, set tcp1 [new Agent/TCP] $tcp1 set interval_ 0.0003 $tcp1 set class_ 2 $ns attach-agent $node_(0) $tcp1 set sink1 [new Agent/TCPSink] $ns attach-agent $node_(1) $sink1 $ns connect $tcp1 $sink1 set ftp1 [new Application/FTP] $ftp1 attach-agent $tcp1 $ns at 1.3 "$ftp1 start" $ns at 7.0 "$ftp1 stop" ; ## This is optional $ns at 32.11 "$ftp1 start" In the above node_(0) is mobile node......node_(1) is static node..... At 1.3 "$ftp1 start" is working....the mobile node enters the communication range of static node........I can able to view the packet flow(animation) between the nodes. At 7.0 "$ftp1 stop"...I mentioned "this line is optional", since at this point the mobile node exit the communication range of static node. Even I delete this line...I can able to see the packet drop at this point.....and the communication(packet-flow) is stopped. After some time, Again, I am making the mobile node to revisit the static node...that is....Again I am making the mobile node to enter into the communication range of static node...so I mentioned "$ns at 32.11 "$ftp1 start"".......but this time there is no communication is taking place....and I cannot able to view the packet-flow as animation.....moreover....the mobile node simply crosses the static node...... I want to know whether my code is correct or not....Am I correct?.....Once the ftp is stopped...is it possible to start again????..... Can any say....during runtime "how to close the tcp connection and start new one (or) Is it possible to establish more than one tcp connection in a single node??? I have one mobile node....I want this node to communicate to two other nodes at the same time.....is it possible??? Assume that... node0 (mobile node) node1 (static node) node2 (static node) I want node0 to establish tcp connection to node1 and node2 at the same time...?....more importantly.....if node0 established tcp connection with node1 at time t1 and stopped at time t2....and I want to establish connection again at time t3 with the same tcp connection... I am sorry...I cant to able to type msg as much as short.... please help in this regard.... regards Sarwan --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From rahul.paresh at gmail.com Thu Mar 20 00:43:38 2008 From: rahul.paresh at gmail.com (Rahul Singh) Date: Thu, 20 Mar 2008 13:13:38 +0530 Subject: [ns] Implementing Ethernet on ns2 Message-ID: <478771a80803200043k50653fd6o727759b68ccf21ae@mail.gmail.com> Hello frnds, I'm new to ns2 and i've been assigned a project to implement Ethernet ( 802.3) on ns2. I'm studying the tool from past few weeks and also trying to get some info on how to implement the Protocol. I'm finding it very difficult and want some help to go ahead on it ...plz help me Thank you for reading this post and looking for ur KIND HELP !!! -- --------------------------------------------------------------------------------------------------------------------------- Never Express urself to Someone ***** ........ Even Ecstasy KILLS !!!! Love and Regards Rahul Singh From zawtun78 at gmail.com Thu Mar 20 01:58:18 2008 From: zawtun78 at gmail.com (Zaw Tun) Date: Thu, 20 Mar 2008 01:58:18 -0700 (PDT) Subject: [ns] to create wormhole node Message-ID: <16174582.post@talk.nabble.com> Hi all I would like to know how to create wormhole nodes in wireless ah hoc networks. I anyone has source code for it plz share me. give any advice. thanks -- View this message in context: http://www.nabble.com/to-create-wormhole-node-tp16174582p16174582.html Sent from the ns-users mailing list archive at Nabble.com. From gladiator_uts at yahoo.com Thu Mar 20 02:36:52 2008 From: gladiator_uts at yahoo.com (Livian) Date: Thu, 20 Mar 2008 02:36:52 -0700 (PDT) Subject: [ns] wireless simulation Message-ID: <438050.82875.qm@web37002.mail.mud.yahoo.com> I have a simple wireless simulation wherein a stationary TCP source sends data to a mobile TCP sink I want to add an error model with a specified error rate in packets to the link between the source and sink kindly give me some guidelines for the same --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From mruknown1 at yahoo.com Thu Mar 20 04:17:21 2008 From: mruknown1 at yahoo.com (uknown noname) Date: Thu, 20 Mar 2008 04:17:21 -0700 (PDT) Subject: [ns] transfer real file Message-ID: <380698.95975.qm@web63101.mail.re1.yahoo.com> Hi ns expert.. I have 2 questions. How can we change the default size packet (512 bytes) while do MANET simulation? Is it possible to transferring real file (.doc, .jpg, .mp3, .mp4, .avi and etc..) from specific source to specific destination and simulate in ns2 using DSR protocol? If yes, how could it be implementing? My system : FC 6 2.6.18-1.2869.fc6 ns2.30 --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. From bluesky_my at hotmail.com Thu Mar 20 08:27:49 2008 From: bluesky_my at hotmail.com (cool) Date: Thu, 20 Mar 2008 08:27:49 -0700 (PDT) Subject: [ns] aw k problem Message-ID: <16181108.post@talk.nabble.com> Hi, I have simulated the wpan_demo4.tcl in wpan example folder, but I am facing problem in evaluate the network performance (e.g. end-to-end delay, average throughput, packet loss ratio) with awk file. It always comes out with fatal error: attempted to divide by zero. How to solve it?? URGENT. Thanks. -- View this message in context: http://www.nabble.com/awk-problem-tp16181108p16181108.html Sent from the ns-users mailing list archive at Nabble.com. From bluesky_my at hotmail.com Thu Mar 20 08:36:27 2008 From: bluesky_my at hotmail.com (cool) Date: Thu, 20 Mar 2008 08:36:27 -0700 (PDT) Subject: [ns] AODVjr + cluster routing (Zigbee routing) Message-ID: <16181476.post@talk.nabble.com> Hi, Can anyone provide me the source code for AODVjr + cluster routing for Zigbee?? I need to do performance evaluation on Zigbee routing. Thanks. -- View this message in context: http://www.nabble.com/AODVjr-%2B-cluster-routing-%28Zigbee-routing%29-tp16181476p16181476.html Sent from the ns-users mailing list archive at Nabble.com. From tomh at tomh.org Thu Mar 20 08:43:34 2008 From: tomh at tomh.org (Tom Henderson) Date: Thu, 20 Mar 2008 15:43:34 +0000 Subject: [ns] check_pktCTRL:Invalid MAC Control subtype Message-ID: This is a test message to debug a possible mailing list problem; please discard. From cchen3 at stevens.edu Thu Mar 20 09:42:09 2008 From: cchen3 at stevens.edu (Chao Chen) Date: Thu, 20 Mar 2008 12:42:09 -0400 Subject: [ns] Three-way handshake of TCP Message-ID: <26B204F83C1F4E0187AA9B792AD3A9D8@ChaoChenPC> Who knows the three-way handshaking process is or not implemented in tcp.cc? Or it is implemented in other files of tcp? Thanks, Chao From ge_narayanan at yahoo.com Fri Mar 21 05:41:20 2008 From: ge_narayanan at yahoo.com (narayanan ellapparajan) Date: Fri, 21 Mar 2008 05:41:20 -0700 (PDT) Subject: [ns] AMCP - code build error - reg Message-ID: <274749.96581.qm@web35003.mail.mud.yahoo.com> hi users, i recently downloaded AMCP code from the below url. while trying to instll it, it gave the below given errors. can anybody please help me.. thanks, narayanan.e http://www.ece.rice.edu/~jingpu/amcp/amcp.tar.gz mac/mac-802_11.cc: In member function `int Mac802_11::check_pktCTRL()': mac/mac-802_11.cc:985: jump to case label mac/mac-802_11.cc:931: crosses initialization of `u_int32_t dst' mac/mac-802_11.cc:991: jump to case label mac/mac-802_11.cc:931: crosses initialization of `u_int32_t dst' mac/mac-802_11.cc:1010: jump to case label mac/mac-802_11.cc:931: crosses initialization of `u_int32_t dst' mac/mac-802_11.cc: In member function `void Mac802_11::recv_timer()': mac/mac-802_11.cc:1799: jump to case label mac/mac-802_11.cc:1786: crosses initialization of `u_int32_t test3' mac/mac-802_11.cc:1877: jump to label `done' mac/mac-802_11.cc:1756: from here mac/mac-802_11.cc:1763: crosses initialization of `u_int32_t my_sender_recv' mac/mac-802_11.cc:1877: jump to label `done' mac/mac-802_11.cc:1744: from here mac/mac-802_11.cc:1763: crosses initialization of `u_int32_t my_sender_recv' mac/mac-802_11.cc:1877: jump to label `done' mac/mac-802_11.cc:1731: from here mac/mac-802_11.cc:1763: crosses initialization of `u_int32_t my_sender_recv' make: *** [mac/mac-802_11.o] Error 1 --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From ejortegau at unal.edu.co Fri Mar 21 12:58:54 2008 From: ejortegau at unal.edu.co (Eduardo J. Ortega U.) Date: Fri, 21 Mar 2008 13:58:54 -0600 Subject: [ns] Measure RTT as seen by TCP Message-ID: <6fec99f30803211258p69b5a714x3cebd47399610a05@mail.gmail.com> Hi: I have an FTP application attached to a TCP agent. They transmit to a TCPSink agent on another node after traversing a few intermediate nodes. Is there a way in which I can access in my tcl script the RTT that the transmitting TCP agent sees? Thanks, -- Eduardo J. Ortega U. From lobmar at voila.fr Fri Mar 21 15:21:01 2008 From: lobmar at voila.fr (lobmar@voila.fr) Date: Fri, 21 Mar 2008 23:21:01 +0100 (CET) Subject: [ns] error when I run my programm Message-ID: <3476429.810011206138061743.JavaMail.www@wwinf4614> Hi ns-users, When I run my programm I have this error : soupir:~> ns s.tcl num_nodes is set 50 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl INITIALIZE THE LIST xListHead Starting Simulation... can't read "Node_(1)": no such element in array while executing "return $Node_($id)" (procedure "_o3" line 3) (Simulator get-node-by-id line 3) invoked from within "$self get-node-by-id [lindex $L 0]" (procedure "_o3" line 14) (Simulator compute-hier-routes line 14) invoked from within "$self compute-hier-routes " invoked from within "if [Simulator hier-addr?] { $self compute-hier-routes } else { $self compute-flat-routes }" (procedure "_o3" line 2) (Simulator compute-routes line 2) invoked from within "[Simulator instance] compute-routes" (procedure "Agent/rtProto/Static" line 2) (Agent/rtProto/Static init-all line 2) invoked from within "Agent/rtProto/Static init-all" invoked from within "if [info exists rtprotos_] { foreach proto [array names rtprotos_] { eval Agent/rtProto/$proto init-all $rtprotos_($proto) } } else { Agent/rtProto/St..." (procedure "_o1347" line 3) (RouteLogic configure line 3) invoked from within "[$self get-routelogic] configure" (procedure "_o3" line 5) (Simulator run line 5) invoked from within "$ns_ run" (file "s.tcl" line 222) ---------------------------------------------------------------- ---------------------------------------------------------------- can any one help me please? Thanks From lobmar at voila.fr Fri Mar 21 15:29:46 2008 From: lobmar at voila.fr (lobmar@voila.fr) Date: Fri, 21 Mar 2008 23:29:46 +0100 (CET) Subject: [ns] error when I run my program Message-ID: <13937255.810741206138586975.JavaMail.www@wwinf4614> Hi ns-users, When I run my programm I have this error : soupir:~> ns s.tcl num_nodes is set 50 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl INITIALIZE THE LIST xListHead Starting Simulation... can't read "Node_(1)": no such element in array while executing "return $Node_($id)" (procedure "_o3" line 3) (Simulator get-node-by-id line 3) invoked from within "$self get-node-by-id [lindex $L 0]" (procedure "_o3" line 14) (Simulator compute-hier-routes line 14) invoked from within "$self compute-hier-routes " invoked from within "if [Simulator hier-addr?] { $self compute-hier-routes } else { $self compute-flat-routes }" (procedure "_o3" line 2) (Simulator compute-routes line 2) invoked from within "[Simulator instance] compute-routes" (procedure "Agent/rtProto/Static" line 2) (Agent/rtProto/Static init-all line 2) invoked from within "Agent/rtProto/Static init-all" invoked from within "if [info exists rtprotos_] { foreach proto [array names rtprotos_] { eval Agent/rtProto/$proto init-all $rtprotos_($proto) } } else { Agent/rtProto/St..." (procedure "_o1347" line 3) (RouteLogic configure line 3) invoked from within "[$self get-routelogic] configure" (procedure "_o3" line 5) (Simulator run line 5) invoked from within "$ns_ run" (file "s.tcl" line 222) ---------------------------------------------------------------- ---------------------------------------------------------------- can any one help me please? Thanks From cchen3 at stevens.edu Fri Mar 21 18:57:35 2008 From: cchen3 at stevens.edu (Chao Chen) Date: Fri, 21 Mar 2008 21:57:35 -0400 Subject: [ns] Fulltcp problem Message-ID: What does "bad ACK for our SYN"mean? Please help me!! Thanks Chao From safee_2000 at hotmail.com Sat Mar 22 01:53:47 2008 From: safee_2000 at hotmail.com (safaa Saad_Eldine) Date: Sat, 22 Mar 2008 08:53:47 +0000 Subject: [ns] recv in aodv Message-ID: Hi All, I am using ad hoc network with aodv routing protocol. in the AODV there is a function called recv that receive control packets and any data packet come from the upper layer of my node or from any other node and my node is not the destination of it "intermediate" so must forward it. I want to know when my node is the destination how does it receive packets through the routing layer " AODV protocol"? Thanks for All, Safaa Saad-Eldeen, _________________________________________________________________ Watch ?Cause Effect,? a show about real people making a real difference. Learn more. http://im.live.com/Messenger/IM/MTV/?source=text_watchcause From safee_2000 at hotmail.com Sat Mar 22 04:43:40 2008 From: safee_2000 at hotmail.com (safaa Saad_Eldine) Date: Sat, 22 Mar 2008 11:43:40 +0000 Subject: [ns] ODSBR HELP Message-ID: Hi All, there is a new ad hoc routing protocol called ODSBR but not implemented in ns2. I want to know whether this protocol should be implemented as a new protocol or by modifying in any ns2 original protocol. thanks all, Safaa Saad-Eldeen, _________________________________________________________________ Windows Live Hotmail is giving away Zunes. http://www.windowslive-hotmail.com/ZuneADay/?locale=en-US&ocid=TXT_TAGLM_Mobile_Zune_V3 From mohammed2742007 at yahoo.com Sat Mar 22 08:26:33 2008 From: mohammed2742007 at yahoo.com (mohamed saad) Date: Sat, 22 Mar 2008 08:26:33 -0700 (PDT) Subject: [ns] installation problem Message-ID: <670664.94282.qm@web45410.mail.sp1.yahoo.com> salam alikom i have problem during installation of ns-2 on mandrake10 i want solution of this problem checking for socklen_t... yes checking for main in -lpcap... no checking to make nse... no Explicitly disabling static compilation checking for dlopen in -ldl... yes checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating tcl/lib/ns-autoconf.tcl config.status: creating indep-utils/webtrace-conv/ucb/Makefile config.status: creating indep-utils/webtrace-conv/dec/Makefile config.status: creating indep-utils/webtrace-conv/nlanr/Makefile config.status: creating indep-utils/webtrace-conv/epa/Makefile config.status: creating indep-utils/cmu-scen-gen/setdest/Makefile config.status: creating autoconf.h creating ./gen Makefile.in is newer than Makefile. You need to re-run configure. false make: *** [Makefile] Error 1 Ns make failed! See http://www.isi.edu/nsnam/ns/ns-problems.html for problems [root at localhost ns-allinone-2.32]# --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. --------------------------------- Never miss a thing. Make Yahoo your homepage. From hara at one.lv Sat Mar 22 13:30:34 2008 From: hara at one.lv (Anti_Hacker) Date: Sat, 22 Mar 2008 13:30:34 -0700 (PDT) Subject: [ns] VPN over ADSL Message-ID: <16197419.post@talk.nabble.com> Hi to everybody. I want to write ns-2 based tcl code. And I need to implement the VPN tunnel over ADSL technology. VPN is no based on L2TP or PTPP protocol. VPN is nuild on using IKE and IPSec protocls. Could some one give me an example, or link where to look the sample how to create such code and do the simulator. Thanks for all your answers... -- View this message in context: http://www.nabble.com/VPN-over-ADSL-tp16197419p16197419.html Sent from the ns-users mailing list archive at Nabble.com. From abdullahqawasmeh at yahoo.com Sat Mar 22 19:24:06 2008 From: abdullahqawasmeh at yahoo.com (abdullah qawasmeh) Date: Sat, 22 Mar 2008 19:24:06 -0700 (PDT) Subject: [ns] invalid command name ".kj" Message-ID: <19188.88911.qm@web54107.mail.re2.yahoo.com> Hi, I have just added a new protocol to NS. I have also successfully compiled NS. However, when I run the new executable (using command "ns filename.tcl", or simply "ns" alone) I get the following message: ns: [code omitted because of length] : invalid command name ".kj" while executing ".kj" I haven't used any command named ".kj" in my source files, nor have I seen it in any of NS' source files. Does anyone have an idea about this error? Thank you.... Abdulla --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. From paulbollot at gmail.com Sat Mar 22 21:18:44 2008 From: paulbollot at gmail.com (paul bollot) Date: Sat, 22 Mar 2008 20:18:44 -0800 Subject: [ns] How to change the number of sessions in AODV simulation Message-ID: Dear friends: I'm trying to simulate AODV protocol with ns2, i got some problems. First i tried to simulate a AODV protocol with a single session, attaching the UDP agent to two nodes ( 21 as a sender and 6 as a receiver), as you can view in the tcl file. I would like to know how to change the number of sessions between sources and destinations? I would appreciate a lot your help or suggestion. regards # ====================================================================== # Define options # ====================================================================== set val(ifqlen) 50 ;# max packet in ifq set val(nn) 50 ;# number of mobilenodes set val(rp) AODV ;# routing protocol set val(chan) Channel/WirelessChannel set val(prop) Propagation/TwoRayGround set val(netif) Phy/WirelessPhy set val(mac) Mac/802_11 set val(ifq) Queue/DropTail/PriQueue set val(ll) LL set val(ant) Antenna/OmniAntenna set val(stop) 100 #set val(cp) "cbr-50-10-2" set val(sc) "scene-50n-50p-20M-100t-500-500" #ns-random 0 # Initialize Global Variables set ns_ [new Simulator] set tracefd [open aodv.tr w] $ns_ trace-all $tracefd set namtrace [open aodv.nam w] $ns_ namtrace-all-wireless $namtrace 500 500 proc stop {} { global ns_ tracefd namtrace $ns_ flush-trace close $tracefd close $namtrace exec nam aodv.nam & exit 0 } # set up topography set topo [new Topography] $topo load_flatgrid 500 500 # Create God set god_ [create-god $val(nn)] # Create the specified number of mobilenodes [$val(nn)] and "attach" them # to the channel. # configure node set channel [new Channel/WirelessChannel] $channel set errorProbability_ 0.0 $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) \ -channel $channel \ -topoInstance $topo \ -agentTrace ON \ -routerTrace ON\ -macTrace OFF \ -movementTrace OFF for {set i 0} {$i < $val(nn) } {incr i} { set node_($i) [$ns_ node] $node_($i) color red $node_($i) random-motion 0; } # Define traffic model # puts "Loading scenario file..." source $val(sc) # # Define node movement model # #puts "Loading connection pattern..." #source $val(cp) set udp_(0) [new Agent/UDP] $ns_ attach-agent $node_(21) $udp_(0) set null_(0) [new Agent/Null] $ns_ attach-agent $node_(6) $null_(0) set cbr_(0) [new Application/Traffic/CBR] $cbr_(0) set packetSize_ 512 $cbr_(0) set interval_ 0.5 $cbr_(0) set random_ 1 $cbr_(0) set maxpkts_ 10000 $cbr_(0) attach-agent $udp_(0) $ns_ connect $udp_(0) $null_(0) $ns_ at 8.0 "$cbr_(0) start" # Define node initial position in nam #$ns_ color Blue 1 #udp_(0) set class_ 1 $ns_ at 2.0 "$node_(5) color Red" $ns_ at 2.0 "$node_(1) color Red" for {set i 0} {$i < $val(nn)} {incr i} { # 20 defines the node size in nam, must adjust it according to your scenario # The function must be called after mobility model is defined $ns_ initial_node_pos $node_($i) 50 } # Tell nodes when the simulation ends for {set i 0} {$i < $val(nn) } {incr i} { $ns_ at $val(stop).0 "$node_($i) reset"; } $ns_ at $val(stop).0 "stop" $ns_ at $val(stop).01 "puts \"NS EXITING...\" ; $ns_ halt" puts "Starting Simulation..." $ns_ run From abdullahqawasmeh at yahoo.com Sat Mar 22 21:31:13 2008 From: abdullahqawasmeh at yahoo.com (abdullah qawasmeh) Date: Sat, 22 Mar 2008 21:31:13 -0700 (PDT) Subject: [ns] using Mac 802.11for simulations with Heterogenous Nodes Message-ID: <150077.78072.qm@web54111.mail.re2.yahoo.com> Hi, I am trying to send packets in a wireless simulation using unidirectional link. So, not all of the nodes in the simulation have the same transmission range. Does Mac 802.11 permit this?, I know that Mac 802.11 requires that RTS (Request to Send ) and CTS (Clear to Send) packets be exchanged between nodes before sending data, so Mac 802.11 my not actually work because CTS cannot be send back. But what if the node sends an IP_BROADCAST packet, will it still have to send out RTS packets before sending the data? Abdulla --------------------------------- Never miss a thing. Make Yahoo your homepage. From xjansk01 at stud.fit.vutbr.cz Sun Mar 23 09:05:42 2008 From: xjansk01 at stud.fit.vutbr.cz (=?iso-8859-2?b?SmFuc2v9IA==?= =?iso-8859-2?b?VuFjbGF2?=) Date: Sun, 23 Mar 2008 17:05:42 +0100 Subject: [ns] How to make routing agent which use SRNode Message-ID: <20080323170542.5x0cbj6t8gs4w0go@email.fit.vutbr.cz> Hi, I have implemented new routing agent. But it works only with MobileNode. I need to get some information from data packets received at the destination node. But these packets are delivered directly to its data sinks, so my routing agent can't get the information. I was serching for a solution, and I have found I should use an SRNode, so my routing agent will be the first agent to handle every single packet. And here is my question. What changes in which files should I do to be able to use a SRNode with my routing agent? Changes to use it with MobileNode I have found in a tutorial Implementing a New Manet Unicast Routing Protocol in NS2 by Francisco J. Ros and Pedro M. Ruiz. But I don't know how to use it with SRNode. It looks pretty complicated to me. :( Thanks very much if someone of you can help me! Vasek From xjansk01 at stud.fit.vutbr.cz Sun Mar 23 10:05:44 2008 From: xjansk01 at stud.fit.vutbr.cz (=?iso-8859-2?b?SmFuc2v9IA==?= =?iso-8859-2?b?VuFjbGF2?=) Date: Sun, 23 Mar 2008 18:05:44 +0100 Subject: [ns] recv in aodv&In-Reply-To= Message-ID: <20080323180544.vuc5vazuq4ook4wo@email.fit.vutbr.cz> Hi, it seems this is pretty similar to my problem. Check this: http://mailman.isi.edu/pipermail/ns-users/2008-March/062562.html If you figure out how to use SRNode or find some other solution of your problem, please let me know. Vasek From mohammed2742007 at yahoo.com Sun Mar 23 13:01:18 2008 From: mohammed2742007 at yahoo.com (mohamed saad) Date: Sun, 23 Mar 2008 13:01:18 -0700 (PDT) Subject: [ns] installation problem Message-ID: <662613.90853.qm@web45404.mail.sp1.yahoo.com> salam alikom gazak allah khiran can you help me how to solve this problem [root at localhost otcl-1.13]# ls CHANGES.html config.sub* install-sh otclAppInit.c README.html conf/ configure* lib/ otcl.c VERSION config.guess* configure.in Makefile.in otcl.h config.log doc/ makefile.vc otkAppInit.c [root at localhost otcl-1.13]# ./configure No .configure file found in current directory Continuing with default options... checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for string.h... (cached) yes checking for main in -lXbsd... no checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for dcgettext in -lintl... no checking for getnodebyname in -ldnet_stub... no checking that g++ can handle -O2... no checking standard STL is available... no checking for tcl.h... -I/usr/local/include checking for tclInt.h... no checking for libtcl8.4... -L/usr/local/lib -ltcl8.4 checking for init.tcl... /usr/lib/tcl8.4 checking for http.tcl... /usr/lib/tcl8.4/http2.4 checking Tcl http.tcl library... yes checking for tclsh8.4.14... no checking for tclsh8.4... /usr/bin/tclsh8.4 configure: error: Installation of tcl seems incomplete or can't be found automatically. Please correct the problem by telling configure where tcl is using the argument --with-tcl=/path/to/package (perhaps after installing it), or the package is not required, disable it with --with-tcl=no. [root at localhost otcl-1.13]# ./configure /home/mahmoud/ns2/tcl8.4.17/unix/dltest configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: /home/mahmoud/ns2/tcl8.4.17/unix/dltest No .configure file found in current directory Continuing with default options... checking build system type... Invalid configuration `/home/mahmoud/ns2/tcl8.4.17/unix/dltest': machine `/home/mahmoud/ns2/tcl8.4.17/unix/dltest' not recognized configure: error: /bin/sh ./config.sub /home/mahmoud/ns2/tcl8.4.17/unix/dltest failed [root at localhost otcl-1.13]# ./config.sub config.sub: missing argument Try `config.sub --help' for more information. [root at localhost otcl-1.13]# ./config.sub /home/mahmoud/ns2/tcl8.4.17/unix Invalid configuration `/home/mahmoud/ns2/tcl8.4.17/unix': machine `/home/mahmoud/ns2/tcl8.4.17/unix' not recognized [root at localhost otcl-1.13]# ./config.sub /home/mahmoud/ns2/tcl8.4.17 Invalid configuration `/home/mahmoud/ns2/tcl8.4.17': machine `/home/mahmoud/ns2/tcl8.4.17' not recognized [root at localhost otcl-1.13]# [root at localhost otcl-1.13]# ./config /home/mahmoud/ns2/tcl8.4.17 bash: ./config: No such file or directory [root at localhost otcl-1.13]# ./configure /home/mahmoud/ns2/tcl8.4.17 configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: /home/mahmoud/ns2/tcl8.4.17 No .configure file found in current directory Continuing with default options... checking build system type... Invalid configuration `/home/mahmoud/ns2/tcl8.4.17': machine `/home/mahmoud/ns2/tcl8.4.17' not recognized configure: error: /bin/sh ./config.sub /home/mahmoud/ns2/tcl8.4.17 failed [root at localhost otcl-1.13]# --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From vph at unik.no Sun Mar 23 13:12:26 2008 From: vph at unik.no (Vinh Pham) Date: Sun, 23 Mar 2008 21:12:26 +0100 Subject: [ns] ns-2 debug help Message-ID: <9E0E279861121E408614812D358017B6103BF118@astana.unik.no> Hi friends. I've tried to follow the guide of Pedro Vale Estrela to install the necessary sw for debugging in ns-2. The guide is in this page: http://tagus.inesc-id.pt/~pestrela/ns2/ns2_debugging2.html I encountered problems during step 2, i.e. add TK support. The patches available are intended for ns-2.28 but currently, I have ns-2.31 installed on my computer. Anyway, this is the error message that appears when I try to run the make command: common/tkAppInit.cc:57:27: error: bitmap/play.xbm: No such file or directory common/tkAppInit.cc:58:27: error: bitmap/stop.xbm: No such file or directory common/tkAppInit.cc:59:29: error: bitmap/rewind.xbm: No such file or directory common/tkAppInit.cc:60:25: error: bitmap/ff.xbm: No such file or directory common/tkAppInit.cc: In function 'void loadbitmaps(Tcl_Interp*)': common/tkAppInit.cc:65: error: 'play_bits' was not declared in this scope common/tkAppInit.cc:65: error: 'play_width' was not declared in this scope common/tkAppInit.cc:65: error: 'play_height' was not declared in this scope common/tkAppInit.cc:67: error: 'stop_bits' was not declared in this scope common/tkAppInit.cc:67: error: 'stop_width' was not declared in this scope common/tkAppInit.cc:67: error: 'stop_height' was not declared in this scope common/tkAppInit.cc:70: error: 'rewind_bits' was not declared in this scope common/tkAppInit.cc:70: error: 'rewind_width' was not declared in this scope common/tkAppInit.cc:70: error: 'rewind_height' was not declared in this scope common/tkAppInit.cc:72: error: 'ff_bits' was not declared in this scope common/tkAppInit.cc:72: error: 'ff_width' was not declared in this scope common/tkAppInit.cc:72: error: 'ff_height' was not declared in this scope make: *** [common/tkAppInit.o] Error 1 Can someone please help? What do I need in order to fix this? Regards Vinh Pham From jairo at det.uvigo.es Sun Mar 23 16:02:26 2008 From: jairo at det.uvigo.es (=?UTF-8?B?SmFpcm8gQ2hhcGVsYSBNYXJ0w63CrW5leg==?=) Date: Mon, 24 Mar 2008 00:02:26 +0100 Subject: [ns] Forced broadcast Message-ID: <47E6E182.9010709@det.uvigo.es> Hello. I want to simulate an Ad Hoc network with AODV routing algorithm and I want to 'hack' some packets modifying their mac destination address. My question is: How can I force a packet to be broadcasted in 802.11? Thanks. From basimjaved at gmail.com Sun Mar 23 16:23:22 2008 From: basimjaved at gmail.com (Basim Javed) Date: Mon, 24 Mar 2008 00:23:22 +0100 Subject: [ns] throughput in errors Message-ID: hi all I am trying to get the lowered throughput of WLAN at MAC level, under error model with rate set to 10%, and unit is bit.. I see no impact of errors on throughput... plz guide urgently best b From ejortegau at unal.edu.co Sun Mar 23 16:22:57 2008 From: ejortegau at unal.edu.co (Eduardo J. Ortega U.) Date: Sun, 23 Mar 2008 17:22:57 -0600 Subject: [ns] How to connect two LANs Message-ID: <6fec99f30803231622y5d2b4b5bud2d6d65689c143cd@mail.gmail.com> Hi all: I am attempting to create and connect 2 LANs, and connect them via two routers. So far I have read lantest.tcl under examples, but only shows how to create one LAN, and no indication on how to connect it to another. Furthermore, it requires an extra node not belonging to the LAN ($node0 is called) that must be connected to a LAN node. Otherwise, the topology in nam looks bad. Any pointers on how to achieve this? Thanks, -- Eduardo J. Ortega U. From ssmukaka at gmail.com Sun Mar 23 23:49:09 2008 From: ssmukaka at gmail.com (SS Mukaka) Date: Mon, 24 Mar 2008 08:49:09 +0200 Subject: [ns] controlling broadcast packets Message-ID: I'm implementing a broadcast-based protocol. I have a problem in controlling the broadcasting. How can a node check if it has received a broadcast packet before. My nodes are receiving the same packet coming from different neighbors. From v.vinay.k at gmail.com Mon Mar 24 00:07:44 2008 From: v.vinay.k at gmail.com (vinay kumar) Date: Mon, 24 Mar 2008 12:37:44 +0530 Subject: [ns] help related to simulation of power control protocol in mac layer In-Reply-To: <15d841490803240000o194f9142ke425ba237c42ff41@mail.gmail.com> References: <15d841490803240000o194f9142ke425ba237c42ff41@mail.gmail.com> Message-ID: <15d841490803240007p6e407f1akc91e86127f9126ec@mail.gmail.com> hi i am doing project on power control mac protocol for wireless ad-hoc networks .DOes anyone have idea regarding how to set different power transmission levels for different ranges.Actually i need to map certain power transmit i.e Pt_ values and battery power i.e txPower_ inorder to calculate power consumption.But i don't have any source for taking such values inside ns.for e.g what is the value of TXPOWER_ and Pt_ for a transmision range of 100m,200 etc.I can get Pt_ value for that but what value can i put for txpower_ which is the power used for energy consuption calculation.I am totally confused with this.Please help me. Best wishes Vinay From kingkouka2006 at yahoo.fr Mon Mar 24 05:25:19 2008 From: kingkouka2006 at yahoo.fr (king kouka) Date: Mon, 24 Mar 2008 12:25:19 +0000 (GMT) Subject: [ns] change transmission range Message-ID: <527499.69959.qm@web25408.mail.ukl.yahoo.com> Hi all, I want to change the transmission range for a specific work.... By default, it is 250m and I want to have 1000m..... How to process???? regards _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Capacit? de stockage illimit?e pour vos emails. http://mail.yahoo.fr From v.vinay.k at gmail.com Mon Mar 24 05:55:50 2008 From: v.vinay.k at gmail.com (vinay kumar) Date: Mon, 24 Mar 2008 18:25:50 +0530 Subject: [ns] change transmission range In-Reply-To: <527499.69959.qm@web25408.mail.ukl.yahoo.com> References: <527499.69959.qm@web25408.mail.ukl.yahoo.com> Message-ID: <15d841490803240555l297c2ad9m4335a79c040c5474@mail.gmail.com> for changing the transmission range you need to change the RXThreshold value which indicates the receiver sesitivity.SO to get the value for that you can use ~/ns../indep-utils/propagation/threshold program.by using that you can get the value for of Rxthreshold and for carier sense threshold just use the the same thing with double the transmission range. Hope it will help you to some extent On Mon, Mar 24, 2008 at 5:55 PM, king kouka wrote: > > Hi all, > > I want to change the transmission range for a specific work.... By > default, it is 250m and I want to have 1000m..... How to process???? > > regards > > > > _____________________________________________________________________________ > Envoyez avec Yahoo! Mail. Capacit? de stockage illimit?e pour vos emails. > http://mail.yahoo.fr > From v.vinay.k at gmail.com Mon Mar 24 07:00:39 2008 From: v.vinay.k at gmail.com (vinay kumar) Date: Mon, 24 Mar 2008 19:30:39 +0530 Subject: [ns] Re : change transmission range In-Reply-To: <529323.5673.qm@web25402.mail.ukl.yahoo.com> References: <529323.5673.qm@web25402.mail.ukl.yahoo.com> Message-ID: <15d841490803240700j2d29f890y1feac7d1a449b890@mail.gmail.com> Ok let us supose the Pt_ value is 0.282w . At that transmission power level to have transmission range of 250m RxThreshold 3.65472e-10.If you take carier sense range double the tx range ie 500m the csthresold will be 1.559e-11. So set it like this Phy/WirelessPhy set CSThresh_ 1.559e-11 Phy/WirelessPhy set RXThresh_ 3.652e-10 Phy/WirelessPhy set Pt_ 0.2818 These are the parameters u have to set at the starting of the tcl script. Best regards Vinay On Mon, Mar 24, 2008 at 7:15 PM, king kouka wrote: > hi > ok, suppose I run threshold.cc as given by > http://overegoz.tistory.com/668 > > in my tcl, I have created GOD for lot of nodes and have > $ns_ node-config -adhocRouting AODV \ > -phyType Phy/WirelessPhy \ > > so, how can I input the change into my ns.tcl script????? > > Thanks > > ----- Message d'origine ---- > De : vinay kumar > ? : king kouka > Cc : ns-user > Envoy? le : Lundi, 24 Mars 2008, 13h55mn 50s > Objet : Re: [ns] change transmission range > > > for changing the transmission range you need to change the RXThreshold > value which indicates the receiver sesitivity.SO to get the value for that > you can use ~/ns../indep-utils/propagation/threshold program.by using that > you can get the value for of Rxthreshold and for carier sense threshold just > use the the same thing with double the transmission range. > Hope it will help you to some extent > > On Mon, Mar 24, 2008 at 5:55 PM, king kouka > wrote: > > > > > Hi all, > > > > I want to change the transmission range for a specific work.... By > > default, it is 250m and I want to have 1000m..... How to process???? > > > > regards > > > > > > > > _____________________________________________________________________________ > > Envoyez avec Yahoo! Mail. Capacit? de stockage illimit?e pour vos > > emails. http://mail.yahoo.fr > > > > > > ------------------------------ > Envoy? avec Yahoo! Mail > . > > Capacit? de stockage illimit?e pour vos emails. > From yuvachitra at gmail.com Mon Mar 24 20:50:04 2008 From: yuvachitra at gmail.com (yuva chitra) Date: Tue, 25 Mar 2008 09:20:04 +0530 Subject: [ns] Malicious nodes creation Message-ID: Hello, We are working on improving the security aspects of AODV. We have implemented a trust based algorithm for AODV and we wish to test it using malicious nodes. We are not able to create malicious nodes ( nodes that drop packets ). We are in the final stage of our project. Kindly help us. Thanks in advance. Yuva & Jash From zhaojunm at gmail.com Mon Mar 24 23:30:47 2008 From: zhaojunm at gmail.com (uglystone) Date: Tue, 25 Mar 2008 06:30:47 -0000 Subject: [ns] how to get used-bandwidth of a wireless node in ns Message-ID: <1187918794.2689.26.camel@ip6-localnet> Hi everyone, I am trying to add admission control mechanism in dsr ,so I need to know a node's bandwidth which has occupied at any moment. here ,there is a method. in dsr, enable every flow to carry occupied bandwidth by itself. we can compute a node's bandwidth which has occupied through integrating all flows' occupied bandwidth which pass through the node. But,I don't know any better one,so I would like to get some advice. thanks! zhaojunmin From basimjaved at gmail.com Tue Mar 25 03:24:17 2008 From: basimjaved at gmail.com (Basim Javed) Date: Tue, 25 Mar 2008 11:24:17 +0100 Subject: [ns] regarding 802.11e Message-ID: hello 802.11e experts Could somebody shed some light as why getting some help on TKN EDCA 802.11e is almost not possible over this list. Would somebody kindly give some pointers about the following issues: 1. new trace format does not contain the time stamp for EDCA. Is it due to the lack of implemenatation of EDCA? If yes, how can I enable it? 2. I can not see the errors making an impact in the MAC throughput..even if it is 100% errors? 3. There are four levels where we can specify the bandwidth thing: phy, MAC, LL, Application which one is the real controller...how decision is made My sincere thanks goes for all the help n lines coming by the helpers. kind regards basim From augiat.guillaume at orange.fr Tue Mar 25 03:30:16 2008 From: augiat.guillaume at orange.fr (Augiat Guillaume) Date: Tue, 25 Mar 2008 11:30:16 +0100 (CET) Subject: [ns] Packet Header and Encapsulation ? Message-ID: <24406135.148601206441016407.JavaMail.www@wwinf1610> Hi, I'm a new user of ns2.32 and I'm wondering about Packet Header and encapsulation. I've read that ns2 automatically add all available headers to each packet. But, in my first simulation I've sent a packet of 500b and when I look at the packet in nam. It is only 500b. Sould not it be 500b + some header bits ? If not, what do I have to add to my tcl script to have a header added to my packet ? Maybe it's just nam which does not show headers ? I don't know... I've tried to find answer by myself on the web but I found nothing. Thanks for any help Guillaume From hmhef.z1 at gmail.com Tue Mar 25 14:38:28 2008 From: hmhef.z1 at gmail.com (hm mh) Date: Tue, 25 Mar 2008 23:38:28 +0200 Subject: [ns] Fwd: help to simulate 802.11i and 802.1x In-Reply-To: <7f9a5f20803251427v4ff209e5xfd872dd218170748@mail.gmail.com> References: <7f9a5f20803251427v4ff209e5xfd872dd218170748@mail.gmail.com> Message-ID: <7f9a5f20803251438j2738c301r49623c7e7a34cd63@mail.gmail.com> hi, i need to simulate a wireless network with encrpytion enabled, like RC4 or TKIP or CCMP i am newbie, and just done the tutorial to get me started with ns2 // using ns-allinone-2.31 package :ns-2.31 , tcl8.4.14 on fedora core 8 PLZ any help or telling what i can or can't do would be appreciated best wishes :-) From zhaojunm at gmail.com Tue Mar 25 19:52:41 2008 From: zhaojunm at gmail.com (Zhao Junmin) Date: Wed, 26 Mar 2008 10:52:41 +0800 Subject: [ns] large trace file size>2G Message-ID: when I run a simulation which last 1000s, It produces a big trace file whose size is larger than 2G. But In linux,NS can't write >2G trace file,so it exits abnormally. I search for some articles,which say a >2G file must be open with a O_LARGEFILE flag set in linux. here Is it a bug in NS? How can I resolve the problem better? any suggestion for me and I am very grateful! Thanks! From jagajith.j at gmail.com Tue Mar 25 21:29:08 2008 From: jagajith.j at gmail.com (jagajith j) Date: Wed, 26 Mar 2008 00:29:08 -0400 Subject: [ns] Fwd: Need Help with the installation of NS2 In-Reply-To: References: Message-ID: Hi, I am trying to install the NS2 on my winXP machine using Cygwin. Now i am done till the part of installing the NS2. As instructed, i copies the lines required to the .bashrc file and ran the "$ source /.bashrc" command. But i'm getting the error as bash: '/r': command not found bash: '/r': command not found bash: '/r': command not found bash: '/r': command not found bash: '/r': command not found bash: '/r': command not found bash: '/r': command not found bash: '/r': command not found bash: '/r': command not found If any of you have encountered this problem before, i request help on how to solve this. Thanks and Regards, Jagajith From davshaonr at gmail.com Tue Mar 25 22:00:02 2008 From: davshaonr at gmail.com (David Shao) Date: Tue, 25 Mar 2008 22:00:02 -0700 Subject: [ns] No problem with nsallinone-2.32 on Mac OS X Leopard 10.5.2 In-Reply-To: <2b0795110803252152s66851518qfe50874706cd8532@mail.gmail.com> References: <2b0795110803252152s66851518qfe50874706cd8532@mail.gmail.com> Message-ID: <2b0795110803252200v37e25cc0hdc4f2c37eab49aad@mail.gmail.com> I believe the entry at http://nsnam.isi.edu/nsnam/index.php/Troubleshooting is somewhat misleading about compiling nsallinone-2.32 on Mac OS X Leopard 10.5.2. I do not believe there is much of a problem at all, just modify the ./install script. I have attached a patch that can be applied with patch -p1 < path_to_patch/nsleopard.diff All the patch does is to use the same options for Mac OS X (Darwin) as Cygwin does as far as telling the subprograms where to find the X11 headers and libraries. Running stock Mac OS X Leopard 10.5.2 (with further security updates from Apple) and Macports installed but not in my PATH, I am able to compile successfully all of nsallinone-2.32, run the ./validate script for ns-2.32 with one platform specific test suite failing (Session 3 and Session 4 of ./test-all-session), and run ns with nam on sample scripts from the tutorial. The difference as far as I can tell between say Tiger and Leopard is that Leopard does not include the static versions of the X11 libraries in the default Unix location (libraries ending with .a). What appear to be older versions of these static libraries are found in the more complicated flags suggested at the wiki. The configure scripts for the subprograms check explicitly for libraries that end in either .a or .so which correspond to the Linux suffixes, but they do not check for .dylib which corresponds to the Mac OS X suffix for dynamic libraries (or libraries ending in .la which correspond to libtool). There's another place where the configure script checks for Darwin 7 and Darwin 8, but not Darwin 9 which is Leopard. Explicitly specifying --x-libraries=/usr/X11R6/lib --x-includes=/usr/X11R6/include and doing absolutely nothing else appears to result in static libraries being successfully built and linked. I do not even have to alter the environment variable that is the equivalent of LD_LIBRARY_PATH DYLIB_LIBRARY_PATH in my nstest.profile file that sets environment variables: I just set TCL_LIBRARY and PATH, and I don't even know if I have to set TCL_LIBRARY. (Probably a good idea since Mac OS X Leopard has its own version of Tcl and Tk 8.4.) Not only is ns-2.32 apparently working on Leopard, but I am having some success porting Chih-Heng Ke's extensions of ns2 to work with Evalvid, work that was originally done on Cygwin for version 2.28. http://140.116.72.80/~smallko/ns2/myevalvid2.htm From abdullahqawasmeh at yahoo.com Tue Mar 25 23:04:16 2008 From: abdullahqawasmeh at yahoo.com (abdullah qawasmeh) Date: Tue, 25 Mar 2008 23:04:16 -0700 (PDT) Subject: [ns] Change IP Packet size Message-ID: <690725.7983.qm@web54110.mail.re2.yahoo.com> Hi, does anybody know how the network simulator decides the IP packet size?, and how it decides how many MAC frames are required to transmit one IP Packet? Thank you, Abdulla --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. From v.vinay.k at gmail.com Wed Mar 26 01:02:00 2008 From: v.vinay.k at gmail.com (vinay kumar) Date: Wed, 26 Mar 2008 13:32:00 +0530 Subject: [ns] Relation between txpower_ and pt_ Message-ID: <15d841490803260102t389e0728g67d3e1bba55e5e9f@mail.gmail.com> HI I am doing project on power control mac protocol simulations.I am messed up with the variable txpower(battery power) and power tranmitted(pt_) in ns.I need to find the energy consumed in the network.So when i change the tranmit power like 280mW,200mw obviously the received power reduces and hence the range decreases.For all different power transmit values the battery power consumed txpower remains constant.But what i doubt is is it depends on Pt_ or does it remain constant irrespective of the tranmit power level. Please help me.My project deadline is very near.I will be grateful to you if you help me. Thank you From meenakshibharatiya at gmail.com Wed Mar 26 01:06:16 2008 From: meenakshibharatiya at gmail.com (Meenakshi Bharatiya) Date: Wed, 26 Mar 2008 13:36:16 +0530 Subject: [ns] Mac protocol implementation Message-ID: <5369616f0803260106l4f8e8a47n927286b28bf35870@mail.gmail.com> Hi all ns users i am using ns2 from 1 year.........i m doing a project in my mtech last semester......... In my project i have to change the mac protocol in ns2.31/mac. In my project to increase the throughput, instead of using exponential backoff for increasing the contention window i m using sliding contention window using Linear Increase Linear Decrease mechanism.So for this i have made changes in the fils of ns2.31/mac/mac-tdma.h, ns2.31/mac/mac-timers.h, mac 802.11.h, mac 802.11.cc. when i have run the command *make in cygwin ,* it is compiled sussessfully but when i am running it, with all tcl file it is giving me arithmetic exception error............... so not producing the trace file. please help me friends regards From L.Zhao at napier.ac.uk Wed Mar 26 06:42:41 2008 From: L.Zhao at napier.ac.uk (Zhao, Liang) Date: Wed, 26 Mar 2008 13:42:41 -0000 Subject: [ns] about the multi-channel multi-interface extension Message-ID: <735F04A99D358E468A16EDB64FC04555062FCF30@EVS1.napier-mail.napier.ac.uk> Dear all I have fully installed the multi-channel multi-interface extension followed by the guide on http://www.cse.msu.edu/~wangbo1/ns2/nshowto8.html. I don't understand the example script of twoflows-2channel.tcl. In this file, it writes as below: # Add routing tag $node_(0) add-route-tag 1 999 $node_(2) add-route-tag 3 8 # Add next hop $node_(0) add-next-hop 1 999 1 2 $node_(2) add-next-hop 3 8 3 3 As my understanding, " add-next-hop 3 8 3 3" is in format of "add-next-hop destination target hopnumber NIC". Could you tell me whether I am correct? And In twoflows-1channel.tcl, it changes to " add-next-hop 3 8 3 2" which makes it one channel flow. Could you tell me what does NIC exactly mean? It is number of net interface card or something else? Furthermore, if you have some more examples on this extension for MANUAL, please send me a copy please. Thanks a lot. Liang This message is intended for the addressee(s) only and should not be read, copied or disclosed to anyone else outwith the University without the permission of the sender. It is your responsibility to ensure that this message and any attachments are scanned for viruses or other defects. Napier University does not accept liability for any loss or damage which may result from this email or any attachment, or for errors or omissions arising after it was sent. Email is not a secure medium. Email entering the University's system is subject to routine monitoring and filtering by the University. Napier University is a registered Scottish charity. Registration number SC018373 From lotzen2040 at yahoo.com Wed Mar 26 08:54:36 2008 From: lotzen2040 at yahoo.com (panahi pejman) Date: Wed, 26 Mar 2008 08:54:36 -0700 (PDT) Subject: [ns] Question about decreasing transfer rate Message-ID: <835055.74505.qm@web55601.mail.re4.yahoo.com> Does anyone know how to decrease transfer rate at an intermediate node? Any help will be appreciated. --------------------------------- Never miss a thing. Make Yahoo your homepage. From unique_liu at hotmail.com Wed Mar 26 09:38:32 2008 From: unique_liu at hotmail.com (SnowK) Date: Wed, 26 Mar 2008 16:38:32 +0000 Subject: [ns] dynamically create nodes and links Message-ID: Hi, Can anybody point me out the reason following code does not work? Basically I want to create nodes and links at some random times. I know that the command $ns rtmodel-at can switch the up/down status of a node or a link. But it can only work on exsiting nodes or links. My question is how to dynamically CREATE them rather than to change their status. ------------------------------------------------------------$ns at 1.234567 "set n1 [$ns node]"$ns at 2.345678 "$ns simplex-link $n1 $n2 2Mb 10ms DropTail"------------------------------------------------------------Any help will be greatly appreciated. I have been stuck on this problem for days. Thank you,Hao _________________________________________________________________ Watch ?Cause Effect,? a show about real people making a real difference. Learn more. http://im.live.com/Messenger/IM/MTV/?source=text_watchcause From mohammed2742007 at yahoo.com Wed Mar 26 11:09:33 2008 From: mohammed2742007 at yahoo.com (mohamed saad) Date: Wed, 26 Mar 2008 11:09:33 -0700 (PDT) Subject: [ns] installation problem Message-ID: <997081.78619.qm@web45406.mail.sp1.yahoo.com> salam alikom gazakom allah khairn can you help me i have problem when installed ns-2(allinone)on mandrake10 ecking for socklen_t... yes checking for main in -lpcap... no checking to make nse... no Explicitly disabling static compilation checking for dlopen in -ldl... yes checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating tcl/lib/ns-autoconf.tcl config.status: creating indep-utils/webtrace-conv/ucb/Makefile config.status: creating indep-utils/webtrace-conv/dec/Makefile config.status: creating indep-utils/webtrace-conv/nlanr/Makefile config.status: creating indep-utils/webtrace-conv/epa/Makefile config.status: creating indep-utils/cmu-scen-gen/setdest/Makefile config.status: creating autoconf.h creating ./gen Makefile.in is newer than Makefile. You need to re-run configure. false make: *** [Makefile] Error 1 Ns make failed! See http://www.isi.edu/nsnam/ns/ns-problems.html for problems [root at localhost ns-allinone-2.32]# --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From mohammed2742007 at yahoo.com Wed Mar 26 11:32:53 2008 From: mohammed2742007 at yahoo.com (mohammed) Date: Wed, 26 Mar 2008 11:32:53 -0700 (PDT) Subject: [ns] [bug] installation failure of ns-2 Message-ID: <200803261832.LAA23844@www.isi.edu> [Bug Report] ----------------------------- Category: Installation Failure Package: ns ns(allinone2.32) OS: mandrake10 Environment Variables: LD_LIBRARY_PATH= TCL_LIBRARY= TK_LIBRARY= ----------------------------- Description: Description of Problem: ecking for socklen_t... yes checking for main in -lpcap... no checking to make nse... no Explicitly disabling static compilation checking for dlopen in -ldl... yes checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating tcl/lib/ns-autoconf.tcl config.status: creating indep-utils/webtrace-conv/ucb/Makefile config.status: creating indep-utils/webtrace-conv/dec/Makefile config.status: creating indep-utils/webtrace-conv/nlanr/Makefile config.status: creating indep-utils/webtrace-conv/epa/Makefile config.status: creating indep-utils/cmu-scen-gen/setdest/Makefile config.status: creating autoconf.h creating ./gen Makefile.in is newer than Makefile. You need to re-run configure. false make: *** [Makefile] Error 1 Ns make failed! See http://www.isi.edu/nsnam/ns/ns-problems.html for problems [root at localhost ns-allinone-2.32]# Additional Information: (the following infomation is helpful to debug: 1. simulation script, detailed output files, packet trace 2. patch file if you modify some source code 3. a backtrace from gdb if you get a segment fault If they are big files, PLEASE put them in your web space and include the URL here.) From mohammed2742007 at yahoo.com Wed Mar 26 11:41:06 2008 From: mohammed2742007 at yahoo.com (mohammed) Date: Wed, 26 Mar 2008 11:41:06 -0700 (PDT) Subject: [ns] [bug] installation failure of ns-2 , what i do in this solution?how Message-ID: <200803261841.LAA24123@www.isi.edu> [Bug Report] ----------------------------- Category: Installation Failure Package: ns ns(allinone2.32) OS: mandrake10 Environment Variables: LD_LIBRARY_PATH= TCL_LIBRARY= TK_LIBRARY= ----------------------------- Description: salam alikom gazakom allah khairn can you help me Description of Problem: ecking for socklen_t... yes checking for main in -lpcap... no checking to make nse... no Explicitly disabling static compilation checking for dlopen in -ldl... yes checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating tcl/lib/ns-autoconf.tcl config.status: creating indep-utils/webtrace-conv/ucb/Makefile config.status: creating indep-utils/webtrace-conv/dec/Makefile config.status: creating indep-utils/webtrace-conv/nlanr/Makefile config.status: creating indep-utils/webtrace-conv/epa/Makefile config.status: creating indep-utils/cmu-scen-gen/setdest/Makefile config.status: creating autoconf.h creating ./gen Makefile.in is newer than Makefile. You need to re-run configure. false make: *** [Makefile] Error 1 Ns make failed! See http://www.isi.edu/nsnam/ns/ns-problems.html for problems [root at localhost ns-allinone-2.32]# i found solution of this problem as "Solution: Build everything with gcc, don't mix gcc/g++ and cc/ld. (Insure that if you build any C++ code with g++ that you link with g++, and that they're the same version.) " but i dont understand what i do and how do this? From hmhef.z1 at gmail.com Wed Mar 26 15:40:00 2008 From: hmhef.z1 at gmail.com (hm mh) Date: Thu, 27 Mar 2008 00:40:00 +0200 Subject: [ns] help to simulate 802.11i and 802.1x In-Reply-To: <7f9a5f20803251438j2738c301r49623c7e7a34cd63@mail.gmail.com> References: <7f9a5f20803251427v4ff209e5xfd872dd218170748@mail.gmail.com> <7f9a5f20803251438j2738c301r49623c7e7a34cd63@mail.gmail.com> Message-ID: <7f9a5f20803261540s719c4470uc03fb0381e9a6837@mail.gmail.com> SORRY for resending this email because of the 1st msg was wrongfully tagged with ( FW: ) hi, i need to simulate a wireless network with encrpytion enabled, like RC4 or TKIP or CCMP i am newbie, and just done the tutorial to get me started with ns2 // using ns-allinone-2.31 package :ns-2.31 , tcl8.4.14 on fedora core 8 PLZ any help or telling what i can or can't do would be appreciated + if any alternate solution will be appreciated as well best wishes :-) From augiat.guillaume at orange.fr Thu Mar 27 04:30:44 2008 From: augiat.guillaume at orange.fr (Aguilla) Date: Thu, 27 Mar 2008 04:30:44 -0700 (PDT) Subject: [ns] Packet Header and Encapsulation ? In-Reply-To: <24406135.148601206441016407.JavaMail.www@wwinf1610> References: <24406135.148601206441016407.JavaMail.www@wwinf1610> Message-ID: <16324312.post@talk.nabble.com> I think I've understood a few mor things since my previous mail... I think that ns2 take into account the header, but doesn't register it in nam file, that's why it is not viewable in nam. But now my question is, how to write header length into nam file ? I've tried to write variable hdrlen_ but this variable is equal to 10128 and it's surprising because I've removed all headers exepts comon and IP, so the size of my header shoulb be less than 10128. My second question will be, how to use this stored header length into nam... I browsed the forum and saw that only a few messages got response... Hope mine get one. Aguilla wrote: > > > Hi, > I'm a new user of ns2.32 and I'm wondering about Packet Header and > encapsulation. > I've read that ns2 automatically add all available headers to each packet. > But, in my first simulation I've sent a packet of 500b and when I look at > the packet in nam. > It is only 500b. Sould not it be 500b + some header bits ? > If not, what do I have to add to my tcl script to have a header added to > my packet ? > Maybe it's just nam which does not show headers ? I don't know... > > > I've tried to find answer by myself on the web but I found nothing. > > Thanks for any help > > Guillaume > > -- View this message in context: http://www.nabble.com/Packet-Header-and-Encapsulation---tp16273885p16324312.html Sent from the ns-users mailing list archive at Nabble.com. From tulaanaa at yahoo.com Thu Mar 27 05:01:46 2008 From: tulaanaa at yahoo.com (Batbold Toiruul) Date: Thu, 27 Mar 2008 05:01:46 -0700 (PDT) Subject: [ns] problem intsalling ZRP on the NS-2.27‏ Message-ID: <255220.66479.qm@web32507.mail.mud.yahoo.com> Hello everyone? I want to install ZRP package on ns-2.27(under cygwin), but the installation guide is originally prepared for ns-2.1b9 and needs some change to work for ns-2.27. (I get several lines of errors while making ns after editing Makefile.) Does anyone know that how to install ZRP on the ns-2.27?? regards, Batbold Batbold Toiruul, Database and Multimedia Lab Computer Science Department, Sun Moon University Asan campus, Chungnam 336-708, Korea (ROK) (082) 041-530-2886, (082) 011-9689-2624 --------------------------------- Never miss a thing. Make Yahoo your homepage. From lobmar at voila.fr Thu Mar 27 06:31:27 2008 From: lobmar at voila.fr (lobmar@voila.fr) Date: Thu, 27 Mar 2008 14:31:27 +0100 (CET) Subject: [ns] help RTS/CTS Message-ID: <21471552.198391206624687279.JavaMail.www@wwinf4615> hi, How I change RTSThreshold_ for get RTS/CTS mode better basic mode? I simulate a ad hoc network and for many value of RTSThershold, and a CBR traffic with packet size 1000. I have a basic mode better RTS/CTS mode. Thank you From zoki_oh86 at hotmail.com Thu Mar 27 13:28:18 2008 From: zoki_oh86 at hotmail.com (zoko) Date: Thu, 27 Mar 2008 13:28:18 -0700 (PDT) Subject: [ns] ns2 help - antenna Message-ID: <16254855.post@talk.nabble.com> Hi. I need to make a simulation where every time a node is created, NS always asks what antenna the node will be using. So, the antenna defining is done at node level. So far, I've looked but have not found where to alter NS so that it does this. If anyone knows where I can do this, please write. Thanks. -- View this message in context: http://www.nabble.com/ns2-help---antenna-tp16254855p16254855.html Sent from the ns-users mailing list archive at Nabble.com. From yuvachitra at gmail.com Thu Mar 27 22:56:10 2008 From: yuvachitra at gmail.com (yuva chitra) Date: Fri, 28 Mar 2008 11:26:10 +0530 Subject: [ns] Adding a new packet in the trace file Message-ID: Hello, We are working on enhancements of AODV. we have created an extra overhead packet for routing in our proposal. Can somebody please tell us the way to add this packet in the trace file. we tried to add the new packet format in cmu-trace.cc file. but it didn't work. we are in the final stage of our project and we are not able to calculate the required parameters from trace file. Kindly help us. Thanks in advance. Yuva From jamal.toutouh at yahoo.es Fri Mar 28 05:29:08 2008 From: jamal.toutouh at yahoo.es (Jamal Toutouh) Date: Fri, 28 Mar 2008 12:29:08 +0000 (GMT) Subject: [ns] wired-cim-wireless simulation Message-ID: <753191.32458.qm@web27607.mail.ukl.yahoo.com> Dear all, I have simulated wired-cum-wireless scenarios with several nodes. Now, I want to simulate wired-cum-wireless scenarios with several FAs. Can someone help me? I am not very sure about the domain configuration. Thank you.... ------------------------------------------------ Jamal Toutouh El Alamin NEO Group - Networking and Emerging Optimization University of Malaga ------------------------------------------------ Phone: (+34) 952 13 33 03 ------------------------------------------------ Addres: E.T.S Ingenieria Informatica Complejo Tecnologico, Lab. 3.3.4b Campus de Teatinos 29071 Malaga, Spain ------------------------------------------------- Enviado desde Correo Yahoo! Disfruta de una bandeja de entrada m?s inteligente.. ______________________________________________ Enviado desde Correo Yahoo! Disfruta de una bandeja de entrada m?s inteligente. http://es.docs.yahoo.com/mail/overview/index.html From bartolomeu at ua.pt Fri Mar 28 07:44:59 2008 From: bartolomeu at ua.pt (Paulo Bartolomeu) Date: Fri, 28 Mar 2008 14:44:59 +0000 Subject: [ns] NS-2 ZigBee NWK implementation Message-ID: [Please accept my apologies for the multiple copies of this message. It was a beginner mistake, it shouldn't happen again] Hello NS-users, I am a newcomer to NS-2 and I'm studying ZigBee broadcast communications. In a preliminary study, I was able to find that Jianliang Zheng had developed an IEEE 802.15.4 module for NS-2 and that Iyappan Ramachandran updated it with a few features. I also found that the source code provided by Jianliang Zheng contains a demo folder containing scripts to test AODV and ZigBee routing. However, I don't know if the NWK layer is already (fully or partially) implemented. Because I am interested in simulating a ZigBee network communicating using broadcasts and passive acknowledgments at NWK level, I would like to know if this is possible using this IEEE 802.15.4 NS-2 module (or other that may be available). Can someone advise on how can I do this? I will be very grateful for your advise, Bart. From mruknown1 at yahoo.com Fri Mar 28 08:23:01 2008 From: mruknown1 at yahoo.com (uknown noname) Date: Fri, 28 Mar 2008 08:23:01 -0700 (PDT) Subject: [ns] DSR routing protocol Message-ID: <771625.80200.qm@web63104.mail.re1.yahoo.com> Hi ns users.. I still confused, when we run ~/tc/ex/wireless.tcl as default, they are using DSR routing protocol [set opt(rp) dsr ]. But in order to implement DSR routing protocol, how did this file (wireless.tcl) have a link/connection with ../ns2.30/dsr directory ? This is because even though ../ns2.30/dsr directory is deleted, wireless.tcl can still working. How can we simulate/test DSR routing protocol? Is it running wireless.tcl means we already implement DSR routing protocol? Thanks for any explanation. My system : FC 6 2.6.18-1.2869.fc6 ns2.30 --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From engrarisar at gmail.com Fri Mar 28 10:09:57 2008 From: engrarisar at gmail.com (SHA) Date: Fri, 28 Mar 2008 17:09:57 +0000 Subject: [ns] Fwd: UDP PACKET DATA EXTRACTION In-Reply-To: References: Message-ID: ---------- Forwarded message ---------- From: SHA Date: Thu, Mar 27, 2008 at 2:28 AM Subject: UDP PACKET DATA EXTRACTION To: ns-users at isi.edu Dear All, Can anyone kindly suggest how the user defined data can be extracted from UDP packet using tcl commands? I tried the following Agent/UDP instproc process_data {from data} {puts $data} Agent/UDP instproc process_data {from data} {puts data} Agent/UDP instproc data {from data} {puts $data} Agent/UDP instproc data {from data} {puts data} The file complies properly without any errors or warnings for all these. Everything else in the designed simulation works perfectly (animations, calculations, etc) but just this procedure does not seem to compile as the puts command does not work at all - nothing is printed (if no variable then at least the string must be printed but it does not). I am in the middle of a project where I am stuck on this simple thing. I will be grateful if anyone of you can provide some suggestions. Cheers! Arisar From abdullahqawasmeh at yahoo.com Fri Mar 28 11:24:49 2008 From: abdullahqawasmeh at yahoo.com (abdullah qawasmeh) Date: Fri, 28 Mar 2008 11:24:49 -0700 (PDT) Subject: [ns] Segmentation fault in Scheduler when scheduling a new packet Message-ID: <468698.41035.qm@web54110.mail.re2.yahoo.com> hi, Whenever I make the following call ( Scheduler::instance.schedule(target ,p ,0.0) ) I get a segmentation fault. has anybody come across this problem before? Regards, Abdulla --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. From hagen at jauu.net Fri Mar 28 12:03:01 2008 From: hagen at jauu.net (Hagen Paul Pfeifer) Date: Fri, 28 Mar 2008 20:03:01 +0100 Subject: [ns] OLSR Patch | ns-allinone-2.33-rc4 Message-ID: <20080328190258.GA2001@nuttenaction> Hi, the attached um-olsr patch re-enable OLSR routing functionality. Some NS2 internal modifications prevent the use of the patch bundled with the UM-OLSR distribution. No further um-olsr modifications in the main package is necessary, replace the included patch with this one! Best regards, Hagen -- Hagen Paul Pfeifer || http://jauu.net/ Key Id: 0x98350C22 Key Fingerprint: 490F 557B 6C48 6D7E 5706 2EA2 4A22 8D45 9835 0C22 Always in motion, the future is. From hagen at jauu.net Fri Mar 28 12:31:40 2008 From: hagen at jauu.net (Hagen Paul Pfeifer) Date: Fri, 28 Mar 2008 20:31:40 +0100 Subject: [ns] OLSR Patch | ns-allinone-2.33-rc4 In-Reply-To: <20080328190258.GA2001@nuttenaction> References: <20080328190258.GA2001@nuttenaction> Message-ID: <20080328193139.GB2001@nuttenaction> and the patch magically disappear ... ;) http://jauu.net/var/misc/exchange/um-olsr-current-ns2.33-rc4.patch Hagen -- Hagen Paul Pfeifer || http://jauu.net/ Key Id: 0x98350C22 Key Fingerprint: 490F 557B 6C48 6D7E 5706 2EA2 4A22 8D45 9835 0C22 Always in motion, the future is. From gabrial_monty at yahoo.com Fri Mar 28 14:25:50 2008 From: gabrial_monty at yahoo.com (Gabrial Monty) Date: Fri, 28 Mar 2008 14:25:50 -0700 (PDT) Subject: [ns] An awk script to calculate throughput and end-to-end delay in wired-cum-wireless is needed Message-ID: <713307.39102.qm@web44910.mail.sp1.yahoo.com> Dear ns users, I am facing a trouble in writing an awk script to calculate throughput in wired-cum-wireless scenarios, how can I deal with the wired trace to calculate the number of sent packets? can I count all cbr traffic in the lines that begin with '+'? I know that '+' stands for enqueue but there is no event for sending data packets from the wired nodes? moreover, using this approach I found that the number of sent packets is much larger than the sent one, also how can I calculate the end-to-end delay for a packet sent from a wired node to a wireless node? please help me, waiting your reply. thanks, gaby --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From islheg at gmail.com Fri Mar 28 16:00:36 2008 From: islheg at gmail.com (Islam Hegazy) Date: Fri, 28 Mar 2008 17:00:36 -0600 Subject: [ns] timerhandler in ns2 Message-ID: <042d01c89127$8b221d80$5c15a8c0@pc.cpsc.ucalgary.ca> Hi I want to use the TimerHandler in my simulation, I found the scheduling function 'sched(double delay)' to schedule the events. I want to know if this delay parameter should be in sec, msec, or usec. All the explanations that I found for this class talk about the functionality of each function without saying about its parameters. Regards Islam Hegazy From islheg at gmail.com Fri Mar 28 17:20:29 2008 From: islheg at gmail.com (Islam Hegazy) Date: Fri, 28 Mar 2008 18:20:29 -0600 Subject: [ns] mintRoute protocol References: Message-ID: <044f01c89135$51afd070$5c15a8c0@pc.cpsc.ucalgary.ca> Hi all I am working in wireless sensor networks simulations under ns2. I want to implement the routing protocol, mintRoute from TinyOS, in ns2. I converted the code from nesC to C++ to work in ns2 but it didm't work. I want to know if anyone had tried to implement mintRoute in ns2 before -- Islam Hegazy From jingle0807 at 163.com Fri Mar 28 20:27:11 2008 From: jingle0807 at 163.com (=?GB2312?B?x/q+p9Oo?=) Date: Sat, 29 Mar 2008 11:27:11 +0800 Subject: [ns] how to add shell script or shell command into tcl script. Message-ID: <47EDB70F.8030502@163.com> hi, all I wonder to know how to add shell script or shell command into tcl script. Thank you very much in advance. :) jingle From SYilmaz at aselsan.com.tr Sat Mar 29 02:46:09 2008 From: SYilmaz at aselsan.com.tr (Semra YILMAZ) Date: Sat, 29 Mar 2008 11:46:09 +0200 Subject: [ns] AODV in wireless scenario References: <22DF48915EF5BF4998B4B34DE67C0A9981490F@POSTA.aselsan.com.tr> Message-ID: <22DF48915EF5BF4998B4B34DE67C0A99814910@POSTA.aselsan.com.tr> Hello all ns users, When i use AODV in my wireless scenario, there are some problems to send the packet. But if i use DSR there is no problem. Is it problematic to use AODV in wireless netwroks? Regards, Semra ###################################################################### 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 abdullahqawasmeh at yahoo.com Sat Mar 29 10:45:37 2008 From: abdullahqawasmeh at yahoo.com (abdullah qawasmeh) Date: Sat, 29 Mar 2008 10:45:37 -0700 (PDT) Subject: [ns] Changing individual node transmission range Message-ID: <826463.82687.qm@web54112.mail.re2.yahoo.com> Hi All, Does any body know how to change the transmission range of individual nodes in ns?. The NS manual suggests using the following command "Phy/WirelessPhy set RXThresh_ ". This, however, will change the transmission range of all the nodes in the simulation. Regards, Abdulla --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From hongzhi.jiao at uia.no Sat Mar 29 10:58:22 2008 From: hongzhi.jiao at uia.no (Hongzhi Jiao) Date: Sat, 29 Mar 2008 18:58:22 +0100 Subject: [ns] manual routing to specify the next hop Message-ID: <47EE833E.5030602@uia.no> hi all I happen to problems using manual routing, my example cant operate correctly. Is there anybody could give me a small example using manual routing. If it could specify the next hop in the example I wil appreciate very much. -- Best Regards. Hongzhi Jiao PhD Student of Agder Mobility Lab University of Agder, Norway From ejortegau at unal.edu.co Sat Mar 29 15:03:53 2008 From: ejortegau at unal.edu.co (Eduardo J. Ortega U.) Date: Sat, 29 Mar 2008 16:03:53 -0600 Subject: [ns] Measure throughput in FullTcp Message-ID: <6fec99f30803291503h63887401w7a5614980c8ad08c@mail.gmail.com> Hi: I need to measure the throughput of a FTP application using FullTcp. >From what I have read, the most common way to measure it is to attach a LossMonitor or TCPSink to the end node (the sender has agent TCP), count the number of received bytes per unit time and compute it. However, this approach does not seem to work if the sender is FullTcp, because in that case the end node must also be FullTcp, which does not have a bytes counter. How do you guys do it? Thanks, -- Eduardo J. Ortega U. From rakesh.cse.10182 at gmail.com Sat Mar 29 22:58:17 2008 From: rakesh.cse.10182 at gmail.com (rakesh chouhan) Date: Sat, 29 Mar 2008 21:58:17 -0800 Subject: [ns] formation of Black Hole node in MANET Message-ID: <90a573540803292258h5b1eaf27pa05f438e94b49550@mail.gmail.com> hi everybody I am doing work on misusing the AODV routing protocol, in which i want to make a node to as a black hole node. i want to create only a single node to black hole node if any body have done work on this topic or doing work on this topic , then plz help me, its very urgent for me, your help will be appreciated thanks to all wih regards Rakesh Kumar From neerajgupta37 at rediffmail.com Sat Mar 29 23:15:16 2008 From: neerajgupta37 at rediffmail.com (neeraj gupta) Date: 30 Mar 2008 06:15:16 -0000 Subject: [ns] calculate the threshold values. Message-ID: <20080330061516.885.qmail@f4mail-234-117.rediffmail.com> ? hi all after going through the ns-1 documentation it is very clear that we can calculate the RXThresh_ value. but how can be can calculate the CShresh_ and CPThresh_ values.also the threshold model have certain default values this means the values of all three threshold will change.how can we calculate the same. Neeraj From hitesh.iitk at gmail.com Sun Mar 30 02:13:54 2008 From: hitesh.iitk at gmail.com (Hitesh Khandelwal) Date: Sun, 30 Mar 2008 14:43:54 +0530 Subject: [ns] TCP socket support for NS2 Message-ID: I want to have TCP socket support for NS2. On searching I came across gnutella project which implemented TCP sockets for NS2. ( http://www.cc.gatech.edu/computing/compass/gnutella/install.html). I followed the instructions given on the page and recompiled NS2 successfully. But when I tried to compile the test program given http://www.cc.gatech.edu/computing/compass/gnutella/socket.tcl I got the following error: ------------------------------ --------------------------------------------------------- $ ns socket.tcl (_o3 cmd line 1) invoked from within "_o3 cmd create-sock 0 _o28 6346" invoked from within "catch "$self cmd $args" ret" invoked from within "if [catch "$self cmd $args" ret] { set cls [$self info class] global errorInfo set savedInfo $errorInfo error "error when calling class $cls: $args" $..." (procedure "_o3" line 2) (SplitObject unknown line 2) invoked from within "$ns create-sock $id0 $srv 6346" invoked from within "set ssock [$ns create-sock $id0 $srv 6346]" (file "socket.tcl" line 8) --------------------------------------------------------------------------------------- Has anyone else also faced the same problem? Please help me to sort this problem. (NS2 version 2.31) Is there any other code available for TCP socket support for NS2 ? Thanks in advance. Hitesh Khandelwal IIT Kanpur, INDIA From blerina at yahoo.com Sun Mar 30 05:28:24 2008 From: blerina at yahoo.com (kitty07) Date: Sun, 30 Mar 2008 05:28:24 -0700 (PDT) Subject: [ns] BGP ns2 module! Message-ID: <16302990.post@talk.nabble.com> Does anyone know if exists any BGP (Border Gateway Protocol) module for ns 2.31? :confused: i have just started using NS2 and i need this module for my further work!:working: Thank you for your time, B -- View this message in context: http://www.nabble.com/BGP-ns2-module%21-tp16302990p16302990.html Sent from the ns-users mailing list archive at Nabble.com. From hitesh.iitk at gmail.com Sun Mar 30 07:24:34 2008 From: hitesh.iitk at gmail.com (Hitesh Khandelwal) Date: Sun, 30 Mar 2008 19:54:34 +0530 Subject: [ns] BGP ns2 module! Message-ID: check this : http://www.ensc.sfu.ca/~ljilja/cnl/projects/BGP/ - Hitesh Khandelwal IIT Kanpur, INDIA From ns at integrated-it.net Sun Mar 30 08:01:14 2008 From: ns at integrated-it.net (NS) Date: Sun, 30 Mar 2008 16:01:14 +0100 Subject: [ns] Change the color of a packet on a link? In-Reply-To: <9df239ed0803300757x2837a3f8t4e83ad5a71306bac@mail.gmail.com> References: <9df239ed0803300757x2837a3f8t4e83ad5a71306bac@mail.gmail.com> Message-ID: <9df239ed0803300801jd180e9fga25658e6980be2dc@mail.gmail.com> Hi is there a way of changing the color of a packet on a link between two nodes? So if you have a pack come into $node1 that is has a duplex-link to $node2 can the packet change color to e.g. red then when it leaves $node2 to the next node it changes back color to its original color e.g. black? Thanks Mark From abdullahqawasmeh at yahoo.com Sun Mar 30 09:53:14 2008 From: abdullahqawasmeh at yahoo.com (abdullah qawasmeh) Date: Sun, 30 Mar 2008 09:53:14 -0700 (PDT) Subject: [ns] Direction for pkt-flow not specified; Sending pkt up the stack on default. Message-ID: <443570.35504.qm@web54106.mail.re2.yahoo.com> Hi All, I am getting a weird message ( Direction for pkt-flow not specified; Sending pkt up the stack on default. ) when I run a wireless simulation with a protocol that I wrote. I have checked all my code, and every time before I schedule a packet I set the common header's direction to DOWN. Does anybody know what happens after scheduling a packet?, because if the packet's pointer is passed to the receiving nodes, then when it is changed at one node, it will be changed at the other as well. So, does the simulator create a new instance of the scheduled packet before sending it to the receiving nodes, or it just passes its pointer? Thank you.... Abdulla --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From SYilmaz at aselsan.com.tr Sun Mar 30 11:45:16 2008 From: SYilmaz at aselsan.com.tr (Semra YILMAZ) Date: Sun, 30 Mar 2008 21:45:16 +0300 Subject: [ns] Why AODV cannot find a route Message-ID: <22DF48915EF5BF4998B4B34DE67C0A99814912@POSTA.aselsan.com.tr> Dear all ns users, For the following topology i am using DSR and AODV routing protocols. I define two ftp traffic from node 0 to node 3 and node 1 to node 3. When i use DSR, there is no problem, packets are flowing in the routes 0->2->3 and 1->2->3. But when i use AODV, traffic cannot be started because node 3 (sink node) is not in the communication range of node 0 or node 1, AODV cannot find a route to node 3. When i close the node 3 to node 0 and node 1 (that is into the communication range), traffic is flowing in the route 0->3 and 1->3. It seems AODV cannot define a route with intermediate route. The aim of a routing protocol should be to find a route to destination. But I don't understand why such a situation occurs. If you know the problem for such a situation, please help me. Many thanks in advance. Semra O node 1 (50, 228) O O node 2 (200, 178) node 3 (300, 178) O node 0 (50, 128) ###################################################################### 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 mohammed2742007 at yahoo.com Sun Mar 30 11:58:48 2008 From: mohammed2742007 at yahoo.com (mohamed saad) Date: Sun, 30 Mar 2008 11:58:48 -0700 (PDT) Subject: [ns] installation problem Message-ID: <956301.57882.qm@web45407.mail.sp1.yahoo.com> salamo alikom can you help me after installation of ns-2 i would to run this simulator what i do in details please gazak allah khiran --------------------------------- Special deal for Yahoo! users & friends - No Cost. Get a month of Blockbuster Total Access now From ashton.wilson at googlemail.com Sun Mar 30 12:38:51 2008 From: ashton.wilson at googlemail.com (Ash) Date: Sun, 30 Mar 2008 20:38:51 +0100 Subject: [ns] how to add shell script or shell command into tcl Re: how to add shell script or shell command into tcl script. Message-ID: <584727ba0803301238s57fa2de4wab4ff9fb96a258be@mail.gmail.com> Hi, the way I use is (to run a python script): exec ./scene_plot.py or if it returns an exception: catch {exec mkdir $opt(resultdir)} Try a search in google for "tcl shell commands" or something similar (this is tcl, rather than ns-2 syntax). Regards, Ash ====================== Message: 2 Date: Sat, 29 Mar 2008 11:27:11 +0800 From: =?GB2312?B?x/q+p9Oo?= Subject: [ns] how to add shell script or shell command into tcl script. To: ns-users Message-ID: <47EDB70F.8030502 at 163.com> Content-Type: text/plain; charset=GB2312 hi, all I wonder to know how to add shell script or shell command into tcl script. Thank you very much in advance. :) jingle From abdullahqawasmeh at yahoo.com Sun Mar 30 13:06:29 2008 From: abdullahqawasmeh at yahoo.com (abdullah qawasmeh) Date: Sun, 30 Mar 2008 13:06:29 -0700 (PDT) Subject: [ns] Trace analyzer. Message-ID: <636951.38682.qm@web54109.mail.re2.yahoo.com> Hi All. Does anybody know a good trace file analyzer for wireless traces? Regards, Abdulla --------------------------------- Like movies? Here's a limited-time offer: Blockbuster Total Access for one month at no cost. From mohammed2742007 at yahoo.com Sun Mar 30 13:40:21 2008 From: mohammed2742007 at yahoo.com (mohamed saad) Date: Sun, 30 Mar 2008 13:40:21 -0700 (PDT) Subject: [ns] installation problem Message-ID: <543584.38144.qm@web45401.mail.sp1.yahoo.com> salamo alikom i'am new user in linux where i run in it the power separated(turned off) graphical user interface desktop as in windows disappear and i becomes user black screen to write commands i want to retard desktop again what i do gazak allah khiran --------------------------------- You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. From hussainaks at hotmail.com Mon Mar 31 03:15:57 2008 From: hussainaks at hotmail.com (ahmad hussain) Date: Mon, 31 Mar 2008 15:15:57 +0500 Subject: [ns] separate uplink and downlink throughput calculation! Message-ID: I am simulating IEEE802.16 for a PMP scenario: for which I want to calculate throughputs in the uplink and downlink directions , separately. I am using new-trace format and also nam trace for analysis. But I am confused how to calulate throughtput on the BS. PLEASE help me. atleast give me a hint! _________________________________________________________________ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE From mademoiselle.louatif at yahoo.fr Mon Mar 31 05:00:44 2008 From: mademoiselle.louatif at yahoo.fr (fatma louati) Date: Mon, 31 Mar 2008 14:00:44 +0200 (CEST) Subject: [ns] include issue Message-ID: <399968.3486.qm@web23205.mail.ird.yahoo.com> hey everybody, I would like to include mac-802_11.h in ll.h file but a have a compilation problem. why? thx fatma --------------------------------- Envoy? avec Yahoo! Mail. Plus de moyens pour rester en contact. From andrecastelucio at yahoo.com.br Mon Mar 31 05:26:43 2008 From: andrecastelucio at yahoo.com.br (=?iso-8859-1?Q?Andr=E9_Castelucio?=) Date: Mon, 31 Mar 2008 05:26:43 -0700 (PDT) Subject: [ns] Res: BGP ns2 module! Message-ID: <491188.64259.qm@web56714.mail.re3.yahoo.com> Hi, try to use BGP++ module. It works fine for me. But it will work only for ns 2.26 http://www.ece.gatech.edu/research/labs/MANIACS/BGP++/ ----- Mensagem original ---- De: kitty07 Para: ns-users at ISI.EDU Enviadas: Domingo, 30 de Mar?o de 2008 9:28:24 Assunto: [ns] BGP ns2 module! Does anyone know if exists any BGP (Border Gateway Protocol) module for ns 2.31? :confused: i have just started using NS2 and i need this module for my further work!:working: Thank you for your time, B -- View this message in context: http://www.nabble.com/BGP-ns2-module%21-tp16302990p16302990.html Sent from the ns-users mailing list archive at Nabble.com. Abra sua conta no Yahoo! Mail, o ?nico sem limite de espa?o para armazenamento! http://br.mail.yahoo.com/ Abra sua conta no Yahoo! Mail, o ?nico sem limite de espa?o para armazenamento! http://br.mail.yahoo.com/ From tom.hennen at gmail.com Mon Mar 31 07:44:31 2008 From: tom.hennen at gmail.com (Tom Hennen) Date: Mon, 31 Mar 2008 10:44:31 -0400 Subject: [ns] AODV in a *wired* network In-Reply-To: References: Message-ID: Is it possible to run AODV on a wired network? It doesn't look like rtproto supports AODV and it looks like node-config is only for wireless networks. I'm using NS 2.31 on Cygwin Thanks, Tom From zampognaro at ing.uniroma2.it Mon Mar 31 08:22:13 2008 From: zampognaro at ing.uniroma2.it (Francesco Zampognaro) Date: Mon, 31 Mar 2008 17:22:13 +0200 Subject: [ns] Contribution - DVB-RCS DAMA Implementation in NS-2.32 Message-ID: <1206976933.7610.30.camel@franko-laptop> Dear all, I created a set of changes to NS-2.32 in order to run transport protocols over a simulated DVB-RCS satellite environment with DAMA (Demand Assignment Multiple Access) on the return link. It is different from the already present contribution in http://nsnam.isi.edu/nsnam/index.php/Contributed_Code named "TDMA DAMA" in using different selectable allocation algorithms and offering the possibility of mixing request strategies. Behaviour matches paper [1]. Work is still necessary to define a better MAC layer and to read DropTail queue status without the use of additional bound variables (see backlog_ in the patch), but the contribution is already perfectly working. Pointer to the patch, installation guide and test script are here: http://www.tlcsat.uniroma2.it/DAMA/ Some details on the implementation can be found here: http://www.tlcsat.uniroma2.it/archives/category/laboratorio/en/ Any advice is welcome... Thanks! Francesco Zampognaro. -------------------------------- [1] C. Roseti, E.Kristiansen, TCP behaviour in a DVB-RCS environment, in Proceedings 24th AIAA International Communications Satellite Systems Conference (ICSSC), San Diego, Jun. 2006 (http://www.tlcsat.uniroma2.it/wp-content/uploads/2007/04/man54548.pdf) -------------------------------- -- Francesco Zampognaro (Ph.D. student) Department of Electronics Engineering University of Rome "Tor Vergata" Via del Politecnico 1 - 00133 -Rome - Italy From lotzen2040 at yahoo.com Mon Mar 31 10:38:08 2008 From: lotzen2040 at yahoo.com (pejman) Date: Mon, 31 Mar 2008 10:38:08 -0700 (PDT) Subject: [ns] how to reduce forwarded packet size at an intermediate nodes Message-ID: <945100.24193.qm@web55614.mail.re4.yahoo.com> --------------------------------- No Cost - Get a month of Blockbuster Total Access now. Sweet deal for Yahoo! users and friends. From SYilmaz at aselsan.com.tr Mon Mar 31 11:06:20 2008 From: SYilmaz at aselsan.com.tr (Semra YILMAZ) Date: Mon, 31 Mar 2008 21:06:20 +0300 Subject: [ns] FW: Why AODV cannot find a route References: <22DF48915EF5BF4998B4B34DE67C0A99814912@POSTA.aselsan.com.tr> Message-ID: <22DF48915EF5BF4998B4B34DE67C0A9981491A@POSTA.aselsan.com.tr> Dear all, I need the answer of my question below, asap. Please send your comments if you have any idea. Thanks, Semra ________________________________ From: Semra YILMAZ Sent: Sun 30.03.2008 21:45 To: ns-users at ISI.EDU Subject: Why AODV cannot find a route Dear all ns users, For the following topology i am using DSR and AODV routing protocols. I define two ftp traffic from node 0 to node 3 and node 1 to node 3. When i use DSR, there is no problem, packets are flowing in the routes 0->2->3 and 1->2->3. But when i use AODV, traffic cannot be started because node 3 (sink node) is not in the communication range of node 0 or node 1, AODV cannot find a route to node 3. When i close the node 3 to node 0 and node 1 (that is into the communication range), traffic is flowing in the route 0->3 and 1->3. It seems AODV cannot define a route with intermediate route. The aim of a routing protocol should be to find a route to destination. But I don't understand why such a situation occurs. If you know the problem for such a situation, please help me. Many thanks in advance. Semra O node 1 (50, 228) O O node 2 (200, 178) node 3 (300, 178) O node 0 (50, 128) ###################################################################### 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 rakesh.cse.10182 at gmail.com Mon Mar 31 22:03:53 2008 From: rakesh.cse.10182 at gmail.com (rakesh chouhan) Date: Tue, 1 Apr 2008 10:33:53 +0530 Subject: [ns] problem with AODV Message-ID: <90a573540803312203w131b3914n664165403bdead25@mail.gmail.com> Dear all ns users, For the following topology i am using DSR and AODV routing protocols. I define two ftp traffic from node 0 to node 3 and node 1 to node 3. When i use DSR, there is no problem, packets are flowing in the routes 0->2->3 and 1->2->3. But when i use AODV, traffic cannot be started because node 3 (sink node) is not in the communication range of node 0 or node 1, AODV cannot find a route to node 3. When i close the node 3 to node 0 and node 1 (that is into the communication range), traffic is flowing in the route 0->3 and 1->3. It seems AODV cannot define a route with intermediate route. The aim of a routing protocol should be to find a route to destination. But I don't understand why such a situation occurs. If you know the problem for such a situation, please help me. Many thanks in advance. Semra O node 1 (50, 228) O O node 2 (200, 178) node 3 (300, 178) O node 0 (50, 128) From rakesh.cse.10182 at gmail.com Mon Mar 31 22:07:01 2008 From: rakesh.cse.10182 at gmail.com (rakesh chouhan) Date: Tue, 1 Apr 2008 10:37:01 +0530 Subject: [ns] analyze the trace file Message-ID: <90a573540803312207y5e0f438ak3ea53d8bcb614bfe@mail.gmail.com> hi all ns users i am using ns2 on windows platform, please tell me how we can calculate throughput of a network from the trace file(.tr) . thankx in advance From rakesh.cse.10182 at gmail.com Mon Mar 31 22:14:35 2008 From: rakesh.cse.10182 at gmail.com (rakesh chouhan) Date: Tue, 1 Apr 2008 10:44:35 +0530 Subject: [ns] how we can install a debugger on ns2 Message-ID: <90a573540803312214g509d6391qc414d6e2bfa16ac3@mail.gmail.com> hi all ns users i am using ns2 on windowsXP. i want to install a debugging a toll on ns2, i have tried many times for installing the debugger tool , but each time i failed, if anybody install it successfully on windows platform form , then please send me complete procedure for installing this, thankx. with regards, Rakesh Kumar From tomh at tomh.org Mon Mar 31 22:32:34 2008 From: tomh at tomh.org (Tom Henderson) Date: Mon, 31 Mar 2008 22:32:34 -0700 Subject: [ns] announcing ns-2.33 release and allinone package Message-ID: <47F1C8F2.8090303@tomh.org> This is to announce the posting of the ns-2.33 source code release and a corresponding ns-allinone-2.33 package. Downloads are available at the Sourceforge project pages: http://sourceforge.net/project/showfiles.php?group_id=149743 File checksums are located in the corresponding release notes on Sourceforge. There have been a number of significant contributions to ns-2 since the last release, and I'd like to acknowledge the work that people have done to contribute and integrate the following extensions. 1) several new 802.11 models -- Ilango Purushothaman's infrastructure mode extensions -- the 802.11Ext models from a Mercedes-Benz R&D, NA and University of Karlsruhe team -- dynamic libraries patch and multirate 802.11 library from Nicola Baldo and Federico Maguolo of the SIGNET group, University of Padova The ns-2 documentation has a new overview for 802.11 models, with pointers to more documentation: http://www.isi.edu/nsnam/ns/doc/node193.html#sec:802_11 The dynamic libraries patch is more generally applicable and is documented here: http://www.isi.edu/nsnam/ns/doc/node300.html 2) David Wei has improved the calendar queue scheduler: http://www.isi.edu/nsnam/ns/doc/node35.html 3) David also imported TCP congestion control models from the Linux kernel: http://www.isi.edu/nsnam/ns/doc/node403.html As usual, the release also includes several bug fixes that were discussed on the developer's list. A more descriptive change log is available at: http://www.isi.edu/nsnam/ns/CHANGES.html. Thanks also to the people who tested our release candidates. If people encounter problems with these releases, please post suggestions to the ns-developers mailing list, or file a bug report: http://nsnam.isi.edu/nsnam/index.php/Contributing#Reporting_a_bug For troubleshooting or workaround tips, please consult (and contribute to) the following wiki page: http://nsnam.isi.edu/nsnam/index.php/Troubleshooting - Tom