Re: [ns] MANNASIM SENSORS EXTENSION
Hi, Did you try the Mannasim Examples available in the download section? http://www.mannasim.dcc.ufmg.br/download/mannasim-rede-plana.tcl http://www.mannasim.dcc.ufmg.br/download/mannasim-rede-hierarquica.tcl What errors do you get (if you don't write that, it's hard to help)? There also is a mailinglist specific to Mannasim, which would be the more suitable place to ask about it, since it is not part of standard ns2. https://listas.dcc.ufmg.br/mailman/listinfo/mannasim Best, -Matt Am Freitag, 17. November 2006 02:00 schrieb [EMAIL PROTECTED]: Message: 8 Date: Fri, 17 Nov 2006 00:43:05 +0200 From: antonis antoniou [EMAIL PROTECTED] Subject: [ns] MANNASIM SENSORS EXTENSION To: ns-users@ISI.EDU Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-7 Hello everyone, i am new in ns-2 and i try mannasim extesion now.TCL examples give from mannasim webpage give me errors. can any one help? -- ---
[ns] Floating exception
Hi all, I have a tcl script that works for one tcp protocol and now added some lines for other tcp protocol. Script is working for first tcp protocol and when start simulation for new one I have simulation start and after some time (after few minutes) I have Floating exception with no other output or details about error. At this moment the simulation stops, and enter another simulation (since I have many tests (simulations) started with one tcl script). Another simulation goes fine end and goes to third Anybody can tell me how to trace where is this errorwhat files to look, how to log changes and how to find that part of code . I have read something where it is sead that this happens when I devide with zero (), or when I have variable defined as integer, and my script gives it a floating value or something like that. But here, I don't know where to look , I have only this tiny output Floating exception I am using ns2 ver.2.29. Thank you.
Re: [ns] Installing ns-2.26 in FC5!
hi, Diana Asnani wanted us to know: Hi folks, Has anyone successfully installed ns-2.26 in FC5? It says tcl8.3.2configuration failed! Is there a way to fix the tcl? Please let me know.Thanks. If you can do without FC5 then have a try with mandriva LE2005 (limited edition 2005). It comes with gcc-3.4.3 and installation of ns2.28 and ns2.30 worked fine on it. Cheers, -- Luqman
[ns] Simulate sctp multi-homing over wired-cum-wireless network
Hi I tried to simulate sctp multi-homing over wired-cum-wireless network on ns-2.30 I have read the paper on http://www.lib.ncsu.edu/theses/available/etd-05162005-094333/. http://www.lib.ncsu.edu/theses/available/etd-05162005-094333/ According to The FAQS of the paper , I modified two parts. 1.$ns_ node-config -wiredRouting OFF 2.commented out the line //Tcl::instance().evalf(\%s no-slot \%ld, name(), cl) in classifier.cc I created multihoming nodes(mobile node) in WLAN . while i execute ... it shows the following error message which is the same as the paper mentioned. num_nodes is set 4 INITIALIZE THE LIST xListHead Starting Simulation... can't read Node_(5): no such element in array while executing return $Node_($id) (procedure _o3 line 3) (Simulator get-node-by-id line 3) invoked from within $self get-node-by-id [lindex $L 0] (procedure _o3 line 14) (Simulator compute-hier-routes line 14) invoked from within $self compute-hier-routes invoked from within if [Simulator hier-addr?] { $self compute-hier-routes } else { $self compute-flat-routes } (procedure _o3 line 2) (Simulator compute-routes line 2) invoked from within [Simulator instance] compute-routes (procedure Agent/rtProto/Static line 2) (Agent/rtProto/Static init-all line 2) invoked from within Agent/rtProto/Static init-all invoked from within if [info exists rtprotos_] { foreach proto [array names rtprotos_] { eval Agent/rtProto/$proto init-all $rtprotos_($proto) } } else { Agent/rtProto/St... (procedure _o191 line 3) (RouteLogic configure line 3) invoked from within [$self get-routelogic] configure (procedure _o3 line 5) (Simulator run line 5) invoked from within $ns_ run (file wired-cum-wireless-sim_miga3.tcl line 215) I have succeed ... when using mobilenode without multihoming . My script is as following. ## This simulation is an example of combination of wired and wireless ### topologies. Trace set show_sctphdr_ 1 global opt set opt(chan) Channel/WirelessChannel set opt(prop) Propagation/TwoRayGround set opt(netif) Phy/WirelessPhy set opt(mac)Mac/802_11 set opt(ifq)Queue/DropTail/PriQueue set opt(ll) LL set opt(ant)Antenna/OmniAntenna set opt(x) 1000 set opt(y) 1000 set opt(ifqlen) 50 set opt(tr) wired-and-wireless.tr set opt(namtr) wired-and-wireless.nam set opt(nn) 3 set opt(adhocRouting) DSDV set opt(cp) set opt(stop) 250 set num_wired_nodes 1 set num_bs_nodes 1 set ns_ [new Simulator] # set up for hierarchical routing $ns_ node-config -addressType hierarchical AddrParams set domain_num_ 2 lappend cluster_num 1 1 AddrParams set cluster_num_ $cluster_num lappend eilastlevel 4 2 AddrParams set nodes_num_ $eilastlevel $ns_ use-newtrace set tracefd [open $opt(tr) w] $ns_ trace-all $tracefd set namtracefd [open $opt(namtr) w] $ns_ namtrace-all-wireless $namtracefd $opt(x) $opt(y) set topo [new Topography] $topo load_flatgrid $opt(x) $opt(y) # god needs to know the number of all wireless interfaces create-god [expr $opt(nn) + $num_bs_nodes] #create wired nodes set W(0) [$ns_ node 0.0.0] set W(1) [$ns_ node 0.0.1] $W(0) set X_ 500.0 $W(0) set Y_ 500.0 $W(0) set Z_ 0.0 $W(1) set X_ 500.0 $W(1) set Y_ 800.0 $W(1) set Z_ 0.0 #$ns_ initial_node_pos $W(0) 20 #$ns_ initial_node_pos $W(1) 20 #configure BS node $ns_ node-config -adhocRouting $opt(adhocRouting) \ -llType $opt(ll) \ -macType $opt(mac) \ -ifqType $opt(ifq) \ -ifqLen $opt(ifqlen) \ -antType $opt(ant) \ -propInstance [new $opt(prop)] \ -phyType $opt(netif) \ -channel [new $opt(chan)] \ -topoInstance $topo \ -wiredRouting ON \ -agentTrace ON \ -routerTrace OFF \ -macTrace OFF set BS(0) [$ns_ node 1.0.0] $BS(0) random-motion 0 $BS(0) set X_ 100.0 $BS(0) set Y_ 100.0 $BS(0) set Z_ 0.0 #$ns_ initial_node_pos $BS(0) 20 #configure for mobilenodes $ns_ node-config -wiredRouting OFF #Create SCTP moblie nodes #set node_(0) [$ns_
[ns] How to caculate Jitter in wireless scenario
I get the Trace file,and caculate the End to End delay, but i am puzzled in caculating Jitter.,Plz help