Re: [ns] Help for analysis of tracefile (delfryanto delfry)
Hi, Depending upon the wireless format for the trace file that you have chosen for the wimax module, you just have to match the columns thanks manoj
[ns] Cannot simulate more than 45 nodes
Hi all, i was trying to simulate wimax enivronment for 64 nodes to get the Initial Ranging delay, but only 45 nodes are receiving the RNG-RSP packet. Can anyone tell why is this happening? plz someone reply its urgent for my project thanks manoj
[ns] wimax throughput
Hi all, Can anyone tell how can i calculate the throughput in a WiMAX network...? and this throughput should be calculated for the base station plz anyone help... thanks manoj
[ns] seeds in ns
Hi all, Can anyone tell me how the seed in the random number generator work internally.. i.e i want to know the internal working for seeds in random generator..?
[ns] seeds in wimax
Hi all, i am trying to simulate the initial ranging part of wimax. for that i need to know what seed is ?.. if anyone knows what a seed is and a good set of seeds.. please tell me how it works in the wimax enivronment.. thanks manoj
[ns] route to base station not found error
set Y_ 250.0 $bstation1 set Z_ 0.0 [$bstation1 set mac_(0)] set-channel 0 set bs1addr [$bstation1 node-addr] puts bstation1=$bs1addr # creation of the mobile nodes $ns node-config -macType Mac/802_16/SS \ -wiredRouting ON \ -macTrace ON ;# Mobile nodes cannot do routing. #create a node that sends data to other domain set node1 [$ns node 1.0.1] set node2 [$ns node 1.0.2] $node1 random-motion 0 $node2 random-motion 0 $node1 set X_ 200.0 $node1 set Y_ 150.0 $node1 set Z_ 0.0 $node2 set X_ 300.0 $node2 set Y_ 150.0 $node2 set Z_ 0.0 $node1 base-station [AddrParams addr2id [$bstation1 node-addr]] [$node1 set mac_(0)] set-channel 0 [$node1 set mac_(0)] set-diuc $diuc set node1addr [$node1 node-addr] puts Address of node1 in domain 1 : $node1addr $node2 base-station [AddrParams addr2id [$bstation1 node-addr]] [$node2 set mac_(0)] set-channel 0 [$node2 set mac_(0)] set-diuc $diuc #create an agent and the cbr traffic source and attach it to node1 set udp [new Agent/UDP] $udp set packetSize_ $packet_size $ns attach-agent $node1 $udp set cbr1 [new Application/Traffic/CBR] $cbr1 set packetSize_ $packet_size $cbr1 set rate_ 5Mb $cbr1 attach-agent $udp set udp1 [new Agent/UDP] $udp set packetSize_ $packet_size $ns attach-agent $node2 $udp1 set cbr2 [new Application/Traffic/CBR] $cbr2 set packetSize_ $packet_size $cbr2 set rate_ 5Mb $cbr2 attach-agent $udp1 set null [new Agent/Null] $ns attach-agent $sinkNode $null set null1 [new Agent/Null] $ns attach-agent $sinkNode1 $null1 $ns connect $udp $null $ns connect $udp1 $null1 $ns duplex-link $sinkNode $bstation1 100Mb 1ms DropTail $ns duplex-link $sinkNode1 $bstation1 100Mb 1ms DropTail #$sinkNode base-station [AddrParams addr2id [$bstation1 node-addr]] #$sinkNode1 base-station [AddrParams addr2id [$bstation1 node-addr]] puts starting the flows $ns at 5.0 $cbr1 start $ns at 5.0 $cbr2 start $ns at 7.0 $cbr2 stop $ns at 7.0 $cbr1 stop $ns at $simulation_stop finish puts Running simulation.. $ns run and one more thing.. what is this wiredRouting in node-config... for mobile nodes if i make the wiredRouting OFF... it gives me an error saying that mobiles nodes have not be defined... anyone plz help.. its urgent for my project... thanks all Manoj Srivatsav
[ns] nam 1.12 error
Hi all, This is the error I get when I try to use nam, or a tcl file that uses namtrace. This right after I have installed ns2.30 in ubuntu 9.10. Any help would be appreciated. sh...@shyam-laptop:~/Documents/ns-allinone-2.30/ns-2.30/tcl/ex$ ns simple.tcl 210 0.0037499 running nam... sh...@shyam-laptop:~/Documents/ns-allinone-2.30/ns-2.30/tcl/ex$ nam: [code omitted because of length] : no event type or button # or keysym while executing bind Listbox MouseWheel { %W yview scroll [expr {- (%D / 120) * 4}] units } invoked from within if {[tk windowingsystem] eq classic || [tk windowingsystem] eq aqua} { bind Listbox MouseWheel { %W yview scroll [expr {- (%D)}] units } bind Li... thanks.
[ns] problem in installing xgraph 12.1
Hi all, when i tired installing xgraph 12.1 on fedora 12.. i get the following error when i execute the make command... ./configure excutes without any errors.. [ma...@localhost xgraph-12.1]$ make gcc -DHAVE_CONFIG_H -I. -I. -I.-g-c dialog.c dialog.c: In function ‘make_msg_box’: dialog.c:780: warning: passing argument 2 of ‘getline’ from incompatible pointer type /usr/include/stdio.h:653: note: expected ‘size_t * __restrict__’ but argument is of type ‘char *’ dialog.c:780: error: too few arguments to function ‘getline’ dialog.c: In function ‘getline’: dialog.c:899: error: argument ‘lptr’ doesn’t match prototype /usr/include/stdio.h:653: error: prototype declaration dialog.c:899: error: number of arguments doesn’t match prototype /usr/include/stdio.h:653: error: prototype declaration make: *** [dialog.o] Error 1 plz some one help.. thanks.. manoj
[ns] WiMAX simulation in NS2
hi all, if anyone has worked on simulating WiMAX on NS2... please give me some suggestion on how to start.. it would be really helpful. thanks manoj