[ns] Calculate goodput

2007-01-11 Thread [EMAIL PROTECTED]

Can you help me to calculate goodput of tcp, fairness and friendliness?


--
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada11gen07





[ns] Rui prior NS-2 SIP module questions

2007-01-11 Thread profess vpl

Hi,

I'm currently making a brief state of the art of SIP-NS-2 modules in order
to use NS-2 in a SIP research project for IMS Network Sizing. Rui Prior's
implementation which seems not leveraging NIST-SIP NS-2 module looks very
interesting.
I was able to recompile (./install) the
ns-allinone-2.27-sip-v1_11http://www.ncc.up.pt/%7Erprior/ns/ns-allinone-2.27-sip-v1_11.tar.gz
patch on ns-allinone-2.30 running on my REL4-U2 system. Need to update 2
file by hands but that works correctly.
I have 2 questions for NS-2 SIP users
- Is their doc etc ... describing a litle bit more the Rui Prior's SIP
module. This implementation looks very interesting but no piece of doc
except a basic readme is provided ? That would speedup our ramp-up on this
module
- Can Rui Prior explain what is, from his opinion, the main diff between the
NIST-SIP module and his Module ? Maturity ? Number of functions ?

Thanks for your support

Cheers


[ns] AODV and 802.11 link layer feedback

2007-01-11 Thread Matthias Kuhnert

Hi,

is there anyone familiar with the 802.11 link layer feedback concerning aodv? 
I'm currently searching for the variable or statement, upon which the link 
layer decides that a route is broken(I guess it should be similar to a certain 
number of unsuccessful retransmission...), and for the exact parts of the code 
where the failure is propagated by the link layer up to the aodv.



Thanks in advance,
 Matthias

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer



[ns] NS tutorial update proposal

2007-01-11 Thread Joachim Fabini

Hi all,

I noticed that section VII of Marc Greis' tutorial is seriously 
out of sync with the NS 2.30 sources.
 
First, the ping example is now included in the apps 
directory of the ns distribution (this is worth mentioning in
the tutorial text), 
Second, some functionality has been added to the apps/ping example
(e.g. broadcast) and 
Third, the location, encapsulation and access methodology for some 
(former) member variables has been changed (improved imho, but 
with the drawback of not being backward compatible). 

Specifically the third aspect requires to update the tutorial.
Newbies are likely to be confused by the changes and compiler 
errors when they write their own protocols based on the ping 
sample as a template. The tutorial ping uses members which are 
no longer valid - e.g. off_ip_, which was apparently replaced 
by hdr_ip::access(); the src_ member which apprently was changed 
to a struct, yielding the former src_ in src_.addr_, etc.). 
NS is sufficiently complex for newbies, anyhow. ;)

I therefore suggest to reflect these changes of the ping sources
back to the tutorial, and, in addition, modify the comment on 
line 55 of the NS 2.30 apps/ping.h file (and cc-file) requesting
that future changes be reflected to section VII the NS Tutorial. 
(The tutorial/examples directory seems to anyhow no longer 
exist)...

Thanks in advance,
best regards
--Joachim



[ns] Multiple Radios on the same node

2007-01-11 Thread Goutham B

Hi all,

I am a ns newbie and trying to implement multiple radios on a single
node. I am using ns-2.28.
If any of you could suggest how to go about it .. it would be of great help.

Thanks,

Goutham


[ns] how to use Erlang offered load in ns2

2007-01-11 Thread TINDO SANGHAPI Judith Noelle

Hi,
  I will like to know How to introduce erlang offered load in ns2. Can 
somebody help me?
   
  Regards

-
 Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses.


[ns] installing iNspect in fedora core 5 linux error information

2007-01-11 Thread wjw7869

Dear Everyone,
 when  I  install  it in Fedora core 5 linux, I met error information as 
follows.  please help me find reasons ,Thanks in advances!
another question is that I can not download GpenGL library.pleae help me !  

 Wang Jun-wei   Hefei University of Technology  China
// checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for strerror in -lcposix... no
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... f95
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f95 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag CXX to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag F77 to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for f95 option to produce PIC... -fPIC
checking if f95 PIC flag -fPIC works... yes
checking if f95 supports -c -o file.o... yes
checking whether the f95 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for some Win32 platform... no
checking for native Win32... no
checking whether build environment is sane... yes
checking for gcc 

[ns] MM1 queue Analysis NAM question

2007-01-11 Thread Deborah Jan

Hi,
 
I'm new at ns. I want to analyze mm1 queue and confirm E[N]. 
I got all the output files. But when i run the nam, i saw that there is not any 
packet which goes from node 0 to node 1. How can this happen? 
I made the link bandwidth small (set link [$ns simplex-link $n1 $n2 1kb 0ms 
DropTail]) and i saw that the packet dropped from node 0 before they go to1. 
Shouldn't they would drop near node 1. I think the packets are at the buffer of 
npde 1. Why couldn't i see the packets which goes from node 0 to 1?
 
The tcl code is below:
 
set ns [new Simulator]
set nf [open out1.nam w]
$ns namtrace-all $nf
 
set tf [open out.tr w] 
$ns trace-all $tf
set lambda 30.0
set mu 33.0
set n0 [$ns node]
set n1 [$ns node]
 
 
 
set link [$ns simplex-link $n0 $n1 100kb 0ms DropTail]
$ns queue-limit $n0 $n1 10
 
set InterArrivalTime [new RandomVariable/Exponential]
$InterArrivalTime set avg_ [expr 1/$lambda]
set pktSize [new RandomVariable/Exponential]
$pktSize set avg_ [expr 100.0/(8*$mu)]
set src [new Agent/UDP]
$ns attach-agent $n0 $src
 
set qmon [$ns monitor-queue $n0 $n1 [open qm.out w] 0.1]
$link queue-sample-timeout
proc finish {} {
global ns tf nf
$ns flush-trace 
close $tf 
close $nf
exit 0 
} 
proc sendpacket {} {
global ns src InterArrivalTime pktSize 
set time [$ns now]
$ns at [expr $time + [$InterArrivalTime value]] sendpacket
set bytes [expr round ([$pktSize value])]
$src send $bytes
}
set sink [new Agent/Null]
$ns attach-agent $n1 $sink
$ns connect $src $sink
$ns at 0.0001 sendpacket
$ns at 1000.0 finish
 
$ns run
 
 
Thanks,
 
DJ

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


[ns] OBS-ns, How to simulate OBS networks in NS-2 help!

2007-01-11 Thread Iuri David

Hello dear NS-2 Users,

I wanted to ask your help, someone know where to find some tutorial that
explain how to use the OBS-ns Simulator, and could you send me it or tell me
where could I find it.

Thank you for Your time.

Best regards,

Iúri Veiga


Re: [ns] Calculate goodput

2007-01-11 Thread Pedro Estrela

http://www.isi.edu/nsnam/htdig/search.html


On 1/11/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


 Can you help me to calculate goodput of tcp, fairness and friendliness?


 --
 Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
 http://click.libero.it/infostrada11gen07






[ns] NS tutorial update proposal

2007-01-11 Thread Pedro Estrela

 Hi

You are, of course, 100% correct - the tutorial is outdated and its very
confusing to first time users.

One problem is that, in general, NS2 users ask much, but contribute little
when they have their questions solved - either by the help of somebody, or
by their own.

Some examples from my personal experience:
http://mailman.isi.edu/pipermail/ns-users/2006-June/056015.html
http://mailman.isi.edu/pipermail/ns-users/2006-January/053560.html

-

Regarding this particular topic, what I suggest is to:
 -  create a page about NS2 tutorials in the NS2 wiki, which could be used
to detail the important changes for recent versions of NS2 of this, and
possibly other tutorials.
http://nsnam.isi.edu/nsnam/index.php/Main_Page
- the next step would be to port the Marc Greis's tutorial to the Wiki (at
first, a simple 1 page per chapter copy would be sufficient), which would be
much easier to maintain afterwards.

However, in my opinion, major improvements in problems like this will
only be possible if more users take the action to contribute.


Pedro Vale Estrela
http://tagus.inesc-id.pt/~pestrela/ns2/


On 1/11/07, Joachim Fabini [EMAIL PROTECTED] wrote:


 Hi all,

 I noticed that section VII of Marc Greis' tutorial is seriously
 out of sync with the NS 2.30 sources.

 First, the ping example is now included in the apps
 directory of the ns distribution (this is worth mentioning in
 the tutorial text),
 Second, some functionality has been added to the apps/ping example
 (e.g. broadcast) and
 Third, the location, encapsulation and access methodology for some
 (former) member variables has been changed (improved imho, but
 with the drawback of not being backward compatible).

 Specifically the third aspect requires to update the tutorial.
 Newbies are likely to be confused by the changes and compiler
 errors when they write their own protocols based on the ping
 sample as a template. The tutorial ping uses members which are
 no longer valid - e.g. off_ip_, which was apparently replaced
 by hdr_ip::access(); the src_ member which apprently was changed
 to a struct, yielding the former src_ in src_.addr_, etc.).
 NS is sufficiently complex for newbies, anyhow. ;)

 I therefore suggest to reflect these changes of the ping sources
 back to the tutorial, and, in addition, modify the comment on
 line 55 of the NS 2.30 apps/ping.h file (and cc-file) requesting
 that future changes be reflected to section VII the NS Tutorial.
 (The tutorial/examples directory seems to anyhow no longer
 exist)...

 Thanks in advance,
 best regards
 --Joachim




[ns] regarding installation os ns on linux ws

2007-01-11 Thread Prachi Singhal

i tried to install ns-allinone-2.27 on linux ws but it gave an error while 
building tclcl. can u please suggest me the solution
 
-
Everyone is raving about the all-new Yahoo! Mail beta.


[ns] simulation time / actual time ratio

2007-01-11 Thread sagar tamhane

Hello,

When I run the ns abc.tcl command, the simulation time is not the same as the 
actual time. How do I make this ratio 1:1?

I am not interested in the nam trace file and I donot want to use emulation and 
hence cant use RealTime.


Regards,
Sagar



 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com



Re: [ns] installing iNspect in fedora core 5 linux error information

2007-01-11 Thread Pedro Estrela


./configure --help

and check how to specifify the location of your openGL instalation
(libraries, includes, etc)
have you instaled openGL???

Pedro Vale Estrela


On 1/11/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:





Dear Everyone,
when  I  install  it in Fedora core 5 linux, I met error information
as follows.  please help me find reasons ,Thanks in advances!
another question is that I can not download GpenGL library.pleae help
me !

Wang Jun-wei   Hefei University of Technology  China
// checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for strerror in -lcposix... no
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... f95
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f95 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries...
yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag CXX to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries...
yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries...
yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag F77 to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for f95 option to produce PIC... -fPIC
checking if f95 PIC flag -fPIC works... yes
checking if f95 supports -c -o file.o... yes
checking whether the f95 linker (/usr/bin/ld) supports shared libraries...
yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into 

Re: [ns] NS tutorial update proposal

2007-01-11 Thread Lili Du

Hi, Joachim


I am a NS2 beginner and  I use NS 2.30. I found a file called flood.tcl in 
~/tcl/mobility/flood.tcl. Does this means NS2 already includes the broadcast 
(or flooding) routing protocol for wireless network?  If it is could you 
please give me a simple example to show how to use it?

I appreciate any help and I need this answer very urgent.

Thanks.
- Original Message - 
From: Joachim Fabini [EMAIL PROTECTED]
To:
Cc: 'Joachim Fabini' [EMAIL PROTECTED]
Sent: Thursday, January 11, 2007 4:42 AM
Subject: [ns] NS tutorial update proposal



 Hi all,

 I noticed that section VII of Marc Greis' tutorial is seriously
 out of sync with the NS 2.30 sources.

 First, the ping example is now included in the apps
 directory of the ns distribution (this is worth mentioning in
 the tutorial text),
 Second, some functionality has been added to the apps/ping example
 (e.g. broadcast) and
 Third, the location, encapsulation and access methodology for some
 (former) member variables has been changed (improved imho, but
 with the drawback of not being backward compatible).

 Specifically the third aspect requires to update the tutorial.
 Newbies are likely to be confused by the changes and compiler
 errors when they write their own protocols based on the ping
 sample as a template. The tutorial ping uses members which are
 no longer valid - e.g. off_ip_, which was apparently replaced
 by hdr_ip::access(); the src_ member which apprently was changed
 to a struct, yielding the former src_ in src_.addr_, etc.).
 NS is sufficiently complex for newbies, anyhow. ;)

 I therefore suggest to reflect these changes of the ping sources
 back to the tutorial, and, in addition, modify the comment on
 line 55 of the NS 2.30 apps/ping.h file (and cc-file) requesting
 that future changes be reflected to section VII the NS Tutorial.
 (The tutorial/examples directory seems to anyhow no longer
 exist)...

 Thanks in advance,
 best regards
 --Joachim

 




[ns] TFRC simulation problem

2007-01-11 Thread Kacper K

Hi Everyone!
I have a strange TFRC simulation problem. I am using NS-2.29 in Red Hat.
I hvae downloaded Sally Floyd's scripts form 
http://www.icir.org/tfrc/sims1.html. I run the tfrm12.com. Results I got were 
quite similar to that presented in the paper but there were several TCP 
connections that got suprisingly little bandwidth (almost zero). It can be 
observed whatever is the numer of flows.
What can cause this problem ?? I haven't changed anything in the NS files.

Best regards,
Kacper Kurowski



LUC BESSON przedstawia
Największą europejską animację ostatnich lat!!
ARTUR I MINIMKI - już w kinach!!
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fminimki.htmlsid=984




[ns] maodv problem in ns-2.28

2007-01-11 Thread payal sharma

hi all
  i have applied maodv patch in ns-2.28,and used commands make clean and then 
make as said in paper.but while running make command i got this error
  mac/channel.cc: In member function `void 
WirelessChannel::calcHighestAntennaZ(Ph
y*)':
mac/channel.cc:625: error: 'class WirelessPhy' has no member named 
'getAntennaZ'

mac/channel.cc:626: error: 'class WirelessPhy' has no member named 
'getAntennaZ'

mac/channel.cc:632: error: 'class WirelessPhy' has no member named 'getDist'
mac/channel.cc:632: error: 'class WirelessPhy' has no member named 
'getCSThresh'

mac/channel.cc:632: error: 'class WirelessPhy' has no member named 'getPt'
make: *** [mac/channel.o] Error 1

Do you have any idea how can i fix it?
thanks in advance
  payal sharma



-
 Here’s a new way to find what you're looking for - Yahoo! Answers 


[ns] log file

2007-01-11 Thread sandesh shenoy

Hello,
 I want to know whether it is possible to log on the statements as 
the tcl script is executed,getting information about all files(.cc and .tcl) 
used during execution?Any automated methods available? Is it possible to log 
using the debugger(gdb + ns)? Any suggestions will be useful for me.
   
  Thanks in advance.


-
 Here’s a new way to find what you're looking for - Yahoo! Answers