Re: [ns] tcl: read parameters form file

2011-05-09 Thread мαłłi
Nesher, here the code, please let me know if i did any mistake set fid [open input.txt r] while {[gets $fid lineInfo] != -1} { regexp {.+: (\d+)} $lineInfo match one set tcpFallowUDP [lappend tcpFallowUDP $one] } puts $tcpFallowUDP On 8 May 2011 14:32, Tami Nesher vessely...@gmail.com

Re: [ns] Fw: ns2 installation error

2011-05-09 Thread мαłłi
Ehsan, I think you try to give execution permission nam, try to change chmod +x to nam (find location of nam) On 8 May 2011 15:26, Ehsan Chaudhary ehsanchaudh...@ymail.com wrote: - Forwarded Message From: Ehsan Chaudhary ehsanchaudh...@ymail.com To: ns-users@isi.edu Sent:

[ns] a simple question about the format of a trace file : Thank you

2011-05-09 Thread Zakia Khalfallah
Hi friends, i'm simulating the GPSR protocol combined with the location service HLS . the trace file that i obtainde has this format : HLS_CUpd 5.472465613941 3 [0 5.4500 351.95 35.23] RTE: 5.472465613941 _3_: RouteInfo 10 (0-3) : 1 1r 5.472465614 _3_ MAC --- 10 cbr 189 [13a 3 0 800]

[ns] OLSR/ETX is compatible with the multiradio

2011-05-09 Thread ciro de martino
Helle everyone, i istalled the following path: http://www.inf.ufrgs.br/ wlccordeiro ~ / resources / OLSR / index.php but I found some problems with the multiradio. I wanted to know if anyone cantell me if this path is compatible with the multiradio. Thanks in advance.

[ns] error model in wirelees scenario

2011-05-09 Thread mohammad reza soltani
hi everybody i want to add error model to my script file for simulating the packet loss in wireless scenario but the instruction of ns manual for adding error model for wireless scenario does not work and actually does not have any effect in the simulation. these command which are said in ns

[ns] how do i change the node color for animations

2011-05-09 Thread Moses Mbira
Hie all. When I run my simulation the animation nodes are being displayed with a green color rather than a default color black. I have tried to use the $node_(0) color blue/red/black but still nothing is changing. The node_(0) is my node name. Can anyone assist me please I have

[ns] FW: how do i change the node color for animations in smac

2011-05-09 Thread Moses Mbira
Hie all. When I run my simulation the animation nodes are being displayed with a green color rather than a default color black. I have tried to use the $node_(0) color blue/red/black but still nothing is changing. The node_(0) is my node name. Can anyone assist me please I have

[ns] Needed awk script for throughput in wireless scenario

2011-05-09 Thread yugesh gowda
Hello, Does anyone have the awk script to calculate delay,throughput, packet loss, end to end delay in wireless scenario? I will really appreciate it. Regards. Urgent