Re: [ns] how to show delay time.... (DSDV , TORA)
>I tried to make simulation to show delay time, sending packets, and >receiving packet (to see lost packet during transmission) if I send a >packet from one node to the other. I used DSDV and TORA algorithm to do this. You could identify the event type (eg: r-receive , d-drop, + -enqueue, - -dequeue, s- sending) in the output trace & from there you could extract the iformation within each line of event type to calculate anything that you want like delay, throughput &etc > But until now, I haven't met a way how to write delay time in trace file You may calculate the delay based on the packet id in the trace output by subtracting its receiving time from sending time...this could be done with simple awk script... Lukman From: "ns-users-requ...@isi.edu" To: ns-users@ISI.EDU Sent: Thursday, March 19, 2009 12:00:24 AM Subject: Ns-users Digest, Vol 63, Issue 19 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 ns-users-requ...@isi.edu You can reach the person managing the list at ns-users-ow...@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 to show delay time (DSDV , TORA) (erniati amkha) 2. Fwd: No rule to make target `...@v_stlobj@', needed by `depend',while re-"make"ing the ns-2.33 (Laziz Yunusov) 3. Re: Fwd: No rule to make target `...@v_stlobj@',needed by `depend', while re-"make"ing the ns-2.33 (Kumar, Vineet) 4. How to communicate with both 802.11&16 networks? (simayeji) 5. ns2 node id regarding (muralikrishna g) 6. Fwd: Burst Cloning (Harsha Vardhan) 7. Here is the solution for assigning different power levels to different nodes.. (veronica diaza) 8. i got a patch file regarding span protocol...i patched it, but shows the following error when trying to compile span.tcl.please help (veronica diaza) 9. Problem While installing ns-allinone-2.31 (Udit Kumar) 10. Re: about optical burst switch (Jorge Moreira) 11. Re: disabling RTS/CTS does not work - RTSThreshold_ 3000 (Patxi Azpiroz) 12. Rayleigh Fading..how to include in the simulations (Achintya Jain) 13. ns2measure jain fairness index (Volker Richter) 14. guys are you working on any power aware protocols..please help (veronica diaza) 15. AODV whith no hello msg (sarym binome) 16. Re: AODV whith no hello msg (Mubashir Rehmani) 17. Help..wired to wirelsee problem (with script) (Franka Sitepu) 18. Re: Need OBS simulator (Jorge Moreira) -- Message: 1 Date: Wed, 18 Mar 2009 07:52:28 +0700 From: erniati amkha Subject: [ns] how to show delay time (DSDV , TORA) To: ns-users@ISI.EDU Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Hi.. guys I tried to make simulation to show delay time, sending packets, and receiving packet (to see lost packet during transmission) if I send a packet from one node to the other. I used DSDV and TORA algorithm to do this. But until now, I haven't met a way how to write delay time in trace file. is there anyone can help me, please? Thanks for your all help. -- Regard A Kha -- Message: 2 Date: Wed, 18 Mar 2009 10:22:37 +0900 From: Laziz Yunusov Subject: [ns] Fwd: No rule to make target `...@v_stlobj@', needed by `depend',while re-"make"ing the ns-2.33 To: ns-users@ISI.EDU Message-ID: <9c0de26e0903171822r7697dfb6tca933dabb7c2a...@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Unfortunately, this did not solve the problem. I guess that this may be due to updated GCC, because with older version 3.4.3, nobody seem to have such a problem. Then I even tried: yum install compat-gcc-34.i386 compat-gcc-34-c++.i386 And afterwards, while trying to make, I'm having: common/packet.cc:44: error: conflicting declaration ?char** p_info::name_ [62]? common/packet.h:295: error: ?p_info::name_? has a previous declaration as ?char* p_info::name_ [62]? common/packet.cc:44: error: declaration of ?char* p_info::name_ [62]? outside of class is not definition common/packet.cc:45: error: ?unsigned int p_info::nPkt_? is not a static member of ?class p_info? common/packet.cc:46: error: expected constructor, destructor, or type conversion before ?*? token common/packet.cc:48: error: no ?int p_info::addPacket(char*)? member function declared in class ?p_info? make: *** [common/packet.o] Error 1 Can anyone suggest another solution? -- Forwarded message -- From: Dimitris Liarokapis Date: Tue, Mar 17, 2009 at 6:51 PM Subject: Re: [ns] No rule to make target `...@v_stlobj@', needed by `depend', while re-"make"ing the ns-2.33 To: Laziz Yun
[ns] How to measure the power consumption of nodes present in the network......please help....
H all.I am working on "Minimum energy consumption in wireless networks"...I want to measure the power consumed by the all nodes present in the work.If you guys have any tcl file regarding this please send me the link or the code...send me any relevant codes or links related to this thingThanks in advance
[ns] installation ns under linux problem
hi i had problem with nam under cyqwin/x and now i install linux ubuntu 8.10 then try to install ns2.33and2.30 when i run ns installation with ../install after 5 mins i see this error : make:***[tk3d.o] error1 tk8.4..13 make failed! exiting... after that i follow this link : http://nsnam.isi.edu/nsnam/index.php/Installing_ns2.31_on_Ubuntu7.04 but when i try to edit sources.list i see this error : you do not permission to save this file. whats my problem and solution? thanks mr.ali.balador homepage:www.balador.org
[ns] measure SINR or CINR at the Subscriber Station (Mobile node)
Hi all, I need to measure SINR or CINR of the signal received at SS node in a 802.16 WiMAX scenario so I can use the maxCINR algorithm to schedule the packet, but I don't know how to do. Can you help me NS users? Thank all of you in advance!
[ns] Re : installation ns under linux problem
Hello, Follow the steps mentioned in this link and you will succeed to install NS2..33 "http://www.jasonernst.com/2008/06/11/ns-233-and-nam-on-ubuntu-804-hardy-heron/"; Hope this helps. --- En date de : Jeu 19.3.09, ali bala a écrit : De: ali bala Objet: [ns] installation ns under linux problem À: "ns ns" , teera...@tot.co.th, teera...@ece.ubc.ca, volker.rich...@gmx.de Date: Jeudi 19 Mars 2009, 14h35 hi i had problem with nam under cyqwin/x and now i install linux ubuntu 8.10 then try to install ns2.33and2.30 when i run ns installation with ../install after 5 mins i see this error : make:***[tk3d.o] error1 tk8.4..13 make failed! exiting... after that i follow this link : http://nsnam.isi.edu/nsnam/index.php/Installing_ns2.31_on_Ubuntu7.04 but when i try to edit sources.list i see this error : you do not permission to save this file. whats my problem and solution? thanks mr.ali.balador homepage:www.balador.org
[ns] ns2 installation : X11 problem with ns2.31
Hi Friends, While I am running ./install command to install *ns-allinone-2.31*, I am getting below ERRORS : My machine deatils are as follows : [u...@trishul ex]$ uname -a Linux trishul 2.6.9-42.0.10.EL #1 Fri Feb 16 17:03:28 EST 2007 x86_64 x86_64 x86_64 GNU/Linux Please help me ASAP, I need to start my project on this, I will be very thankful of all of you. Thanks & Regards, Udit Kumar *[u...@trishul ns-allinone-2.31]$ ./install* g++ -o nam \ tkcompat.o tkUnixInit.o xwd.o netview.o netmodel.o edge.o packet.o node.o main.o trace.o queue.o drop.o animation.o agent.o feature.o route.o transform.o paint.o state.o monitor.o anetmodel.o random.o rng.o view.o graphview.o netgraph.o tracehook.o lan.o psview.o group.o editview.o tag.o address.o animator.o wnetmodel.o nam_stream.o enetmodel.o testview.o parser.o trafficsource.o lossmodel.o queuehandle.o gen/version.o gen/nam_tcl.o -L/home/students/ms/udit/SLDM/project/ns-allinone-2.31/ns-allinone-2.31/tclcl-1.19 -ltclcl -L/home/students/ms/udit/SLDM/project/ns-allinone-2.31/ns-allinone-2.31/otcl-1.13 -lotcl -L/home/students/ms/udit/SLDM/project/ns-allinone-2.31/ns-allinone-2.31/lib -ltk8.4 -L/home/students/ms/udit/SLDM/project/ns-allinone-2.31/ns-allinone-2.31/lib -ltcl8.4 -L/usr/lib -lz -L/usr/X11R6/lib -lXext -lX11 -lnsl -ldl -lm /usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz /usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXext.so when searching for -lXext /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXext.a when searching for -lXext /usr/bin/ld: cannot find -lXext collect2: ld returned 1 exit status * It seems there is issue with " /usr/X11R6/lib/libXext" compatability with ns2, Please tell me from where I can download **X11R6** compatable with ns2.31. ** And It is telling to set few environment variable, I did this but While I am running "./validate" command then also it is showing below problem in validate tests.* Tests: tahoe1 tahoe1Bytes tahoe1RED tahoe1REDbytes tahoe2 tahoe3 tahoe3RED tahoe4 no_bug bug reno1 reno renoA reno2 reno3 reno4 reno4a reno5 reno5_nobug telnet delayed phase phase1 phase2 timers manyflows stats statsECN stats1 stats1Bytes stats1a stats1aBytes statsHeaders stats2 stats3 stats4 statsTFRC Running test tahoe1: ../../ns test-suite-simple.tcl tahoe1 QUIET Guide: Tahoe TCP with multiple packets dropped from a window of data. True average queue: 0.425 time: 4.997 Test output agrees with reference output Running test tahoe1Bytes: ../../ns test-suite-simple.tcl tahoe1Bytes QUIET Guide: DropTail queue in bytes instead of packets. True average queue: 425.245 (in bytes) time: 4.997 Test output agrees with reference output Running test tahoe1RED: ../../ns test-suite-simple.tcl tahoe1RED QUIET Guide: RED queue, configured for 5 packets instead of DropTail's 6 packets. True average queue: 0.425 time: 4.997 * While running ns using simple.tcl , it is shwoing issue as below:* [u...@trishul ex]$ ns simple.tcl 210 0.0037499 running nam... ns: finish: couldn't execute "nam": no such file or directory while executing "exec nam out.nam &" (procedure "finish" line 8) invoked from within "finish"
[ns] tcl code execution in c++
hi to all.. i have toexecute the some tcl code through c++ code... i have to make a condition in classifier.. and if the condition satisfies i have to execute some tcl code.. how to do this.. please help me in detail.. thanks in advance