[ns] ns2 mannasim scriptgenerator directed diffusion error

2007-02-21 Thread antonis antoniou

Hi all i tested directed diffusion using scriptGeneratorTool of mannasim and 
the resulted tcl script gives me the folowing error.
can anyone help me to correct it?

$ ns diffusion.tcl
Initializing MannaSim Script...
Setting up mica 2 mote with Antenna/OmniAntenna and range = 100

Nodes count:
 - 1 access points
 - 10 common nodes
 - 0 cluster heads
 - 11 nodes
 - Directed_Diffusion routing protocol
 - LL link layer
 - Phy/WirelessPhy network interface

Scenario size: 100.0 x 100.0

Using trace.tr as trace file
num_nodes is set 11
Creating an access point...
Setting up mica 2 mote with Antenna/OmniAntenna and range = 100
Using mica 2 mote settings
Setting up mica 2 mote with Antenna/OmniAntenna and range = 100
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl

(_o15 cmd line 1)
invoked from within
"_o15 cmd addr"
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 "_o15" line 2)
(SplitObject unknown line 2)
invoked from within
"_o15 addr"
("eval" body line 1)
invoked from within
"eval $node addr $args"
("Directed_Diffusion" arm line 2)
invoked from within
"switch -exact $routingAgent_ {
DSDV {
set ragent [$self create-dsdv-agent $node]
}
DSR {
$self at 0.0 "$node start-dsr"
}
AODV {
set ragent [$self cre..."
(procedure "_o3" line 11)
(Simulator create-wireless-node line 11)
invoked from within
"_o3 create-wireless-node"
("eval" body line 1)
invoked from within
"eval $self create-wireless-node $args"
(procedure "_o3" line 23)
(Simulator node line 23)
invoked from within
"$ns_ node"
(procedure "create_access_point" line 11)
invoked from within
"create_access_point $local(energy) $local(x) $local(y) $local(z) $local(start)
$local(stop)"
(file "diffusion.tcl" line 590)



[ns] how to run C++ program in Ns2?

2007-02-21 Thread jenefa jebarani

Hello friends i'm a second ME student i need to know,
   
  how to run C++ programs in NS2 wired environment. I've executed a C++ program 
in windows platform. Now i need to execute the same in NS LINUX platform.
   
  Kindly help me its very urgent.

 
-
The fish are biting.
 Get more visitors on your site using Yahoo! Search Marketing.


[ns] solaris patch for ns-2.28

2007-02-21 Thread César Cárdenas

Dear all,
In the solaris patch for ns-2.28 the directories have the termination name
of "-2.27":

http://www.isi.edu/nsnam/dist/solaris.patch

Do I must change this patch file, specifically write 2.28 instead of 2.27?
Do I must follow the following procedure in order to install ns-2.28: decompress
ns-allinone-2.28.tar.gz, run the patch, then install ns-2.28?

Thanks for any reply, kind regards,
César


César Cárdenas ([EMAIL PROTECTED])
Monterrey Tech, Querétaro Campus, México
http://www.qro.itesm.mx
Personal Phone: +(33) 633306689
Office Phone: +(33) 145817146
Office Fax: +(33) 145817158
All phones and fax from abroad France

The content of this data transmission is not considered as an offer, proposal,
understanding, or agreement unless it is confirmed in a document signed
by a legal representative of ITESM. The content of this data transmission
is confidential and it is intended to be delivered only to the addresses,
therefore, it shall not be distributed and/or disclosed through any mean
without the original sender's previous authorization. If you are not the
addressee you are forbidden to use it, either totally or partially, for
any purpose.




[ns] Throughput measurements AGT level-NS2

2007-02-21 Thread Shaili Desai

Hello ppl

While  I am trying to calculate throughput of CBR traffic, for some script I
am getting no packets sent between source node and destination node at AGT
level. I have known that to calculate throughput it should be done at AGT
level,is htat correct understanding?
It doesnt give the right analysis by calculating it at RTR level correct?
Can anyone confirm this to me,that to calculate throughput,delay and jitter
kinda parameters using AWK script,I need to calculate it at AGT level?

THanks in advance.

-- 
Thanx
Shaili Desai
Master's Candidate
Telecommunications and Management
University of Maryland,College Park,USA


Re: [ns] Multi-interface support howto

2007-02-21 Thread Ramon Aguero

Hello Laurent, Nguyen, all,

Thanks for the discussion.

In my opinion, it's sort of difficult to compare both approaches. It seems 
that the work that Laurent has done is quite much more comprehensive and 
detailed, since it uses a different approach from what the current ns-2 
architecture uses for wireless networks. I've read the document (more 
comments/feedback to come), but I do really find it an interesting piece of 
work.

I'll upgrade our howto to cite it, and sorry for not having done it before. 
We were not aware of it; in fact in this new version I'll also cite the 
Miracle work; these two, which also address the multi-channel problematic, 
use different approaches than we do, and that's one of the reasons for not 
citing them.

Now let me try to provide some inline comments about what Laurent said 
about our howto. I know that its scope is probably not too broad, but what 
we tried (as we had already said) is to make something to help people. I 
know that there were some other sources of information (and thus all of 
them are cited/referenced in our howto), but we still believed (due to the 
number of questions on the mailing list and our personal experience with 
such information), that there was something else that could be done.

At 14:00 16/02/2007, Laurent Paquereau wrote:
>1) R.Aguero et al., "Adding Multiple Interface Support in NS-2" (document, 
>http://personales.unican.es/aguerocr)
>
>This document describes changes to enable support of multiple interfaces. 
>By to support multiple interfaces they mean to allow to have more than one 
>wireless stack below a single routing agent on a MobileNode. All the 
>wireless stacks are identical (same Mac/Phy).

This is true, although my understanding is that this is due to the fact 
that there are not really many other choices, I'm pretty sure that this 
could be changed quite quickly. However, I fail to see a use case for this. 
In ad hoc routing environments (which were the main thing we had in mind), 
the typical case is to have different interfaces IEEE 802.11a/b/g, even 
bluetooth, under the same routing protocol, I think that this is 
achievable. In fact, something we can already do is to tweak the parameters 
of any of the PHY/MAC layers, so that we can mimic 802.11b and 802.11g 
working together (changing the energy, the transmission range, etc).

On the other hand, if, e.g. you are using a WSN (with some dual 
802.15.4/802.11 nodes), having more than one routing protocol would make 
sense to me.

>The routing agent code has to be modified to handle more than one wireless 
>stack. This applies only to AODV-like routing agents, that is routing 
>agents using the standard MobileNode, not the SRNode (DSR) or the 
>AODVUUNode (AODV-UU) for example.

Well, the main reason behind this was that most of the people developing 
new routing protocols for ns-2 are doing it using the MobileNode. There is 
more documentation, and I really believed (having personally worked with 
the SRNode one) that it's much simpler.

>This functionality is basically what is provided by Hyacinth 
>(http://www.ecsl.cs.sunysb.edu/multichannel/), some flexibility added. To 
>this respect their contribution is to me very similar to the resources 
>available at http://www.cse.msu.edu/~wangbo1/ns2/nshowto8.html

I can't completely agree with you here. As it is stated in the howto, we 
have undertaken different changes:
- In the Hyacinth work, (and the corresponding updates), all nodes need to 
have the same number of interfaces, which is fixed. We provide a way to 
make this as flexible as the user wants, and in fact, we also maintain the 
original behavior of the simulator, so that people can still use their 
original scripts.
- This flexibility allows, not only modifying the number of channels 
(either at the scenario or at the node level), but to establish to which 
channels the node needs to connect to.
- One of the most important aspects is that the existing information didn't 
tackle how to modify existing routing routing protocols, and we also tackle 
this in the howto.

Best regards,
Ramón 




[ns] BaseStation coverage area.

2007-02-21 Thread Akmal Akmalhojaev

How can I define BaseStation node coverage area?

Thanks.


Re: [ns] [ns-users] problem in sensing range

2007-02-21 Thread Matthias Budde

As far as I know is what you wrote incorrect. It is possible to just use the
free space model as a propagation model. Your description is accurate for
the two ray ground model, which is composed of two formulas, first the
same as with the free space model (Friis' transmission equation) and after 
the crossover distance another (dating back to Rappaport).  

When setting the propagation model to free space you should be able to
derive your settings from the following equation (taken from threshold.cc):

   Pt * Gt * Gr * (lambda²)
P =  --
 (4*pi * d)² * L

with:

P Recieving Threshold (RXThresh)
Pt Transmission Power
Gr Antenna reciving gain
Gt Antenna transmission gain
lambda wavelength (= 3.0e08 / frequency)
d distance
L System Loss

Best,

-Matt

> First of all I think the the free  space model and two ray ground model
> are dependent on antenna height and there is a crossover distance, after
> which the model used is two ray ground. When you say you use free space
> model, you must have the antennas to be very high, to acheive a free space
> loss situation, otherwise two ray ground will take effect after the
> crossover distance.  



[ns] Delay in MobileIP

2007-02-21 Thread Akmal Akmalhojaev

Hello! This question is very urgent!

How can I count delay of IP handover? I have trace file but I can't
understand it!

Thanks!


[ns] FW Who has an example source code of WDM network based on OWns simulator (ns2 extension )

2007-02-21 Thread Ekularn Dhavarudha

 
-Original Message-
From: Ekularn Dhavarudha 
Sent: Wednesday, February 21, 2007 5:45 PM
To: 'ns-users@ISI.EDU'
Subject: Who has an example source code of WDM network based on OWns
simulator (ns2 extension )


Who has any example of a source code for WDM network based on OWns
simulator (ns2 extension ). It would be my appreciatio if you wolud be
please post it for me give the URL address.

 
 Upgrade Your Email - Click here! 



[ns] mobiwan installation

2007-02-21 Thread Girma Kassa

Hi ns users, 
I was to use mobiwan for my thesis but i was unable to
install mobiwan. It gives me the following error.
Please help me in installing and using it.
[EMAIL PROTECTED] distrib-mobiwan]# make mobiwan

APP=mobiwan ; export APP ; gmake target

gmake[1]: Entering directory `/root/distrib-mobiwan'

mkdir: cannot create directory
`/root/distrib-mobiwan/.work': File exists

mkdir: cannot create directory `gen': File exists

gmake[1]: [subdirs] Error 1 (ignored)

rm: cannot lstat
`/root/distrib-mobiwan/.work/.newobj': No such file or
directory

gmake[2]: Entering directory `/root/distrib-mobiwan'

 Merging /root/distrib-mobiwan/src and
/root/ns-allinone-2.1b6/ns-2.1b6

gmake[2]: Leaving directory `/root/distrib-mobiwan'

gmake[2]: Entering directory `/root/distrib-mobiwan'

 Merging /root/distrib-mobiwan/src/tcl and
/root/ns-allinone-2.1b6/ns-2.1b6/tcl

gmake[2]: Leaving directory `/root/distrib-mobiwan'

gmake[2]: Entering directory `/root/distrib-mobiwan'

 Merging /root/distrib-mobiwan/src/tcl/lib and
/root/ns-allinone-2.1b6/ns-2.1b6/tcl/lib

gmake[2]: Leaving directory `/root/distrib-mobiwan'

 Including local tcl-lib

 Building Makefile

rm: cannot lstat `Makefile': No such file or directory

rm: cannot lstat `config.status': No such file or
directory

Create Configure file for ns-2.1b6 using prefix

--

Working directory is /root/distrib-mobiwan/.work

Configuration of ns-2.1b6

Using prefix

--

creating cache ./config.cache

No .configure file found in current directory

Continuing with default options...

checking host system type... i686-pc-linux-gnu

checking target system type... i686-pc-linux-gnu

checking build system type... i686-pc-linux-gnu

checking for gcc... gcc

checking whether the C compiler (gcc ) works... yes

checking whether the C compiler (gcc ) is a
cross-compiler... no

checking whether we are using GNU C... yes

checking whether gcc accepts -g... yes

checking for c++... c++

checking whether the C++ compiler (c++ ) works... yes

checking whether the C++ compiler (c++ ) is a
cross-compiler... no

checking whether we are using GNU C++... yes

checking whether c++ accepts -g... yes

checking how to run the C preprocessor... gcc -E

checking for ANSI C header files... yes

checking for string.h... yes

checking for main in -lXbsd... no

checking for socket in -lsocket... no

checking for gethostbyname in -lnsl... yes

checking for dcgettext in -lintl... no

checking for getnodebyname in -ldnet_stub... no

checking that c++ can handle -O2... no

checking for tcl.h... -I/usr/include

checking for libtcl8.0... -L/usr/lib -ltcl

checking for init.tcl... no

d is

checking for tclsh8.0.4... no

checking for tclsh8.0... no

checking for tclsh... /usr/bin/tclsh

configure: error: Installation of tcl seems
incomplete.

Please correct the problem or re-run with
--with-tcl=no.

ns-2.1b6 configuration failed! Exiting ...

gmake[1]: [/root/distrib-mobiwan/.work/Makefile] Error
1 (ignored)





*

Building mobiwan


gmake[2]: Entering directory
`/root/distrib-mobiwan/.work'

gmake[2]: *** No targets specified and no makefile
found. Stop.

gmake[2]: Leaving directory
`/root/distrib-mobiwan/.work'

gmake[1]: *** [target] Error 2

gmake[1]: Leaving directory `/root/distrib-mobiwan'

make: *** [mobiwan] Error 2



 

No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 



[ns] RTP implementation in ns2

2007-02-21 Thread GEORGIOS KIOUMOURTZIS

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 recompiled ns-2.30 .
It seems it works properly now but I need users' feedback.
I you are working in multimedia transmission with RTP/RTCP and multicasting
send an email to give you the code for session-rtp.tcl
and let us share knowledge.
I also discuver I thing some bugs in rtp and I'd like to discuss them with
those who are interested in.
best regards

Georgios Kioumourtzis
Computer Engineering and Informatics Department
University of Patras, Greece
alt email: [EMAIL PROTECTED]