[ns] WFQ v1.2.5

2006-11-22 Thread Alexander Sayenko

Hi

A new version of WFQ for the NS-2 simulator is available.
http://www.cc.jyu.fi/~sayenko/src/wfq-1.2.5.tar.gz
  
The new version solves several small compilation problems that you can
experience if you use the latest gcc compiler versions. This version has
been tested with the following NS-2 versions:
v2.27, v.2.28, v2.29 and v2.30.

Sincerely,
Alexander Sayenko (PhD)
Senior Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland



[ns] Fwd: Please help

2006-11-22 Thread Megha

Hello,

I am trying to create a new class called as myNode, that has *
Node/MobileNode* as its superclass.
I want to create a hierarchy of nodes as Grand Parent, Parent and Child.

The following error is being triggered. Please tell me if I have to
initialize anything to avoid this error.

*"Assertion failed: initialized(), file common/mobilenode.cc, line 408*

*This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information."*
The code for creating a class is as given below:

Class myNode -superclass Node/MobileNode
myNode instproc init {args} {
# Parent class constructor
eval $self next $args
$self instvar role_
set role_ 0
}
myNode instproc define_role { arg } {
set role_ $arg
# 1 is Grand parent
# 2 is Parent
# 3 is Child
}

-
Thanks,
Megha


[ns] LL implementation in ns-2 RFC conformant?

2006-11-22 Thread Luqman

hi,

I was wondering whether LL (link layer) implemented in current version
includes timer mechanism.

I plan to have two node connected to LAN and have them send data with
acknowledgment mode of LL. I could not find a hint in the latest
ns-manual whether a retransmission request is abandoned once there is
not reply in some predefined time?

Example: 

host1 <==> host2
(sender)ethernet (receiver)

Once host2 detects a missing frame, it requests host1 to resend the
concerning frame. However it would not wait forever for retransmission
of this frame. After a timer is expired, this frame is marked as
missing. This is how standard (RFC) says.

I do not know whether something like is enabled in current version of
ns2?

Your thoughts are much appreciated.

Regards,

-- 
Luqman


[ns] problem in installation fo ns-allinone-2.26

2006-11-22 Thread Anjali Arora

hi all
  earlier i was working in ns-allinone-2.28 but when i installed maodv 
then it stopped working( i got ns command not found when i tried to run 
any script).it may not be compatible with maodv,is that so?
  then i tried to install ns-allinone-2.26 but i got 2-versions one 
with mns-for-2.26.tar.gz and another with 
ns-allinone-2.26-cygwin-binaries.
  please tell me which one is compatible with maodv.and tell me steps 
of installation.
  thanks in advance.
  anjali 



-
 Find out what India is talking about on  - Yahoo! Answers India 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it 
NOW


[ns] problem in installation of ns-2.26 for madov

2006-11-22 Thread Anjali Arora

hi all
  earlier i was working in ns-allinone-2.28 but when i installed maodv 
then it stopped working( i got ns command not found when i tried to run 
any script).it may not be compatible with maodv,is that so?
  then i tried to install ns-allinone-2.26 but i got 2-versions one 
with mns-for-2.26.tar.gz and another with 
ns-allinone-2.26-cygwin-binaries.
  please tell me which one is compatible with maodv.and tell me steps 
of installation.
  thanks in advance.
  anjali 



-
 Find out what India is talking about on  - Yahoo! Answers India 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it 
NOW


[ns] aodv implementations

2006-11-22 Thread juan manuel gomez garcia

Hello:
Can someone tell me what is the version or the implementations of AODV that 
have ns2-2.28 :

KERNEL-AODV NIST Implementation ?
AODV-UU Uppsala University Implementation?
AODV Windows Implementation?
UoBWinAODV Windows Implementation?
AODV-UIUC Implementation?
AODV-UCSB Implementation?
UoB-JAdhoc AODV Implementation?
AODV For IPv6?
HUT AODV For IPv6?

And what is the best and last version?

Thank you.

_
¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en 
MSN Motor. http://motor.msn.es/researchcentre/



[ns] wimax and Wifi TxPower default value

2006-11-22 Thread Ramzi Tka

Hi all,
Could someone tell me what is the default Tx Power for 802.11 ns
implementation and what could be a 802.16 default Tx Power.
How do we set Tx Power values from C++ code and TCL script ?
Best regards,
 Ramzi TKA


Re: [ns] How to exclude the droped packet from trace file

2006-11-22 Thread Luqman

hi Wajid,

> wajid wanted us to know:
>I want to exclude the droped packet from trace file because I used 
> traffic source rate equal to channel rate i.e 11Mbps and it creates lot of 
> droped packets which increase the trace file size, and i am running 
> simulation for 1 to  40 stations and it has exceeded the size of the hard 
> disk,
>  Any suggestions ?
>  thanks in advance
>  wajid

Chapter 25 in "The ns Manual" handles with trace issue. Maybe you can
use "create-trace", "drop-trace", "trace-queue" etc.. instead of
"trace-all". 

$ns_ create-trace 

Here create-trace allows to define src and dst nodes that are to be
traces. With type and optional:op you can further reduce the size of
trace. I didn't find quickly how to set  value though.
Maybe someone on this list can help.

Furthermore, "NS simulator for beginners" describes how to reduce size
of trace files with gawk, perl, grep etc. under unix-based operating
systems.

Good luck.

Regards,

-- 
Luqman


[ns] SCTP application traffic can not work !?

2006-11-22 Thread kerwin

Hi! all,
I tried to use SCTP application traffic and observe the variety of congestion 
window.
The simulation is successful, but the trace file is empty.
Below is my tcl script.
Is there anything wrong ?
 
script beginning
set ns [new Simulator]
set allchan [open all.tr w]
$ns trace-all $allchan
 
proc finish {} {
 global ns allchan trace_ch
 $ns flush-trace
 close $allchan
 close $trace_ch
 exit 0
}
 
set n0 [$ns node]
set r0 [$ns node]
set r1 [$ns node]
set n1 [$ns node]
 
$ns duplex-link $n0 $r0 10Mb 1ms RED
$ns duplex-link $r0 $r1 1.5Mb  10ms RED
$ns duplex-link $r1 $n1 10Mb 1ms RED
 
set queue 18
$ns queue-limit $r0 $r1 $queue

set sctp0 [new Agent/SCTP]
$ns attach-agent $n0 $sctp0
set trace_ch [open trace.sctp w]
$sctp0 trace cwnd_ ;
$sctp0 attach $trace_ch
 
set sctp1 [new Agent/SCTP]
$ns attach-agent $n1 $sctp1
$ns connect $sctp0 $sctp1
 
set sctpapp0 [new Application/SctpApp1]
$sctpapp0 attach-agent $sctp0
 
$ns at 0.0 "$sctpapp0 start"
$ns at 10.0 "$sctpapp0 stop"
$ns at 10.0 "finish"
$ns run
 
script end


Re: [ns] NS-2 VALIDATION PROBLEMS AFTER EXTENDED WITH MANNASIM

2006-11-22 Thread Matthias Budde

Hi, 

I think something went wrong when you reinstalled ns-2 over the patched
version. I use mannasim and my validation still runs correct (as far as
I remember).

Best,

-Matt

Am Mittwoch, 22. November 2006 02:00 schrieb [EMAIL PROTECTED]:
> Send Ns-users mailing list submissions to
>   ns-users@isi.edu
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://mailman.isi.edu/mailman/listinfo/ns-users
> or, via email, send a message with subject or body 'help' to
>   [EMAIL PROTECTED]
> 
> You can reach the person managing the list at
>   [EMAIL PROTECTED]
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ns-users digest..."
> 
> 
> Today's Topics:
> 
>1.  shadow (sandeshsm3)
>2. NS-2 VALIDATION PROBLEMS AFTER EXTENDED WITH MANNASIM
>   (antonis antoniou)
>3. Mobile node transmission Range, (ghada)
>4. Re: Mobile node transmission Range, (Daniel Mahrenholz)
>5.   create mobile node with two interfaces (MT)
>6. Re: NS-2 VALIDATION PROBLEMS AFTER EXTENDED WITH MANNASIM
>   (Pedro Vale Estrela)
>7. Choosing Notebook configuration - HELP NEEDED (Aco)
>8. PackMime-HTTP changes (Michele Weigle)
> 
> 
> --
> 
> Message: 1
> Date: Tue, 21 Nov 2006 10:45:32 +0530
> From: "sandeshsm3" <[EMAIL PROTECTED]>
> Subject: [ns]  shadow
> To: 
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=us-ascii
> 
> Hi all,
>   I wanted to know what exactly happens in shadowing  process? In 
> this regard could someone brief me about 'create-shadow' command?How exactly 
> otcl linkage is established? 
> 
> Thanks in advance
> 
>
> Have you checked out the new-look www.indiatimes.com yet?
> 
> 
> 
> --
> 
> Message: 2
> Date: Tue, 21 Nov 2006 09:46:19 +0200
> From: antonis antoniou <[EMAIL PROTECTED]>
> Subject: [ns] NS-2 VALIDATION PROBLEMS AFTER EXTENDED WITH MANNASIM
> To: ns-users@ISI.EDU
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-7
> 
> 
> Dear all,
> 
> i extended ns-2 with mannasim and examples for mannasim run well, but now a 
> lot 
> of validation tests fail.
> 
> Can any one help
> THANKS VERY MUCH
> 
> WIN XP SP2, CYGWIN, ns2-29, mannasim (i deleted ns2-29 and patch with 
> mannasim 
> it first and then reinstalled it)
> 
> 
> 
> --
> 
> Message: 3
> Date: Tue, 21 Nov 2006 16:53:51 +0900
> From: "ghada" <[EMAIL PROTECTED]>
> Subject: [ns] Mobile node transmission Range,
> To: 
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-2022-jp"
> 
> 
> Dear all, 
> 
> In ns2.30, How can I change Mobile node transmission Range,
> 
> 
> Thanks in advance
> 
> --
> 
> Message: 4
> Date: Tue, 21 Nov 2006 10:38:18 +0100
> From: Daniel Mahrenholz <[EMAIL PROTECTED]>
> Subject: Re: [ns] Mobile node transmission Range,
> To: ghada <[EMAIL PROTECTED]>
> Cc: ns-users@ISI.EDU
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> ghada schrieb:
> > In ns2.30, How can I change Mobile node transmission Range,
> >   
> The transmission range is a function of the propagation model. Depending
> on the model, to increase the transmission range you can:
> - increase the antenna gain
> - increase the transmission power
> - decrease receive threshold
> - decrease path loss
> 
> Be aware, path loss and propagation are two things you cannot control in
> reality! So, don't place to much assumptions on them.
> 
> Daniel.
> 
> 
> 
> --
> 
> Message: 5
> Date: Tue, 21 Nov 2006 14:11:24 +0100
> From: MT <[EMAIL PROTECTED]>
> Subject: [ns]   create mobile node with two interfaces
> To: "ns-users@isi.edu" 
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-15; format=flowed
> 
> 
> Hi All,
> 
> I would want to implement a solution in order to simulate two wireless 
> interfaces in one node.
> I think that a sctp module with ns2 ver. 2.30 is a good solution.
> My problem is:  which it is the way in order to insert the two 
> interfaces in ns2, in my script ?
> 
> I used the "multihome-add-interface" procedure, but this solution don't 
> resolve my problem.
> 
> Thanks
> 
> Best regards.
> 
> Marco.
> 
> 
> 
> 
> 
> 
> --
> 
> Message: 6
> Date: Tue, 21 Nov 2006 14:20:35 -
> From: "Pedro Vale Estrela" <[EMAIL PROTECTED]>
> Subject: Re: [ns] NS-2 VALIDATION PROBLEMS AFTER EXTENDED WITH
>   MANNASIM
> To: "'antonis antoniou'" <[EMAIL PROTECTED]>, 
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> > Of antonis antoniou
> > Sent: ter?a-feira, 21 de Novembro de 2006 7:46
> > To: ns-users@ISI.ED

Re: [ns] warning: no class variable God::path_analysis_

2006-11-22 Thread Samer Bali

Hi,

To solve this problem, simply add the following line in 
"tcl/lib/ns-default.tcl" file (with god parameters):

god set path_analysis_ 0

Best wishes,
samer
---
Matthias Budde matthi.budde at web.de  wrote:
Wed Oct 4 09:53:41 PDT 2006 

Hi,

After applying the GPSR patch to ns 2.29.3, I get the following warning message 
when running simple-wireless.tcl from Marc Greis' Tutorial:


warning: no class variable God::path_analysis_


What does this mean? Can I safely ignore this?

Thank you, best,

-Matt


[ns] doubt in hcca patch to ns2

2006-11-22 Thread Sandeep


Hello all,
I am working on a project on 802.11E schedulers. I am trying to 
implement WFQ scheduler with some minor modifications, using the ns2HCCA 
patch for NS-2.27.


However, I am facing the following problems:

1. Where (in the code) does a CAP start mechanism take place. There is a 
startCAP(void) function in mac-802_11e.cc file, but it is called twice. 
Once, when we specify start-hcca in the TCL  script and second time when 
we pass the TSPEC parameters in the TCL script.

Is this function called only when the QAP starts a CAP?

2. How does the patch ensure that the TXOP list that is created is being 
followed fully. Consider the offline TXOP list that is created. Suppose 
it contains the TXOP times for the stations 1,2,5,6. How does the patch 
ensure that first only station 1 will access the channel, and then 
stations 2, 5, 6 ... and so on. How is this being ensured?


3. How do the stations get access to the channel i.e. how does the 
channel access switch mechanism take place. E.g. Suppose at time t 
station 1 is accessing the channel. After time t+t1 , i want station 2 
to access the channel. How can i do that? 
I would be really grateful if anyone could explain me the working of the 
patch w.r.t the questions mentioned above. Also, any suggestion as to 
how to go about implementing the WFQ scheduler would be welcome.


Thanks in advance,
with regards,
Sandeep.