[ns] NS2 Installation problem with cygwin

2006-10-08 Thread Loreno Oliveira

>
> Hi Shaili,
>
> I had this same issue during the last three days, with exactly these same
> versions. The problem is how newer bash versions treat a certain line within
> some scripts and configuration files.
>
> Ok, the solution:
>
> 1) Unpack ns
>
> tar zxpfv ns-allinone-2.xx.tar.gz
>
> 2) Apply the correct patch
>
> patch -p0 < "appropriate patch file"
>
> You should find the adequate patch in this link
> http://www.ececs.uc.edu/~cdmc/ucbt/src/
>
> 3) Enter the ns2 directory (the directory created when you unpacked the
> allinone package)
>
> cd ns-allinone-2.xx (I do no remember if this is the correct directory
> name)
>
> 4) Search all the files with the problematic line.
>
> grep -R "system=MP-RAS" * | sort | uniq
>
> 5) Edit each file in your prefered editor
>
> 6) In each file, change all the occurences of these lines
>
> system=MP-RAS-`awk ' { print $3 } '/etc/.relid'`
>
> system=MP-RAS-`awk ' { print } '/etc/.relid'`
>
> by this,
>
> system=MP-RAS-`awk ' { print $3 } '/etc/.relid`
>
>
> 7) That's it. Now try ./install and everythins will surely work fine :-)
>
> []'s
>
> Loreno
>
>
>
> On 10/7/06, Shaili Desai <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hey everyone,
> >
> > Can you please reply to my query below. I had to write back again,
> > since could not get any responses and its kind of getting me held up
> > on that.
> > I am trying to run WImax simulation through this set up ,which I tried
> > to run through FC5, but has some problems,so I think I cant do without
> > Cygwin.
> >
> > I would be very glad, if anyone can respond to my query.
> > Following is my problem:
> >
> > >
> > > I am new to NS2 and Cygwin both. I am trying to install NS2 on Cygwin
> > > and it gave me error as follows:
> > >
> > > error near unexpected token '>'
> > > ./configure line:7068 '   OSF*>'
> > >  tcl8.3.2 configuration failed!Exiting
> > > TCL is not part of the NS project.Please see www.Scriptics.com to see
> > > if they have a fix for your platform.
> > >
> > > And I tried Scriptics.com but there it says it is under construction.
> > >
> > > I tried with both ns-allinone-2.27 and 2.29
> > > Neither works.
> > >
> > > Can anyone recommend the solution. I would be more than glad if I get
> > a reply.
> > > Sorry if I am asking out-of-date que.
> > >
> > > -Thnx
> > >
> >
> >
>


[ns] NS2 + UCBT

2006-10-12 Thread Loreno Oliveira

Hi list,

sorry for this message. I know this is not the apropriate list for
discussing external NS modules, but the UCBT list seems to be no more
active, and I hope there are people here with some experience with UCBT.

Well, I have reproduced, using NS2 + UCBT, a scenario whose I have performed
some tests using real bluetooth devices. The problem is that the behavior
presented by UCBT is rather different from the behavior verified
empirically. Does anybody can help me with some hint of where, and how,
should I modify UCBT for modeling the bluetooth features I need to deal
with??

Thanks in advance!

Loreno


Re: [ns] Xgraph basic question

2006-10-17 Thread Loreno Oliveira

If using xgraph is not a need, you may try gnuplot for ploting your
graphs...

Regards,

Loreno

On 10/17/06, Aco <[EMAIL PROTECTED]> wrote:
>
>
> I am trying to visualize test results using Xgraph.
> Everything is OK, but I have problem with something that should not be a
> problem.
>
> I cannot find a way how to output "graph I got" to JPG file. I can make
> PS,
> and OBJ file but I need clear JPG picture witout gray background.
>
> Anybody can help ?
>


[ns] RSSI measurement

2006-10-17 Thread Loreno Oliveira

Hi All,

does anybody know how do I measure the RSSI between two wireless nodes?? As
far as I have seen in the archive, this question has been posted during
years in this list without any reply. I will be extremelly thankful if
somebody had some hint about it.

Regards,

Loreno


Re: [ns] RSSI measurement

2006-10-18 Thread Loreno Oliveira

Hi Svilen, thanks for the answer!

I will take a look at the method you said. Regarding your question, yes. I'm
working on a handoff protocol for Bluetooth. An essential point of the
protocol is the constant RSSI measurement between base stations and mobile
devices.

I am working with UCBT, which seems that does not implement RSSI measurement
between nodes. Now I am taking a better look at NS and how UCBT is
integrated to it in order to derive some way of making the RSSI
measurements...

Do you have some experience with modeling of localization experiments?? I
would be great if I could exchange some ideas with someone with some
expertise on this field...

Regards,

Loreno

On 10/18/06, Svilen Ivanov <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I do not know a tcl command about this. But you might want to look at
> WirelessPhy::sendUp, the received power Pr (in watt) is computed there
> regardless of the propagation model in use.
>
> Do you want to use RSSI for localization experiments in ns-2?
>
> Greetings,
> Svilen
>
> Loreno Oliveira wrote:
>
> >Hi All,
> >
> >does anybody know how do I measure the RSSI between two wireless nodes??
> As
> >far as I have seen in the archive, this question has been posted during
> >years in this list without any reply. I will be extremelly thankful if
> >somebody had some hint about it.
> >
> >Regards,
> >
> >Loreno
> >
> >
> >
>
> --
> +--+
> | M.Sc. Svilen Ivanov  |
> | Institute for Distributed Systems (IVS)  |
> | Otto-von-Guericke University - Magdeburg |
> | http://ivs.cs.uni-magdeburg.de/~svilen/  |
> +--+
>
>


Re: [ns] R: RSSI measurement

2006-10-18 Thread Loreno Oliveira

Hi Marco, very thanks to your reply!

I will take a look at the structure you said and doing some tests. Based in
what you said, probably this solves my problem. A priori I am only
considering simpler scenarios where I do not need to deal with
interferences. My actual concern is only finding a way of estimating the
distance between two bluetooth devices, and I thought RSSI was the
straingforward solution...

Regards,

Loreno

On 10/18/06, Marco Fiore <[EMAIL PROTECTED]> wrote:
>
> Loreno,
>
> in common/packet-stamp.h you can find the PacketStamp
> structure, which is
> included in any ns packet. It stores information on
> the transmitted and received
> power. You can access this information
> with, for example,  p->txInfo_.RxPr,
> which returns the received power
> of packet p. Note that the original implementation
> of ns does not
> include interference: if you want to add this feature, you can install
> the patch for wireless support you can find at http://www.reti.polito.
> it/fiore
>
> bye,
>
> Marco
>
> >Messaggio originale
> >Da:
> [EMAIL PROTECTED]
> >Data: 18-ott-2006 12.38 AM
> >A: <[EMAIL PROTECTED]
> EDU>
> >Ogg: [ns] RSSI measurement
> >
> >
> >Hi All,
> >
> >does anybody know how
> do I measure the RSSI between two wireless nodes?? As
> >far as I have
> seen in the archive, this question has been posted during
> >years in
> this list without any reply. I will be extremelly thankful if
> >somebody
> had some hint about it.
> >
> >Regards,
> >
> >Loreno
> >
>
>
>


Re: [ns] Problems running simulations

2006-10-19 Thread Loreno Oliveira

Not sure if this is a ns/nam issue. Imediatelly before/after getting this
message can you open some graphical application, such as xclock??

Loreno

On 10/19/06, eoin curran <[EMAIL PROTECTED]> wrote:
>
>
> I'm a first time user and I couldn't find anything to help me with my
> problem in the archives so I hope one of you will be able to help me.
>
> When trying to run a simulation the following appears;
>
> nam: no display name and no $DISPLAY environment variable
>
> But I have set all the paths.
>
> Hopefully someone will be able to shed some light on the problem. Any help
> would be gratefully appreciated.
>
> Kind regards,
> Eoin
>


Re: [ns] ns-allinone-2.29 Installation problem in cygwin

2006-10-20 Thread Loreno Oliveira

Hi there Aravind!

As the archive is quite big, maybe you have missed my post where I respond
to this question.
Try to look at http://mailman.isi.edu/pipermail/ns-users/2006-October.txt.
Once downloaded, type CTRL + F for searching a pattern and write "Unpack
ns".

This was my answer to a question quite similar to yours. Besides my answer,
there are at least two or three answers in the archive for this same
question. It's all about having time and patience for searching 150MB of
archives :-)

Regards,

Loreno

On 10/20/06, Aravind Thimmapuram <[EMAIL PROTECTED]> wrote:
>
>
> am getting following error while installing ns-allinone-2.29 in cygwin.
> > ./configure: line 7901: syntax error near unexpected token `('
> > ./configure: line 7901: `  case `(ac_space=' '; set | grep ac_space)
> 2>&1` in'
> tcl-8.4.11 configuration failed! Exiting.
>
>
> I tried searching the archives of this mailing list.but i didnt find
> any
> solution to this problem. Plz help me!!!
>
> Aravind.
>


Re: [ns] voice and video traffic in ns2(help)

2006-10-21 Thread Loreno Oliveira

Hi Ghazale,

I am also working with simulation of audio and video flows. Well, I may be
wrong in my approach, but all I did was creating a simple CBR traffic
generator over UDP. I have also made some real tests for getting some
parameters for supplying NS2, such as MTU, packet size, and rate.

Of cource, this scenario can vary as our needs are distinct. For instance,
if you are simulating voice transmition for telephony purposes, you propably
should use TCP instead of UDP. Moreover, CBR is apropriate for the set of
applications I am interested in. Maybe the VBR model is better suitable for
your objectives.

Regards,

Loreno

On 10/21/06, ghazale khojaste <[EMAIL PROTECTED]> wrote:
>
>
> Hi all,
>   I would like some advice on how to create voice and video traffic  in
> ns2. Is there any tutorial about voice and video traffic in ns2?
>   Any suggestions are welcome.
>
> Thank you,
>
> ghazale khojaste
>
>
>
> -
> Do you Yahoo!?
> Everyone is raving about the  all-new Yahoo! Mail.
>


[ns] NS programming

2006-10-23 Thread Loreno Oliveira

Hi all,

I do not know if this is the right list for asking this. Btw, I have been
studing NS since a few days. Now I have some idea of what I need to do for
creating the scenarios I need. The question is where to start. Does anybody
knows some tutorials/manuals/how-tos regarding the extending of NS? The "NS
by examples" brings an example of how to create a new protocol, and it gives
an idea of the number of details that need to be dealt with in order to put
the things working.

Thanks in advance for any help!

Loreno