Re: [ns] help - no debugging symbols found when debugging ns code

2008-10-30 Thread Zhang Shangying

Dear Wang Hui,

I have also tried the debugging method from SeaSon from DB-LAB of HIT
, but failed as well.

2008/10/30 王辉 [EMAIL PROTECTED]

 Hi,
 Just refer to the GDB debug instruction from SeaSon from DB-LAB of HIT.

 Cheers,
 Wang Hui


 2008/10/30 Zhang Shangying [EMAIL PROTECTED]


 Hi all,

I try to debug ns2 code (ns-2.33) by using gdb under cygwin. I have
 entered the following command under the path (ns-allinone-2.33\ns-2.33):
./configure --enable-debug
make clean
make depend
make
gdb ns.exe

By the way, I have also tried added -g in the Makefile (CCOPT= -g
 -Wall) or in Makefile.in (CFLAGS+= -g $(CCOPT) $(DEFINE) ). But I
 still
 cann't debug ns code.

  The following is the output of gdb.
 
 $ gdb ns.exe
 GNU gdb 6.8.0.20080328-cvs (cygwin-special)
 Copyright (C) 2008 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later 
 http://gnu.org/licenses/gpl.html
 
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type show copying
 and show warranty for details.
 This GDB was configured as i686-pc-cygwin...
 (no debugging symbols found)
 (gdb)

 ---

Can anyone kindly give me a hint?

Thanks in advance!

Best regards

Shangying Zhang





Re: [ns] How to measure rate of the traffic

2008-10-30 Thread Teerawat Issariyakul


Hi,

What UDP does is to create packets based on the application. Under your
scenario, Pareto tells UDP when to create a packet, and UDP will create
the packet accordingly. Therefore the rate of UDP is equal to the rate
at which the Pareto traffic is generated.

Best,
Teerawat

On 10/29/2008, J S [EMAIL PROTECTED] wrote:


Hello -

I am using pareto distribution to send UDP packets between two nodes.
I am wondering how would I measure the rate of the UDP packets sent between
the two nodes.

Thanks




[ns] tracing on the User Equipement in UMTS

2008-10-30 Thread Imen HEDFI

Hi,

When simulating a traffic over an UMTS network, I obtain a trace
format containing the following lines (an extract of the trace file))

+ 11.319203 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 225 2754
- 11.319203 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 225 2754
+ 11.319206 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 225 2755
- 11.319206 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 225 2755
+ 11.319223 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 225 2756
- 11.319223 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 225 2756
  .
  .
  .
  .
r 11.334014 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 223 2737
r 11.334014 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 224 2738
r 11.334026 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 224 2739
r 11.33404 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 224 2740
r 11.334053 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 224 2741
r 11.33406 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 224 2742
r 11.334062 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 224 2743

the node 0 is the RNC and 1 is the BS,
i want to trace the received packet in the mobile node, but i don't
obtained the lines indicating that the packet reaches the mobile node.

How can i view this trace???

best regards

--Imen



-- 
-
Bien cordialement

Imen HEDFI

-


Re: [ns] How to measure rate of the traffic

2008-10-30 Thread J S

Thanks-
But how would I measure the rate of the traffic generated by Pareto?

http://mailman.isi.edu/pipermail/ns-users/2002-June/023383.html

Does ns provides any agent or some monitoring scheme through which I can
measure the  traffic arrival rate (TCP/UDP/Agent ) at the destination or
sink node

On Thu, Oct 30, 2008 at 5:53 AM, Teerawat Issariyakul
[EMAIL PROTECTED]wrote:


 Hi,

 What UDP does is to create packets based on the application. Under your
 scenario, Pareto tells UDP when to create a packet, and UDP will create
 the packet accordingly. Therefore the rate of UDP is equal to the rate
 at which the Pareto traffic is generated.

 Best,
 Teerawat

 On 10/29/2008, J S [EMAIL PROTECTED] wrote:

 
 Hello -
 
 I am using pareto distribution to send UDP packets between two nodes.
 I am wondering how would I measure the rate of the UDP packets sent
 between
 the two nodes.
 
 Thanks
 



[ns] VBR Traffic Generator

2008-10-30 Thread Mohammad Haseeb Zafar

Hi all

Please if anybody have or know where I can obtain the VBR traffic generator 
code.
Thanks in advance.

Cheers

Haseeb




[ns] can i track a single node?

2008-10-30 Thread Breno Caetano

Hi ns-users,

im have a doubt. i want track traffic over a single
node. however, this node dont have any agent attach it. the traffic
pass over it, but it isnt the destiny of packets. how can do it?
any help is appreciate.
regards 
 Breno Caetano da Silva
Bacharel em Ciências da Computação - UFPI
Mestrando em Engenharia Elétrica
Escola de Engenharia de São Carlos - EESC
Universidade de São Paulo
Email: [EMAIL PROTECTED]
[EMAIL PROTECTED]
Fone: (+5516) 81449079
(+5516) 33738149



  Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua 
cara @ymail.com ou @rocketmail.com.
http://br.new.mail.yahoo.com/addresses

[ns] tracing on the User-equipement in UMTS network

2008-10-30 Thread Imen HEDFI

Hi,

When simulating a traffic over an UMTS network, I obtain a trace
format containing the following lines (an extract of the trace file))

+ 11.319203 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 225 2754
- 11.319203 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 225 2754
+ 11.319206 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 225 2755
- 11.319206 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 225 2755
+ 11.319223 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 225 2756
- 11.319223 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 225 2756
  .
  .
  .
  .
r 11.334014 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 223 2737
r 11.334014 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 224 2738
r 11.334026 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 224 2739
r 11.33404 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 224 2740
r 11.334053 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 224 2741
r 11.33406 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 224 2742
r 11.334062 0 1 AM_Data 40  0 1.0.0.0 0.0.2.0 0 224 2743

the node 0 is the RNC and 1 is the BS,
i want to trace the received packet in the mobile node, but i don't
obtained the lines indicating that the packet reaches the mobile node.

How can i view this trace???

best regards

--Imen



-- 
-
Bien cordialement

Imen HEDFI

-