[ns] Queue Monitoring problem - urgent help needed!

2006-02-28 Thread Mark Shifrin

Hello to everybody who attends this list,
I am a new ns2 user so may be this question will look simple to many of you:
My objective is to monitor the queue length of the bottleneck link  between
router and server which i limited as follows:
$ns queue-limit $n_router $n_server $buffer_size
The buffer size is an integer number (in my case it was 362). Then i defined
the instance of the queue-monitoring object as follows:
set qmon [$ns monitor-queue $n_router $n_server ]
and i zeroed the fields i need to monitor at the start of simulation like
this:
$ns at $sim_trace_start $qmon set pdepartures_ 0 ; \
 $qmon set parrivals_ 0 ; \
 $qmon set pdrops_ 0 ; \
 $qmon set pkts_ 0; 
Then i tried to print the intantaneous size of the queue by approaching
fields pkts_, and also reading the feild pdrops_, by printing them into the
file,
in a for-loop defined as follows:
for {set t $sim_trace_start} {$t = $sim_end} {set t [expr $t+$time_slice]}
{
.
...
set log2 set cur_arrivals \[$qmon set parrivals_\] ; \
  set cur_departures \[$qmon set pdepartures_\] ; \
  set cur_drops \[$qmon set pdrops_\] ; \
  set cur_pack \[$qmon set pkts_\] ; \
  set cur_queue \[expr
\$cur_arrivals-\$cur_departures-\$cur_drops\] ; \
  set cur_bpercentage \[expr \$cur_pack*100.0/\$buffer_size\]
; \
  puts $qfile \$t \t \$cur_queue \t \$cur_arrivals \t
\$cur_departures \t \$cur_drops \t \$cur_pack \t \$cur_bpercentage \;  


$ns at $t $log2
}

However - the pdrops_ is always 0 and the queue length exceeds the limit!
i.e. the pkts_ is more then the limit i defined (=362) and constantly grows!
Why?? PLease someone help me in this obstacle the script is attached, thank
you for your time everybody,
Best Regards,
Mark, Technion.

 ?view=attdisp=attdattid=0.1th=109b0e578b0bef7f
*experiment.tcl*
12K Download ?view=attdisp=attdattid=0.1th=109b0e578b0bef7f

ReplyForward






 Mark Shifrin to ns-users
 More options  7:35 pm (30 minutes ago)
- Show quoted text -

 Hello to everybody who attends this list,
 I am a new ns2 user so may be this question will look simple to many of
 you:
 My objective is to monitor the queue length of the bottleneck link
 between router and server which i limited as follows:
 $ns queue-limit $n_router $n_server $buffer_size
 The buffer size is an integer number (in my case it was 362). Then i
 defined the instance of the queue-monitoring object as follows:
 set qmon [$ns monitor-queue $n_router $n_server ]
 and i zeroed the fields i need to monitor at the start of simulation like
 this:
 $ns at $sim_trace_start $qmon set pdepartures_ 0 ; \
  $qmon set parrivals_ 0 ; \
  $qmon set pdrops_ 0 ; \
  $qmon set pkts_ 0; 
 Then i tried to print the intantaneous size of the queue by approaching
 fields pkts_, and also reading the feild pdrops_, by printing them into the
 file,
 in a for-loop defined as follows:
 for {set t $sim_trace_start} {$t = $sim_end} {set t [expr
 $t+$time_slice]} {
 .
 ...
 set log2 set cur_arrivals \[$qmon set parrivals_\] ; \
   set cur_departures \[$qmon set pdepartures_\] ; \
   set cur_drops \[$qmon set pdrops_\] ; \
   set cur_pack \[$qmon set pkts_\] ; \
   set cur_queue \[expr
 \$cur_arrivals-\$cur_departures-\$cur_drops\] ; \
   set cur_bpercentage \[expr \$cur_pack*100.0/\$buffer_size\]
 ; \
   puts $qfile \$t \t \$cur_queue \t \$cur_arrivals \t
 \$cur_departures \t \$cur_drops \t \$cur_pack \t \$cur_bpercentage \;  
 
 
 $ns at $t $log2
 }

 However - the pdrops_ is always 0 and the queue length exceeds the limit!
 i.e. the pkts_ is more then the limit i defined (=362) and constantly
 grows!
 Why?? PLease someone help me in this obstacle the script is attached,
 thank you for your time everybody,
 Best Regards,
 Mark, Technion.



?view=attdisp=attdattid=0.1th=109b1bb0191427b8
*experiment.tcl*
12K Download ?view=attdisp=attdattid=0.1th=109b1bb0191427b8

ReplyForward






 [EMAIL PROTECTED] to *logout*
 More options  7:12 pm (53 minutes ago)

Welcome to posting to the ns-users mailing list!

We automatically send this message to every new person who sends mail
to the list.  You should only receive it once.  My apologies if the
program contacts you twice, perhaps because you have multiple e-mail
addresses or send mail from multiple machines.

If you are an experienced ns-user who simply has not posted since we
started using this responder, our apologies for inconveniencing you
with this message.  This message is intended to help inform users and
cut down on redundant posts, which benefits everyone.

Please look at the attached list of ns Frequently Asked Questions.
If it answers your question, great!  You're done.
If not, please RE-SEND your 

[ns] How to speed up ns-2 simulations

2006-02-28 Thread Michele Battelli

Hi all,
  I am facing the problem of speeding up ns-2 simulations. I have my own
agent and I do simulation on wireless networks with up to 600 nodes. I
don't use any routing agent nor I use traffic generators.
Assuming that my agent is internally well optimized, I tried to reduce
the number of things that ns-2 does in order to avoid unnecessary
computation. The first thing was to I avoid the use of GOD. Second, I
disabled all the tracing from my Tcl script.
Unfortunately I could not disable the creation of the trace file, i.e.,
I could not get rid of the following lines:

set tracefd  [open wireless-out.tr  w]
$ns_ trace-all $tracefd

without getting an error.

I would like to know 1) if I can totally disable any internal tracing 2)
if there are other things that I can disable to make ns-2 run faster
either in the C part of the simulator or though Tcl script.

Thank you in advance,
Regards
Michele Battelli


[ns] How to plot TCP throughput?

2006-02-28 Thread Aldabbagh Ghadah

Hi,
  How could I plot the throughput of a TCP connection of a network???  I tried 
to use Marc Greis's tutorial example but 0 throughput is displayed for my TCP 
connection.
  Could someone please, help me?
  Ghadah

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[ns] memory full due to large simulations

2006-02-28 Thread venusian .

hieee,

the problem i'm facing is not directly related to NS-2 but its caused b'coz 
of it so i'm posting it (coz someone else might hav faced it earlier.

i ran about 10 simulations in NS-2 and haved the .tr file with different 
names. while doing so i didn't realize that the size of files was huge 
enough for my OS to handle. so after some time it stopped responding. i 
restarted the computer but linux is not working at all. after doing the 
initial test and allocating spaces etc ( which it performs at linux startup) 
it shows a blank screen. i have a dual boot OS, and the other one is windows 
2000, and it is working fine. i saw that the space i allocated for linux 
partitions is almost full only few MBs is left.

if someone has any idea how i can get the linux start working again plz do 
let me knowcoz i hav important data which i can't compromise.

Thanking in Advance

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



[ns] nam visualisation command on ason nodes~ help me URGENT~

2006-02-28 Thread nuri azlia

hi ,
 
have anyone know the specific command for nam visualisation for ason nodes. i 
try the basic command for nam,but it seems not working. Hope you all can help 
me on this.
 
thanks in advance
 
-nuri-


[ns] wireless lan scripts

2006-02-28 Thread ravi kumar

  hi,
i am working enhancement of QOS of wireless lan.can anybody help me how to 
create wireless lan scripts or can send simple wireless lan topology scripts .
please reply me immediately. 


[ns] how to add reputation to a neighbor

2006-02-28 Thread Jiangyi Hu


Hi,

I am new to NS and have no experience with tcl. I am trying to make some 
changes. It works as follows:

1. For each node, there is a reputation table which associate a reputation 
value for each of its neighbors. I can add a variable int reputation to the 
structure neighbor_list_node in node.h and initiate reputation using 
addNeighbor in node.cc.

2. When a node A forwards a message, its neighbors update their reputation 
table, increase A's reputation by f. Otherwise, neighbors decrease A's 
reputation by d.

3. When A's reputation drops below a threshold t, all neighbors delete routes 
containing A.

How can I implement this? I am using DSR as routing protocol. Thanks a lot for 
any ideas and suggestions!

Jenny



[ns] xgraph for wireless2.tcl example in Marc Geis' tutorial

2006-02-28 Thread qadous

dear ns users,

I have an problem in this example:
the error messages after running xgraph wireless2.tr are
Error in file `wireless2.tr' at line 725:
  Unknown line type
Error in file `wireless2.tr' at line 726:
  Unknown line type
Error in file `wireless2.tr' at line 727:
  Unknown line type
Error in file `wireless2.tr' at line 728:
  Unknown line type
Error in file `wireless2.tr' at line 729:

the example specify the following text for xgraph file formatting:

#puts $tracefd M 0.0 nn $opt(nn) x $opt(x) y $opt(y) rp \
#   $opt(adhocRouting)
#puts $tracefd M 0.0 sc $opt(sc) cp $opt(cp) seed $opt(seed)
#puts $tracefd M 0.0 prop $opt(prop) ant $opt(ant)
my environment ns-allineone-2.29/cygwin/winXP

appreciate the help ..
kind regards



This message was sent using IMP, the Internet Messaging Program.



[ns] multiple queues?

2006-02-28 Thread Hari Prassadh

hi,
   can someone tell me how to implement multiple queues in the mac
layer? i want to categorize the outgoing packets in terms of a
priority level. is it possible to implement this?

thanking in advance,
hari



Re: [ns] wireless scripts

2006-02-28 Thread maashari

Ravi,

the files with an extension .tr are not executable/runable files... they are
trace files that log simulation activities...
you can use any text editor to read its contents.. plus you can script a
bash/awk/etc... to make use of the information within this log (e.g.
received/transmitted ratio, delays, No. dropped packets, etc...)

Please refer to this nice tutorial which has an example of access point:

ns-2 for the impatient by Imad Aad and Jean-Pierre Hubaux

Ahmed

- Original Message -
From: ravi kumar [EMAIL PROTECTED]
To: ns-users@ISI.EDU; [EMAIL PROTECTED]
Sent: Monday, February 27, 2006 10:58 PM
Subject: [ns] wireless scripts



hi,
how can i run *.tr file.

i am working in WLAN. i am facing a problem to configure access point.
can anybody send me the wireless scripts,especially access point.sothat

i could continue my work.





[ns] Doubt in AODV protocol and NRTE error

2006-02-28 Thread A Anupama

Hi all,
I am simulating AODV protocol on NS2. In the trace file I found a line
like

D 166.721982758 _4_ RTR NRTE 3267 cbr 532 [0 0 0 0] --- [4:1 6:0 30
0] [16] 0 0
i.e a cbr packet is sent at node 4 is dropped at 166.721982758 due to the
error NRTE (DROP_RTR_NO_ROUTE). Actually the packet is generated at 146.9..
and route finding mechanism started at that time only... but, the receiver
is not sending reply ( I changed the code for not to send the reply).  But,
from where this message is generated ? and what happened to the cbr packets
0-15 sent by the same node ?

I am not able to understand, when NRTE error will be generated and depending
on what it will be generated? Is it in anyway depends on rt_req_timeout
field of routing table entry ?  How and when this kind of error is generated
?

Anyone Please help  I am in urgent requirement to know about this ...

Thanks  Regards

Anupama A


Re: [ns] tk8.4.11 make failed!

2006-02-28 Thread Juan José Quintana Muñoz


Hello,

The website: http://www.scriptics.com is not available anymore. Nonetheless,
http://www.tcl.tk is currently working.
Does anybody have a clue which web page replaces now the former?

Regards
Juan Quintana

_
Las mejores tiendas, los precios mas bajos, entregas en todo el mundo, 
YupiMSN Compras: http://latam.msn.com/compras/



Re: [ns] modified RED error

2006-02-28 Thread Soo-Hyun Choi

what have you modified for RED and what sort of tcl script did you run?


On 2/27/06, Jaewoo Park [EMAIL PROTECTED] wrote:

 Dear ns-users
   I've modified RED in ns-2.28 in a recent version of Red Hat.
   But I get messages such as

   ***glibc detected***corrupted double-linked list: 0x09b70ec0***
   Aborted
   ***glibc detected***malloc(): memory corruption (fast): 0x0977f510***
   Aborted

   when I run the tcl script.
   What does this indicate?

   I appreciate your help in advance.
   Sincerely
   Jae



 -
 Relax. Yahoo! Mail virus scanning helps detect nasty viruses!




Re: [ns] Compiling error NS-2 on Solaris 9

2006-02-28 Thread Emanuele Vecchio

On Mon, 27 Feb 2006 19:39:04 - (GMT), Sasan Sahraei wrote
 I get the following when compiling on Solaris 9. Which header should 
 I replace? Any comments? idea? will be very appreciated.

I got similar problem under HP-UX, but ot exactly the same, so here some
question for you ... :-)
- which compiler are you using? g++ or something else?
- is the Makefile correct? I saw some errors which stuck my compiling such as
CFLAGS += $(DEFINE)
- does your system support standard namespace in C++?
Try posting the output of ./configure, maybe something went wrong there.

--
 Emanuele  Vecchio 
Happy Debian GNU/Linux User
: [EMAIL PROTECTED] ::



Re: [ns] CBR over TCP ?

2006-02-28 Thread kaibai

Sounds good. Thank you!

 

Regards,

Kai

 

  _  

From: alaeddine abdallah [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 28, 2006 7:00 AM
To: Mohammad Zubair Ahmad; kaibai; Sasan
Cc: ns users
Subject: Re: [ns] CBR over TCP ?

 

Thank you all for your remarks,

I said in the first mail that simulation with CBR traffic and TCP was
working but the problem was that the pacet size of CBR was ignored and the
rate at the destination was not constant.

In fact, the CBR is in the application layer and the TCP is in the transport
layer. So the CBR is sending packets (having the CBR packetSize) in a
constant rate, than if TCP cannot send packetsin the same rate(depending on
Tcp packetSize, etc) , CBR packets will be waiting and that's why we cannot
observe a constant bit rate at the destination.

So finally, the CBR traffic seems to be a good application to compare UDP
and TCP. 

isn't it ?



Re: [ns] memory full due to large simulations

2006-02-28 Thread Emanuele Vecchio

On Wed, 01 Mar 2006 00:17:53 +0500, venusian . wrote
 caused b'coz of it so i'm posting it (coz someone else might hav 

uh? could you please write in English?

 if someone has any idea how i can get the linux start working again 
 plz do let me knowcoz i hav important data which i can't compromise.

Use a Linux live distro, e.g. Knoppix, to boot your computer.
Mount (in write mode) the partition in which you have the trace file and
delete some of them.
Reboot and you should have your Linux running.

--
 Emanuele  Vecchio 
Happy Debian GNU/Linux User
: [EMAIL PROTECTED] ::



Re: [ns] check simulation results of LEACH on ns-2.27

2006-02-28 Thread Soo-Hyun Choi

What if you run the same simulation to the paper(s)? Anyway, you'd
better speak to the original authors for this.

On 2/27/06, YoungTae Noh [EMAIL PROTECTED] wrote:

 Hi all,

 thx in advance, I built LEACH on ns-2.27.

 To check that the LEACH works correctly, after changing some
 parameter, I simulated wireless.tcl file based on leach_test shell
 script file.


 With these changed parameters  (in leach_test file)
 ---
 # energy values.  How much energy does each node have initially
 eq_energy=1
 init_energy=0.25
 # stop is the time to stop the simulation if it is still running
 stop=250
 # x,y is the size of the field
 x=1000
 y=1000
 # bs_x, bs_y is the location of the base station in the field.
 bs_x=50
 bs_y=150
 ---
 In addition to,

 Since the field 100by100 is changed into 50by50,
 the coordinates of all nodes (in ns-2.27\mit\uAMPS\sims\100nodes.txt)
 are divided by 2.
 ---




 These changed parameters are for comparing results from this with the
 results from the original paper below.

 W. Heinzelman, A. Chandrakasan, and H. Balakrishnan, Energy-efficient
 routing protocols for wireless microsensor networks, in Proc.
 33rd Hawaii Int. Conf. System Sciences (HICSS), Maui, HI, Jan. 2000.





 Unfortunately, the results bt'n two simultions are very different!




 With using these parameters, my result in 'leach.out' file is around
 --

 At 139.099638:
   Total Energy = 40.297139964540001
   Total Data = 2510
   Total Alive = 4

 Simulation complete.

 --

 In this simulation,cluster heads are changed  every 2.5sec. (thus, 56
 rounds totally)


 But, in W. Heinzelman's paper, when the last node dies, the number of
 total rounds is 665 with the same parameters.


 This is somewhat strange.



 So, I want to ask you,


 Did I make some mistakes?

 Or, should I port LEACH on NS-2.1b5 ?

 Thank for reading this.





 Hopely, waiting for reply.





Re: [ns] How to speed up ns-2 simulations

2006-02-28 Thread Soo-Hyun Choi

On 2/28/06, Michele Battelli [EMAIL PROTECTED] wrote:
 Hi Soo-Hyun, thanks for your reply. I have a few comments:

 Soo-Hyun Choi wrote:
 1. A PhD student at Caltech wrote a patch to seep up a usual
 ns-2
simulation. You can look it up
 at
http://netlab.caltech.edu/~weixl/technical/ns2patch/ns2patch.htm.
 I will take a look at this

 2. As far as my understanding, several hundred nodes with ns-2 might
not be
 a good choice in terms of CPU time, memory consumption,
debugging etc etc.
 If your simulation needs to be run with that many
nodes, people usually
 write his/her own simulator.

 Writing your own code is not the best solution for many reasons (check the
 paper MANET Simulations: The Incredibles by Stuart Kurkowski et al.),
 that's why I would like to stick with ns-2. So far I managed to have a 600
 hundred nodes static wireless network with my own agent, running within
 10seconds. I am trying to reduce more the running time by avoiding useless
 ns-2 internal information storage.

This issue would be very controversial depending on a simulation study
that you are running. And people in networking research community have
different views on this. Writing your own code may be worse than using
an existing tool (e.g. NS-2), but that does not necessarily mean that
you are on the right track just because you use NS-2. Conversely, the
fact that you use your own simulator for your study does not mean that
you are doing a wrong way of research.

So I will leave this issue on your own decision. By the way, the
intention of the paper is not about using ns-2 or not, but about a
self-developed simulator which we don't (or cannot) trust.



 3. In general, you would normally need the trace-all trace file in
order to
 understand/analyse your simulation. Anyway, you should be
able to get rid of
 it from the script with no error.

 One of the way I found to speed up simulation is to avoid ns-2 tracing. In
 order to retrieve the data I need I have a dynamic structure in the agent
 that stores the data I need. When the agent is done with its work it simply
 dumps the values in the structure using a simple cout.
 Unfortunately, removing the line

 $ns trace-all $tracefile

 ends up in a error when the nodes are instanced in the tcl file. I can't
 figure out why.
 Thank you for further suggestions

 Michele



 Soo-Hyun

On 2/28/06, Michele Battelli [EMAIL PROTECTED] wrote:


Hi all,
I am facing the problem of speeding up ns-2 simulations. I have my
 own
agent and I do simulation on wireless networks with up to 600 nodes.
 I
don't use any routing agent nor I use traffic generators.
Assuming that my
 agent is internally well optimized, I tried to reduce
the number of things
 that ns-2 does in order to avoid unnecessary
computation. The first thing
 was to I avoid the use of GOD. Second, I
disabled all the tracing from my
 Tcl script.
Unfortunately I could not disable the creation of the trace
 file, i.e.,
I could not get rid of the following lines:

set tracefd [open
 wireless-out.tr w]
$ns_ trace-all $tracefd

without getting an error.

I
 would like to know 1) if I can totally disable any internal tracing 2)
if
 there are other things that I can disable to make ns-2 run faster
either in
 the C part of the simulator or though Tcl script.

Thank you in
 advance,
Regards
Michele Battelli











Re: [ns] DCF Implementation

2006-02-28 Thread ozgur ekici

Hi Rudrashetty,
Please direct your questions to ns mailing list, there might be more
people having your problem.

There are a lot of WLAN scripts in NS directory. For instance in my
computer, the following directory contains useful 802.11 WLAN
examples:

/home/ekici/research/programs/ns2/ns-allinone-2.29/ns-2.29/tcl/test

Regards,
ekici

On 2/28/06, Rudrashetty shetty [EMAIL PROTECTED] wrote:
 Sir!
 glad to mail u, i need to implement of Distributed Coordination
 Function(DCF) can u give some tips regarding how to implement in ns2.26


 waiting u r reply

 Rudashetty.H
 NITK Suratkal.





  
  Jiyo cricket on Yahoo! India cricket
  Yahoo! Messenger Mobile Stay in touch with your buddies all the time.





[ns] help on videoconferencing

2006-02-28 Thread Rubén González-Benítez

Hello ns-users,

I need to simulate a WLAN hotspot with wireless nodes sending and
receiving videoconferencing traffic from/to the Access Point. How can I
create such traffic sources in ns? Does someone know or have any
information about RTP/RTCP in ns? I am using ns 2.1b9a and the RTP/RTCP
seems not to work properly. Has someone work with RTP/RTCP in ns? Any
help would be appreciated a lot, thanks in advance

R. G. Benitez




Re: [ns] How to speed up ns-2 simulations

2006-02-28 Thread Michele Battelli

Soo-Hyun Choi wrote:
 On 2/28/06, Michele Battelli [EMAIL PROTECTED] wrote:
   
 Hi Soo-Hyun, thanks for your reply. I have a few comments:

 Soo-Hyun Choi wrote:
 1. A PhD student at Caltech wrote a patch to seep up a usual
 ns-2 simulation. You can look it up at 
 http://netlab.caltech.edu/~weixl/technical/ns2patch/ns2patch.htm.
 
 I will take a look at this

 2. As far as my understanding, several hundred nodes with ns-2 might not be 
 a good choice in terms of CPU time, memory consumption, debugging etc etc. 
 If your simulation needs to be run with that many nodes, people usually 
 write his/her own simulator.
 
 Writing your own code is not the best solution for many reasons (check the
 paper MANET Simulations: The Incredibles by Stuart Kurkowski et al.),
 that's why I would like to stick with ns-2. So far I managed to have a 600
 hundred nodes static wireless network with my own agent, running within
 10seconds. I am trying to reduce more the running time by avoiding useless
 ns-2 internal information storage.
 

 This issue would be very controversial depending on a simulation study
 that you are running. And people in networking research community have
 different views on this. Writing your own code may be worse than using
 an existing tool (e.g. NS-2), but that does not necessarily mean that
 you are on the right track just because you use NS-2. Conversely, the
 fact that you use your own simulator for your study does not mean that
 you are doing a wrong way of research.

 So I will leave this issue on your own decision. By the way, the
 intention of the paper is not about using ns-2 or not, but about a
 self-developed simulator which we don't (or cannot) trust.

   

I agree with what you say, but the only reason for which I am using
ns-2, instead of a (easier) home-grown C simulator is _reproducibility_
of results. This is also the key point in Kurkowski's paper. Make your
own research (and code) available to the community such that it can be
re-used, debugged and confirmed. ns-2 or your own simulator are equally
valid tools if you correctly describe the way you use them. The choice
of ns-2 makes it easier.

Thanks again for your help
Regards,
Michele



Re: [ns] Ns-users Digest, Vol 26, Issue 30

2006-02-28 Thread cp kothari

  
could any one send me the modification done to any of the manet routing 
protocol alongwith data structure and algorithm
   than in advance

On Wed, 01 Mar 2006 [EMAIL PROTECTED] wrote :
Send Ns-users mailing list submissions to
   ns-users@isi.edu

To subscribe or unsubscribe via the World Wide Web, visit
   http://mailman.isi.edu/mailman/listinfo/ns-users
or, via email, send a message with subject or body 'help' to
   [EMAIL PROTECTED]

You can reach the person managing the list at
   [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than Re: Contents of Ns-users digest...


Today's Topics:

1. Re: using awk with Aodv (Emanuele Vecchio)
2. wireless2.tcl example in Marc Geis' tutorial
   ([EMAIL PROTECTED])
3. Re: tk8.4.11 make failed! (Kevin.McGrath)
4. modified RED error (Jaewoo Park)
5. Re: tk8.4.11 make failed! (Emanuele Vecchio)
6. Re: wireless2.tcl example in Marc Geis' tutorial (Sasan)
7. Re: tk8.4.11 make failed! (Cenker Demir)
8. DeferTimer and BackoffTimerr (Mohamed Youssef)
9. nam on ason (nuri azlia)
   10. Re: DeferTimer and BackoffTimerr (ozgur ekici)
   11. Re: wireless scripts (maashari)
   12. Re: modified RED error (Soo-Hyun Choi)
   13. Re: Compiling error NS-2 on Solaris 9 (Emanuele Vecchio)
   14. Re: CBR over TCP ? (alaeddine abdallah)
   15. Doubt in AODV protocol and NRTE error (A Anupama)
   16. Re: check simulation results of LEACH on ns-2.27 (Soo-Hyun Choi)
   17. Re: using awk with Aodv (Sasan)
   18. Re: CBR over TCP ? (kaibai)
   19. wireless lan scripts (ravi kumar)
   20. Queue - Monitoring problems - help needed! (Mark Shifrin)
   21. multiple queues? (Hari Prassadh)
   22. Queue Monitoring problem - urgent help needed! (Mark Shifrin)
   23. How to speed up ns-2 simulations (Michele Battelli)
   24. How to plot TCP throughput? (Aldabbagh Ghadah)
   25. memory full due to large simulations (venusian .)
   26. nam visualisation command on ason nodes~ help me URGENT~
   (nuri azlia)


--

Message: 1
Date: Mon, 27 Feb 2006 21:20:56 +0100
 From: Emanuele Vecchio [EMAIL PROTECTED]
Subject: Re: [ns] using awk with Aodv
To: ns-users@ISI.EDU
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;  charset=iso-8859-1

On Mon, 27 Feb 2006 23:04:24 +0500, venusian . wrote
  And besides can anyone tell me how can i calculate the dropped,
  received,sent packets using awk script. if anyone has the awk script
  to calculate them then plz send me.

Have you searched the NS source directory? I've found several awk script in
tcl/ex tree, and some of them are directly included in .tcl files. Read the
source to find which of them suites your needs: I tested none.

BTW, if you have Perl installed you can have a look at this:
http://mailman.isi.edu/pipermail/ns-users/2006-February/054151.html
http://mailman.isi.edu/pipermail/ns-users/2006-February/054155.html

Hope it helps,
--
 Emanuele  Vecchio 
Happy Debian GNU/Linux User
: [EMAIL PROTECTED] ::



--

Message: 2
Date: Mon, 27 Feb 2006 23:19:50 +0300
 From: [EMAIL PROTECTED]
Subject: [ns] wireless2.tcl example in Marc Geis' tutorial
To: ns-users@ISI.EDU
Message-ID:
   [EMAIL PROTECTED]
Content-Type: text/plain;  charset=ISO-8859-1

Hi all,

I tried this example and I got the follwoing error:
***
[EMAIL PROTECTED] ~
$ ns wireless2.tcl
num_nodes is set 4
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
*** NOTE: no connection pattern specified.
Loading scenario file...
couldn't read file ../mobility/scene/scen-3-test: no such file or directory
 while executing
source.orig ../mobility/scene/scen-3-test
 (uplevel body line 1)
 invoked from within
uplevel source.orig [list $fileName]
 invoked from within
if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
...
 (procedure source line 8)
 invoked from within
source $opt(sc)
 invoked from within
if { $opt(sc) ==  } {
 puts *** NOTE: no scenario file specified.
 set opt(sc) none
} else {
 puts Loading scenario file...
 source $op...
 (file wireless2.tcl line 183)

***
the scenario file is available in my computer, I changed the path for several
and different ways. I don't know what's the correct path for this file.
in my pc the path is:

C:\cygwin\home\Administrator\ns-allinone-2.29\ns-2.29\tcl\mobility\scene

I read before that there is an error in this example ??!!
thank you in advance



This message was sent using IMP, the Internet Messaging Program.



--


[ns] regarding rate in cbrgen.tcl

2006-02-28 Thread Geetha

Dear NS Users,


What should be the rate value given in cbrgen.tcl and I also want to
know what the no of sources means(10,20..40).


Thanks a lot
with reagrds
geetha



[ns] Error Model in ns-2.29

2006-02-28 Thread qadous

Dear ns users,

Would you please send me examples for Error modeling in ns-22.9.

how to model that with wireless nodes.

The ns tutorial is not good enough.

thank you in advance.
Regards


This message was sent using IMP, the Internet Messaging Program.