I am now simulate ns2.35 with GTS allocation at IEEE 802.15.4 MAC, but unfortunately the native ns2.35 still not supported yet about it.
Any body can help me... Eppy Yundra Electrical Enginering Pada Rabu, 30 April 2014 8:04, "ns-users-requ...@isi.edu" <ns-users-requ...@isi.edu> menulis: 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. mactype as mac/csma/ca (????? ?????) 2. Re: how to set packet type? (kerkerred) 3. Re: how to set packet type? (knudfl) 4. Re: mactype as mac/csma/ca (knudfl) 5. Re: LAR Patch (knudfl) 6. Re: LAR Patch (knudfl) ---------------------------------------------------------------------- Message: 1 Date: Tue, 29 Apr 2014 09:58:10 +0530 From: ????? ????? <harshadlnc...@gmail.com> Subject: [ns] mactype as mac/csma/ca To: ns-users@isi.edu Message-ID: <caohokbunvr5ukxpgxt5jgbmotl4ytbzjt8udhhxcmpoqd27...@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Dear Friends I am trying to execute the .tcl file in ns2.35 but getting following error "invalid command name "Mac/Csma/Ca" while executing "$val(mac) set bandwidth_ 200kbps" (file "AOMDV-Proposed.tcl" line 32) " I have used mactype as mac/csma/ca. please help me to resolve the above issue. -- *With Regards-:* *Harshad* ------------------------------ Message: 2 Date: Mon, 28 Apr 2014 23:35:29 -0700 (PDT) From: kerkerred <ms951...@hotmail.com.tw> Subject: Re: [ns] how to set packet type? To: ns-users@isi.edu Message-ID: <1398753329495-28642.p...@n7.nabble.com> Content-Type: text/plain; charset=us-ascii Really thanks for your suggestion! But I'm sorry that haven't mentioned that I have already modified ns-packet.tcl. And the packet type and the packet size are still can't set. On the other hand, my another goal is use new packet header to assign a variable "execute_time" with a exeponential time in 0.25s . And in my sendmsg function, there is a part of my code like hdr_task *task= hdr_task::access(pkt); task->execute_time=Random::exeponential(0.25); printf("packet executime is %f",task->execute_time); And it will result in Segment fault. So I change the code like following hdr_task *task= hdr_task::access(pkt); task->execute_time=0.25; printf("packet executime is %f",task->execute_time); Then the all packet executime is 0.25 now and no Segment fault. So I'm wonder that whether the new packet setting is fixed,for packet size , type , execute time ...etc . And all packet will be sended following this setting. If I change the execute_time every time when I invoked sendmsg , it will result in Segment fault. Or just my code have a problem in use memory ? My code AgentCPU.cc and AgentCPU.h is embed in the mail. Could someone give me some advising? Any suggestion very be very thankful!! AgentCPU.h <http://network-simulator-ns-2.7690.n7.nabble.com/file/n28642/AgentCPU.h> AgentCPU.cc <http://network-simulator-ns-2.7690.n7.nabble.com/file/n28642/AgentCPU.cc> -- View this message in context: http://network-simulator-ns-2.7690.n7.nabble.com/how-to-set-packet-type-tp28622p28642.html Sent from the ns-users mailing list archive at Nabble.com. ------------------------------ Message: 3 Date: Tue, 29 Apr 2014 02:56:49 -0700 (PDT) From: knudfl <knu...@ofir.dk> Subject: Re: [ns] how to set packet type? To: ns-users@isi.edu Message-ID: <1398765409686-28643.p...@n7.nabble.com> Content-Type: text/plain; charset=UTF-8 > @kerkerred > Segmentation fault ? #2 http://www.linuxquestions.org/questions/linux-newbie-8/aodv-uu-segmentation-fault-on-ns2-34-a-4175499342/#2 - -- View this message in context: http://network-simulator-ns-2.7690.n7.nabble.com/how-to-set-packet-type-tp28622p28643.html Sent from the ns-users mailing list archive at Nabble.com. ------------------------------ Message: 4 Date: Tue, 29 Apr 2014 10:59:38 -0700 (PDT) From: knudfl <knu...@ofir.dk> Subject: Re: [ns] mactype as mac/csma/ca To: ns-users@isi.edu Message-ID: <1398794378920-28645.p...@n7.nabble.com> Content-Type: text/plain; charset=UTF-8 > @ ????? ????? > Mac/Csma/Ca A "Mac/Csma/Ca" example that works : `csma.tcl? https://github.com/dnlove/ammac-ns2/blob/master/duy/tcl/csma.tcl I.e. you can try editing line 43 to MAC/Csma/Ca (Instead of `MAC/Csma/Cd?.) .. Which will work equally well as `MAC/Csma/Cd?. All "duy/tcl" https://github.com/dnlove/ammac-ns2/tree/master/duy/tcl Getting ammac-ns2 files : $ git clone https://github.com/dnlove/ammac-ns2 The same 'csma.tcl' is also present here .. http://www-sop.inria.fr/members/Eitan.Altman/ns.htm - -- View this message in context: http://network-simulator-ns-2.7690.n7.nabble.com/mactype-as-mac-csma-ca-tp28641p28645.html Sent from the ns-users mailing list archive at Nabble.com. ------------------------------ Message: 5 Date: Tue, 29 Apr 2014 11:10:53 -0700 (PDT) From: knudfl <knu...@ofir.dk> Subject: Re: [ns] LAR Patch To: ns-users@isi.edu Message-ID: <1398795053050-28646.p...@n7.nabble.com> Content-Type: text/plain; charset=us-ascii > @ billyfuad > how to patch LAR Which Linux OS are you using ? a) Please show the output from the command $ uname -m <Enter> b) OS name and version. - -- View this message in context: http://network-simulator-ns-2.7690.n7.nabble.com/LAR-Patch-tp27351p28646.html Sent from the ns-users mailing list archive at Nabble.com. ------------------------------ Message: 6 Date: Tue, 29 Apr 2014 14:29:55 -0700 (PDT) From: knudfl <knu...@ofir.dk> Subject: Re: [ns] LAR Patch To: ns-users@isi.edu Message-ID: <1398806995060-28648.p...@n7.nabble.com> Content-Type: text/plain; charset=us-ascii > @billyfuad > Ubuntu 12.04 - x86_64 OK, the LAR patching and the simulations are working with Ubuntu 12.04-x86_64. How to build ns-2.33 + toilers-LAR-DREAM : $ sudo apt-get install \ g++ g++-4.4 autoconf automake make patch libtool libxmu-dev xgraph nam $ cd ns-allinone-2.33/ $ tar xvf toilers-LAR-DREAM-ns233-patching.tar.gz $ export CC=gcc-4.4 CXX=g++-4.4 && ./install $ cd ns-2.33/ $ cp ns *ns-lar* $ sudo cp ns-lar /usr/local/bin/ .. That's it. Don't do anything else. Like adding a *PATH text to .bashrc : Not required. * Run the simulations in the directory lar-examples/ ( "lar-examples/" can have any location ) $ *ns-lar* ARP_TCP-box.tcl - -- View this message in context: http://network-simulator-ns-2.7690.n7.nabble.com/LAR-Patch-tp27351p28648.html Sent from the ns-users mailing list archive at Nabble.com. ------------------------------ _______________________________________________ Ns-users mailing list Ns-users@isi.edu http://mailman.isi.edu/mailman/listinfo/ns-users End of Ns-users Digest, Vol 124, Issue 22 *****************************************