Re: [ns] effect of distance on throughput

2007-11-12 Thread Tara Arezoumand

Thanks a lot , 
  But 2 question :
  1- for simulation of it, is there distance function that measures distance 
between 2 nodes in ns?
  2- which parts or files compute "throughput , packet loss and delay " in 
wireless simulations?
   
  Regards

"Kamil H. Suleiman" <[EMAIL PROTECTED]> wrote:
  Hello Tara,
To the best of my knowledge, once a node is inside a hearing range, we
don't see the difference say between 20 and 30 meters from the BS.
Probably some contributed module might be able to simulate the fading
effect.
Best,
Kamil

On Mon, 2007-11-12 at 00:55 -0800, Tara Arezoumand wrote:
> Hi Dear All 
> 
> I simulated a wireless network , with a BS and three MS ...
> I want to get MS throughput changes on become near or distant to BS..
> Is there any function in ns that has designed it ? if not please advise me..
> 
> hope to any help...
> Thanks
> Tara
> 
> __
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 



   
-
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.


Re: [ns] [Ns-developers] open wiki access

2007-11-12 Thread Tom Henderson

Tom Henderson wrote:
> All,
> I think I've reached the point where I've tired of cleaning out the 
> spam/vandalism from the ns-2 wiki.  Presently, we have a policy of 
> requiring users to create an account without moderation before writing 
> to the wiki, but that seems to not be enough to stop unwelcome users 
> from creating accounts.
> 
> Would people object if we moved to a policy of moderated user account 
> creation?  It would require first time wiki posters to have their 
> request for an account approved.  This would also apply to ns-3's wiki, 
> which has had much less of a problem but which also runs the same wiki 
> software.
> 
> (cc-ing ns-developers, but please reply on the ns-users list only)
> 
> - Tom
> 
> p.s. I'd like to also thank the various volunteers who have stepped in 
> to clean up things time and time again.
> 

Although I had several responses in support of the above proposal to 
require moderated registration of wiki authors, Claus Christmann has 
volunteered to do some spam patrolling in order to keep the wiki open. 
If anyone else wants to help with the policing, your contributions would 
be welcome.  If things get out of hand with the spam again, we can 
reevaluate.

Tom



[ns] mw-node patch - WirelessRoutingModule constructor is never called?

2007-11-12 Thread Claus Christmann

Hi list,

I am working with Laurent's mw-node patch
(http://www.q2s.ntnu.no/~paquerea/ns.html) and am trying to get my own
routing protocol to work.

Since my routing protocol utilizes several wirelss interfaces it should
be implemented as a WirelessRoutingModule akording to Laurent's
documentation. Unfortunately the constructor for this class seems to be
never called. I assume that is due to the oTcl/C++ duality, which I seem
to be unable to debug.

The code under consideration is in wireless/wireless-rtmodule.cc, lines
84pp:

//! Constructor
/*! Create a new WirelessRoutingModule with an empty routing information
base.*/
WirelessRoutingModule::WirelessRoutingModule()
  : RoutingModule(),lastUid_(-1),lastRibEntry_(0)
{
rib_ = new Rib();
init();
}

This C++ class is used as a parent later on
(wireless/wirelss-rtmodule.h, lines 173pp):

class BaseWirelessRoutingModule :  public WirelessRoutingModule {
...
}

and BaseWirelssRoutingModule is used in the example provided with the
patch. Unfortunately BaseWirelessRoutingModule does not do anything in
init() (wireless/wireless-rtmodule.cc, lines 488pp)

void
BaseWirelessRoutingModule::init()
{
// nothing to do.
}

Thus it seemes not to matter, that at least using the provided tcl
script it seems never to be called.

Am I doing somthing wrong in gdb?
*How is it possible that the constructor of a used class is never called?*

Has anybody any experience in coding a routing protocol for the MW-node
patch or could point me to a source to look at?

Thanks in advance,

Claus


-- 
Claus Christmann
Graduate Research Assistant

Georgia Institute of Technology
270 Ferst Drive
Atlanta, GA 30332-0150

http://uav.ae.gatech.edu



[ns] [ANNOUNCE] [NS2] Announcing IST-CIMS IP micro-mobility suite for NS2-2.31

2007-11-12 Thread Pedro Vale Estrela


Dear NS2 Researchers, 

This is to announce the posting of the IST-CIMS IP micro-mobility suite
package, upgraded and tested for NS2.31.

This package includes the eTIMIP and TIMIP protocols, and upgraded v2.31
versions of the CIP, HMIP and HAWAII protocols from the original CIMS code
(from ns2-1b5). 

This package also features NOAH for v2.31, and a common test framework for
all protocols in multiple scenarios.

Any comments and fixes regarding this software, or the associated eTIMIP
research work, are very welcome!!


Best Regards
Pedro Vale Estrela

---

Download link:
http://tagus.inesc-id.pt/~pestrela/ns2/?g=ist-cims.html

NS2 IP mobility info page:
http://tagus.inesc-id.pt/~pestrela/ns2/?g=mobility.html

Associated eTIMIP Scientific Papers:
http://tagus.inesc-id.pt/~pestrela/timip

“Design and Evaluation of eTIMIP - Overlay Micro-Mobility Architecture based
on TIMIP”, P. Estrela, T. Vazão, M. Nunes, International Conference on
Wireless and Mobile Communications (ICWMC 2006), July 2006 







[ns] Simulation of packet loss in ns2

2007-11-12 Thread virajith


Suppose there are 2 nodes 1 and 2 connected by a link.Suppose 1 inserts a
packet on the link to send to 2.I want the link to drop the packet.How is
this packet loss simulated in a link?Please explain in terms of the event
queue scheduling(default scheduler).What happens to the event queue when the
link drops(in the simulation)the packet?Does the link at first add  the
Node2.rcv() to the queue and later remove it(if so how/when does it remove
it) or does it initially only restrain from adding such a thing(thus not
allowing Node2 to receive it at all) or does the scheduler drop the event
after the link handler adds the Node2.rcv() to the event queue(so that the
receiving event is never scheduled)

Please sum1 reply to this ASAP
TIA
-- 
View this message in context: 
http://www.nabble.com/Simulation-of-packet-loss-in-ns2-tf4792372.html#a13709429
Sent from the ns-users mailing list archive at Nabble.com.



[ns] FW: AODV Simulation scripts for large nodes (error)2

2007-11-12 Thread Olakunle Aruleba


Hi All, sorry one of the files I attached was a wrong file. 
Attached are the right files. 
Thanks

This is my initial message

Hi All
I'm trying to run AODV simulation for large nodes e.g 50 -110 nodes and I've 
genarated the traffic and topology files using cbrgen and setdest utilities. I 
saved both files into the same folder where I saved the tcl script. When I ran 
the simulation, I got the following message from the prompt.
 
[EMAIL PROTECTED]:~/Documents/AODV/simulations> ns simulation-aodv-50.tcl
 
num_nodes is set 50
INITIALIZE THE LIST xListHead
Loading connection pattern...
Loading scenario file...
couldn't read file "scen-800x800-50-200-1-1": no such file or directory
 while executing
"source.orig scen-800x800-50-200-1-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(sc)"
 (file "simulation-aodv-50.tcl" line 80)
 
Attached are the tcl script, topology file and the traffic file
Those anyone has a slotion to the above error.? Your response will be 
appreciated. Thanks.
 
Regards
Olakunle Aruleba
 
 
 
_
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx

Re: [ns] effect of distance on throughput

2007-11-12 Thread Kamil H. Suleiman

Hello Tara,
To the best of my knowledge, once a node is inside a hearing range, we
don't see the difference say between 20 and 30 meters from the BS.
Probably some contributed module might be able to simulate the fading
effect.
Best,
Kamil

On Mon, 2007-11-12 at 00:55 -0800, Tara Arezoumand wrote:
> Hi Dear All 
>
>   I simulated a wireless network , with a BS and three MS ...
> I want to get MS throughput changes on become near or distant to BS..
> Is there any function in ns that has designed it ? if not please advise me..
>
>   hope to any help...
>   Thanks
> Tara
> 
>  __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 



[ns] effect of distance on throughput

2007-11-12 Thread Tara Arezoumand

Hi Dear All 
   
  I simulated a wireless network , with a BS and three MS ...
I want to get MS throughput changes on become near or distant to BS..
Is there any function in ns that has designed it ? if not please advise me..
   
  hope to any help...
  Thanks
Tara

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