Re: [ns] Dear all

2009-09-29 Thread Thiago Trufelli

Hello,

You can write the NS code in a file with a text editor, like the VIM or
GEDIT and save as example.tcl and you can run that script with ns
script_name , in this case ns example.tcl.

Best regards!


On Sun, Sep 27, 2009 at 3:27 AM, Sula K ksul...@yahoo.com wrote:


 Dear all

 I have one stupid question can some one tell me how can save file in
 terminal for example I have written the following tcl file I want to save it
 as tcl file :




 % set ns [new Simulator]
 _o4
 % set nf [open out.nam w]
 file3
 % $ns namtrace-all $nf
 file3
 % proc finish {} {
 global ns nf
 $ns flush -trace
 close $nf
 exec nam -a out.nam 
 exit 0
 set n0 [$ns node]
 set n1 [$ns node]
 $ns duplex -lnk $n0 $ n1 1mb 10ms DropTail
 $ns at 5.0 finish
 $ns run

 how can I save this file as tcl file in the home directory. Iam new in NS2








[ns] Dear all

2009-09-27 Thread Sula K

Dear all

I have one stupid question can some one tell me how can save file in terminal 
for example I have written the following tcl file I want to save it as tcl file 
:


 

% set ns [new Simulator]
_o4
% set nf [open out.nam w]
file3
% $ns namtrace-all $nf
file3
% proc finish {} {
global ns nf
$ns flush -trace
close $nf
exec nam -a out.nam 
exit 0
set n0 [$ns node]
set n1 [$ns node]
$ns duplex -lnk $n0 $ n1 1mb 10ms DropTail
$ns at 5.0 finish
$ns run

how can I save this file as tcl file in the home directory. Iam new in NS2




  


[ns] over all block diagram for olsr implementation

2009-09-10 Thread shakkeera liaquath ali khan

hi,
  give me a over all block diagram for olsr implementation and architectural
diagram for each modules in olsr


[ns] namtrace-all command not found

2009-08-29 Thread iimene


Hello,

when i'm trying the first example in ns
---
#Create a simulator object
set ns [new Simulator]
#Open the nam trace file
set nf [open out.nam w]
$ns namtrace-all $nf

it returns namtrace-all command not found

could you plz explain me why this happens

thanks in advance
-- 
View this message in context: 
http://www.nabble.com/namtrace-all--command-not-found-tp25202839p25202839.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] Whether all the BS will be connected

2009-02-09 Thread Suba Shri

In general,will all the BS be connected to a single point?
Whether the sender transmits data only to the BS ,under whose coverage area the 
mobile node is or to all the BS?



  


[ns] Hello,all of NS users.

2008-05-20 Thread 何道敬

Dear all of NS users,

Please excuse me for taking some of your time.

Now I research on Zigbee routing. Recently I have read Mr.Zhang 's NS2
module for IEEE 802.15.4. I find that it is very useful for me. But there is
one problem. I can not find the neighbor table of every Zigbee device in the
NS2 module. If there is no any neighbor table in the NS2 module, Could you
please tell me how to code it upon the NS2 module briefly?

Another problem is that there is no routing (for example, tree routing or
AODVjr) in the NS2 module.By now, is there other public NS2 resource code
about 802.15.4(Zigbee)? Where?

Thank you very much for your time and consideration. I really look forward
to your reply.



Wish you have a good day!


[ns] at all

2007-09-22 Thread [EMAIL PROTECTED]

Hi all,
I must estimate the performances of systems RFID with NS2 and would want to 
know like making. I do not find the protocols aloha, slotted aloha and binary 
tree. there are? where? thanks

Bruno Bracalante


--
Leggi GRATIS le tue mail con il telefonino i-mode™ di Wind
http://i-mode.wind.it/




[ns] Hi all

2007-09-01 Thread Ababaa Hamba

Can anybody help me to fix the following problem?
   I installed freeBSD on my machine  it screens no permissions when i type 
any command.

   
-
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us.


[ns] hi all

2007-08-30 Thread Indrajit Bhattacharya

hi all,

how can i get sample scripts to calcutlate average end to end delay, packet
drops, throughput of my application ? my application is in WSN in NS 2.29.
my outout trace file (.tr ) was generated successfully which was in old
trace file format.

Indrajit Bhattacharya


Re: [ns] hi all ns users

2007-08-07 Thread wayan mustika

I think few days ago Mr. Mohammed Abu Hajar gave the useful awk script to 
calculate parameter throughput, PDR, NRL etc. You can search on 
http://www.mail-archive.com/ns-users@isi.edu/maillist.html or direct to his 
message on http://www.mail-archive.com/ns-users@isi.edu/msg07536.html. Then you 
can modified the script based on your trace file. Hope can help.

Regards,
Wayan

ÃÍãÏ ÍãæÏå [EMAIL PROTECTED] wrote: 
 *hi all ns users*
*my name is ahmad*
*my research address is study of geocast routing protocols in ad hoc network
*
**
*now i need an awk script to calculate the parameters throughput , paket
delivery ratio .. end to end delay..routing packets. etc*
*my trace file format is*
**
**

*M 1000.0 0 (82.56, 180.33, 0.00), (66.35, 5.03), 8.01*

*M 1000.0 1 (263.34, 68.41, 0.00), (166.71, 146.40), 2.09*

*M 1000.0 2 (94.12, 139.19, 0.00), (239.62, 398.70), 9.16*

*M 1000.0 3 (98.18, 451.59, 0.00), (94.62, 88.86), 5.62*

*M 1000.0 4 (105.23, 258.73, 0.00), (269.23, 521.23), 8.56*

*M 1000.0 5 (252.98, 176.70, 0.00), (1.14, 239.51), 1.28*

*M 1000.0 6 (65.28, 439.75, 0.00), (266.66, 278.20), 0.92*

*M 1000.0 7 (171.15, 377.70, 0.00), (63.73, 496.69), 7.97*

*M 1000.0 8 (123.19, 553.37, 0.00), (75.38, 91.69), 9.59*

*M 1000.0 9 (292.00, 428.70, 0.00), (207.01, 231.84), 3.89*

*M 1000.0 10 (140.28, 17.84, 0.00), (81.02, 13.38), 7.25*

*M 1000.0 11 (18.63, 554.03, 0.00), (250.39, 323.97), 7.93*

*M 1000.0 12 (6.65, 132.94, 0.00), (50.07, 245.34), 8.96*

* 1000.0 13 (34.58, 54.17, 0.00), (184.96, 434.60), 6.70*

* 1000.0 14 (143.18, 599.75, 0.00), (15.94, 152.60), 4.92*

*M 1000.0 15 (56.49, 523.96, 0.00), (19.46, 466.56), 0.05*

*M 1000.0 16 (173.97, 213.87, 0.00), (202.50, 478.73), 6.81*

*M 1000.0 17 (217.98, 428.97, 0.00), (263.53, 387.62), 5.35*

*M 1000.0 18 (80.28, 19.95, 0.00), (33.60, 293.80), 6.14*

*M 1000.0 19 (199.79, 542.26, 0.00), (82.02, 119.42), 7.90*

*M 1000.0 20 (233.62, 42.18, 0.00), (288.23, 122.09), 6.91*

*M 1000.0 21 (257.21, 341.57, 0.00), (148.38, 183.00), 9.39*

*M 1000.0 22 (11.58, 425.49, 0.00), (196.41, 382.35), 7.86*

*M 1000.0 23 (255.28, 46.32, 0.00), (33.75, 105.83), 2.39*

*r -t 1000.006629478 -Hs 59 -Hd -1 -Ni 59 -Nx 268.33 -Ny 228.80 -Nz 0.00 -Ne
-1.00 -Nl MAC -Nw --- -Ma 0 -Md  -Ms 11 -Mt 800 -Is 17.252 -Id -
1.252 -It (null) -Il 76 -If 0 -Ii 17 -Iv 32 Flood typ 0 src 17 to 32 st
1000.001700 hop 1*

*r -t 1000.006629531 -Hs 36 -Hd -1 -Ni 36 -Nx 157.43 -Ny 246.51 -Nz 0.00 -Ne
-1.00 -Nl MAC -Nw --- -Ma 0 -Md  -Ms 11 -Mt 800 -Is 17.252 -Id -
1.252 -It (null) -Il 76 -If 0 -Ii 17 -Iv 32 Flood typ 0 src 17 to 32 st
1000.001700 hop 1*

*r -t 1000.006629603 -Hs 26 -Hd -1 -Ni 26 -Nx 218.21 -Ny 128.35 -Nz 0.00 -Ne
-1.00 -Nl MAC -Nw --- -Ma 0 -Md  -Ms 11 -Mt 800 -Is 17.252 -Id -
1.252 -It (null) -Il 76 -If 0 -Ii 17 -Iv 32 Flood typ 0 src 17 to 32 st
1000.001700 hop 1*

*d -t 1000.006629605 -Hs 24 -Hd -1 -Ni 24 -Nx 260.18 -Ny 296.30 -Nz 0.00 -Ne
-1.00 -Nl MAC -Nw --- -Ma 0 -Md  -Ms 11 -Mt 800 -Is 17.252 -Id -
1.252 -It (null) -Il 128 -If 0 -Ii 17 -Iv 32 Flood typ 0 src 17 to 32 st
1000.001700 hop 1 -If 0 -Ii 0 -Iv 32 Geocast [J U] src[0 (82.463,179.333)]
to[(200.000,500.000) (300.000,600.000)] t=1000.125000*

*r -t 1000.125527201 -Hs 37 -Hd -1 -Ni 37 -Nx 93.76 -Ny 232.74 -Nz 0.00 -Ne
-1.00 -Nl MAC -Nw --- -Ma 0 -Md  -Ms 0 -Mt 800 -Is 0.254 -Id -
1.254 -It (null) -Il 40 -If 0 -Ii 0 -Iv 32 Geocast [J U] src[0 (82.463,
179.333)] to[(200.000,500.000) (300.000,600.000)] t=1000.125000
r -t 1000.125527204 -Hs 29 -Hd -1 -Ni 29 -Nx 111.93 -Ny 132.15 -Nz 0.00 -Ne
-1.00 -Nl MAC -Nw --- -Ma 0 -Md  -Ms 0 -Mt 800 -Is 0.254 -Id -
1.254 -It (null) -Il 40 -If 0 -Ii 0 -Iv 32 Geocast [J U] src[0 (82.463,
179.333)] to[(200.000,500.000) (300.000,600.000)] t=1000.125000*

*r -t 1000.125527255 -Hs 47 -Hd -1 -Ni 47 -Nx 39.65 -Ny 235.78 -Nz 0.00 -Ne
-1.00 -Nl MAC -Nw --- -Ma 0 -Md  -Ms 0 -Mt 800 -Is 0.254 -Id -
1.254 -It (null) -Il 40 -If 0 -Ii 0 -Iv 32 Geocast [J U] src[0 (82.463,
179.333)] to[(200.000,500.000) (300.000,600.000)] t=1000.125000*

*r -t 1000.125527298 -Hs 4 -Hd -1 -Ni 4 -Nx 105.80 -Ny 259.64 -Nz 0.00 -Ne -
1.00 -Nl MAC -Nw --- -Ma 0 -Md  -Ms 0 -Mt 800 -Is 0.254 -Id -
1.254 -It (null) -Il 40 -If 0 -Ii 0 -Iv 32 Geocast [J U] src[0 (82.463,
179.333)] to[(200.000,500.000) (300.000,600.000)] t=1000.125000*

*r -t 1000.125527312 -Hs 12 -Hd -1 -Ni 12 -Nx 7.06 -Ny 133.98 -Nz 0.00 -Ne -
1.00 -Nl MAC -Nw --- -Ma 0 -Md  -Ms 0 -Mt 800 -Is 0.254 -Id -
1.254 -It (null) -Il 40 -If 0 -Ii 0 -Iv 32 Geocast [J U] src[0 (82.463,
179.333)] to[(200.000,500.000) (300.000,600.000)] t=1000.125000*

*r -t 1000.125527346 -Hs 16 -Hd -1 -Ni 16 -Nx 174.06 -Ny 214.72 -Nz 0.00 -Ne
-1.00 -Nl MAC -Nw --- -Ma 0 -Md  -Ms 0 -Mt 800 -Is 0.254 -Id -
1.254 -It (null) -Il 40 -If 0 -Ii 0 -Iv 32 Geocast [J U] src[0

[ns] Hi all has anybody could tell me where are examples or tutorial in ns-2.31

2007-07-08 Thread Minghao Li

Hi all, 
Has anybody could tell me where are examples or tutorial in ns-2.31?
Thanks a lot!

Best Regards,
lmh