[ns] set/change agent/service/source protocol number in NS

2006-07-24 Thread S.Mehdi Sheikhalishahi

I found response of my question, We can use a Tcl command such as *$tcp 
set agent_port_ 21*.

-- 
Best Regards,
S.Mehdi Sheikhalishahi,
Bye.




Re: [ns] Service based classification for SFQ/DRR

2006-07-24 Thread Alexander Sayenko

Hi

Just for you to know, DRR/WRR and scheduling disciplines that support
flow-based and class-based resource sharing were already implemented in this
package http://www.cc.jyu.fi/~sayenko/src/ns2rr-0.0.3.tar.gz. They also
support LLQ in the so-called alternate priority mode. However, class-based
scheduling does not support SFQ.

Sincerely,
Alexander Sayenko (PhD)
Senior Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland










 Hello,
  I changed SFQ/DRR to support service based classification for SFQ/DRR.
 Please take a look at this queueing and give me results about your ideas
 and evaluation.

 -- 
 Best Regards,
 S.Mehdi Sheikhalishahi,
 Bye.








No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.3/395 - Release Date: 21.07.2006



Re: [ns] Install the GPRS module

2006-07-24 Thread Alexander Sayenko

Hi

 Here is the noah.patch, maybe it will help.

 Sincerely,
Alexander Sayenko (PhD)
Senior Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


 
 


 --
--
 


  Hello all
  I want to try GPRS simulation using Network Simulator. I have gotten
that
 gprs module but I can't install it successfully,when i run ns,mistake
show
 as:invalid command name Agent/NOAH while executing Agent/NOAH; set
sport_
 0
  i guess the noah was not installed.but i dont know how to install
 it,anybody knows?
  can you mail me the answer?
  thanks
 
 
 


 --
--
 


 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.394 / Virus Database: 268.10.3/395 - Release Date: 21.07.2006



[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 

Re: [ns] Fwd: Why can't I install the ns2 2.29 on ubuntu 6.06?

2006-07-24 Thread lei Liang

Hi,mate, I am afraid you have to tell the configure where to find the
TCL directory like this:

./configure --with-tcl=Path to the tcl directory

Same for everything you should install such as otcl, tclck, ns and nam.

Cheers,
Lei


On Mon, 2006-07-24 at 08:10 +0800, zhihang wang wrote:
 -- Forwarded message --
 From: zhihang wang [EMAIL PROTECTED]
 Date: Jul 21, 2006 8:19 PM
 Subject: Why can't I install the ns2 2.29 on ubuntu 6.06?
 To: ns-users@isi.edu
 
 I have installed tcl/tk 8.4 . When I install ns2 or otcl with ./configure.
 the error occure:
 
 checking for tcl.h... -I/usr/include/tcl8.4
 checking for tclInt.h... no
 checking for libtcl8.4... -L/usr/lib - ltcl8.4
 checking for init.tcl... /usr/lib/tcl8.4
 checking for http.tcl... /usr/lib/tcl8.4/http1.0
 checking Tcl http.tcl library... yes
 checking for tclsh8.4... /usr/bin/tclsh8.4
 configure: error: Installation of tcl seems incomplete or can't be found
 automatically.
 Please correct the problem by telling configure where tcl is
 using the argument --with-tcl=/path/to/package
 (perhaps after installing it),
 or the package is not required, disable it with --with-tcl=no.
 [EMAIL PROTECTED] :~/ns2/otcl-1.11$
 
 -- 
 Best Regards
 zhihang wang
 
 



[ns] simulating delay, queue length, throughput, drop packets

2006-07-24 Thread William . Ampeh


Hello,

Can the following performance values be obtained from NS?

simulating delay, queue length, throughput, drop packets

I am attempting to simulate a simple network with two nodes connected via a
router.


Is so, given the structure of a trace file (out.tr), how do I obtain
these values?

Thank you


__

William Ampeh



[ns] Installation problem

2006-07-24 Thread Mohadig Rousstia

hallo everybody
  
 Does somebody know, why during  installation(allinone) under cygwin, the 
xgraph cant be compiled  automatically. In other words in the cywin window it 
was written that  Ns.2.29 is installed succesfully, but I need to compile 
xgraph  separately. I download the single piece version, then it still doesnt  
work. Can somebody give me a suggestion for that, beside trying to  migrate 
using Linux environment?
  
  Thank you in advance
  
  Regards
  
  Mohadig Widha


-
Do you Yahoo!?
 Next-gen email? Have it all with the  all-new Yahoo! Mail Beta.