[ns] What is mean of CPThresh ?

2007-08-30 Thread Phitsanu Eamsomboon

Dear All
 I have a some question about  TwoRayGround Model , May I know the mean of
CPThresh_ . What does it mean ? and How can I determine it?

Best regard


Re: [ns] regarding simulation of Manhattan Grid Model

2007-08-30 Thread Geetha

> Dear NS-Users,
>
>
> I would like to know whcih mobility tool could be used for  Manhattan
> Grid Model.Any help in this regard would be of great help for me.
>
>
> Looking forward for your reply.
>
>
> Thanking you,
>
> with regards
> Geetha
>



Re: [ns] Ns2 problem in tclsh

2007-08-30 Thread Teerawat Issariyakul


Hi

Does ns start at all? From my understanding, its like ns works properly.
But the variable "ns" is not used properly. Try to replace "ns" with
"$ns" if you  ever define "set ns [new Simulator]". The former one
is just a string while the latter one is the simulator object.

cheers,
Teerawat

On 8/30/2007, "AZHAR MOHD ARIS" <[EMAIL PROTECTED]> wrote:

>
>I read yr comment in the website
>http://mailman.isi.edu/pipermail/ns-users/1997-May.txt
>..just want to asking u .what u mean by
>"tclsh7.6"? i'm using ns2-31. because i get an error like below too.
>is it need to delete 'everything' in gen
>
>and make all again for ns2-31 folder?
>
>
>rom [EMAIL PROTECTED]  Mon May  5 17:04:03 1997
>From: [EMAIL PROTECTED] (Mark Handley)
>Date: Mon, 05 May 1997 12:04:03 -0400
>
>Subject: NS2 compiles, but doesn't run
>In-Reply-To: Your message of "Mon, 05 May 1997 11:42:54 EDT."
> <[EMAIL PROTECTED]>
>Message-ID: <
>[EMAIL PROTECTED]>
>
>
>>we just installed ns-2.0a16, and I tried
>>
>>  ns test-suite.tcl tahoe1
>>
>>but I got the following error message:
>
>>
>>invalid command name "ns"
>>while executing
>>"ns node"
>
>Probably ns didn't build correctly because it couldn't find tclsh
>which is needed to build ns-lib.tcl
> in the gen subdirectory.  The
>build will have failed to build ns-lib.tcl properly, and so nothing
>works.
>
>Check whether this is in fact what's happening, by removing everything
>in "gen" and re-making.  If this is the case, edit the Makefile so it
>
>looks for "tclsh7.6" or whetever it's installed as on your platform.
>
>ANY BODY CAN X-PLAIN TO ME??
>
>--
>AZHAR MOHD ARIS (GS16917)
>Master in Computer Science Candidate (Distributed Computing)
>University Putra of Malaysia
>+^019.613.742.2
>YM: azuan76
>



[ns] video conference & PLR

2007-08-30 Thread Elahe Alipour

Dear ns-users,

here I want to thank everyone that help me till now in my project.my thesis is 
progressing.( it is about call admission control in diffserv )
  now again i have some questions and i hope that you answer to me.
   
  1- what kind of traffic is used for video conference in ns. for example for 
VOIP we use from Exponential traffic. i guess that i should use from trace 
files of real traffic. what's yr idea?
   
  2-for VOIP traffic i calculated PLR but in xgraph, i saw strange behavior. 
PLR reaches to 48% and suddenly decreases to -48% and gradually again increases 
to 18% and this behavior repeats with different PLR. i can't understand why. 
and also PLR is very high. is it normal?
   
  please kindly answer to me.
  Thank you in advance.

Best regards,
Elahe

   
-
Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. 


[ns] FW: throughput, delay calculation-alternative way... :(

2007-08-30 Thread JEHD MAHDI





J Mahdi
Newcastle Upon Tyne
**
 
 


From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: RE: [ns] throughput, delay 
calculation-alternative way... :(Date: Wed, 29 Aug 2007 18:16:28 +


hi there, when i try runing the file: perl dsr.pl i get this message: Illegal 
division by zero at calc.pl line 108.how can i avoid this, i can't control if 
some of the calculations included a zero!! thanks


J Mahdi
Newcastle Upon Tyne
**

 


Subject: RE: [ns] throughput, delay calculation-alternative way... :(Date: Wed, 
29 Aug 2007 16:01:17 +0100From: [EMAIL PROTECTED]: [EMAIL PROTECTED] have a 
perl script which calculates goodput, delay, etc. Important it works on old 
trace format. Also change the name of the trace file in the 
script.CheersHaseeb-Original Message-From: [EMAIL PROTECTED] on behalf 
of JEHD MAHDISent: Wed 29/08/2007 3:48 PMTo: ns2 mailingSubject: [ns] 
throughput, delay calculation-alternative way... :(hi there is there any 
alternative ways to calculate t & d without using the awk scripts or similar??  
i have the scripts , but strangely they just wouldn't work!!cheersJ 
MahdiNewcastle Upon 
Tyne**_Feel
 like a local wherever you go with BackOfMyHand.comhttp://www.backofmyhand.com

Are you the Quizmaster? Play BrainBattle with a friend now! 
_
Get free emoticon packs and customisation from Windows Live. 
http://www.pimpmylive.co.uk


[ns] Ns2 problem in tclsh

2007-08-30 Thread AZHAR MOHD ARIS

I read yr comment in the website
http://mailman.isi.edu/pipermail/ns-users/1997-May.txt
..just want to asking u .what u mean by
"tclsh7.6"? i'm using ns2-31. because i get an error like below too.
is it need to delete 'everything' in gen

and make all again for ns2-31 folder?


rom [EMAIL PROTECTED]  Mon May  5 17:04:03 1997
From: [EMAIL PROTECTED] (Mark Handley)
Date: Mon, 05 May 1997 12:04:03 -0400

Subject: NS2 compiles, but doesn't run
In-Reply-To: Your message of "Mon, 05 May 1997 11:42:54 EDT."
 <[EMAIL PROTECTED]>
Message-ID: <
[EMAIL PROTECTED]>


>we just installed ns-2.0a16, and I tried
>
>   ns test-suite.tcl tahoe1
>
>but I got the following error message:

>
>invalid command name "ns"
>while executing
>"ns node"

Probably ns didn't build correctly because it couldn't find tclsh
which is needed to build ns-lib.tcl
 in the gen subdirectory.  The
build will have failed to build ns-lib.tcl properly, and so nothing
works.

Check whether this is in fact what's happening, by removing everything
in "gen" and re-making.  If this is the case, edit the Makefile so it

looks for "tclsh7.6" or whetever it's installed as on your platform.

ANY BODY CAN X-PLAIN TO ME??

-- 
AZHAR MOHD ARIS (GS16917)
Master in Computer Science Candidate (Distributed Computing)
University Putra of Malaysia
+^019.613.742.2
YM: azuan76


Re: [ns] LLType - what the name of this module?

2007-08-30 Thread Candace Phelps

> where i can refer the LL? (ll.so?)

I found this site when I was looking for something else for ns2. It's  
awesome! You can type in any variable in ns2, and it will tell you  
where it is defined.
http://www.auto-nomos.de/ns2doku/

-- 
Sincerely,

Candace Phelps
3rd Yr Honors CS Student


Quoting AZHAR MOHD ARIS <[EMAIL PROTECTED]>:

>
> $ns_ node-config -mobileIP OFF \
>   -adhocRouting noah/NOAH \ =20
>   -llType LL \
>
> where i can refer the LL? (ll.so?)
> --
> AZHAR MOHD ARIS (GS16917)
> Master in Computer Science Candidate (Distributed Computing)
> University Putra of Malaysia
> +^019.613.742.2
> YM: azuan76
>
>




Re: [ns] SCTP aware application in ns-2

2007-08-30 Thread Elisabete Reis

 

Hi,

 

I have resolved the problem and now SCTP-aware application available with NS
is working (implemented in /ns-2/apps/sctp_appl1.*). 

I couldn´t see the trace because i was run the simulation for few secs and
when we use a SCTP-aware application the association is established after 8
secs. It is because the interval_ parameter is 1 (default value). If you
change to 0, the packets are sent in intervals calculated by tcplib_telnet()
and the association is established immediately after start.

 

This application is not very interesting for me. It is based at Telnet
application (see ns-2/apps/telnet.*).

Now I´m trying to create a new Sctp application, based in
Traffic/Exponential but I have some problems. 

 

 

I hope this help you

Regards

Elisabete Reis

 

 

 

 

  _  

From: bhaskar sardar [mailto:[EMAIL PROTECTED] 
Sent: quinta-feira, 30 de Agosto de 2007 13:19
To: [EMAIL PROTECTED]
Subject: Re: SCTP aware application in ns-2

 

Dear Reis

I found your question regarding SCTP. I have simillar problems. I do not
find FTP files where I have to make changes for use with SCTP. If you have
solved it please let me know.

 

Regards

Bhaskar Sardar



Re: [ns] Need help installing NS-2.31 on 64-bit machine...

2007-08-30 Thread Sita S. Krishnakumar

You can try to say --with_tcl=xxx and provide the path or --prefix= if
you are installing to a directory of your choice etc.
Look into all the flags and check if the makefile.in is present in the
directory quoted.
I did a build on a 64-bit machine and the major change required was to
point to lib64 directory correctly.
Regards,
Sita


>
> Hi everyone...I'm having a problem...When I try to install NS2.31 on s
> friend's machine, I get this error message
>
> Victor:/home/mavor/Network Simulator/ns-allinone-2.31 # ls
> cweb INSTALL.WIN32  otcl-1.13   sgb tclcl-1.19   zlib-1.2.3
> gt-itm   nam-1.13   perl-5.8.8  stable.tar  tk8.4.14
> install  ns-2.31README  tcl8.4.14   xgraph-12.1
> Victor:/home/mavor/Network Simulator/ns-allinone-2.31 # ./install
> 
> * Testing for Darwin (OS X) environment
> 
> 
> * Testing for Cygwin environment
> 
> Cygwin not detected, proceeding with regular install.
> 
> * Build XGraph-12.1
> 
> creating cache ./config.cache
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes
> checking for working aclocal... found
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... found
> checking for working makeinfo... found
> checking if malloc debugging is wanted... no
> 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 how to run the C preprocessor... gcc -E
> checking for X... libraries /usr/lib64, headers
> checking for dnet_ntoa in -ldnet... no
> checking for dnet_ntoa in -ldnet_stub... no
> checking for gethostbyname... yes
> checking for connect... yes
> checking for remove... yes
> checking for shmat... yes
> checking for IceConnectionNumber in -lICE... yes
> checking for float.h... yes
> checking for limits.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for strings.h... yes
> checking for unistd.h... yes
> checking for strcasecmp... yes
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating autoconf.h
> gcc -DHAVE_CONFIG_H -I. -I. -I.-g-c xgraph.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.-g-c xgX.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.-g-c hard_devices.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.-g-c dialog.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.-g-c hpgl.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.-g-c ps.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.-g-c idraw.c
> idraw.c: In function 'idrawInit':
> idraw.c:155: warning: cast to pointer from integer of different size
> idraw.c: In function 'idrawText':
> idraw.c:303: warning: incompatible implicit declaration of built-in
> function
> 'strlen'
> gcc -DHAVE_CONFIG_H -I. -I. -I.-g-c xtb.c
> xtb.c: In function 'focus_evt':
> xtb.c:873: warning: incompatible implicit declaration of built-in function
> 'printf'
> xtb.c:882: warning: incompatible implicit declaration of built-in function
> 'printf'
> xtb.c: In function 'xtb_hort':
> xtb.c:1279: warning: incompatible implicit declaration of built-in
> function
> 'printf'
> xtb.c: In function 'xtb_vert':
> xtb.c:1321: warning: incompatible implicit declaration of built-in
> function
> 'printf'
> xtb.c: In function 'xtb_fmt_setpos':
> xtb.c:1351: warning: incompatible implicit declaration of built-in
> function
> 'printf'
> xtb.c: In function 'xtb_fmt_addpos':
> xtb.c:1379: warning: incompatible implicit declaration of built-in
> function
> 'printf'
> xtb.c: In function 'xtb_fmt_top':
> xtb.c:1520: warning: incompatible implicit declaration of built-in
> function
> 'printf'
> xtb.c:1529: warning: incompatible implicit declaration of built-in
> function
> 'printf'
> gcc -DHAVE_CONFIG_H -I. -I. -I.-g-c st.c
> st.c: In function 'st_init_table_with_params':
> st.c:78: warning: cast to pointer from integer of different size
> st.c: In function 'st_lookup':
> st.c:151: warning: cast from pointer to integer of different size
> st.c:151: warning: cast from pointer to integer of different size
> st.c:151: warning: cast from pointer to integer of different size
> st.c:151: warning: cast from pointer to integer of different size
> st.c:153: warning: cast from pointer to integer of different size
> st.c:153: warning: cast from pointer to integer of different size
> st.c: In function 'st_insert':
> st.c:199: warning: cast from point

[ns] Need help installing NS-2.31 on 64-bit machine...

2007-08-30 Thread Brenda Lindsay Williams

Hi everyone...I'm having a problem...When I try to install NS2.31 on s
friend's machine, I get this error message

Victor:/home/mavor/Network Simulator/ns-allinone-2.31 # ls
cweb INSTALL.WIN32  otcl-1.13   sgb tclcl-1.19   zlib-1.2.3
gt-itm   nam-1.13   perl-5.8.8  stable.tar  tk8.4.14
install  ns-2.31README  tcl8.4.14   xgraph-12.1
Victor:/home/mavor/Network Simulator/ns-allinone-2.31 # ./install

* Testing for Darwin (OS X) environment


* Testing for Cygwin environment

Cygwin not detected, proceeding with regular install.

* Build XGraph-12.1

creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking if malloc debugging is wanted... no
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 how to run the C preprocessor... gcc -E
checking for X... libraries /usr/lib64, headers
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for float.h... yes
checking for limits.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for strings.h... yes
checking for unistd.h... yes
checking for strcasecmp... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating autoconf.h
gcc -DHAVE_CONFIG_H -I. -I. -I.-g-c xgraph.c
gcc -DHAVE_CONFIG_H -I. -I. -I.-g-c xgX.c
gcc -DHAVE_CONFIG_H -I. -I. -I.-g-c hard_devices.c
gcc -DHAVE_CONFIG_H -I. -I. -I.-g-c dialog.c
gcc -DHAVE_CONFIG_H -I. -I. -I.-g-c hpgl.c
gcc -DHAVE_CONFIG_H -I. -I. -I.-g-c ps.c
gcc -DHAVE_CONFIG_H -I. -I. -I.-g-c idraw.c
idraw.c: In function 'idrawInit':
idraw.c:155: warning: cast to pointer from integer of different size
idraw.c: In function 'idrawText':
idraw.c:303: warning: incompatible implicit declaration of built-in function
'strlen'
gcc -DHAVE_CONFIG_H -I. -I. -I.-g-c xtb.c
xtb.c: In function 'focus_evt':
xtb.c:873: warning: incompatible implicit declaration of built-in function
'printf'
xtb.c:882: warning: incompatible implicit declaration of built-in function
'printf'
xtb.c: In function 'xtb_hort':
xtb.c:1279: warning: incompatible implicit declaration of built-in function
'printf'
xtb.c: In function 'xtb_vert':
xtb.c:1321: warning: incompatible implicit declaration of built-in function
'printf'
xtb.c: In function 'xtb_fmt_setpos':
xtb.c:1351: warning: incompatible implicit declaration of built-in function
'printf'
xtb.c: In function 'xtb_fmt_addpos':
xtb.c:1379: warning: incompatible implicit declaration of built-in function
'printf'
xtb.c: In function 'xtb_fmt_top':
xtb.c:1520: warning: incompatible implicit declaration of built-in function
'printf'
xtb.c:1529: warning: incompatible implicit declaration of built-in function
'printf'
gcc -DHAVE_CONFIG_H -I. -I. -I.-g-c st.c
st.c: In function 'st_init_table_with_params':
st.c:78: warning: cast to pointer from integer of different size
st.c: In function 'st_lookup':
st.c:151: warning: cast from pointer to integer of different size
st.c:151: warning: cast from pointer to integer of different size
st.c:151: warning: cast from pointer to integer of different size
st.c:151: warning: cast from pointer to integer of different size
st.c:153: warning: cast from pointer to integer of different size
st.c:153: warning: cast from pointer to integer of different size
st.c: In function 'st_insert':
st.c:199: warning: cast from pointer to integer of different size
st.c:199: warning: cast from pointer to integer of different size
st.c:199: warning: cast from pointer to integer of different size
st.c:199: warning: cast from pointer to integer of different size
st.c:201: warning: cast from pointer to integer of different size
st.c:201: warning: cast from pointer to integer of different size
st.c:204: warning: cast from pointer to integer of different size
st.c:204: warning: cast from pointer to integer of different size
st.c:204: warning: cast from pointer to integer of different s

[ns] hi all

2007-08-30 Thread Indrajit Bhattacharya

hi all,

how can i get sample scripts to calcutlate average end to end delay, packet
drops, throughput of my application ? my application is in WSN in NS 2.29.
my outout trace file (.tr ) was generated successfully which was in old
trace file format.

Indrajit Bhattacharya


[ns] Help me to fix this error

2007-08-30 Thread adi suryo wibowo

Hii ns user

I confused how to fix the common problems of "friend class" of drr.cc,
imep/rxmit_queue.h, sfq.cc, snoop.h, tcp-full.h, tcp-rbp.cc,
tfrc-sink.h, and tfrc.h   "What this means"
Can you help me??

Can ADMR and ODMRP install in NS 2.30? Until now I have error and error



Thanks