Hi! I want to work with TDMA protocol in NS-2. But NS-2 documentation doesn't talk much about TDMA implemntation. Can someone give me any links/pointers for a detailed description of this TDMA protocol? Or if you have any source code of your work, which may be help me to develop my methodology.
Thanks in advance. GM ------------------------------------- G M Shafiullah Master of Engineering (Research) Student Centre for Railway Engineering (CRE) Faculty of Sciences, Engineering and Health Central Queensland University Rockhampton, Qld 4702 AUSTRALIA Phone: 61 7 4930 9313 Mobile:61 4 3208 5800 Email: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 22, 2007 10:00 AM To: ns-users@ISI.EDU Subject: Ns-users Digest, Vol 44, Issue 24 Send Ns-users mailing list submissions to ns-users@isi.edu To subscribe or unsubscribe via the World Wide Web, visit http://mailman.isi.edu/mailman/listinfo/ns-users or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of Ns-users digest..." Today's Topics: 1. packet inter-arrival time monitoring in FTP traffic?!! (Farzaneh Razavi Armaghani) 2. How can i set transmission difference rage (Phitsanu Eamsomboon) 3. Re: How can i set transmission difference rage (Daniel Mahrenholz) 4. How set difference transmission rage (Phitsanu Eamsomboon) 5. someone working with the ns2hcca patch ? (jorbustos1) 6. Re: need help to evaluate performance of mesh routing protocols (Ababaa Hamba) 7. need help to evaluate performance of wire less mesh network routing protocols (Ababaa Hamba) 8. The reception of the packets at the destination (Yi Jiazi) 9. invalid command name "Application/MmApp" w/ns tutorial (Candace Phelps) 10. found the right version of tclsh (AZHAR MOHD ARIS) 11. GPSR compile and simulation (mikel larra?aga negro) 12. re problems with setdest (JEHD MAHDI) ---------------------------------------------------------------------- Message: 1 Date: Tue, 21 Aug 2007 00:19:16 -0700 (PDT) From: Farzaneh Razavi Armaghani <[EMAIL PROTECTED]> Subject: [ns] packet inter-arrival time monitoring in FTP traffic?!! To: ns-users@ISI.EDU Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=iso-8859-1 Dear friends, How can I monitor the packet inter-arrival time in a FTP traffic over TCP? Rgrds. Farzaneh. --------------------------------- Shape Yahoo! in your own image. Join our Network Research Panel today! ------------------------------ Message: 2 Date: Tue, 21 Aug 2007 14:19:25 +0700 From: "Phitsanu Eamsomboon" <[EMAIL PROTECTED]> Subject: [ns] How can i set transmission difference rage To: Ns-users@ISI.EDU Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1 Dear All My name is Phitsanu from Thailand , I to do my research about ad hoc network , In my research having 100 mobile nodes but I want to set 50 nodes can communicated in 250 m and another 50 node communicated in 500 node . How can I set in tcl for NS-2 ? Please help me!! Best regard Phitsanu ------------------------------ Message: 3 Date: Tue, 21 Aug 2007 09:40:20 +0200 From: Daniel Mahrenholz <[EMAIL PROTECTED]> Subject: Re: [ns] How can i set transmission difference rage To: Phitsanu Eamsomboon <[EMAIL PROTECTED]> Cc: Ns-users@ISI.EDU Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Phitsanu Eamsomboon schrieb: > Dear All > My name is Phitsanu from Thailand , I to do my research about > ad hoc network , In my research having 100 mobile nodes but I want to > set 50 nodes can communicated in 250 m and another 50 node > communicated in 500 node . How can I set in tcl for NS-2 ? > > Use antennas with different gains. Change the global settings for the antenna gain before you create a node. That means, set it to (for example) to 2dBi for the first 50 nodes and 8dBi for the next 50. Use the propagation.cc utility to calculate the exact parameters (search the list for details). But be aware, the transmission range depends on both, the sender and the receiver. That means, if you have two kinds of nodes (A and B) you get 3 different combinations and hence communication ranges (e.g. A->A: 250m, A->B: 400m, B->B: 500m). Hope this helps, Daniel. -- Dr.-Ing. Daniel Mahrenholz rt-solutions.de GmbH Oberl?nder Ufer 190a D-50968 K?ln Web: www.rt-solutions.de rt-solutions.de networks you can trust. ------------------------------ Message: 4 Date: Tue, 21 Aug 2007 15:25:26 +0700 From: "Phitsanu Eamsomboon" <[EMAIL PROTECTED]> Subject: [ns] How set difference transmission rage To: Ns-users@ISI.EDU Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1 Dear all Please tell me if you know how can I set tcl code for set 50 node communicated in 250 m range and another 50 nodes in 500 m range ? I 'd like to see some code for set it by having difference range communicated Anyone help me, Please Best regard Phitsanu ------------------------------ Message: 5 Date: Tue, 21 Aug 2007 02:15:36 -0700 (PDT) From: jorbustos1 <[EMAIL PROTECTED]> Subject: [ns] someone working with the ns2hcca patch ? To: ns-users@ISI.EDU Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=us-ascii Hello all If someone is working with the ns2hcca patch from http://info.iet.unipi.it/~cng/ns2hcca, someone could tell or explain me why in the example included in the directory tcl/ex/hcca (example.tcl) the delays in DCF are smaller than the delays in HCCA. this should not be this way because the delays in hcca should be smaller than the delays in DCF because HCCA guarantees quality of service (QoS) y DCF don't guarantees QoS I appreciate your time and your help. And I apologize for any inconvenience that this cause. Thank you for everything. Bye Jorge Bustos -- View this message in context: http://www.nabble.com/someone-working-with-the-ns2hcca-patch---tf4304018 .html#a12251133 Sent from the ns-users mailing list archive at Nabble.com. ------------------------------ Message: 6 Date: Tue, 21 Aug 2007 02:22:10 -0700 (PDT) From: Ababaa Hamba <[EMAIL PROTECTED]> Subject: Re: [ns] need help to evaluate performance of mesh routing protocols To: ns-users@ISI.EDU Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=iso-8859-1 I'm confused how to proceed. I was tried to do evaluation of multichannel and multi interface support for wireless mesh, I downloaded the ns-2.29_multichan and it didn't workk. And later, I started to evaluate performance of mesh routing protools and they are not fully supported in ns2.(only AODV,TORA,DSR and DSDV which are adhoc routing) can any body help me? --------------------------------- Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. ------------------------------ Message: 7 Date: Tue, 21 Aug 2007 04:27:49 -0700 (PDT) From: Ababaa Hamba <[EMAIL PROTECTED]> Subject: [ns] need help to evaluate performance of wire less mesh network routing protocols To: ns-users@ISI.EDU Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=iso-8859-1 I'm confused how to proceed. I was tried to do evaluation of multichannel and multi interface support for wireless mesh, I downloaded the ns-2.29_multichan and it didn't workk. And later, I started to evaluate performance of mesh routing protools and they are not fully supported in ns2.(only AODV,TORA,DSR and DSDV which are adhoc routing) can any body help me? --------------------------------- Shape Yahoo! in your own image. Join our Network Research Panel today! ------------------------------ Message: 8 Date: Tue, 21 Aug 2007 14:02:34 +0200 From: "Yi Jiazi" <[EMAIL PROTECTED]> Subject: [ns] The reception of the packets at the destination To: ns-users@ISI.EDU Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1 Dear all, I was using UM-OLSR (0.88, NS2.29) to simulate the network and trying to do some operation at the destination. Normally, we add this kind of code in the recv() method for reception: *recv() {* ..... ** * if (ch->direction() == hdr_cmn::UP && ((u_int32_t)ih->daddr() == IP_BROADCAST || ih->daddr() == ra_addr())) { //....do sth. ...* * dmux_->recv(p, 0); return; }* ** *}* ** But it seems that when the NS2 is trying to receive the packet at the destination, the recv() method is never called, and the packet is delivered directly from the MAC layer to AGT layer. And from the trace file I got: r -t 9.799191277 -Hs 1 -Hd 1 -Ni 1 -Nl MAC -Nw --- --Ii 622 -Iv 29 -Pn cbr -Pi 0 -Pf 4 -Po 3 //the mac layer of the destination get the packet r -t 9.799216277 -Hs 1 -Hd 1 -Ni 1 -Nl AGT -Nw --- --Ii 622 -Iv 29 -Pn cbr -Pi 0 -Pf 4 -Po 3 //and pass it to the AGT layer, without passing the RTR layer The situation is the same with DSDV and AODV protocol in NS2. But in DSR, we have: r -t 9.801548775 -Hs 1 -Hd 1 -Ni 1 -Nl MAC -Nw --- - -Ii 0 -Iv 30 -Pn cbr -Pi 0 -Pf 3 -Po 3 r -t 9.801573775 -Hs 1 -Hd 1 -Ni 1 -Nl RTR -Nw --- --Ii 0 -Iv 30 -Pn cbr -Pi 0 -Pf 3 -Po 3 //here the packet is in RTR layer!!! This is what I want r -t 9.801573775 -Hs 1 -Hd 1 -Ni 1 -Nl AGT -Nw --- - -Ii 0 -Iv 30 -Pn cbr -Pi 0 -Pf 3 -Po 3 I try to analyse the differece in the code between the protocols, but have no idea about this problem. Is there anyone know about it? It will really save my ass.... Thank you in advance. Best regards, J. Yi ------------------------------ Message: 9 Date: Tue, 21 Aug 2007 10:38:43 -0600 From: Candace Phelps <[EMAIL PROTECTED]> Subject: [ns] invalid command name "Application/MmApp" w/ns tutorial To: ns-users@ISI.EDU Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Hello ns-users, I am attempting to run the example code here (http://nile.wpi.edu/NS/ - just click on 'Add new application and agent') and I have downloaded it and made the appropriate changes. When I run 'ns ex-mm-app.tcl' I get this error: ns: [code omitted because of length] : invalid command name "Application/MmApp" while executing "Application/MmApp set rate0_ 0.3mb" Has anyone else had and solved this error? Thanks for any help. -- Sincerely, Candace Phelps ------------------------------ Message: 10 Date: Wed, 22 Aug 2007 01:59:52 +0800 From: "AZHAR MOHD ARIS" <[EMAIL PROTECTED]> Subject: [ns] found the right version of tclsh To: ns-users@ISI.EDU Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1 When configured, ns found the right version of tclsh in /home/azhar/ns2install/bin/tclsh8.4 but it doesn't seem to be there anymore, so ns will fall back on running the first tclsh in your path. The wrong version of tclsh may break the test suites. Reconfigure and rebuild ns if this is a problem. actually , when i search the /home/azhar/ns2install/bin/tclsh8.4 i remember that 'ns2install' was in my old installation directory. is it mean i need to run back my installation ./install again? or i need to make a littel changes -- AZHAR MOHD ARIS Master Candidate Of Distributed Computing University Putra of Malaysia ------------------------------ Message: 11 Date: Tue, 21 Aug 2007 20:40:49 +0200 (CEST) From: mikel larra?aga negro <[EMAIL PROTECTED]> Subject: [ns] GPSR compile and simulation To: ns simulador <ns-users@ISI.EDU> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=iso-8859-1 Dear all I want to use GPSR protocol in ns2.27. I have done all this steps that I have found in internet 1- Create a directory "gpsr" with gpsr.cc and gpsr.h in it. 2- Declare gpsr packets in common/packet.h, adding PT_GPSR and in packet.h with name_[PT_GPSR] = "GPSR" 3- The tracing support doesn't need to be implemented right know. 4- In tcl/lib/ns-packet.tcl add "GPSR". Then you'll have to declare all defaults values of gpsr binded attributes in tcl/lib/ns-default.tcl. To do it easily, have a look at the end of the ns-default.tcl file originally used bu gpsr in ns2.1b6. You'll get everything you need. It should look like Agent/GPSR set ..... Copy paste it to your ns-default.tcl file. 5- You have to add procedures to create gpsr nodes in tcl/lib/ns-lib.tcl. You must add in Simulator instproc create-wireless-node args{ .... } the following: GPSR { set ragent [$self create-gpsr-agent $node] } Then, add the pocedure Simulator instproc create-protoname create-gpsr-agent {node} { set ragent [ne Agent/GPSR] $ragent node $node $self at 0.0 "$ragent start" return $ragent } 6- Finally, update the makefile to compile everything by adding the folowin line gpsr/gpsr.o\ However, when I try to compile gpsr.h, I get many errors. Does anybody have the same problems??How can I solucionate it? Thanks to everybody, MIKEL --------------------------------- S? un Mejor Amante del Cine ?Quieres saber c?mo? ?Deja que otras personas te ayuden!. ------------------------------ Message: 12 Date: Tue, 21 Aug 2007 18:56:20 +0000 From: JEHD MAHDI <[EMAIL PROTECTED]> Subject: [ns] re problems with setdest To: ns2 mailing <ns-users@ISI.EDU> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="Windows-1252" hi there i get this message when i run the make comand at the /setdest directory: g++ -c -Dstand_alone [EMAIL PROTECTED]@ -DCPP_NAMESPACE=std -Wall -o setdest.o setdest.ccsetdest.cc:55:32: error: ../../../tools/rng.h: No such file or directorysetdest.cc:140: error: expected constructor, destructor, or type conversion before ?*? tokensetdest.cc: In function ?double uniform()?:setdest.cc:146: error: ?rng? was not declared in this scopesetdest.cc: In function ?int main(int, char**)?:setdest.cc:348: error: ?rng? was not declared in this scopesetdest.cc:348: error: expected type-specifier before ?RNG?setdest.cc:348: error: expected `;' before ?RNG?setdest.cc:349: error: ?RNG? has not been declaredsetdest.cc:349: error: ?HEURISTIC_SEED_SOURCE? was not declared in this scopemake: *** [setdest.o] Error 1what is the solution?!! J Mahdi Newcastle Upon Tyne ********************** _________________________________________________________________ 100?s of Music vouchers to be won with MSN Music https://www.musicmashup.co.uk/index.html ------------------------------ _______________________________________________ Ns-users mailing list Ns-users@isi.edu http://mailman.isi.edu/mailman/listinfo/ns-users End of Ns-users Digest, Vol 44, Issue 24 ****************************************