[ns] em() in wireless-phy.cc

2006-06-27 Thread Itxaso Pérez

Hi!

 

I´ve been long reading the code. In wireless-phy.cc file the method “em()”
is called several times. I would like to know  where is this method defined.

Thanks!

ITxaso

 

-

Itxaso Pérez Muruaga

Dpto. Técnico

cbt / Ingeniería de Comunicación
Carretera Asúa, 6
48930 Getxo - Vizcaya
Tel.: +34 94 480 51 83
Fax: +34 94 480 51 84
 http://www.cbt.es/ www.cbt.es
 http://www.innovalia.com/ www.innovalia.com
-

QATEST 2006
18-19-20th October 2006 in Bilbao (Spain)
We would like to encourage you to participate in the fifth edition of the
International Conference on Embedded Software Testing.
For further details, please visit:  http://www.qatest.org/
http://www.qatest.org

 



[ns] What does AGT in trace file indicate?

2006-06-27 Thread yazeed al-sbou


Hello all... 

Just I woulk like to ask what does the AGT in the output trace file indicate? 
or where is in the OSI model (i.e. in which layer)? 

Thanks in advance 

Yazeed 




Yazeed Ahamd Al-Sbou
Sheffield Hallam University
Sheiffield, UK

_
 Download your favorite football Wallpapers, Screensavers,  fantastic Video 
Clips for your favorite team players and games.
http://www.maktoob.com/football


[ns] cygwin and NS2:please its urgent

2006-06-27 Thread Muhammad Azam Akram

hi
  cygwin is already installed on my computer,  i installed it again for 
update cygwin under my window login. i kept all the default setting.
  at the end of installation when it complete 99%, it stop to further 
process and continue to shoe the status as 
   
  Running... No Package 
  /ect/postinstall/cygwin-doc.sh
   
  i waited for almost half an hour, but after that i canceled 
installation. it show my a dialogue box Installation complete.
  i run cygwin bash shell, it work properly but it did not created my 
directory in /home folder. i also checked passwd  file in /etc/ it 
does not have entry for my login.
  please tell me how to create my home directory...
   
  i tried following...
  i create a directory in /home as my login id. to enter it into passwd file in 
/etc i gave 
  mkpasswd -l /etc/passwd
  following command.
  it enter my login name into passwd file.
  then i make .ssh folder by 

ssh-user-config

. but when i issue ./install 

it start installation but it gave some error(display very quickly that i cant 
follow it) and i dont get ns.exe file

please guide me
 
  thank you very much.
   
  regard



-
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ 
countries) for 2¢/min or less.


Re: [ns] em() in wireless-phy.cc

2006-06-27 Thread Matthew Faulkner

Hi ITxaso...

This funciton is defined in the wireless-phy header file...

// Convenience method
EnergyModel* em() { return node()-energy_model(); }

Thanks

Matt

On Tue, 2006-06-27 at 12:06 +0200, Itxaso Pérez wrote:
 Hi!
 
  
 
 I´ve been long reading the code. In wireless-phy.cc file the method “em()”
 is called several times. I would like to know  where is this method defined.
 
 Thanks!
 
 ITxaso
 
  
 
 -
 
 Itxaso Pérez Muruaga
 
 Dpto. Técnico
 
 cbt / Ingeniería de Comunicación
 Carretera Asúa, 6
 48930 Getxo - Vizcaya
 Tel.: +34 94 480 51 83
 Fax: +34 94 480 51 84
  http://www.cbt.es/ www.cbt.es
  http://www.innovalia.com/ www.innovalia.com
 -
 
 QATEST 2006
 18-19-20th October 2006 in Bilbao (Spain)
 We would like to encourage you to participate in the fifth edition of the
 International Conference on Embedded Software Testing.
 For further details, please visit:  http://www.qatest.org/
 http://www.qatest.org
 
  
 



Re: [ns] TCP and packet drop: where are the retransmitted packets?

2006-06-27 Thread Phil Miller

From what I've observed, the normal TCP agents don't actually reliable
send each packet in the stream, they only simulate the flow and
congestion control dynamics that TCP would exhibit, so that the amount
of generated traffic is accurate. Give the FullTCP agents a try.

Phil

On 6/27/06, Arne Lie [EMAIL PROTECTED] wrote:

 Hi all,

 For some time I have only been interested in the congestion response of the
 different TCP congestion control algorithms, and the way it balances flow
 throughput to available capacity, packet drop statistics, etc.

 However, now I need to see how well TCP tackles retransmissions, e.g. with
 SACK. When I inspect the event trace file, dropped packets are never
 retransmitted, in that ns-2 seems to increment the sequence numbers (both
 per flow and per simulation) all the time,
 making it impossible to know WHEN a retransmission is performed.
 

 Is this a correct observation? If yes, are there any workarounds? If
 incorrect, how *do* I find the retransmission event, and e.g. how *many*
 packets are duplicated/retransmitted (SACK vs. non-SACK)?

 best regards

 Arne




[ns] Floating point exception

2006-06-27 Thread Takuya Kimura

Hi,

I'm writing a new routing protocol for mobile ad hoc networks. This new 
protocol works properly when I tested on small networks ( 10 nodes). But the 
simulations stoped when I run on large networks (120 nodes) with the error 
floating point exception. What can be a cause of this error? Note that I'm 
using ns-2.28 on RedHat 9.

Regards,
Takuya


-
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates 
starting at 1cent;/min.


Re: [ns] TCP and packet drop: where are the retransmitted packets?

2006-06-27 Thread Arne Lie

 Ethan,

Thanks, I will have a look and see if full TCP header is possible; however,
I need only a unique sequence number series.

Arne

 -Opprinnelig melding-
 Fra: Ethan Giordano [mailto:[EMAIL PROTECTED] 
 Sendt: 27. juni 2006 12:49
 Til: Arne Lie
 Emne: Re: [ns] TCP and packet drop: where are the 
 retransmitted packets?
 
 There are two different sequence numbers...the TCP sequence 
 number and the internal unique id for each packet. I think 
 you have to turn on tcp header output for the trace to see 
 the tcp sequence number.
 
 ~Ethan
 
 Arne Lie wrote:
  Hi all,
   
  For some time I have only been interested in the congestion 
 response 
  of the different TCP congestion control algorithms, and the way it 
  balances flow throughput to available capacity, packet drop 
 statistics, etc.
   
  However, now I need to see how well TCP tackles 
 retransmissions, e.g. 
  with SACK. When I inspect the event trace file, dropped 
 packets are never
  retransmitted, in that ns-2 seems to increment the sequence numbers 
  (both per flow and per simulation) all the time,

  making it impossible to know WHEN a retransmission 
 is performed.
  
  
   
  Is this a correct observation? If yes, are there any 
 workarounds? If 
  incorrect, how *do* I find the retransmission event, and e.g. how 
  *many* packets are duplicated/retransmitted (SACK vs. non-SACK)?
   
  best regards
   
  Arne




Re: [ns] TCP and packet drop: where are the retransmitted packets?

2006-06-27 Thread Arne Lie

 Phil,

Thanks, I will try the FullTCP and see if that helps. But, what kind of TCP
CC algorithm is FullTCP using; can I choose between different versions?

Arne

 -Opprinnelig melding-
 Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne 
 av Phil Miller
 Sendt: 27. juni 2006 14:30
 Til: Arne Lie
 Kopi: ns-users@isi.edu
 Emne: Re: [ns] TCP and packet drop: where are the 
 retransmitted packets?
 
 From what I've observed, the normal TCP agents don't 
 actually reliable
 send each packet in the stream, they only simulate the flow 
 and congestion control dynamics that TCP would exhibit, so 
 that the amount of generated traffic is accurate. Give the 
 FullTCP agents a try.
 
 Phil
 
 On 6/27/06, Arne Lie [EMAIL PROTECTED] wrote:
 
  Hi all,
 
  For some time I have only been interested in the congestion 
 response 
  of the different TCP congestion control algorithms, and the way it 
  balances flow throughput to available capacity, packet drop 
 statistics, etc.
 
  However, now I need to see how well TCP tackles 
 retransmissions, e.g. 
  with SACK. When I inspect the event trace file, dropped 
 packets are never
  retransmitted, in that ns-2 seems to increment the sequence numbers 
  (both per flow and per simulation) all the time,
  making it impossible to know WHEN a retransmission 
 is performed.
  
 
  Is this a correct observation? If yes, are there any 
 workarounds? If 
  incorrect, how *do* I find the retransmission event, and e.g. how 
  *many* packets are duplicated/retransmitted (SACK vs. non-SACK)?
 
  best regards
 
  Arne
 



Re: [ns] What does AGT in trace file indicate?

2006-06-27 Thread guzinu

it indicates agent level. For example the trace file that is the output of
a wireless scenario using AODV routing protocol. The agent level
represents the layer that implements AODV routing protocol.


 Hello all...

 Just I woulk like to ask what does the AGT in the output trace file
 indicate? or where is in the OSI model (i.e. in which layer)?

 Thanks in advance

 Yazeed




 Yazeed Ahamd Al-Sbou
 Sheffield Hallam University
 Sheiffield, UK

 _
  Download your favorite football Wallpapers, Screensavers,  fantastic
 Video Clips for your favorite team players and games.
 http://www.maktoob.com/football





Re: [ns] Floating point exception

2006-06-27 Thread Matthew Jakeman

Takuya,

Well it sounds very much like a floating point exception is being thrown 
somewhere in your code. Try finding where and fixing the code.

hint

gdb is a pretty good debugger with some fairly good GUI's available for it if 
you're that way inclined!

/hint

Matt

On Tuesday 27 June 2006 13:35, Takuya Kimura wrote:
 Hi,

 I'm writing a new routing protocol for mobile ad hoc networks. This new
 protocol works properly when I tested on small networks ( 10 nodes). But
 the simulations stoped when I run on large networks (120 nodes) with the
 error floating point exception. What can be a cause of this error? Note
 that I'm using ns-2.28 on RedHat 9.

 Regards,
 Takuya


 -
 Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates
 starting at 1cent;/min.



[ns] Get values from queue to process them in agent.

2006-06-27 Thread garcia_b

Hi guys.
I sent a message, but nobody has responded to me.
Here we go again.

If it is possible in ns  to get the values from any queue periodically
(for example, the average queue for red ) and then passing those values
to one agent (UDP). Al this in C++?
This in order to know the available space in the link before to
establish any connection.

I hope the problem be exposed clearly.

Thanks in advance.

-- 
Armando Garcia B.
INT-RST
5 Rue Charles Fourier
91011 EVRY Cedex
Tel: 01 60 76 68 56 




[ns] event such packet reception

2006-06-27 Thread Sergio Morillo

Hello world!
I'm implementing an optical network with ONUs working in reflective mode.
This means that they only can transmitt their upstream data when receive the
carrier upstream light from the OLT. My question about the ns2 simulator is:
-Exists a way to know when a node receives a packet from a transmitter or
another node?? Surelly yes, but I haven't find the answer.

I wait for a divine answer! Thanks a lot!


[ns] ERRATUM !!!Help me please script gprs!!!!

2006-06-27 Thread indra tyas



--- indra tyas [EMAIL PROTECTED] wrote:

 Date: Tue, 27 Jun 2006 08:26:13 -0700 (PDT)
 From: indra tyas [EMAIL PROTECTED]
 Subject: Help me please script gprs
 To: ns-users@ISI.EDU
 
 --- indra tyas [EMAIL PROTECTED] wrote:
  Hello all!
  
  I have some problem with GPRS
  extensions (gprs-072501-
  2.1b7a.tar) to ns2 (ns-2.1b9a)
  
  I installed NS-2 successfully.. 
  but I can't run the GPRS's example script in
 thesis
  richa jain: 
  
  When i tried to run it gave an error : 
  invalid comand name Mac/Gprs
  while executing 
  mac/Gprs set gprs_slots_per_frame 7
  (file example.tcl  line 19)
  
  
  Can you please help me ?
  
  Thanks ,
  Indra
  
  __
 


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



[ns] what's wrong with nam?

2006-06-27 Thread pyramidal

Hi guys,
After the installation,I run a simple script exampe1a.tcl which is contained in 
ns-tutorial.However,the command window displays the followings:
 
ns: finish:couldn't excute nam:no such file or directory
while excuting
exec nam out.nam 
(procedure finish line 7)
 invoked from within
finish
 
Where does the problem lie?
Thanks in advance!
 
 
 
 

[ns] Reg: promiscuous mode and DSR

2006-06-27 Thread jaya y

jaya y [EMAIL PROTECTED] wrote: Hi all,
 We are using ns2.28 on  Fedora core 3. It  is working fine.
 I have few questions regarding MAC layer option Promiscuous mode and DSR. 
 
 1. How to make promiscuous mode off through tcl script.
 2. We have set dsragent_use_tap=false in dsragent.cc and observed 
  tap: on  in trace file. Is this means  even if  you off  tap at 
 layer3  it does't actually off  promiscuous  mode  at  layer2, if 
so how to do it?
 3. Is there anything like ,
   Agent/DSR  set promisc_   off
or Agent/TAP  set promisc_off
 
 I am in a urgent need for this in our project, so please help.Thanks for ur 
cooperation in advance.
 
 Y. Jaya Lakshmi
 

-
Yahoo! Music Unlimited - Access over 1 million songs. Try it free. 


-
Yahoo! Music Unlimited - Access over 1 million songs.Try it free.