Re: [ns] Implementing new manet protocol
Hi Nassim, There are some typos in the tutorial. Sometimes "accessible_var" is miswritten as "accesible_var". Just have to find every occurrence of the latter and correct the name. Regards, fran On Tuesday 05 June 2007 10:51, nassim laga wrote: > Hi All, > > I try to implement a new Manet protocol according to > "ImplementingNewMANetProtocol" tutorial. > > but the following errors occurs when i try to simulate any script : > > ns: > [code omitted because of length] > > : invalid command name "Agent/Protoname" > > while executing > "Agent/Protoname set accessible_var_ true" > > > Can any one help me? > > regards, > Nassim > > > - > Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions > ! Profitez des connaissances, des opinions et des expériences des > internautes sur Yahoo! Questions/Réponses. -- Francisco J. Ros, Ph.D. Student Dept. of Information and Communications Engineering University of Murcia, Murcia (Spain) http://masimum.inf.um.es/fjrm/
Re: [ns] Implementing new manet protocol
Hi again, That's another problem, which has been reported several times in this list. Either you aren't recompiling the simulator, or "Protoname" isn't written always in the same way (the protocol name is case-sensitive). Regards, fran On Tuesday 05 June 2007 13:50, nassim laga wrote: > I think that the problem is not on accessible_var_!!! > i remove the line "Agent/protoname set accessible_var_ true" in > "ns-default.tcl" and all occurence of the "accessible_var_" on the .cc and > .h files. and now i get the following errors : > > num_nodes is set 2 > invalid command name "Agent/Protoname" > while executing > "Agent/Protoname create _o17 0" > invoked from within > "catch "$className create $o $args" msg" > invoked from within > "if [catch "$className create $o $args" msg] { > if [string match "__FAILED_SHADOW_OBJECT_" $msg] { > delete $o > return "" > } > global errorInfo > error "class $..." > (procedure "new" line 3) > invoked from within > "new Agent/Protoname [$node node-addr]" > (procedure "_o3" line 2) > (Simulator create-protoname-agent line 2) > invoked from within > "$self create-protoname-agent $node" > ("Protoname" arm line 2) > invoked from within > "switch -exact $routingAgent_ { > Protoname { > set ragent [$self create-protoname-agent $node] > } > DSDV { > set ragent [$self create-dsdv-agent $node] > } > DSR {..." > (procedure "_o3" line 11) > (Simulator create-wireless-node line 11) > 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] > $node_($i) random-motion 0 ;# disable random > motion }" > (file "simple-wireless.tcl" line 97) > > > Can any one help me, > > Regards, > Nassim > > "Francisco J. Ros" <[EMAIL PROTECTED]> a écrit : Hi Nassim, > > There are some typos in the tutorial. Sometimes "accessible_var" is > miswritten as "accesible_var". Just have to find every occurrence of the > latter and correct the name. > > Regards, > fran > > On Tuesday 05 June 2007 10:51, nassim laga wrote: > > Hi All, > > > > I try to implement a new Manet protocol according to > > "ImplementingNewMANetProtocol" tutorial. > > > > but the following errors occurs when i try to simulate any script : > > > > ns: > > [code omitted because of length] > > > > : invalid command name "Agent/Protoname" > > > > while executing > > "Agent/Protoname set accessible_var_ true" > > > > > > Can any one help me? > > > > regards, > > Nassim > > > > > > - > > Découvrez une nouvelle façon d'obtenir des réponses à toutes vos > > questions ! Profitez des connaissances, des opinions et des expériences > > des internautes sur Yahoo! Questions/Réponses. -- Francisco J. Ros, Ph.D. Student Dept. of Information and Communications Engineering University of Murcia, Murcia (Spain) http://masimum.inf.um.es/fjrm/
[ns] Ns-users Digest, Vol 42, Issue 6
gt; } > > DSDV { > > set ragent [$self create-dsdv-agent $node] > > } > > DSR {..." > > (procedure "_o3" line 11) > > (Simulator create-wireless-node line 11) > > 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] > > $node_($i) random-motion 0 ;# disable > random > > motion }" > > (file "simple-wireless.tcl" line 97) > > > > > > Can any one help me, > > > > Regards, > > Nassim > > > > "Francisco J. Ros" <[EMAIL PROTECTED]> a ?crit : Hi Nassim, > > > > There are some typos in the tutorial. Sometimes "accessible_var" is > > miswritten as "accesible_var". Just have to find every occurrence of the > > latter and correct the name. > > > > Regards, > > fran > > > > On Tuesday 05 June 2007 10:51, nassim laga wrote: > > > Hi All, > > > > > > I try to implement a new Manet protocol according to > > > "ImplementingNewMANetProtocol" tutorial. > > > > > > but the following errors occurs when i try to simulate any script : > > > > > > ns: > > > [code omitted because of length] > > > > > > : invalid command name "Agent/Protoname" > > > > > > while executing > > > "Agent/Protoname set accessible_var_ true" > > > > > > > > > Can any one help me? > > > > > > regards, > > > Nassim > > > > > > > > > - > > > D?couvrez une nouvelle fa?on d'obtenir des r?ponses ? toutes vos > > > questions ! Profitez des connaissances, des opinions et des > exp?riences > > > des internautes sur Yahoo! Questions/R?ponses. > > -- > Francisco J. Ros, Ph.D. Student > Dept. of Information and Communications Engineering > University of Murcia, Murcia (Spain) > > http://masimum.inf.um.es/fjrm/ > > > > -- > > Message: 3 > Date: Wed, 6 Jun 2007 01:17:39 -0700 (PDT) > From: EFE MADAGWA <[EMAIL PROTECTED]> > Subject: [ns] Ns2 installation errors > To: ns-users@ISI.EDU > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > Hello, > > Can anyone help me find out what the error messages i am getting means > and how i can resolve them? > > This errors comes up after the ./install command. > > Please find attached are the error messages. > > Thanks. > > Efe > > > - > Ready for the edge of your seat? Check out tonight's top picks on Yahoo! > TV. > -- next part -- > An embedded and charset-unspecified text was scrubbed... > Name: ns2 install errors1.txt > Url: > http://mailman.isi.edu/pipermail/ns-users/attachments/20070606/2fe36d6d/ns2installerrors1.txt > -- next part -- > An embedded and charset-unspecified text was scrubbed... > Name: ns2 installation errors.txt > Url: > http://mailman.isi.edu/pipermail/ns-users/attachments/20070606/2fe36d6d/ns2installationerrors.txt > > -- > > ___ > Ns-users mailing list > Ns-users@isi.edu > http://mailman.isi.edu/mailman/listinfo/ns-users > > > End of Ns-users Digest, Vol 42, Issue 6 > *** >
Re: [ns] help required regarding analysis of tracefile
Hi, I think you're talking about the awk scripts to interpret the output file given by the simulator, or not? Because that files look for the "d". I was talking about the second method: "[Method 2---modify C++ code] The basic idea is to insert two fields, sendtime_ and pkt_id_, in the hdr_cmn header. When packets are sent, the packet id and send time is recorded in the sender trace file. Then when packets are received at the destination, the packet id and receiving time is recorded in the receiver trace file. So I prepare two agents, mudp and mudpsink to do the jobs. Mudp is the extension of udp agent. It only overrides the sendmsg function to keep download the packet id and sendtime in the user specified file." The agent by itself records special events needed to calculate Jitter, Data loss and delay. This is a way to measure the channel characterists with UDP flows.
[ns] ns-2 on windows vista
Hi, Im about to upgrade to Windows Vista if all my software is compatible. Has anybody used Cygwin and NS-2 on Vista? If you have, did you have any problems with it? Regards Karun Dambiec
[ns] ns-2 on windows vista
I'm using cygwin 1.5.24 and ns-2 2.31 on Vista Home Premium. There was no problem on installing it, but a few test have failed on validation (as promessed in the tutorial). I recomend you to use all-in-one package and install a full cygwin (default installation does't install some packages needed). Sidney Doria 2007/6/6, Karun Dambiec <[EMAIL PROTECTED]>: > > Hi, > > Im about to upgrade to Windows Vista if all my software is compatible. > > Has anybody used Cygwin and NS-2 on Vista? If you have, did you have any > problems with it? > > > > Regards > > Karun Dambiec > > -- Sidney Doria Redes ad hoc móveis Mestrado em Computação UFCG Brasil "Nessa jornada, o conhecimento será o seu escudo..." (Mestre dos Magos no episódio do grimoire de ouro)
[ns] NIST- About the "Couldn't schedule timer" error, comparation with the debug files
Hi, I turned on the 2 debug commands," Mac/802_16 set debug_ 1" and i added the following line to the file Makefile "-DDEBUG_WIMAX". First i executed the script with the parameters: WimaxScheduler/BS set dlratio_ 0.56 Mac/802_16 set frame_duration_ 0.010 Mac/802_16 set fbandwidth_ 7e+6 Phy/WirelessPhy/OFDM set g_ 0.25 I got this error message: "Couldn't schedule timer" and then i executed with this parameters: WimaxScheduler/BS set dlratio_ 0.56 Mac/802_16 set frame_duration_ 0.010 Mac/802_16 set fbandwidth_ 6.9e+6 Phy/WirelessPhy/OFDM set g_ 0.25 and i didn't got any error. The difference between the two debug files is shown bellow. First I would like to ask, the difference between 7e6 and 6.9e+6 is 0.001 hz of channel size, so i can use the value 6.9..9 instead of 7e6, and the results will be almost the same? The big difference between the two debug files is: From the file without errors, with 6.9e+6 hz of channel size: In Mac 0 max data=223 (burst duration=6, b_data=59) OFDM phy sending packet. Modulation is 3, cyclic prefix is 0.25 At 0.045412 in Mac 1 SS scheduler dlsubframe expires 0 OFDM phy receiving packet with mod=3 and cp=0.25 At 0.045412 in Mac 1 receive first bit..over at 0.045431(txtime=0.19) (type=MAC) mngt=2 OFDM phy sending packet. Modulation is 3, cyclic prefix is 0.25 At 0.045431 in Mac 1 packet received (type=MAC) mngt=2 SS 1 received MAC packet to process From the file with error, with 7e6 hz of channel size: In Mac 0 max data=223 (burst duration=6, b_data=59) OFDM phy sending packet. Modulation is 3, cyclic prefix is 0.25 At 0.045412 in Mac 1 SS scheduler dlsubframe expires 0 Warning: OFDM phy not in receiving state. Drop packet. OFDM phy sending packet. Modulation is 3, cyclic prefix is 0.25 Warning: OFDM phy not in receiving state. Drop packet. At 0.051046 in Mac 0 BS scheduler ulsubframe expires The other differences are shown bellow (made with the utility "diff" to compare files ). The PSleft is different, since the bandwidth was different. file without error: -Fs updated. Bw=699.999000, n=1.142857, new value is 7.992000e+06 -Fs updated. Bw=699.999000, n=1.142857, new value is 7.992000e+06 -Frame: duration=0.01, PSduration=5.005005e-07, symboltime=4.004004e-05, nbPS=19980, rtg=10, ttg=10, PSleft=19960, nbSymbols=249, maxdlduration=139, maxulduration=110 -At 0.020982 in Mac 0 BS scheduler ulsubframe expires -Frame: duration=0.01, PSduration=5.005005e-07, symboltime=4.004004e-05, nbPS=19980, rtg=10, ttg=10, PSleft=19960, nbSymbols=249, maxdlduration=139, maxulduration=110 < At 0.025457 in Mac 1 Start contention in 0.000447(backoff=3, size=298, ps=0.01) < Uplink starts in 0.005525 (framestate=0.025412) 19980.00 249.75 < At 0.030982 in Mac 0 BS scheduler ulsubframe expires < At 0.030983 in Mac 1 SS scheduler ulsubframe expires < At 0.031430 in Mac 1 sending packet (type=MAC, size=19, txtime=0.69) mngt=4 < At 0.031430 in Mac 0 receive first bit..over at 0.031500(txtime=0.69) (type=MAC) mngt=4 < At 0.031500 in Mac 0 packet received (type=MAC) mngt=4 < Frame: duration=0.01, PSduration=5.005005e-07, symboltime=4.004004e-05, nbPS=19980, rtg=10, ttg=10, PSleft=19960, nbSymbols=249, maxdlduration=139, maxulduration=110 < OFDM phy receiving packet with mod=3 and cp=0.25 < At 0.035412 in Mac 1 receive first bit..over at 0.035431(txtime=0.19) (type=MAC) mngt=2 --- file with error: -Fs updated. Bw=700.00, n=1.142857, new value is 8.00e+06 -Fs updated. Bw=700.00, n=1.142857, new value is 8.00e+06 -Frame: duration=0.01, PSduration=5.00e-07, symboltime=4.00e-05, nbPS=2, rtg=10, ttg=10, PSleft=19980, nbSymbols=249, maxdlduration=139, maxulduration=110 - At 0.021046 in Mac 0 BS scheduler ulsubframe expires - Frame: duration=0.01, PSduration=5.00e-07, symboltime=4.00e-05, nbPS=2, rtg=10, ttg=10, PSleft=19980, nbSymbols=249, maxdlduration=139, maxulduration=110 > At 0.025457 in Mac 1 Start contention in 0.000450(backoff=3, size=300, > ps=0.00) > Uplink starts in 0.005589 (framestate=0.025412) 2.00 250.00 > At 0.031046 in Mac 0 BS scheduler ulsubframe expires > At 0.031047 in Mac 1 SS scheduler ulsubframe expires > At 0.031497 in Mac 1 sending packet (type=MAC, size=19, txtime=0.69) > At 0.031497 in Mac 0 receive first bit..over at 0.031566(txtime=0.69) > (type=MAC) mngt=4 > At 0.031566 in Mac 0 packet received (type=MAC) mngt=4 > Frame: duration=0.01, PSduration=5.00e-07, symboltime=4.00e-05, > nbPS=2, rtg=10, ttg=10, PSleft=19980, nbSymbols=249, maxdlduration=139, > maxulduration=110 > Warning: OFDM phy not in receiving state. Drop packet. kindly, Tiago Junqueira
[ns] NIST- it's correct the example wimax1_teste.tcl
Hi, I was testing the example wimax1_teste.tcl, after running, i executed: grep ^r out.res | grep MAC | grep -c cbr grep ^s out.res | grep MAC | grep -c cbr and the results were Packets sent=100, Packets received =100. And then i changed the set gap_size 0.0005 ;#compute gap size between packets and i was expecting to have 1/(0.0005) [pkt/sec] *100 [sec] =20 pkt sent, but after running the command: grep ^s out.res | grep MAC | grep -c cbr I got 119423, so the command grep ^s out.res | grep MAC | grep -c cbr, is not valid if the bandwidth requested by the source is bigger than the bandwidth available in the channel?
[ns] how to fix shedular going backwards error..........
hi frnds when i run a simulation for mobile ip i got the following problem warning :scheduler going backwards in time from 64.566271 to 0.00. it is occured when i added a queue to FA , my code is enqueing the packets to Q nd dequeing the packets from Q. please any one suggest me a solutin to over come this error thanks
[ns] hdr_cmn in Packet.h
What exactly is this structure used for? Is it an all-purpose packet header which can act for TCP, UDP, ARP, etc, etc?
[ns] Help: error when compiling NS format
Hello evry body, When i am running the NS format of BRITE, set ns [new Simulator] //set na [open result.tr w] set nf [open result.nam w] $ns trace-all $na $ns namtrace-all $nf proc create_topology{} { global ns #nodes: set num_node 10 for {set i 0} {$i < $num_node} {incr i} { set n($i) [$ns node] } #links: set qtype DropTail $ns duplex-link $n(0) $n(7) 10.0Mb 1.7236454605492773ms $qtype $ns duplex-link $n(0) $n(4) 10.0Mb 2.5564353126456334ms $qtype $ns duplex-link $n(1) $n(7) 10.0Mb 1.9596429275415095ms $qtype $ns duplex-link $n(1) $n(6) 10.0Mb 2.0836465083411677ms $qtype $ns duplex-link $n(2) $n(1) 10.0Mb 0.8198962034098675ms $qtype $ns duplex-link $n(2) $n(0) 10.0Mb 3.0748983334134015ms $qtype $ns duplex-link $n(3) $n(2) 10.0Mb 0.6000909853028569ms $qtype $ns duplex-link $n(3) $n(1) 10.0Mb 0.888971781786488ms $qtype $ns duplex-link $n(4) $n(2) 10.0Mb 0.9660698044229389ms $qtype $ns duplex-link $n(4) $n(1) 10.0Mb 1.5722337603014132ms $qtype $ns duplex-link $n(5) $n(2) 10.0Mb 0.3916502734935236ms $qtype $ns duplex-link $n(5) $n(3) 10.0Mb 0.9404910499632333ms $qtype $ns duplex-link $n(6) $n(4) 10.0Mb 0.560635812568718ms $qtype $ns duplex-link $n(6) $n(3) 10.0Mb 2.105093379697943ms $qtype $ns duplex-link $n(7) $n(4) 10.0Mb 0.8762329434458621ms $qtype $ns duplex-link $n(7) $n(3) 10.0Mb 2.2576992000241027ms $qtype $ns duplex-link $n(8) $n(3) 10.0Mb 0.7707929361579221ms $qtype $ns duplex-link $n(8) $n(2) 10.0Mb 0.7620023348075393ms $qtype $ns duplex-link $n(9) $n(1) 10.0Mb 0.5599606345953886ms $qtype $ns duplex-link $n(9) $n(8) 10.0Mb 1.5000522372102496ms $qtype } #end function create_topology #- extract_leaf_nodes: array with smallest degree nodes - proc extract_leaf_nodes{} { # minimum degree in this graph is: 2. set leaf(0) 5 set leaf(1) 9 } #end function extract_leaf_nodes #-- extract_nonleaf_nodes: array with nodes which have degree > 2 --- proc extract_nonleaf_nodes{} { set non_leaf(0) 0 #deg=3 set non_leaf(1) 1 #deg=6 set non_leaf(2) 2 #deg=6 set non_leaf(3) 3 #deg=6 set non_leaf(4) 4 #deg=5 set non_leaf(5) 6 #deg=3 set non_leaf(6) 7 #deg=4 set non_leaf(7) 8 #deg=3 } #end function extract_nonleaf_nodes $ns run// i have this error : wrong # args: should be "proc name args body" while executing "proc create_topology{} { global ns n num_node #nodes: set num_node 10 for {set i 0} {$i < $num_node} {incr i} { set n($i) [$ns node] } }" (file "u1.tcl" line 17) I don't know exactly with args it talks about. if some body now it please help me. Bst regards, _ Avec Windows Live OneCare éliminez tous les virus de votre PC ! http://www.windowslive.fr/liveonecare/default.asp
Re: [ns] Weighted Round Robin
Hello again, I did founfd out some pach that install another patch: wfq-1.2.1 ( http://www.cc.jyu.fi/~sayenko/srpms/wfq-1.2.1.tar.gz ) , but now I can't run the example. I get an error like this: invalid command name "Queue/WFQ" while executing "Queue/WFQ create _o16 " invoked from within "catch "$className create $o $args" msg" invoked from within "if [catch "$className create $o $args" msg] { if [string match "__FAILED_SHADOW_OBJECT_" $msg] { delete $o return "" } global errorInfo error "class $..." (procedure "new" line 3) invoked from within "new Queue/$qtype" ("default" arm line 3) invoked from within "switch -exact $qtype { ErrorModule { if { [llength $args] > 0 } { set q [eval new $qtype $args] } else { set q [new $qtype Fid] } } intserv { set qtyp..." (procedure "_o3" line 14) (Simulator simplex-link line 14) invoked from within "_o3 simplex-link _o10 _o13 5Mb 2ms WFQ" ("eval" body line 1) invoked from within "eval $self simplex-link $n1 $n2 $bw $delay $type $args" (procedure "_o3" line 8) (Simulator duplex-link line 8) invoked from within "$ns duplex-link $n0 $n1 5Mb 2ms WFQ" (file "example.tcl" line 12) Like I didn't patch: ./patch "directory where ns appear". When I did patch again I get this message: copying wfq files ... done patching Makefile.in ... 1 out of 1 hunk FAILED -- saving rejects to file Makefile.in.rej patching tcl/lib/ns-default.tcl ... Reversed (or previously applied) patch detected! Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tcl/lib/ns-default.tcl.rej patching tcl/lib/ns-lib.tcl ... Reversed (or previously applied) patch detected! Skipping patch. 2 out of 2 hunks ignored -- saving rejects to file tcl/lib/ns-lib.tcl.rej Please HELP! - Original Message From: KaLiF <[EMAIL PROTECTED]> To: ns-users@isi.edu Sent: Tuesday, June 5, 2007 3:33:29 PM Subject: Weighted Round Robin Hello, I'm trying to find this algorithms :Weighted Round Robin, Oldest Queue, Longest Queue, Total Queue Length and Total File Lenngth to simulate it for my project. At least one of them. Could anyone tell me from where I can find them? Although I have to find the sending delay in a wireless transmission between 10 nodes, I found a file named cbrgen.tcl that I could modify, but the nodes (users) have diffrent type of rates (they are from diffrent type of QoS) and there I can put only one rate in the variables; and what's the meaning of seeds. I'm a beginner in NS, and because i don't know where to look, these things freak me and the License exam is at the door: knock, knock... Thanks in advance. Nu citi nimic din ceea ce nu doresti sa tii minte si nu tine minte nimic din ceea ce n-ai de gind sa aplici Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news
[ns] Fw: Weighted Round Robin
Although I'm trying to install from http://www.ee.surrey.ac.uk/Personal/L.Wood/ns/mirror/ the http://www.ee.surrey.ac.uk/Personal/L.Wood/ns/mirror/gprs-072501-2.1b7a.tar.gz but no success till now... Could anyone give an adwice about installing it. THX! - Forwarded Message From: KaLiF <[EMAIL PROTECTED]> To: ns-users@isi.edu Sent: Wednesday, June 6, 2007 8:30:31 PM Subject: Re: Weighted Round Robin Hello again, I did founfd out some pach that install another patch: wfq-1.2.1 ( http://www.cc.jyu.fi/~sayenko/srpms/wfq-1.2.1.tar.gz ) , but now I can't run the example. I get an error like this: invalid command name "Queue/WFQ" while executing "Queue/WFQ create _o16 " invoked from within "catch "$className create $o $args" msg" invoked from within "if [catch "$className create $o $args" msg] { if [string match "__FAILED_SHADOW_OBJECT_" $msg] { delete $o return "" } global errorInfo error "class $..." (procedure "new" line 3) invoked from within "new Queue/$qtype" ("default" arm line 3) invoked from within "switch -exact $qtype { ErrorModule { if { [llength $args] > 0 } { set q [eval new $qtype $args] } else { set q [new $qtype Fid] } } intserv { set qtyp..." (procedure "_o3" line 14) (Simulator simplex-link line 14) invoked from within "_o3 simplex-link _o10 _o13 5Mb 2ms WFQ" ("eval" body line 1) invoked from within "eval $self simplex-link $n1 $n2 $bw $delay $type $args" (procedure "_o3" line 8) (Simulator duplex-link line 8) invoked from within "$ns duplex-link $n0 $n1 5Mb 2ms WFQ" (file "example.tcl" line 12) Like I didn't patch: ./patch "directory where ns appear". When I did patch again I get this message: copying wfq files ... done patching Makefile.in ... 1 out of 1 hunk FAILED -- saving rejects to file Makefile.in.rej patching tcl/lib/ns-default.tcl ... Reversed (or previously applied) patch detected! Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tcl/lib/ns-default.tcl.rej patching tcl/lib/ns-lib.tcl ... Reversed (or previously applied) patch detected! Skipping patch. 2 out of 2 hunks ignored -- saving rejects to file tcl/lib/ns-lib.tcl.rej Please HELP! - Original Message From: KaLiF <[EMAIL PROTECTED]> To: ns-users@isi.edu Sent: Tuesday, June 5, 2007 3:33:29 PM Subject: Weighted Round Robin Hello, I'm trying to find this algorithms :Weighted Round Robin, Oldest Queue, Longest Queue, Total Queue Length and Total File Lenngth to simulate it for my project. At least one of them. Could anyone tell me from where I can find them? Although I have to find the sending delay in a wireless transmission between 10 nodes, I found a file named cbrgen.tcl that I could modify, but the nodes (users) have diffrent type of rates (they are from diffrent type of QoS) and there I can put only one rate in the variables; and what's the meaning of seeds. I'm a beginner in NS, and because i don't know where to look, these things freak me and the License exam is at the door: knock, knock... Thanks in advance. Nu citi nimic din ceea ce nu doresti sa tii minte si nu tine minte nimic din ceea ce n-ai de gind sa aplici Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC
[ns] Multihop wireless Network
Hi all, Does anybody have TCL script for multihop wireless network for large number of mobile nodes (atleast 20)?? I have one but not sure whether it is correct... Please send me... Its urgent... Thanks, manpreet..
[ns] Fw: Weighted Round Robin
I'm thinking to extract the package wfq-1.2.1 from ns 2.31, because I found another wfq-1.2.5 and i think this one will work. Could anyone tell me how to extract that package: I want to try with the new one: maybe that have some bugs fixed for the renew version. I did passed through that earlier error by ./configure in the ns directory make make install but now i get another error: something like: "Floating point exception (core dumped)" I hope that to be an passing error. I will try to restart my computer and pray to work. - Forwarded Message From: KaLiF <[EMAIL PROTECTED]> To: ns-users@isi.edu Sent: Wednesday, June 6, 2007 8:37:00 PM Subject: Fw: Weighted Round Robin Although I'm trying to install from http://www.ee.surrey.ac.uk/Personal/L.Wood/ns/mirror/ the http://www.ee.surrey.ac.uk/Personal/L.Wood/ns/mirror/gprs-072501-2.1b7a.tar.gz but no success till now... Could anyone give an adwice about installing it. THX! - Forwarded Message From: KaLiF <[EMAIL PROTECTED]> To: ns-users@isi.edu Sent: Wednesday, June 6, 2007 8:30:31 PM Subject: Re: Weighted Round Robin Hello again, I did founfd out some pach that install another patch: wfq-1.2.1 ( http://www.cc.jyu.fi/~sayenko/srpms/wfq-1.2.1.tar.gz ) , but now I can't run the example. I get an error like this: invalid command name "Queue/WFQ" while executing "Queue/WFQ create _o16 " invoked from within "catch "$className create $o $args" msg" invoked from within "if [catch "$className create $o $args" msg] { if [string match "__FAILED_SHADOW_OBJECT_" $msg] { delete $o return "" } global errorInfo error "class $..." (procedure "new" line 3) invoked from within "new Queue/$qtype" ("default" arm line 3) invoked from within "switch -exact $qtype { ErrorModule { if { [llength $args] > 0 } { set q [eval new $qtype $args] } else { set q [new $qtype Fid] } } intserv { set qtyp..." (procedure "_o3" line 14) (Simulator simplex-link line 14) invoked from within "_o3 simplex-link _o10 _o13 5Mb 2ms WFQ" ("eval" body line 1) invoked from within "eval $self simplex-link $n1 $n2 $bw $delay $type $args" (procedure "_o3" line 8) (Simulator duplex-link line 8) invoked from within "$ns duplex-link $n0 $n1 5Mb 2ms WFQ" (file "example.tcl" line 12) Like I didn't patch: ./patch "directory where ns appear". When I did patch again I get this message: copying wfq files ... done patching Makefile.in ... 1 out of 1 hunk FAILED -- saving rejects to file Makefile.in.rej patching tcl/lib/ns-default.tcl ... Reversed (or previously applied) patch detected! Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tcl/lib/ns-default.tcl.rej patching tcl/lib/ns-lib.tcl ... Reversed (or previously applied) patch detected! Skipping patch. 2 out of 2 hunks ignored -- saving rejects to file tcl/lib/ns-lib.tcl.rej Please HELP! - Original Message From: KaLiF <[EMAIL PROTECTED]> To: ns-users@isi.edu Sent: Tuesday, June 5, 2007 3:33:29 PM Subject: Weighted Round Robin Hello, I'm trying to find this algorithms :Weighted Round Robin, Oldest Queue, Longest Queue, Total Queue Length and Total File Lenngth to simulate it for my project. At least one of them. Could anyone tell me from where I can find them? Although I have to find the sending delay in a wireless transmission between 10 nodes, I found a file named cbrgen.tcl that I could modify, but the nodes (users) have diffrent type of rates (they are from diffrent type of QoS) and there I can put only one rate in the variables; and what's the meaning of seeds. I'm a beginner in NS, and because i don't know where to look, these things freak me and the License exam is at the door: knock, knock... Thanks in advance. Nu citi nimic din ceea ce nu doresti sa tii minte si nu tine minte nimic din ceea ce n-ai de gind sa aplici Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center. Got a little couch potato? Check out fun summer activities for kids. http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
[ns] Fw: Weighted Round Robin
When I was trying to installed the other wfq-1.2.5 i get an error that want to install "sudo apt-get host " or something like this. Now when I'm trying to ns example.tcl... I get another error: "example.tcl does not exist (Authoritative answer)" I really need HELP! If I don't install this program my license exam is ruined. - Forwarded Message From: KaLiF <[EMAIL PROTECTED]> To: ns-users@isi.edu Sent: Wednesday, June 6, 2007 10:59:52 PM Subject: Fw: Weighted Round Robin I'm thinking to extract the package wfq-1.2.1 from ns 2.31, because I found another wfq-1.2.5 and i think this one will work. Could anyone tell me how to extract that package: I want to try with the new one: maybe that have some bugs fixed for the renew version. I did passed through that earlier error by ./configure in the ns directory make make install but now i get another error: something like: "Floating point exception (core dumped)" I hope that to be an passing error. I will try to restart my computer and pray to work. - Forwarded Message From: KaLiF <[EMAIL PROTECTED]> To: ns-users@isi.edu Sent: Wednesday, June 6, 2007 8:37:00 PM Subject: Fw: Weighted Round Robin Although I'm trying to install from http://www.ee.surrey.ac.uk/Personal/L.Wood/ns/mirror/ the http://www.ee.surrey.ac.uk/Personal/L.Wood/ns/mirror/gprs-072501-2.1b7a.tar.gz but no success till now... Could anyone give an adwice about installing it. THX! - Forwarded Message From: KaLiF <[EMAIL PROTECTED]> To: ns-users@isi.edu Sent: Wednesday, June 6, 2007 8:30:31 PM Subject: Re: Weighted Round Robin Hello again, I did founfd out some pach that install another patch: wfq-1.2.1 ( http://www.cc.jyu.fi/~sayenko/srpms/wfq-1.2.1.tar.gz ) , but now I can't run the example. I get an error like this: invalid command name "Queue/WFQ" while executing "Queue/WFQ create _o16 " invoked from within "catch "$className create $o $args" msg" invoked from within "if [catch "$className create $o $args" msg] { if [string match "__FAILED_SHADOW_OBJECT_" $msg] { delete $o return "" } global errorInfo error "class $..." (procedure "new" line 3) invoked from within "new Queue/$qtype" ("default" arm line 3) invoked from within "switch -exact $qtype { ErrorModule { if { [llength $args] > 0 } { set q [eval new $qtype $args] } else { set q [new $qtype Fid] } } intserv { set qtyp..." (procedure "_o3" line 14) (Simulator simplex-link line 14) invoked from within "_o3 simplex-link _o10 _o13 5Mb 2ms WFQ" ("eval" body line 1) invoked from within "eval $self simplex-link $n1 $n2 $bw $delay $type $args" (procedure "_o3" line 8) (Simulator duplex-link line 8) invoked from within "$ns duplex-link $n0 $n1 5Mb 2ms WFQ" (file "example.tcl" line 12) Like I didn't patch: ./patch "directory where ns appear". When I did patch again I get this message: copying wfq files ... done patching Makefile.in ... 1 out of 1 hunk FAILED -- saving rejects to file Makefile.in.rej patching tcl/lib/ns-default.tcl ... Reversed (or previously applied) patch detected! Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tcl/lib/ns-default.tcl.rej patching tcl/lib/ns-lib.tcl ... Reversed (or previously applied) patch detected! Skipping patch. 2 out of 2 hunks ignored -- saving rejects to file tcl/lib/ns-lib.tcl.rej Please HELP! - Original Message From: KaLiF <[EMAIL PROTECTED]> To: ns-users@isi.edu Sent: Tuesday, June 5, 2007 3:33:29 PM Subject: Weighted Round Robin Hello, I'm trying to find this algorithms :Weighted Round Robin, Oldest Queue, Longest Queue, Total Queue Length and Total File Lenngth to simulate it for my project. At least one of them. Could anyone tell me from where I can find them? Although I have to find the sending delay in a wireless transmission between 10 nodes, I found a file named cbrgen.tcl that I could modify, but the nodes (users) have diffrent type of rates (they are from diffrent type of QoS) and there I can put only one rate in the variables; and what's the meaning of seeds. I'm a beginner in NS, and because i don't know where to look, these things freak me and the License exam is at the door: knock, knock... Thanks in advance. Nu citi nimic din ceea ce nu doresti sa tii minte si nu tine minte nimic din ceea ce n-ai de gind sa aplici Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center. Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. Get the free Yahoo! toolbar and rest assured with the added secu
[ns] Fw: Weighted Round Robin
When i'm trying to ./configurate ns... make ... make install . I get another error that I think that is the begining of all my problems: for d in /usr/local/man/man1; do \ if [ ! -d $d ]; then \ mkdir -p $d ;\ fi;\ done mkdir: cannot create directory `/usr/local/man/man1': Permission denied make: *** [dirs] Error 1 - Forwarded Message From: KaLiF <[EMAIL PROTECTED]> To: ns-users@isi.edu Sent: Wednesday, June 6, 2007 11:36:52 PM Subject: Fw: Weighted Round Robin When I was trying to installed the other wfq-1.2.5 i get an error that want to install "sudo apt-get host " or something like this. Now when I'm trying to ns example.tcl... I get another error: "example.tcl does not exist (Authoritative answer)" I really need HELP! If I don't install this program my license exam is ruined. - Forwarded Message From: KaLiF <[EMAIL PROTECTED]> To: ns-users@isi.edu Sent: Wednesday, June 6, 2007 10:59:52 PM Subject: Fw: Weighted Round Robin I'm thinking to extract the package wfq-1.2.1 from ns 2.31, because I found another wfq-1.2.5 and i think this one will work. Could anyone tell me how to extract that package: I want to try with the new one: maybe that have some bugs fixed for the renew version. I did passed through that earlier error by ./configure in the ns directory make make install but now i get another error: something like: "Floating point exception (core dumped)" I hope that to be an passing error. I will try to restart my computer and pray to work. - Forwarded Message From: KaLiF <[EMAIL PROTECTED]> To: ns-users@isi.edu Sent: Wednesday, June 6, 2007 8:37:00 PM Subject: Fw: Weighted Round Robin Although I'm trying to install from http://www.ee.surrey.ac.uk/Personal/L.Wood/ns/mirror/ the http://www.ee.surrey.ac.uk/Personal/L.Wood/ns/mirror/gprs-072501-2.1b7a.tar.gz but no success till now... Could anyone give an adwice about installing it. THX! - Forwarded Message From: KaLiF <[EMAIL PROTECTED]> To: ns-users@isi.edu Sent: Wednesday, June 6, 2007 8:30:31 PM Subject: Re: Weighted Round Robin Hello again, I did founfd out some pach that install another patch: wfq-1.2.1 ( http://www.cc.jyu.fi/~sayenko/srpms/wfq-1.2.1.tar.gz ) , but now I can't run the example. I get an error like this: invalid command name "Queue/WFQ" while executing "Queue/WFQ create _o16 " invoked from within "catch "$className create $o $args" msg" invoked from within "if [catch "$className create $o $args" msg] { if [string match "__FAILED_SHADOW_OBJECT_" $msg] { delete $o return "" } global errorInfo error "class $..." (procedure "new" line 3) invoked from within "new Queue/$qtype" ("default" arm line 3) invoked from within "switch -exact $qtype { ErrorModule { if { [llength $args] > 0 } { set q [eval new $qtype $args] } else { set q [new $qtype Fid] } } intserv { set qtyp..." (procedure "_o3" line 14) (Simulator simplex-link line 14) invoked from within "_o3 simplex-link _o10 _o13 5Mb 2ms WFQ" ("eval" body line 1) invoked from within "eval $self simplex-link $n1 $n2 $bw $delay $type $args" (procedure "_o3" line 8) (Simulator duplex-link line 8) invoked from within "$ns duplex-link $n0 $n1 5Mb 2ms WFQ" (file "example.tcl" line 12) Like I didn't patch: ./patch "directory where ns appear". When I did patch again I get this message: copying wfq files ... done patching Makefile.in ... 1 out of 1 hunk FAILED -- saving rejects to file Makefile.in.rej patching tcl/lib/ns-default.tcl ... Reversed (or previously applied) patch detected! Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tcl/lib/ns-default.tcl.rej patching tcl/lib/ns-lib.tcl ... Reversed (or previously applied) patch detected! Skipping patch. 2 out of 2 hunks ignored -- saving rejects to file tcl/lib/ns-lib.tcl.rej Please HELP! - Original Message From: KaLiF <[EMAIL PROTECTED]> To: ns-users@isi.edu Sent: Tuesday, June 5, 2007 3:33:29 PM Subject: Weighted Round Robin Hello, I'm trying to find this algorithms :Weighted Round Robin, Oldest Queue, Longest Queue, Total Queue Length and Total File Lenngth to simulate it for my project. At least one of them. Could anyone tell me from where I can find them? Although I have to find the sending delay in a wireless transmission between 10 nodes, I found a file named cbrgen.tcl that I could modify, but the nodes (users) have diffrent type of rates (they are from diffrent type of QoS) and there I can put only one rate in the variables; and what's the meaning of seeds. I'm a beginner in NS, and because i don't know where to look, these things freak me and the License exam is at the door: knock, knock... Thanks in advance. Nu citi nimic din ceea ce nu doresti sa tii minte si nu tine minte nimic din ceea ce n-ai de gind sa aplici Sick sense
[ns] Catch packets in any node
Hi, I'm trying to find a way do catch and modify packets that pass through a node. I have a structure like this: (tcp)N0N1N2(sink) There are no agents associated to N1. I need to catch a packet in node N1, modify it and send it to right destenation (in this case N2). Does anyone know how to do it?? I'm quite desperate, so I would be very greatful if anyone could help me please. Best regards, Alexandre Malhão
Re: [ns] Help: error when compiling NS format
proc create_topology{} { proc create_topology {} { line1 is what you wrote in your tcl, and maybe you'd like to try line2. See? there's a space between the "topology" and "{" wish you good luck CaiJie
[ns] wireless simulation ns-2
Hello all, I have 2 questions: 1. Is it possible to show traffic patterns with different colors between wireless nodes (just like how its possible for wired scenarios) in ns-2? If so where could i find a demo? 2. If i need to load the NAM (animation) on to a powerpoint in the form of a movie, is it possible? If so how do i do it? I appreciate your time and help. Thank you. Regards, Kashyap K. R. Kambhatla.
[ns] ns-2.26 on fedora core 5
hi all i have been trying to install ns-2.26 on fc5. Already applied a patch and replaced god.h. The latest problem is of webcache/webtraf.cc. It gives error and stops make. Following is displayed webcache/webtraf.cc: In member function ‘virtual int WebTrafPool::command(int, const char* const*)’: webcache/webtraf.cc:417: error: ‘lt’ was not declared in this scope webcache/webtraf.cc:417: error: expected `)' before ‘;’ token webcache/webtraf.cc:417: error: name lookup of ‘i’ changed for new ISO ‘for’ scoping webcache/webtraf.cc:417: error: using obsolete binding at ‘i’ webcache/webtraf.cc:417: error: expected `;' before ‘)’ token make: *** [webcache/webtraf.o] Error 1 Ns make failed! See http://www.isi.edu/nsnam/ns/ns-problems.html for problems Kindly reply how to solve this. I want ns 2.26 on fc5. other option is downgrade compiler. There also i m struck with how to let ns-2.26 know it has to use older version. Anjali Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC
[ns] ns verssion
Hello NS-Users, I want to know whether the NS versions used makes a difference in the PDF, Delay and routing overhead values. Thanking you, with regards geetha
[ns] hierarchical addressing and number of nodes
Hi All i have following hierarchical addressing # Set NS Addressing AddrParams set domain_num_ 2 AddrParams set cluster_num_ {1 5} AddrParams set nodes_num_ {1 1 3 1 1 1} when i am trying to add new a node to the topology its giving segmentation fault without changing above NS addressing. How i can overcome by this this problem ( or i have to change into #Set NS Addressing??? ) thanks and regards, pankaj