[ns] ns: where to find a default value of receiving power Pr of wireless nodes

2008-09-29 Thread Srirupa Dasgupta

  
Dear ns-users,
can you help me find the default value of the receiving power Pr
of wireless nodes.All other default values are given in ns-default.tcl.
Please help me find the default value Pr so that I can calculate d

Regards Srirupa 


[ns] : how to post-process trace files for wireless simulations

2008-09-04 Thread Srirupa Dasgupta

  Dear friends,
please help me to post process the trace file for ping protocol.
What can I plot from the results
regards Srirupa


On Thu, 04 Sep 2008 [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. regarding simulation of TORA (Geetha)
2. streaming uplink delay (Rodolfo Torrea)
3. Installation problems with ns-2.33 (Siraj Shaikh)


--

Message: 1
Date: Wed, 3 Sep 2008 12:00:40 +0800
 From: Geetha [EMAIL PROTECTED]
Subject: [ns] regarding simulation of TORA
To: ns-users@ISI.EDU
Message-ID:
   [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1

Dear NS-Users,

  When I tired to simulate the TORA routing protocol in NS-2.28 I get
error. Any help in
this regard would be of great help for me.


Looking forward for ur reply.

Thanking you,

With Regards
Geetha Jayakumar



--

Message: 2
Date: Wed, 3 Sep 2008 17:26:59 +0200
 From: Rodolfo Torrea [EMAIL PROTECTED]
Subject: [ns] streaming uplink delay
To: ns-users@ISI.EDU
Message-ID:
   [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1

Hello,
I have a problem with streaming at high data rates in the uplink using the
NS-2 code for WLAN (802.11) in single-user DCF mode (one AP and one MN). I
am printing the delay time of every packet to assess the behavior with
different data rates. With low data rates, the delay is reasonable for the
downlink and uplink, but for high data rates (let's say more than 15Mbps),
the delay increases after every packet just in the uplink case. Does anybody
have an idea on this problem?
Thank you,
Rodolfo


--

Message: 3
Date: Wed, 3 Sep 2008 23:02:57 +0100
 From: Siraj Shaikh [EMAIL PROTECTED]
Subject: [ns] Installation problems with ns-2.33
To: ns-users ns-users@ISI.EDU
Message-ID:
   [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1

I installed ns-2.33 on my machine (Ubuntu). Followed the intstructions
on here: http://nsnam.isi.edu/nsnam/index.php/Installing_ns2.31_on_Ubuntu7.04

Everything worked fine and as expected. No errors encountered.

I the validation set up and even the path/environment variables. Have
checked the paths since then and they are all fine.

The problem: for any file xxx.tcl (in the right folder) every time I type

$ ns xxx.tcl

I get

$ xxx.tcl does not exist, try again

Why? When I type

$ ns

I get

Usage:  host [-v] [-a] [-t querytype] [options]  name  [server]
Listing:host [-v] [-a] [-t querytype] [options]  -l zone  [server]
Hostcount:  host [-v] [options] -H [-D] [-E] [-G] zone
Check soa:  host [-v] [options] -C zone
Addrcheck:  host [-v] [options] -A host
Listing options: [-L level] [-S] [-A] [-p] [-P prefserver] [-N skipzone]
Common options:  [-d] [-f|-F file] [-I chars] [-i|-n] [-q] [-Q] [-T] [-Z]
Other options:   [-c class] [-e] [-m] [-o] [-r] [-R] [-s secs] [-u] [-w]
Special options: [-O srcaddr] [-j minport] [-J maxport]
Extended usage:  [-x [name ...]] [-X server [name ...]]

What is the problem? Please help!



--

___
Ns-users mailing list
Ns-users@isi.edu
http://mailman.isi.edu/mailman/listinfo/ns-users


End of Ns-users Digest, Vol 57, Issue 3
***


[ns] :how to reteive information from trace file

2008-08-22 Thread Srirupa Dasgupta

  

Dear ns-friends,
I have created a new packet type named pong like ping...its corresponding tcl 
script is also running and producing a trace output file...now I want to plot 
the through-put by changing the time of the stop variable in tcl.but the trace 
file is remaining the same every timehow do I proceed?Now my agent only has 
a fixed packet size ..how do I set a data-rate in my new Agent?so that by 
varying the datarate I can plot the throughput?...what other factors can I 
plot? please help
Srirupa
On Fri, 22 Aug 2008 [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. sending packet with unicast node address  in wireless mac
   (reza mohammadi)
2. question regarding rtproto manual (Rafiq Shaikh)
3. Re : installation problem (./install) (Nour)
4. :help on interpretation of wireless trace file (Srirupa  Dasgupta)
5. Help concearning broadcasting messages - protocols
   ([EMAIL PROTECTED])ished with my new trace format but i can't set up 
 the right 'tt'
when i debug it with gdb i can't get the right code there!


--

___
6. Re: :help on interpretation of wireless trace file
   (Mubashir Rehmani)
7. Re: Help concearning broadcasting messages - protocols
   (Mubashir Rehmani)
8.  Log Node movements (Hector Agustin Cozzetti)
9.  Log Node movements (mail corrected) (Hector Agustin Cozzetti)
   10. Interpretation of wireless trace file (Mubashir Rehmani)
   11. Broadcasting messages in ns2 (Mubashir Rehmani)
   12. Re: Broadcasting messages in ns2 ([EMAIL PROTECTED])
   13. warning:deprecated conversion from string constant to 'char* (J S)
   14. Re: warning:deprecated conversion from string constant to
   'char* (Narcissus)
   15. Re: Problems of Marc Greis' Tutorial (Narcissus)
   16. Re: warning:deprecated conversion from string constant to
   'char* (J S)
   17. format routine in Trace.cc (Nick Zando)


--

Message: 1
Date: Wed, 20 Aug 2008 19:21:58 -0700 (PDT)
 From: reza mohammadi [EMAIL PROTECTED]
Subject: [ns] sending packet with unicast node address  in wireless
   mac
To: ns-users@ISI.EDU
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii



hello
i design new mac protocol and i implement in wireless topology
but in first packet sennding (RTS) destination address is -1 and -1 is br
oadcast mac address. how i can send packet with unicat node address my output 
is shown below
my simulation time is 5 minutes but in first packet sending below result occure
when i implemetn my protocol only one packet exchange occurany body can help 
me?
best regards
hdr_src,src=0
hdr_type
hdr_dst ,, dts=-1
hdr_src,src=0
hdr_type
hdr_dst ,, dts=-1
ns: finish: X connection to :0.0 broken (explicit kill or server shutdown).









--

Message: 2
Date: Wed, 20 Aug 2008 23:42:59 -0700 (PDT)
 From: Rafiq Shaikh [EMAIL PROTECTED]
Subject: [ns] question regarding rtproto manual
To: NS Users ns-users@ISI.EDU
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

Hi All,

I am trying to add manual route entry to the node_(3) as below:
$ns rtproto Manual
$node_(3) add-route-to-adj-node -default $node_(1)

It gives me an error as below. I am new to NS-2 so can't understand what this 
means:
 (_o68 cmd line 1)
 invoked from within
_o68 cmd add-route-to-adj-node -default _o32
 invoked from within
catch $self cmd $args ret
 invoked from within
if [catch $self cmd $args ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error error when calling class $cls: $args $...
 (procedure _o68 line 2)
 (SplitObject unknown line 2)
 invoked from within
$node_(3) add-route-to-adj-node -default $node_(1)
 (file ./cp-1 line 11)
 invoked from within
source.orig ./cp-1
 (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 $val(cp)
 (file w.tcl line 117)


I think I typed the command as mentioned in the NS-2 manual.
Any idea why this error is coming?

Regards,
-Rafiq.







--

Message: 3
Date: Thu, 21 Aug 2008 06:45:51 + (GMT

[ns] :help on interpretation of wireless trace file

2008-08-21 Thread Srirupa Dasgupta

  Dear ns-users,
can some one help me to interpret a wireless trace format like:
s 1.0 _0_ AGT  --- 0 pong 128 [0.00 0 0] --- [0:0 -1:0 32 0]
r 1.0 _0_ RTR  --- 0 pong 128 [0.00 0 0] --- [0:0 -1:0 32 0]
s 1.0 _0_ RTR  --- 0 pong 128 [0.00 0 0] --- [0:0 -1:0 32 0]
s 1.0 _1_ AGT  --- 1 pong 128 [0.00 0 0] --- [1:0 -1:0 32 0]
what is AGT what is RTR ..how will I know that my packet has been accepted  
from the above trace..
Regard Srirupa


On Thu, 21 Aug 2008 [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. Implemtation of switch contribute (amj ns2)
2. installation problem (.\install) [resent] (Nour)
3. General Procedure for static build?? (xing y)
4. Re: installation problem (.\install) [resent] (Mats Folke)
5. how i can adjust specific node address in wireless mac
   (reza mohammadi)
6. Implementing a New Manet Unicast Routing Protocol in NS2
   (Maurizio Bellemo)
7. Code for link level recovery of Base Station ( ? )


--

Message: 1
Date: Wed, 20 Aug 2008 11:26:54 +0300
 From: amj ns2 [EMAIL PROTECTED]
Subject: [ns] Implemtation of switch contribute
To: ns-users@ISI.EDU
Message-ID:
   [EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1

-- Forwarded message --
 From: amj ns2 [EMAIL PROTECTED]
Date: Fri, Aug 15, 2008 at 12:13 PM
Subject: Implemtation of switch contribute
To: ns-users@isi.edu


I have implemented  Switch In NS2 from some reference about how to fabric
switch
and then I implemented in ns2-31 i want contribute of my code of switch .
thank you for help
i prefered any contribute please send me in my email : [EMAIL PROTECTED]
and I thank anyone help me .
thank you
the files is attached in message

--

Message: 2
Date: Wed, 20 Aug 2008 09:01:48 + (GMT)
 From: Nour [EMAIL PROTECTED]
Subject: [ns] installation problem (.\install) [resent]
To: ns-users@ISI.EDU
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=utf-8





- Message d'origine 
De : Nour [EMAIL PROTECTED]
? : ns-users@isi.edu
Envoy? le : Mercredi, 20 Ao?t 2008, 9h33mn 07s
Objet : installation problem (.\install)


Hello Everyone

I tried to install NS [version 2.28] under windows. I followed all the 
instructions of how to install cygwin and how to extract NS files to a 
directory reachable from Cygwin.

But when i write the command  .\install in the shell, this message appears : 
 no such file or directory 

Thank you for your help
Nour81


  Envoy? avec Yahoo! Mail.
Une boite mail plus intelligente.


   
 _
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr

--

Message: 3
Date: Wed, 20 Aug 2008 15:20:38 +0530
 From: xing y [EMAIL PROTECTED]
Subject: [ns] General Procedure for static build??
To: ns-users@ISI.EDU
Message-ID:
   [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1

Subject: General Procedure for static build??
To: ns-users@isi.edu


Hi

I am looking for a standard procedure for making a static ns build so that i
can run the ns on any
other linux machine with same configuration without installing the
ns-allinone.

I tried configure --enable-static and changing STATIC flag in Makefile.

Please suggest a standard way of doing it.

Thanks
Xing.


--

Message: 4
Date: Wed, 20 Aug 2008 12:27:31 +0200
 From: Mats Folke [EMAIL PROTECTED]
Subject: Re: [ns] installation problem (.\install) [resent]
To: ns-users@ISI.EDU
Message-ID:
   [EMAIL PROTECTED]
Content-Type: text/plain;  charset=iso-8859-1

Hi!

Try ./install not .\install.

Best wishes,
Mats Folke

Nour wrote:
  - Message d'origine 
  De : Nour [EMAIL PROTECTED]
  ? : ns-users@isi.edu
  Envoy? le : Mercredi, 20 Ao?t 2008, 9h33mn 07s
  Objet : installation problem (.\install)
 
 
  Hello Everyone
 
  I tried to install NS [version 2.28] under windows. I followed all
  the instructions of how to install cygwin and how to extract NS files
  to a directory reachable from Cygwin.
 
  But when i write the command  .\install in the shell, this message
  appears :  no such file or directory 
 
  Thank you for your help
  Nour81
 
  
   Envoy? avec Yahoo! Mail.
  Une boite mail plus intelligente.
 
 
 
  

[ns] help on segmentation fault after adding a new agent

2008-08-18 Thread Srirupa Dasgupta

  Dear Ns-friends, I have added a new Agent with a new packet type
..however I have made all the changes in ns-packet.tcl, ne-default.tcl
packet.h and in the Makefile...my make command is running without errors 
..however when I define the agent in the tcl file and run the tcl script 
it is giving segmentation fault
please please
help
Regards Srirupa


[ns] help on pong 2

2008-08-11 Thread Srirupa Dasgupta

  Please all,
I have done all the necessay changes in the packet.h, ns-packet.tcl and 
ns-default.tcl and Makefile..it is compiling without error but the tcl script 
is giving segmentation fault.However on Redhat Linux 9 it is compiling and the 
tcl script is also running but in Fedora Core 3 it is giving eror,...please 
help..Srirupa


[ns] help on adding a new agent like ping

2008-08-08 Thread Srirupa Dasgupta

  
Dear Sir, I have created a new Agent like Ping named Pong..every thing is the 
same .the make compliled successfully..however the tcl script is giving a 
segmentation fault at p0 send statement..please help
Srirupa


[ns] help after adding a new agent to ns2

2008-08-08 Thread Srirupa Dasgupta

  
Dear all,
I have just renamed the ping protocol to pong..
my questions are:he 
1 after the make compiled successfully when I am trying to run the 
corresponding tcl scrit with the pong protocol it is giving segmentation fault 
..on one m/c with Fedora core 3 instaled as th OS.
However the same script is running successfully on Redhat 9..can someone 
explain why?
2 next when I make some new additions to the protocol..how do i evaluate it 
please help Srirupa


[ns] how to add your pacet name in trace file using ns2.29

2008-06-30 Thread Srirupa Dasgupta

  
Dear All,
I have implemented the Multimedia Application with extended udp Agent as shown 
the ex How to add an application to ns2 I am using ns2.29 .The appication is 
running but in the trace file no new packet is shown only tcp and ack are 
shown.How to add the new packet to the trace file
Regards Srirupa 


[ns] basics steps to implement changes in .cc files and make the changes available

2007-03-12 Thread Srirupa Dasgupta

  


Deasr ns-users,
can some one tell me how to add a new protocol to ns2.I have done he required 
in Marc Greis tutorial .Now I just want to change the name og Ping protocol to 
say sdg..I have changed all ping staments with Sdg . then done make depend and 
make..It is giving errors.
Please help
Srirupa


[ns] how to calculate the transmission node of sensor nodes with nrlsensorsim patch 2.26 with ns 2.26

2007-02-22 Thread Srirupa Dasgupta

  
Dear n sfriends ,
please help me to calculate the transmission range of senssor nodes on ns2.26 
with extended patch for sensor networks
Regards Srirupa
On Thu, 22 Feb 2007 [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: Phy to MAC buffer (Sasan Sahraei)
2. how to make file (sachin dahiya)
3.  Make doesn't reflect changes in .cc, .h files 
   (sachin dahiya)
4. help : to find the transmission range of sensor nodes of
   nrlsensorsim-patch-2.26 (Srirupa  Dasgupta)
5. RTP implementation in ns2 (GEORGIOS KIOUMOURTZIS)
6. mobiwan installation (Girma Kassa)
7. FW Who has an example source code of WDM network based on
   OWnssimulator (ns2 extension ) (Ekularn Dhavarudha)
8. Delay in MobileIP (Akmal Akmalhojaev)
9. Re: [ns-users] problem in sensing range (Matthias Budde)
   10. BaseStation coverage area. (Akmal Akmalhojaev)
   11. Re: Multi-interface support howto (Ramon Aguero)
   12. Throughput measurements AGT level-NS2 (Shaili Desai)


--

Message: 1
Date: Wed, 21 Feb 2007 00:59:00 - (GMT)
 From: Sasan Sahraei [EMAIL PROTECTED]
Subject: Re: [ns] Phy to MAC buffer
To: Alexander Sayenko [EMAIL PROTECTED]
Cc: ns-users@ISI.EDU
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;charset=iso-8859-1

Hi Alexander,

So this means if I need to monitor the real incoming traffic rate, I
should look into MAC - LLC queue, rather than looking for PHY - MAC
(which as you said does not exist)?

If this is the case, I suppose for such monitoring, I need to implement
something that calculate the real incoming traffic?

am I correct on this ?

Thanks,
Sasan

  Hi
 
  There should not be any, at least NS-2 does not introduce anything, as I
  know. As PHY receives a packet, it is passed to MAC, then to the upper
  layer, and then it is buffered at some link queue or MAC level downlink
  queue.
 
  Sincerely,
  Alexander Sayenko
 
  -Original Message-
  From: Sasan Sahraei [EMAIL PROTECTED]
  To: ns-users@ISI.EDU
  Date: Tue, 20 Feb 2007 00:09:52 - (GMT)
  Subject: [ns] Phy to MAC buffer
 
 
 
  Hi,
 
  Where can I find / access the buffer between PHY and MAC? Is there any
  buffer in between MAC and PHY (upwards)?
 
  Thanks,
  Sasan
 
 




--

Message: 2
Date: Wed, 21 Feb 2007 10:12:20 +0530
 From: sachin dahiya [EMAIL PROTECTED]
Subject: [ns] how to make file
To: ns-users@ISI.EDU
Message-ID:
   [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

i have modified the tcp-newreno.cc,tcp-sink.cc,tcp.h .,i m trying to
implement the changes which i made.can any help me in making these
changes.how to make these changes effective.
sachin


--

Message: 3
Date: Wed, 21 Feb 2007 10:47:33 +0530
 From: sachin dahiya [EMAIL PROTECTED]
Subject: [ns]  Make doesn't reflect changes in .cc, .h files 
To: ns-users@ISI.EDU
Message-ID:
   [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

respected sir
i m working on ns-2.29 on cygwin on window xp.
i m trying to implement selective tcp which is the modification in existing
newreno tcp version.i have changed the tcpnewreno.cc,tcp sink.cc.tcp.h,
tcpsink.h.
when i recompile ns by make clean ,make depend ,make commands the stcp stiil
not work.
make depend and make command show error like error1 and error2 in the last
line when i run these command.
will u please tell me the procedure how to make these changes effective.
with regards
sachin


--

Message: 4
Date: 21 Feb 2007 06:48:54 -
 From: Srirupa  Dasgupta [EMAIL PROTECTED]
Subject: [ns] help : to find the transmission range of sensor nodes of
   nrlsensorsim-patch-2.26
To: ns-users@ISI.EDU
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;  charset=iso-8859-1

  ?
Dear Ns-users,
Can someone help me to calculate the transmision range of sensor nodes with 
nrlsensorsim-2.26 with ns 2.26.
Regrds Srirupa

--

Message: 5
Date: Wed, 21 Feb 2007 09:05:25 +0100
 From: GEORGIOS KIOUMOURTZIS [EMAIL PROTECTED]
Subject: [ns] RTP implementation in ns2
To: ns-users@ISI.EDU
Message-ID:
   [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello to all the ns2 users
I was struggling to find a solution to run rtp-simple.tcl. It gives erros
concerning the dst_addr_. So, I made a a small modification to the ns-2.30
/tcl/rtp/session-rtp.tcl.
Then I

[ns] help : to find the transmission range of sensor nodes of nrlsensorsim-patch-2.26

2007-02-20 Thread Srirupa Dasgupta

  
Dear Ns-users,
Can someone help me to calculate the transmision range of sensor nodes with 
nrlsensorsim-2.26 with ns 2.26.
Regrds Srirupa


[ns] code for thefinal tcl script after implementing protoname which will be run as ns a.tcl

2006-09-01 Thread Srirupa Dasgupta

Dear ns-user,
CAn someone tell me what to do after i have followed the steps of Implementing 
a new manet protocol for wireless networks
Now can one give me the corresponding tcl script so tht I can at least 
visualize some node movements using this protocol
Srirupa


[ns] code for simulating a connected sensor cover

2006-07-24 Thread Srirupa Dasgupta

  

Dear all,
Can someone help me to wite a code to simulate a wireless sensor cover
I an working on ns2.26 patched with nrlsensor sim
Regards Srirupa
On Mon, 24 Jul 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. Wireless packet size limit + wireless bandwidth question (Heo Heo)
2. Re: transmission power for mobile nodes (Phil Miller)
3. Re: Wireless packet size limit + wireless bandwidth question
   (Phil Miller)
4. runnig ns with argument? (a question about DMAC) (chen guoming)
5. R:  how to implement DCF in NS2 (Marco Fiore)
6. Install the GPRS module (kaier)
7.  How to use SCTP application traffic ? (kerwin)
8. Service based classification for SFQ/DRR (S.Mehdi Sheikhalishahi)
9. Re: Simulate a delay and additional packet payload (Muth S)


--

Message: 1
Date: Sat, 22 Jul 2006 17:18:26 -0700 (PDT)
 From: Heo Heo [EMAIL PROTECTED]
Subject: [ns] Wireless packet size limit + wireless bandwidth question
To: ns-users@ISI.EDU
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1

   Hi all,

   I was doing a simple wireless simulation in which 2 nodes send are
placed next to each other, with one being the sender and the other being
the receiver (based on the Simple.tcl on ns website). The sender sends
500 packets to the receiver.

   1) I tried to change the packet size from 512 to 1024 bytes. I parsed
the trace file I find out that:
   - If the packet size is 512 bytes, 500 packets were sent.
   - If the packet size is 1024 bytes, 1000 packets were sent.

   It seems to me that some layer has automatically split up the 1024-byte 
 packets
into smaller parts.

   So, my question is: what is the default wireless packet size, and how
to change it ? and Which layer actually split up the big packets ?

   2) My next question is about the wireless bandwidth.

 By default, ns uses a wireless link bandwidth of 2 Mbps. By
changing the packet interval, I have at most 670 Kbps. Because there are only
2 nodes, the 2 nodes must be using full bandwidth for this. Given that
there are some overhead (RTS/CTS, packet headers, etc.), I would think
I should get about 1.5Mbps. So, why is the actual speed so much lower
than that ? Is it natural ?

   Thanks a lot for your help.

   Heo




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

--

Message: 2
Date: Sun, 23 Jul 2006 00:45:20 -0400
 From: Phil Miller [EMAIL PROTECTED]
Subject: Re: [ns] transmission power for mobile nodes
To: M. Akif YAZICI [EMAIL PROTECTED]
Cc: ns-users@ISI.EDU
Message-ID:
   [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

  Hello everyone,
  I am trying to simulate CAP-SV routing protocol for ad hoc networks,
  derived from AODV. I need to control the transmission power of each
  node and vary it according to the next hop since my protocol logs the
  min. power to reach each neighbor. Is there anyone who knows how to
  achieve this through C++? I tried the following and it did not work:
 
  Tcl tcl = Tcl::instance();
  tcl.evalf(Phy/WirelessPhy set Pt_ %f, myPower);
 
  Or, can I reach the WirelessPhy object through mac/mac-802_11.cc?
  There is a variable called netif_ through which I can reach the
  nodes and their energy modules as netif_-node()-energy_model(), but
  the problem is netif_ is a Phy * instance, not WirelessPhy *.

Try casting it, something like
(WirelessPhy*)netif_-node()-energy_model()

  Another thing is what is the relation between Pt_ and Pt_consume_?

My best guess would be that in simulations where energy consumption is
relevant, Pt_ is the power output used to compute signal propagation
and reception, while Pt_consume_ is the power that the node expends
per unit time that it is transmitting.

  I am supposed to complete my MS thesis in a month or so, so I am very
  short on time. Any help is appreciated. Thanks,

Good luck with it!

Phil



--

Message: 3
Date: Sun, 23 Jul 2006 01:08:56 -0400
 From: Phil Miller [EMAIL PROTECTED]
Subject: Re: [ns] Wireless packet size limit + wireless bandwidth
   question
To: Heo Heo [EMAIL PROTECTED]
Cc: ns-users@ISI.EDU
Message-ID:
   [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Heo,

Have a look at
http://www-ece.rice.edu/~jpr/ns/docs/ns-802_11b.html.
It answers your direct questions.

You may also wish 

[ns] example sensor network application which actually has run on ns2

2006-07-13 Thread Srirupa Dasgupta

  
Please someone,
Send me some sensor network application which have actually run on ns2.2X
Srirupa


[ns] how to simulate sensor networks wih ns2.28

2006-07-10 Thread Srirupa Dasgupta

  


Dear friend,
Can any one tell me ow to simulate sensor networks on ns2.28.
Do I have to download some other package.
Also I cannot find any .tcl find to run in the ns2.28/sensor-net directory .
Waiting fervently for some reply so that I can start with sensor nets
Regards Srirupa


[ns] how to simulate aodv/dsdv/dsr and other wireless protocols on ns2

2006-06-28 Thread Srirupa Dasgupta

  
Can some one please help me to run aodv/dsdv/dsr and other similar protocols on 
ns2.28 on linux Fedora
Waiting fervently for some help
Srirupa


[ns] how to run aodv.tcl in ns~/aodv/

2006-06-22 Thread Srirupa Dasgupta

  


Dear friend can you plese help me to run the aodv protocol on ns2.28 on Linux.
I am performing cd ns-2.28/aodv/
Ihen I am typing ns aodv.tvl
and getting thr following result.
invalid command name Agent/rtProto/AODV
while executing
Agent/rtProto/AODV instproc init args {
$self next $args
}   
(file aodv.tcl line 19)
what to do next?
Sririupa


[ns] simple-wireless.tcl is not running on ns2.28

2006-06-14 Thread Srirupa Dasgupta

  


Dear friend,
please help me to run wireless scripts on ns2 .
i am typing the following command:
ns simple-wireless.tcl
the error messafe that i am getting is as follows:
num_nodes is set 3
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
Loading connection pattern...
couldn't read file ../mobility/scene/cbr-3-test: no such file or directory
while executing
source.orig ../mobility/scene/cbr-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 $val(cp)
(file wireless1.tcl line 121)
what is this?
please help