i want to simulate a wireless network and apply CLASSBASE QUEUE as the scheduing algorithm, can any one help me out wth code for this?
[EMAIL PROTECTED] wrote: 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. ns-allinone-21b5 installation problem (Mulugeta Berhe) 2. NS2 TCPDump Output (Miller, Justin Ray (UMR-Student)) 3. throughput, delay calculation-alternative way... :( (JEHD MAHDI) 4. Re: propagation model : simpledistance "invalid command name" (Candace Phelps) 5. TBRPF,EXoR & OLSR implementation in ns2.29 (Ababaa Hamba) 6. Tracing MPLS to file instead of stdout (Misty MSt) 7. Dear NS-users, please help me about error of tora ad hoc routing!! (ByungJoon Oh) 8. Multistreaming of SCTP in ns-2 ([EMAIL PROTECTED]) 9. Wrong node routing agent (AZHAR MOHD ARIS) 10. Problem in installing ns-2.30 allinone ([EMAIL PROTECTED]) 11. Re: TBRPF,EXoR & OLSR implementation in ns2.29 (Candace Phelps) 12. Re: Tracing MPLS to file instead of stdout (Candace Phelps) 13. Re: Dear NS-users, please help me about error of tora ad hoc routing!! (Candace Phelps) ---------------------------------------------------------------------- Message: 1 Date: Wed, 29 Aug 2007 13:16:19 +0300 From: "Mulugeta Berhe" Subject: [ns] ns-allinone-21b5 installation problem To: ns-users@ISI.EDU Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1 Hi all, I am trying to install ns-allinone-2.1b5 on cygwin, but I got this error, *.* *.* *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 for tcl.h... -I.../tclbox/include **checking for libtcl8.0... -L../tclbox/lib -ltcl8.0 **checking for init.tcl... ../tclbox/lib/tcl8.0 **checking for tclsh8.0.4 ... no* *checking for tclsh8.0 ... no* *checking for tclsh ... no* *checking for tclsh7.6 ... no **configure: error: Installation of tcl seems incomplete * *Please correct the problem or re-run by --with-tcl=no. otcl-1.0a4 configuration failed! exiting...* ** please help. Thank you ------------------------------ Message: 2 Date: Wed, 29 Aug 2007 08:20:31 -0500 From: "Miller, Justin Ray (UMR-Student)" Subject: [ns] NS2 TCPDump Output To: Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" Hi all, I read that at some point TCPDump output was in the works for NS, does anyone know what became of that? What I'd like to be able to do is simulate a small network and output TCPDump log files for it. Being able to seed intrusions is crucial to my work. Thanks! Justin [EMAIL PROTECTED] ------------------------------ Message: 3 Date: Wed, 29 Aug 2007 14:48:53 +0000 From: JEHD MAHDI Subject: [ns] throughput, delay calculation-alternative way... :( To: ns2 mailing Message-ID: Content-Type: text/plain; charset="iso-8859-1" hi there is there any alternative ways to calculate t & d without using the awk scripts or similar?? i have the scripts , but strangely they just wouldn't work!! cheers J Mahdi Newcastle Upon Tyne ********************** _________________________________________________________________ Feel like a local wherever you go with BackOfMyHand.com http://www.backofmyhand.com ------------------------------ Message: 4 Date: Wed, 29 Aug 2007 09:00:33 -0600 From: Candace Phelps Subject: Re: [ns] propagation model : simpledistance "invalid command name" To: ns-users@ISI.EDU Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" > invalid command name "Propagation/sdist" I was having the same problem, and as far as I can tell from scouring the web, the reason is that you made some changes to some ns files and you have not yet recompiled ns. Solution: In directory: $ns-allinone-2.31/ns-2.31, type the following: ./configure make clean make This should/may/might solve the problem. :-) It didn't for me because I had other problems, but hopefully you won't. See here for more information: http://w3.antd.nist.gov/seamlessandsecure/doc.html -- Sincerely, Candace Phelps 3rd Yr Honors CS Student Quoting AZHAR MOHD ARIS : > > ------------------------------ Message: 5 Date: Wed, 29 Aug 2007 08:44:35 -0700 (PDT) From: Ababaa Hamba Subject: [ns] TBRPF,EXoR & OLSR implementation in ns2.29 To: ns-users@ISI.EDU Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=iso-8859-1 PLZ anybody who can help me where I get patches for OLSR,EXOR & TBRPF in ns2.29. --------------------------------- Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. ------------------------------ Message: 6 Date: Wed, 29 Aug 2007 13:02:18 -0300 From: "Misty MSt" Subject: [ns] Tracing MPLS to file instead of stdout To: ns-users@ISI.EDU Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Hi, I would like to know how to trace MPLS and LDP to a file instead of stdout, looking at the test-file-suite i couldnt find any way. So far im using those lines to trace mpls/ldp. Agent/LDP set trace_ldp_ 1 Classifier/Addr/MPLS set trace_mpls_ 1 but those output to stdout, and when i use: set tr [open out.tr w] $ns trace-all $tr I dont get MPLS traces inside the file. Do i need to call the trace_mpls_ functions before $ns trace-all , or it doesnt really matter? Thanks in advance, ------------------------------ Message: 7 Date: Wed, 29 Aug 2007 12:31:24 -0400 From: "ByungJoon Oh" Subject: [ns] Dear NS-users, please help me about error of tora ad hoc routing!! To: "mailing list ns-2" Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="ks_c_5601-1987" Dear respect NS-users, I got error message of tora routing with same between ns-2.29 and ns-2.28. so please help me to figure out it. I'm waiting to your kindly response for me. Thank you in advance. Best regards, ByungJoon Oh, ##############################ns-2.29 version###################### [EMAIL PROTECTED]:~> ns wrls-tora2.tcl num_nodes is set 4 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl warning: no class variable Mac/802_11::MaxSDUSize_ see tcl-object.tcl in tclcl for info about this warning. (_o19 cmd line 1) invoked from within "_o19 cmd ll _o21" 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 "_o19" line 2) (SplitObject unknown line 2) invoked from within "$mac ll $ll" (procedure "_o14" line 97) (Node/MobileNode add-interface line 97) invoked from within "$node add-interface $chan $propInstance_ $llType_ $macType_ $ifqType_ $ifqlen_ $phyType_ $antType_ $topoInstance_ $inerrProc_ $outerrProc_ $FECProc_" (procedure "_o3" line 73) (Simulator create-wireless-node line 73) invoked from within "_o3 create-wireless-node" ("eval" body line 1) invoked from within "eval $self create-wireless-node $args" (procedure "_o3" line 23) (Simulator node line 23) invoked from within "$ns node" ("for" body line 2) invoked from within "for {set i 0} {$i < $val(nn) } { incr i } { set node_($i) [$ns node] }" (file "wrls-tora2.tcl" line 54) ##############################ns-2.28 version###################### see tcl-object.tcl in tclcl for info about this warning. (_o19 cmd line 1) invoked from within "_o19 cmd ll _o21" 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 "_o19" line 2) (SplitObject unknown line 2) invoked from within "$mac ll $ll" (procedure "_o14" line 97) (Node/MobileNode add-interface line 97) invoked from within "$node add-interface $chan $propInstance_ $llType_ $macType_ $ifqType_ $ifqlen_ $phyType_ $antType_ $topoInstance_ $inerrProc_ $outerrProc_ $FECProc_" (procedure "_o3" line 73) (Simulator create-wireless-node line 73) invoked from within "_o3 create-wireless-node" ("eval" body line 1) invoked from within "eval $self create-wireless-node $args" (procedure "_o3" line 23) (Simulator node line 23) invoked from within "$ns node" ("for" body line 2) invoked from within "for {set i 0} {$i < $val(nn) } { incr i } { set node_($i) [$ns node] }" (file "wrls-tora2.tcl" line 54) ------------------------------ Message: 8 Date: Wed, 29 Aug 2007 10:17:45 -0700 (PDT) From: Subject: [ns] Multistreaming of SCTP in ns-2 To: ns-users@ISI.EDU Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Hi, I am working on SCTP using ns-2. Can anyone help me with any example of multistreaming property where I can fed different packets to different streams with different levels of reliability? With regards, Ashfiqua ------------------------------ Message: 9 Date: Thu, 30 Aug 2007 01:19:00 +0800 From: "AZHAR MOHD ARIS" Subject: [ns] Wrong node routing agent To: "Faisal Luqman" Cc: ns-users@ISI.EDU Message-ID: Content-Type: text/plain; charset=ISO-8859-1 asw. i want to share my happiness with you .. Eureka!! ..i crack the code with no error.. but the ouput..ermmm >num_nodes is set 6 >Wrong node routing agent! any comment? ------------------------------ Message: 10 Date: Wed, 29 Aug 2007 11:22:33 -0700 (PDT) From: Subject: [ns] Problem in installing ns-2.30 allinone To: [EMAIL PROTECTED] Cc: ns-users@ISI.EDU Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1 Hello Mr. Harpeet, I am sorry to bother you but I am having the same problem as you in installing ns-2 (http://mailman.isi.edu/pipermail/ns-users/2007-February/058898.html; The subject of the mail was: urgent : problem in installing ns2). I am using Fedora Sig version for Linux and trying to install ns-2.30. I searched the mailing list but found no answer. It'll be a great help for me if you please let me know how you solved your problem. Thanking you, Ashfiqua ------------------------------ Message: 11 Date: Wed, 29 Aug 2007 12:34:00 -0600 From: Candace Phelps Subject: Re: [ns] TBRPF,EXoR & OLSR implementation in ns2.29 To: ns-users@ISI.EDU Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" > PLZ anybody who can help me where I get patches for OLSR,EXOR & > TBRPF in ns2.29. Have you tried the one here? I am using 2.31 myself, but this might help you: http://www.isi.edu/nsnam/ns/ns-problems.html#ns-2.29 -- Sincerely, Candace Phelps 3rd Yr Honors CS Student Quoting Ababaa Hamba : > > PLZ anybody who can help me where I get patches for OLSR,EXOR & > TBRPF in ns2.29. > > --------------------------------- > Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s > user panel and lay it on us. > > ------------------------------ Message: 12 Date: Wed, 29 Aug 2007 12:40:54 -0600 From: Candace Phelps Subject: Re: [ns] Tracing MPLS to file instead of stdout To: ns-users@ISI.EDU Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" > I would like to know how to trace MPLS and LDP to a file It looks like you should be able to specify whatever file you want the MPLS traces to go to....Have you tried this below? http://www.juniper.net/techpubs/software/junos/junos53/swconfig53-mpls-apps/html/mpls-miscellaneous-config6.html -- Sincerely, Candace Phelps 3rd Yr Honors CS Student Quoting Misty MSt : > > Hi, > > I would like to know how to trace MPLS and LDP to a file instead of stdout, > looking at the test-file-suite i couldnt find any way. So far im using those > lines to trace mpls/ldp. > > > Agent/LDP set trace_ldp_ 1 > > Classifier/Addr/MPLS set trace_mpls_ 1 > > > > but those output to stdout, and when i use: > > set tr [open out.tr w] > > $ns trace-all $tr > > I dont get MPLS traces inside the file. > > > > Do i need to call the trace_mpls_ functions before $ns trace-all , or it > doesnt really matter? > > > > Thanks in advance, > > ------------------------------ Message: 13 Date: Wed, 29 Aug 2007 13:20:22 -0600 From: Candace Phelps Subject: Re: [ns] Dear NS-users, please help me about error of tora ad hoc routing!! To: ns-users@ISI.EDU Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" > Dear respect NS-users, Hello! :-))) In general, a good way to start to troubleshoot a problem on your own is to type (or copy and paste) the warning into google and see what you find. :-) If you're having this problem, someone else has probably had it, too. > warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl I also find it helpful to *read* the warning messages and do as suggested. :-) Try to read the code in that file and see how it relates to what you are doing. I am not sure what you are trying to do exactly....if you want to have 2 channels, see the comment at Ln 114 of the above file. > warning: no class variable Mac/802_11::MaxSDUSize_ When I had this error, I solved it by googling and finding out what someone else had done. I found a solution to be setting the variable (in your case, MaxSDUSize_) to a number inside the file ns-default.tcl (located here in my case: cphelps/ns-allinone-2.31/ns-2.31/tcl/lib/ns-default.tcl). The format is as shown in the file: SuperClass/Class set _variable_name_ # eg Agent/MyAgentOtcl set my_var1_otcl 1.0 Hope that helps. 8-) -- Sincerely, Candace Phelps 3rd Yr Honors CS Student Quoting ByungJoon Oh : > > Dear respect NS-users, > > I got error message of tora routing with same between ns-2.29 and ns-2.28. > so please help me to figure out it. > I'm waiting to your kindly response for me. > > Thank you in advance. > > Best regards, > ByungJoon Oh, > > ##############################ns-2.29 version###################### > [EMAIL PROTECTED]:~> ns wrls-tora2.tcl > num_nodes is set 4 > warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl > warning: no class variable Mac/802_11::MaxSDUSize_ > > see tcl-object.tcl in tclcl for info about this warning. > > > (_o19 cmd line 1) > invoked from within > "_o19 cmd ll _o21" > 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 "_o19" line 2) > (SplitObject unknown line 2) > invoked from within > "$mac ll $ll" > (procedure "_o14" line 97) > (Node/MobileNode add-interface line 97) > invoked from within > "$node add-interface $chan $propInstance_ $llType_ $macType_ > $ifqType_ $ifqlen_ $phyType_ $antType_ $topoInstance_ $inerrProc_ > $outerrProc_ $FECProc_" > (procedure "_o3" line 73) > (Simulator create-wireless-node line 73) > invoked from within > "_o3 create-wireless-node" > ("eval" body line 1) > invoked from within > "eval $self create-wireless-node $args" > (procedure "_o3" line 23) > (Simulator node line 23) > invoked from within > "$ns node" > ("for" body line 2) > invoked from within > "for {set i 0} {$i < $val(nn) } { incr i } { > set node_($i) [$ns node] > }" > (file "wrls-tora2.tcl" line 54) > > > ##############################ns-2.28 version###################### > > see tcl-object.tcl in tclcl for info about this warning. > (_o19 cmd line 1) > invoked from within > "_o19 cmd ll _o21" > 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 "_o19" line 2) > (SplitObject unknown line 2) > invoked from within > "$mac ll $ll" > (procedure "_o14" line 97) > (Node/MobileNode add-interface line 97) > invoked from within > "$node add-interface $chan $propInstance_ $llType_ $macType_ > $ifqType_ $ifqlen_ $phyType_ $antType_ $topoInstance_ $inerrProc_ > $outerrProc_ $FECProc_" > (procedure "_o3" line 73) > (Simulator create-wireless-node line 73) > invoked from within > "_o3 create-wireless-node" > ("eval" body line 1) > invoked from within > "eval $self create-wireless-node $args" > (procedure "_o3" line 23) > (Simulator node line 23) > invoked from within > "$ns node" > ("for" body line 2) > invoked from within > "for {set i 0} {$i < $val(nn) } { incr i } { > set node_($i) [$ns node] > }" > (file "wrls-tora2.tcl" line 54) > > ------------------------------ _______________________________________________ Ns-users mailing list Ns-users@isi.edu http://mailman.isi.edu/mailman/listinfo/ns-users End of Ns-users Digest, Vol 44, Issue 32 **************************************** ALWAYS BE COURAGEOUS. --------------------------------- Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.