[ns] Why can't I install mns-for-2.26.tar.gz with ns-allinone-2.26.tar.gz?

2006-02-09 Thread chau_ nad

I download  http://heim.ifi.uio.no/~johanmp/ns-2/mns-for-2.26.tar.gz
and intall with instruction at
http://netgroup-serv.iet.unipi.it/rsvp-te_ns/readme
but when I install output follow:


mns_v2.0/mpls-module.o(.MPLSModuleClass::gnu.linkonce.t.create(int, char
const *const *)+0x1b): In function `MPLSModuleClass::create(int, char const
*const *)':: undefined reference to `RoutingModule::RoutingModule(void)'

mns_v2.0/mpls-module.o(.MPLSModuleClass::gnu.linkonce.t.create(int, char
const *const *)+0x47): In function `MPLSModuleClass::create(int, char const
*const *)':: undefined reference to `__throw'

mns_v2.0/mpls-module.o(.MPLSModuleClass::gnu.linkonce.t.create(int, char
const *const *)+0x5b): In function `MPLSModuleClass::create(int, char const
*const *)':: undefined reference to `__builtin_delete'

mns_v2.0/mpls-module.o(.MPLSModuleClass::gnu.linkonce.t.create(int, char
const *const *)+0x65): In function `MPLSModuleClass::create(int, char const
*const *)':: undefined reference to `terminate(void)'

collect2: ld returned 1 exit status

make: *** [ns] Error 1

Ns make failed!

See http://www.isi.edu/nsnam/ns/ns-problems.html for problems



How can I fix or where I can get exact install guide mns 2.26 . Please help
me!!!


[ns] Trace-file of directed diffusion

2006-02-09 Thread Daniele Patuto

Exists an appropriate documentation that can explain us the trace-file
created by the protocol Directed Diffusion, DIFFUSION/PROB and
DIFFUSION/RATE?
--
Daniele Patuto & Massimo Paon



[ns] Realize new Application and Agent

2006-02-09 Thread Daniele Patuto

hello,
we must realize an application that is able to send and to receive
packages that make give through between one wired network and one
wireless.
The case that we must take in consideration is one situation like this:
there are 2 nodes that must communicate using TCP, over the first node
we create an application TCP that sendes the packages, while on the
other we create an agent TCP Sink, we want that is able to send the
packages to our application.
This application would have to send the packages receipts to an other
type of agent.
Exists something of similar already implemented in ns?
from what we can take cue?

Best Regards
--
Daniele Patuto & Massimo Paon



[ns] R: large-scale p2p simulation

2006-02-09 Thread Marco Fiore

I really doubt that *any* existing network simulator could be a good 
one
if you need to simulate millions nodes... that's why analytical 
approaches
to the p2p evaluation problem are so popular.

Regards,

Marco Fiore

>Messaggio originale
>Da: [EMAIL PROTECTED]
>Data: 9-feb-2006 12.41 AM
>A: 
>Ogg: [ns] large-
scale p2p simulation
>
>
>Hi, 
>
>I need to simulate and study 
applications performance over large-scale (e.g. million nodes) p2p 
networks (e.g. chord ). Could any NS2 expert please provides some 
suggestions on whether NS2 is a good simulator for this purpose? I 
mainly concern about NS2 scalability. 
>
>Thanks in advance!
>
>G.
>




[ns] R: User data over UDP

2006-02-09 Thread Marco Fiore

Application Data Units (ADUs) containing real data can be used in ns-2.
You can look for the "AppData" class structure and functioning in the
ns-maunal (see chapter 37 'eb cache as an application' for an example).

Regards,

Marco Fiore

>Messaggio originale
>Da: 
[EMAIL PROTECTED]
>Data: 9-feb-2006 7.16 AM
>A: 
>Ogg: [ns] User data over UDP
>
>
>Dear all,
>
>I need to transmit user-
defined packet over UDP.
>
>If any body has a template-code that I can 
use that would really help.
>
>Please help if you can.
>
>Thanks
>
>_
>FREE pop-up blocking with the new MSN Toolbar - get it now! 
>http:
//toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
>
>




[ns] R: in 802.11, ShortRetryLimit_ and LongRetryLimit_ "0" is same effect on simulation result as "1"?

2006-02-09 Thread Marco Fiore

Sangho,

this is the correct behavior.

According to the standard:
"The 
short retry count for an MSDU or MMPDU and the STA short retry count 
shall be incremented
every time transmission of a MAC frame of length 
less than or equal to dot11RTSThreshold fails for that
MSDU or MMPDU. 
This short retry count and the STA short retry count shall be reset 
when a MAC frame of
length less than or equal to dot11RTSThreshold 
succeeds for that MSDU or MMPDU. The long retry count for
an MSDU or 
MMPDU and the STA long retry count shall be incremented every time 
transmission of a MAC
frame of length greater than dot11RTSThreshold 
fails for that MSDU or MMPDU. This long retry count and
the STA long 
retry count shall be reset when a MAC frame of length greater than 
dot11RTSThreshold succeeds
for that MSDU or MMPDU."

Regards,

Marco 
Fiore

>Messaggio originale
>Da: [EMAIL PROTECTED]
>Data: 8-feb-2006 7.48 PM
>A: 
>Ogg: [ns] in 802.11, 
ShortRetryLimit_ and LongRetryLimit_ "0" is same effect on 
simulation result as "1"?
>
>
>
>I experiment on 802.11 wired-
cum-wireless (wirelessLAN) with chanaging MAC
>retransmission from 0 to 
5 in NS-2.29.
>
>The trace file of MAX retransmission "0" and "1" are 
completely same.
>
>I change the value of MAX retransmission like 
below,
>
>  set par(rtxMax)   0
>   <...>
>  
Mac/802_11 set ShortRetryLimit_   $par(rtxMax);# retransmittions
>  Mac/802_11 set LongRetryLimit_$par(rtxMax);# 
retransmissions
>   <...>
>
>
>ns-2.29/mac/mac-802_11.cc
>...
>if((u_int32_t) ch->size() <= macmib_.getRTSThreshold()) {
>rcount = &ssrc_;
>   thresh = macmib_.
getShortRetryLimit();
>} else {
>rcount = 
&slrc_;
>   thresh = macmib_.getLongRetryLimit();
>
}
>
>(*rcount)++;
>
>if(*rcount >= thresh) {
>/* IEEE Spec section 9.2.3.5 says this should be 
greater than
>   or equal */
>macmib_.
FailedCount++;
>
>
>if this pacekts try to send at first time,
>rcount = 0 and increases to 1 by (*rocunt)++
>then, "if (*rcount >= 
thresh)" check MAX retransmission threshold.
>whenever thresh is 0 or 
1, it can't try to retransmission more, right?
>
>Is it normal results
(IEEE 802.11 standard)? or not? (ns-2 implementation problem?)
>
>
>please help me!
>
>
>sincerely,
>Sangho Lee
>
>




[ns] Compile error on HP-UX 11.x

2006-02-09 Thread Emanuele Vecchio

Hi to everybody,
I'm trying to compile NS (version allinone-2.29) under HP-UX 11.11, but
I'm stuck with a strange error while compiling "net-ip.o", because it says:

aggregate 'ip_mreq mr' has incomplete type and cannot be defined

I've searched the archives and Googled for an explanation, but I found
nothing of helpful. I've also tried to re-define "ip_mreq" (desperate!),
but it gave an error in autoconf.h:

./autoconf.h:89: error: expected unqualified-id before 'using'

I really don't know what to do now: anyone can help?

Thanks in advance,
Emanuele.


For who's interested here's the full output:

g++ -c -O -O  -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR
  -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_11
-DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H
  -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std
-DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I.
-I/home/ns-allinone-2.29/tclcl-1.17 -I/home/ns-allinone-2.29/otcl-1.11
-I/home/ns-allinone-2.29/include -I/home/ns-allinone-2.29/include
-I/usr/include/pcap  -I./tcp -I./sctp -I./common -I./link -I./queue
-I./adc -I./apps -I./mac -I./mobile -I./trace  -I./routing -I./tools
-I./classifier -I./mcast  -I./diffusion3/lib/main -I./diffusion3/lib
-I./diffusion3/lib/nr -I./diffusion3/ns  -I./diffusion3/filter_core
-I./asim/ -I./qs  -I./diffserv -I./satellite  -I./wpan -o
emulate/net-ip.o emulate/net-ip.cc
emulate/net-ip.cc: In member function 'int
IPNetwork::add_membership(Socket, in_addr&)':
emulate/net-ip.cc:814: error: aggregate 'ip_mreq mr' has incomplete type
and cannot be defined
emulate/net-ip.cc: In member function 'int
IPNetwork::drop_membership(Socket, in_addr&)':
emulate/net-ip.cc:847: error: aggregate 'ip_mreq mr' has incomplete type
and cannot be defined
*** Error exit code 1

Stop.




[ns] about configuring a user equipement

2006-02-09 Thread alaeddine abdallah

Hello,

I'm working on EURANE simulator and exactly on hsdpa implementation

I created a topology containing mobile nodes or user equipement, I want to
configure the nodes differently so that each one have a different
caracteristics such radio conditions.

I found on documentation that we can create a UE with those lines:

$ns node-config -UmtsNodeType ue \
   -baseStation $bs \
   -radioNetworkController $rnc

set ue1 [$ns create-Umtsnode]


but I don't found any other possible configuration.

please help me.

regards Alaeddine.


[ns] WDM in NS-2

2006-02-09 Thread Eduardo Martinelli Galvão de Queiroz

Hello People,
 Do you know if there is a recent update of the OWns? Is it a good tool 
for simulating WDM links using ns2? Anyone here tested this OWns in 
recent ns2 versions?
 Thanks!!

Eduardo



[ns] difference between ns and ns_ ?

2006-02-09 Thread Realos Osis

hello,

 I am new to network simulator and also have no experience with tcl. 
Right now, I am going through the tutorial from Marc Greis. In some 
sample scripts "set ns_ [new Simulator]" is used for creating a 
Sumulator object while other scripts go with a simple "ns" without a 
succeeding "_" (underscore). I am totally unaware whether it is a tcl or 
ns problem.

Any idea/ hint is much appreciated.

Cheers.



Re: [ns] difference between ns and ns_ ?

2006-02-09 Thread Daniel Mahrenholz

Hi, 

On Thursday 09 February 2006 16:02, Realos Osis wrote:
>  I am new to network simulator and also have no experience with tcl.
> Right now, I am going through the tutorial from Marc Greis. In some
> sample scripts "set ns_ [new Simulator]" is used for creating a
> Sumulator object while other scripts go with a simple "ns" without a
> succeeding "_" (underscore). I am totally unaware whether it is a tcl or
> ns problem.

There is no difference - both are variables and you are free to name your 
variables as you like. If you like you can also use
"set myveryspeciallongnameforns [new Simulator]"
but it is not really funny to type this  everytime you need it ;-).

Daniel.
-- 
Dipl.-Inf. Daniel Mahrenholz, University of Magdeburg, Germany
Homepage: http://ivs.cs.uni-magdeburg.de/~mahrenho



Re: [ns] difference between ns and ns_ ?

2006-02-09 Thread Sita S. Krishnakumar

it is a variable and you can name it as you please. just make sure you
refer to it in the tcl code with whatever name you chose!
-Sita


>
> hello,
>
>  I am new to network simulator and also have no experience with tcl.
> Right now, I am going through the tutorial from Marc Greis. In some
> sample scripts "set ns_ [new Simulator]" is used for creating a
> Sumulator object while other scripts go with a simple "ns" without a
> succeeding "_" (underscore). I am totally unaware whether it is a tcl or
> ns problem.
>
> Any idea/ hint is much appreciated.
>
> Cheers.
>
>




[ns] simulating CAN in ns2

2006-02-09 Thread cem . saraydar


Are you aware of any CAN (Controller Area Network) implementations for
ns-2?

Thanks,
Cem Saraydar



[ns] Has anybody implemented iSCSI protocol

2006-02-09 Thread kulveer singh

Hi
i am trying to implement iSCSI on wireless LAN . has any body
implemented this
? or any kind of implementation or any example.

please help me.

Thanks
kulveer singh


Re: [ns] difference between ns and ns_ ?

2006-02-09 Thread Shafiq Hashmi

Hi,

I understand that the two are the same. But I would like to know why is
there the tendency to put an 'underscore' at the end of the variables, like
nodeID_ , msg_ , packetSize_, etc . I understand that in naming a variable
there is no extra meaning. But is there any naming convention or any benefit
of it for differentiating with something else. ns2 is filled with all these
type of variable names.

Thanx
SH


- Original Message - 
From: "Sita S. Krishnakumar" <[EMAIL PROTECTED]>
To: "Realos Osis" <[EMAIL PROTECTED]>
Cc: "NS users" 
Sent: Thursday, February 09, 2006 11:28 AM
Subject: Re: [ns] difference between ns and ns_ ?


>
> it is a variable and you can name it as you please. just make sure you
> refer to it in the tcl code with whatever name you chose!
> -Sita
>
>
>>
>> hello,
>>
>>  I am new to network simulator and also have no experience with tcl.
>> Right now, I am going through the tutorial from Marc Greis. In some
>> sample scripts "set ns_ [new Simulator]" is used for creating a
>> Sumulator object while other scripts go with a simple "ns" without a
>> succeeding "_" (underscore). I am totally unaware whether it is a tcl or
>> ns problem.
>>
>> Any idea/ hint is much appreciated.
>>
>> Cheers.
>>
>>
>
>
> 




[ns] Looking for TD-SCDMA codes

2006-02-09 Thread Abdur . Rahman

Dear all,
I need the NS codes of TD-SCDMA. If anybody have the code or any resources for
TD-SCDMA, Please let me know. It will be a great help for me.

Thanks in advance
A. Rahman


--
This mail sent through AIT WebMail : http://www.ait.ac.th/



Re: [ns] difference between ns and ns_ ?

2006-02-09 Thread Hailun Tan


It has nothing to do with NS2... It is one of the best ways to define the
other relevant variables without thinking of any other words to represent
it...
>
> Hi,
>
> I understand that the two are the same. But I would like to know why is
> there the tendency to put an 'underscore' at the end of the variables,
> like
> nodeID_ , msg_ , packetSize_, etc . I understand that in naming a variable
> there is no extra meaning. But is there any naming convention or any
> benefit
> of it for differentiating with something else. ns2 is filled with all
> these
> type of variable names.
>
> Thanx
> SH
>
>
> - Original Message -
> From: "Sita S. Krishnakumar" <[EMAIL PROTECTED]>
> To: "Realos Osis" <[EMAIL PROTECTED]>
> Cc: "NS users" 
> Sent: Thursday, February 09, 2006 11:28 AM
> Subject: Re: [ns] difference between ns and ns_ ?
>
>
>>
>> it is a variable and you can name it as you please. just make sure you
>> refer to it in the tcl code with whatever name you chose!
>> -Sita
>>
>>
>>>
>>> hello,
>>>
>>>  I am new to network simulator and also have no experience with tcl.
>>> Right now, I am going through the tutorial from Marc Greis. In some
>>> sample scripts "set ns_ [new Simulator]" is used for creating a
>>> Sumulator object while other scripts go with a simple "ns" without a
>>> succeeding "_" (underscore). I am totally unaware whether it is a tcl
>>> or
>>> ns problem.
>>>
>>> Any idea/ hint is much appreciated.
>>>
>>> Cheers.
>>>
>>>
>>
>>
>>
>
>
>





--
This email and any attachments may be confidential. They may contain legally
privileged information or copyright material. You should not read, copy,
use or disclose them without authorisation. If you are not an intended
recipient, please contact us at once by return email and then delete both
messages. We do not accept liability in connection with computer virus,
data corruption, delay, interruption, unauthorised access or unauthorised
amendment. This notice should not be removed.



Re: [ns] difference between ns and ns_ ?

2006-02-09 Thread Lee Begg

On Friday 10 February 2006 17:24, Shafiq Hashmi wrote:
> Hi,
>
> I understand that the two are the same. But I would like to know why is
> there the tendency to put an 'underscore' at the end of the variables, like
> nodeID_ , msg_ , packetSize_, etc . I understand that in naming a variable
> there is no extra meaning. But is there any naming convention or any
> benefit of it for differentiating with something else. ns2 is filled with
> all these type of variable names.

It is in the coding standard for ns2, for example, all class members (class 
variables) are to end with an underscore.  The coding standard applies to all 
the code committed to NS2 itself.

> Thanx
> SH

Later
Lee Begg