Hi Folks! Is there anyone who runs LEACH or any other Mac/routing protocl successfully in NS-2? Can you provide me code and necessary suggestions? Thanks in advance. Regards, 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: Tuesday, November 27, 2007 11:00 AM To: [email protected] Subject: Ns-users Digest, Vol 47, Issue 25 Send Ns-users mailing list submissions to [email protected] 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. Re: help in emergency plz (abdqds) 2. Re: Calculating from trace file (abdqds) 3. Calculation from Trace file (Livian Zah) 4. reg power aware routing in wsn (Arunrajkumar Parthiban) 5. changing priority of 4 queues of EDCA dynamically???? (Basim Javed) 6. PHY error model feedback to MAC (Basim Javed) 7. Rate-limit and rate-limit-strategy (Arturo Servin) ---------------------------------------------------------------------- Message: 1 Date: Sun, 25 Nov 2007 17:13:19 -0800 (PST) From: abdqds <[EMAIL PROTECTED]> Subject: Re: [ns] help in emergency plz To: [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=us-ascii Basim Javed wrote: > > > Dear all > > I am a newbie in NS2. I need an urgent help regarding; > > 1- I found many main() in C++ code, although I was expecting only one, > which would control the whole NS - what does this mean? > 2- Apparently 802.11e is not part of NS 2.31, and there is code > available at some sites. How should I fit that separate code into the > big NS 2.31; place of keeping it; recompiling steps etc? > 3- Any help specifically to change the parameter set of EDCA, during > start of superframes? How to do it, and any code available? > 4- Do I need to understand the class hierarchy of NS 2.31 in order to > run it after modifying or adding some code of my own? where to put > that added code? > steps involved? > > I would highly appreciate any help (even related to 802.11 context). > Thank you very much. > > kind regards > B > > hello Basim, plz provide information about the patch and web link so some can help. on the other hand you should have the instructions along with the patch file to use it with NS. regards, -- View this message in context: http://www.nabble.com/help-in-emergency-plz-tf4869385.html#a13942173 Sent from the ns-users mailing list archive at Nabble.com. ------------------------------ Message: 2 Date: Sun, 25 Nov 2007 17:17:22 -0800 (PST) From: abdqds <[EMAIL PROTECTED]> Subject: Re: [ns] Calculating from trace file To: [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=us-ascii Gladiator Trojan wrote: > > > Hello > > How can I calculate these following things From a Trace file ? > > 1.Throughput > 2. Packet Drop Rate > 3. GoodPut > 4, Availabe BW > > Very urgent for me. > > > > --------------------------------- > Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See > how. > > This is just an example awk script to calculate Throughput. It may help you. BEGIN { ue1_throughput=0; } { if($1=="r" && $4==2 && $5=="tcp" && $8 == 0) { ue1_throughput = ue1_throughput + $6 - 40; } } END { print "Throughputs for each user equipment ->" print "Total throughput achieved by UE1: "(ue1_throughput/10)*(8/1000) "kbps"; print "End of Results"; } -- View this message in context: http://www.nabble.com/Calculating-from-trace-file-tf4869595.html#a139422 93 Sent from the ns-users mailing list archive at Nabble.com. ------------------------------ Message: 3 Date: Sun, 25 Nov 2007 18:08:27 -0800 (PST) From: Livian Zah <[EMAIL PROTECTED]> Subject: [ns] Calculation from Trace file To: NS-User <[email protected]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=iso-8859-1 How can I calculate these following things From a Trace file ? 1.Throughput 2. Packet Drop Rate 3. GoodPut 4, Availabe BW I will higly appretaite anyone's suggestion. Thanks in advance. --------------------------------- Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. ------------------------------ Message: 4 Date: Mon, 26 Nov 2007 15:42:05 +0530 From: "Arunrajkumar Parthiban" <[EMAIL PROTECTED]> Subject: [ns] reg power aware routing in wsn To: [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1 Dear Sir, Could you suggest me steps or tutorials for implementing any existing power aware routing protocol in wireless sensor networks in ns-2.31? Yesterday i tried to generate the scene file located in indep-utils using setdest command.In that it has a parameter for max speed -> 20m/sec.That is for mobile node.To make it static, i tried giving the value 0.0.but it didn't take it.could you help me out? -- Regards, P.Arun Raj Kumar M.Tech Final Year Computer Science NIT,Trichy. INDIA ------------------------------ Message: 5 Date: Mon, 26 Nov 2007 21:12:55 +0100 From: "Basim Javed" <[EMAIL PROTECTED]> Subject: [ns] changing priority of 4 queues of EDCA dynamically???? To: "NS Users" <[email protected]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1 Hi dear all I am using NS2.31 and EDCA patch of TU Berlin (EDCA_ns-2_28-v1-0-2.tgz) Within this EDCA patch, there is one patch file called priority.tcl and it holds values for some parameters of 4 priority queues of EDCA: I need to change these values dynamically during the run time of EDCA...please guide me how I can do so? I guess file priority.tcl is read once and these parameter values are fed into the C++ code where EDCA would be implemented, and then they remain as it is during the whole period of simulation. I need to change these parameter values dynamically when a certain event occurs??? thank you very much for your help. kind regards Basim ------------------------------ Message: 6 Date: Mon, 26 Nov 2007 21:21:51 +0100 From: "Basim Javed" <[EMAIL PROTECTED]> Subject: [ns] PHY error model feedback to MAC To: "NS Users" <[email protected]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1 dear all I am using NS2.31 and EDCA patch of TU Berlin (EDCA_ns-2_28-v1-0-2.tgz). When using a certain error model, for instance uniform distributed for IEEE 802.11e, then how can I get error information from PHY to MAC/LLC. What I mean is that I want to set some error model, and when there is an actual error over PHY, I want to trigger an event...any idea? Where would this probably be done, in TCL or C++, and how? Is it possible to make a trace file of MAC level throughput at a certain node??? thanks for your help. kind regards Basim ------------------------------ Message: 7 Date: Mon, 26 Nov 2007 22:40:44 +0000 From: Arturo Servin <[EMAIL PROTECTED]> Subject: [ns] Rate-limit and rate-limit-strategy To: NS-User <[email protected]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1 I wonder if somebody has any documentation about rate-limit and rate-limit-strategy. Both are under ns/pushback. thanks, -as ------------------------------ _______________________________________________ Ns-users mailing list [email protected] http://mailman.isi.edu/mailman/listinfo/ns-users End of Ns-users Digest, Vol 47, Issue 25 ****************************************
