[ns] ns-2 help

2007-03-08 Thread prasenjit bhavathankar

Hi, ns-users

Have anyone heard about the Alternate Path Routing 
there is a paper on this subject, originated by D.
Zappala,  Does anyone knowwhether this protocol has
been implemented in ns2? If the answer is yes,
where can I find the source code?

Tks for the help.



P.B.BHAVATHANKAR.
M.Tech (COMPUTER)
VJTI, MUMBAI



__
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/



[ns] MultiStateErrorModel and tcl calls

2007-03-08 Thread G.Acar

Greetings all, 
 
This is a question on MultiStateErrorModel.
 
I see that the model's corrupt(Packet* p) function makes a tcl call for each 
packet. Unless I misunderstood chapter-3 of the manual, this is really supposed 
to slow down the simulation. 
 
Has anyone experienced slow performance with MultiStateErrorModel, or is there 
anything I am missing here?
 
Cheers,
 
Guray
 





[ns] warning on TwoStateErrorModel

2007-03-08 Thread G.Acar

Greetings, 
 
I just wanted to warn people who intend to use TwoStateErrorModel and its 
derivatives. Note that the transitionState() function of this class upperbounds 
the duration of state_1 with 120 seconds. This is done in errmodel.cc in ns 
v2.30. 
 
I do not know the reason behind this upperlimit, but if I am not mistaken, this 
upperbound makes it pointless to assign an average duration to state_1 at the 
time this class is instantiated. I would be happy to hear what others think.
 
Regards,
 
Guray
 

 


[ns] ns-2 help

2007-03-08 Thread prasenjit bhavathankar

hello
 can anubody tell me how to implement alternate path
routing in ns-2
bye



__
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/



[ns] Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl)

2007-03-08 Thread Pusik Park

Hi all,

When I run a ring-topology protocol script,I get an error listed below.
Would you please tell me how to deal with it? Thanks

I saw the response of a similar question, he commented "make sure it is fully 
connected".

My topology is 
n0 ---> n1 > n2 ---> n0 

Isn't it fully connected ?



set ns [new Simulator]

$ns color 1 Blue
$ns color 2 Red
$ns color 3 Orange

# Open the trace files
set tracefile1 [open out.tr w]
$ns trace-all $tracefile1

# Open a 'finish' procedure
proc finish {} {
global ns tracefile1 namfile
$ns flush-trace
close $tracefile1
close $namfile
exit 0
}

# Create 6 nodes
set n0 [$ns node]
set n1 [$ns node]
set n2 [$ns node]

$n0 label Master
$n1 label Slave1
$n2 label Slave2

# Create links between the nodes
$ns simplex-link $n0 $n1 25Mb 0ns DropTail
$ns simplex-link $n1 $n2 25Mb 0ns DropTail
$ns simplex-link $n2 $n0 25Mb 0ns DropTail

$ns simplex-link-op $n0 $n1 orient right-up
$ns simplex-link-op $n1 $n2 orient right-down
$ns simplex-link-op $n2 $n0 orient down

set most0 [new Agent/MOST]
$ns attach-agent $n0 $most0
set most1 [new Agent/MOST]
$ns attach-agent $n1 $most1
set most2 [new Agent/MOST]
$ns attach-agent $n2 $most2

$ns connect $most0 $most1
$ns connect $most1 $most2
$ns connect $most2 $most0

$ns at 0.1 "$most0 start"


$ns at 10.0 "finish"
$ns run




[ns] How to use VBR traffic in NS2 instead of CBR?

2007-03-08 Thread taraka praveen


Hi friends,

I have to use VBR traffic instead of CBR.How to change
the CBR traffic to VBR traffic in NS2?

How to diffrentiate different applications in NS2 like
voice ,video and data ?


Please help 

Thanks in advance,

Taraka



__
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/



Re: [ns] Problems with ns2 installation in Linux

2007-03-08 Thread Larry Brigman

On 3/8/07, super.ismiti <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm trying to install the ns2.30 simulator in my Linux (Ubuntu 6.10 with
> gcc4.1 and g++4.1).
> I've already read the messages in the list where is written that I must
> change the gcc4.1 and g++4.1 to gcc4.0 and g++4.0.
> I've already tried it but it didn't work!
>
> The same problem is showed: final link failed: nonrepresentable...
>
> I don't know more what can I do!
>
> I'm following this tutorial: http://wiki.splitbrain.org/ns2
> The versions that I'm trying to install are: otcl-1.12, tclcl-1.18 and
> ns-2.30.
>
> I really appreciate any kind of help!
>
Have you tried the nsallinone-2.30 version which should have
everything you need in it
except the x-windows development headers.



Re: [ns] flooding.tcl (hierarchical network)

2007-03-08 Thread Pedro Vale Estrela



Check my page http://tagus.inesc-id.pt/~pestrela/ns2/ns2_haddr_tips.html
about my address conversion functions

Pedro Vale Estrela


Type of Addresses that a node can have in NS2 (hAddr, ID, iAddr, Handle) 
In NS2, a node can be uniquely identified by several forms

the "handle" is the otcl name; it refers to an object of the form "_oXXX",
and because of this, it is the only form can be used to directly call
internal instprocs and variables.
the "haddr" is the Hierarchical address, on the form "X.Y.Z" 
the "iaddr" is the INTEGER hierarchical address, where the haddr string is
simply ENCODED in a 32 bit integer.
the "id" is the sequential Node ID of the simulator.

The proposed variable names and contents are outlined in the following
table. 
For unknown nodes or in error conditions, the value "-1" is generally used. 

http://tagus.inesc-id.pt/~pestrela/ns2/ns2_haddr_tips.html

In my ns2_shared_procs.tcl "utils" tcl file, I introduce procs for all
possible conversions of each form, using the procs "handle2iaddr",
"handle2haddr", "handle2id", etc. 




> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of feel2chat
> Sent: quinta-feira, 8 de Março de 2007 20:52
> To: ns-users@ISI.EDU
> Subject: Re: [ns] flooding.tcl (hierarchical network)
> 
> 
> Will the problem was in a hierarchical network the addresses are
> represented
> as doted string (i.e. 0.8.1) so you need to convert the address to int in
> the script.
> 
> to convert the address use something like this:
> 
> set addressObj [[$ns get-AllocAddrBits ""] get-Address]
> set ip [$addressObj str2addr $addr]
> 
> cheers,
> Z
> 
> On 2/25/07, feel2chat < [EMAIL PROTECTED]> wrote:
> >
> > I have been trying to run the flooding.tcl example but using a
> > hierarchical network (created using sgb2hierns), yet it didn't work.
> >
> > It seems the code does not find the right neighbour nodes, I wonder what
> > I'm missing?
> >
> > The example work perfect on a flat network.
> >
> > Cheers,
> > Z
> >




[ns] HHelp: Propagation delay for wireless link

2007-03-08 Thread leticia bela

waht is the role of the following function in channel.cc,
  "" WirelessChannel:: get_pdelay (Node* tnode, Node* rnode) ""  it returns 
propagation delay between two nodes ?. if this is truth, which is the 
difference between this returned delay by this function and the delay which can 
obtained by the difference between time of reception and time of transmission. 


-
 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] nam installation with the ns-allinone

2007-03-08 Thread super.ismiti

Hi all,

I was with problems to install ns-2.30, so I tried the ns-allinone-2.29 and
I succeed.
But, now I have other problem... Ah, I'm starting with Linux and NS, ok!!!
Now I need to install the nam, so I downloaded nam-src-1.11.
I tried to install it, but a problem was showed during the "make" command:

parser.h:97: error: extra qualification 'ParseTable::' on member 'nam4wpan'
parser.h:98: error: extra qualification 'ParseTable::' on member
'wpan_bradius'
node.h:226: error: extra qualification 'Node::' on member
'getTclScriptLabel'
make: ** [netview.o] Error 1

Somebody can tell me what it could be?

Thanks in advance,
Ricardo


Re: [ns] urgent: help regarding euran programming

2007-03-08 Thread harpreet

  hi
thanks for reply. 
i use test_udp script and mannul to write program for umts euran. it runs fine. 
but there is no communication between ue1 and base station. even i put the sink 
at ue1. but the trace file show only communication between base-station, fixed 
node and rnc. but no message send to ue1. program i use is 


global ns

# Remove all Packet headers and add only those that are required.
# This significantly reduces the memory requirements of large simulations
remove-all-packet-headers
add-packet-header MPEG4 MAC_HS RLC LL Mac RTP TCP IP Common Flags
 
set ns [new Simulator]

set f [open out.tr w]
$ns trace-all $f

ChannelSwitcher set noSwitching_ true

set nf [open out.nam w] 
$ns namtrace-all $nf

 #Define a 'finish' procedure
proc finish {} { 
global ns nf f 
$ns flush-trace 
#Close the trace file 
close $nf
 close $f
#Execute nam onthe trace file 
exec nam out.nam &
 puts "Simulation ended!" 
exit 0 
}

Mac/Hsdpa set max_mac_hs_buffer_level_ 1000
$ns node-config -UmtsNodeType rnc

# Node address is 0.
set rnc [$ns create-Umtsnode]

$ns node-config -UmtsNodeType bs \
 -downlinkBW 32kbs \
 -downlinkTTI 10ms \
 -uplinkBW 32kbs \
 -uplinkTTI 10ms \
 -hs_downlinkTTI 2ms \
 -hs_downlinkBW 64kbs \

# Node address is 1.
set bs [$ns create-Umtsnode]

# Interface between RNC and BS
$ns setup-Iub $bs $rnc 622Mbit 622Mbit 15ms 15ms DummyDropTail 2000

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

# Node address for ue1 and ue2 is 2 and 3, respectively.
set ue1 [$ns create-Umtsnode]
set ue2 [$ns create-Umtsnode]

# Node address for node1 is 4 
set node1 [$ns node]

# Connections between fixed network nodes
$ns duplex-link $rnc $node1 10Mbit 35ms DropTail 1000
$rnc add-gateway $node1

ChannelSwitcher set noSwitching_ true

#Setup a UDP connection
set udp [new Agent/UDP]
$udp set fid_ 0
$ns attach-agent $node1 $udp

#Setup a CBR over UDP connection
set cbr [new Application/Traffic/CBR]
$cbr attach-agent $udp
$cbr set type_ CBR
$cbr set packet_size_ 1000
$cbr set rate_ 4.2mb
$cbr set random_ false

set null [new Agent/Null]
#$null set fid_ 0
$ns attach-agent $ue1 $null
$ns connect $udp $null

$ns node-config -llType UMTS/RLC/AM \
  -downlinkBW 64kbs \
  -uplinkBW 64kbs \
  -downlinkTTI 20ms \
  -uplinkTTI 20ms \
  -hs_downlinkTTI 2ms \
  -hs_downlinkBW 64kbs
  
# Creat a DCH instead
set dch0 [$ns create-dch $ue1 $null]

# Tracing for all DCH traffic in downtarget
$rnc trace-inlink-tcp $f 0
$bs trace-outlink $f 2

#  UE1 Tracing
$ue1 trace-inlink $f 2
$ue1 trace-inlink-tcp $f 2

###
$ns at 1.0 "$cbr start"
$ns at 5.0 "$cbr stop"
$ns at 6.0 "finish"

puts " Simulation is running ... please wait ..."
$ns run


and part of trace file look like


+ 1 4 0 cbr 1000 --- 0 4.0 2.0 0 0
- 1 4 0 cbr 1000 --- 0 4.0 2.0 0 0
+ 1.001905 4 0 cbr 1000 --- 0 4.0 2.0 1 1
- 1.001905 4 0 cbr 1000 --- 0 4.0 2.0 1 1
+ 1.00381 4 0 cbr 1000 --- 0 4.0 2.0 2 2
- 1.00381 4 0 cbr 1000 --- 0 4.0 2.0 2 2
+ 1.005714 4 0 cbr 1000 --- 0 4.0 2.0 3 3
- 1.005714 4 0 cbr 1000 --- 0 4.0 2.0 3 3
+ 1.007619 4 0 cbr 1000 --- 0 4.0 2.0 4 4
- 1.007619 4 0 cbr 1000 --- 0 4.0 2.0 4 4
+ 1.009524 4 0 cbr 1000 --- 0 4.0 2.0 5 5
- 1.009524 4 0 cbr 1000 --- 0 4.0 2.0 5 5
+ 1.011429 4 0 cbr 1000 --- 0 4.0 2.0 6 6
- 1.011429 4 0 cbr 1000 --- 0 4.0 2.0 6 6
+ 1.01 4 0 cbr 1000 --- 0 4.0 2.0 7 7
- 1.01 4 0 cbr 1000 --- 0 4.0 2.0 7 7
+ 1.015238 4 0 cbr 1000 --- 0 4.0 2.0 8 8
- 1.015238 4 0 cbr 1000 --- 0 4.0 2.0 8 8
+ 1.017143 4 0 cbr 1000 --- 0 4.0 2.0 9 9
- 1.017143 4 0 cbr 1000 --- 0 4.0 2.0 9 9
+ 1.019048 4 0 cbr 1000 --- 0 4.0 2.0 10 10
- 1.019048 4 0 cbr 1000 --- 0 4.0 2.0 10 10
+ 1.020952 4 0 cbr 1000 --- 0 4.0 2.0 11 11
- 1.020952 4 0 cbr 1000 --- 0 4.0 2.0 11 11
+ 1.022857 4 0 cbr 1000 --- 0 4.0 2.0 12 12
- 1.022857 4 0 cbr 1000 --- 0 4.0 2.0 12 12
+ 1.024762 4 0 cbr 1000 --- 0 4.0 2.0 13 13
- 1.024762 4 0 cbr 1000 --- 0 4.0 2.0 13 13
+ 1.026667 4 0 cbr 1000 --- 0 4.0 2.0 14 14
- 1.026667 4 0 cbr 1000 --- 0 4.0 2.0 14 14
+ 1.028571 4 0 cbr 1000 --- 0 4.0 2.0 15 15
- 1.028571 4 0 cbr 1000 --- 0 4.0 2.0 15 15
+ 1.030476 4 0 cbr 1000 --- 0 4.0 2.0 16 16
- 1.030476 4 0 cbr 1000 --- 0 4.0 2.0 16 16
+ 1.032381 4 0 cbr 1000 --- 0 4.0 2.0 17 17
- 1.032381 4 0 cbr 1000 --- 0 4.0 2.0 17 17
+ 1.034286 4 0 cbr 1000 --- 0 4.0 2.0 18 18
- 1.034286 4 0 cbr 1000 --- 0 4.0 2.0 18 18
r 1.0358 4 0 cbr 1000 --- 0 4.0 2.0 0 0
+ 1.03619 4 0 cbr 1000 --- 0 4.0 2.0 19 19
- 1.03619 4 0 cbr 1000 --- 0 4.0 2.0 19 19
r 1.037705 4 0 cbr 1000 --- 0 4.0 2.0 1 1
+ 1.038095

Re: [ns] flooding.tcl (hierarchical network)

2007-03-08 Thread feel2chat

Will the problem was in a hierarchical network the addresses are represented
as doted string (i.e. 0.8.1) so you need to convert the address to int in
the script.

to convert the address use something like this:

set addressObj [[$ns get-AllocAddrBits ""] get-Address]
set ip [$addressObj str2addr $addr]

cheers,
Z

On 2/25/07, feel2chat < [EMAIL PROTECTED]> wrote:
>
> I have been trying to run the flooding.tcl example but using a
> hierarchical network (created using sgb2hierns), yet it didn't work.
>
> It seems the code does not find the right neighbour nodes, I wonder what
> I'm missing?
>
> The example work perfect on a flat network.
>
> Cheers,
> Z
>


[ns] Problems with ns2 installation in Linux

2007-03-08 Thread super.ismiti

Hi,

I'm trying to install the ns2.30 simulator in my Linux (Ubuntu 6.10 with
gcc4.1 and g++4.1).
I've already read the messages in the list where is written that I must
change the gcc4.1 and g++4.1 to gcc4.0 and g++4.0.
I've already tried it but it didn't work!

The same problem is showed: final link failed: nonrepresentable...

I don't know more what can I do!

I'm following this tutorial: http://wiki.splitbrain.org/ns2
The versions that I'm trying to install are: otcl-1.12, tclcl-1.18 and
ns-2.30.

I really appreciate any kind of help!

Ricardo.


[ns] R: SINR and NS-2 802.11 simulations

2007-03-08 Thread Marco Fiore


Hi,

ns-2 physical layer modeling is notoriously weak.
A patch solving 
some of the issues you mentioned
is avaialble at http://www.reti.polito.
it/fiore

bye,

Marco


>Messaggio originale
>Da: [EMAIL PROTECTED]
cmu.edu
>Data: 8-mar-2007 3.21 AM
>A: 
>Ogg: [ns] 
SINR and NS-2 802.11 simulations
>
>
>Hi,
>
>I have a question about NS-
2's 802.11 modeling (or lack there off) of
>SINR/SNR. I've been going 
through wireless-phy.cc and as far as I can
>tell,there's no SINR 
modeling at all. To receive a packet successfully,
>the receiving side 
checks if the received signal power strength is
>greater than both 
CSThreshold and RXThreshold. 
>There's some mention of a capture 
threshold where if another packet is
>received at the same time, the 
first packet will be received
>successfully if its signal strength is 
CPThresh* the other signal.
>However, I don't see it being implemented 
any where.
>Am I reading this right? Is there no SNR or SINR modeling 
at all?
>
>And are there any patches that implement a more accurate 
physical layer
>and are good for MANET simulations? 
>
>Thank you.
>
>Chun Ming Lee
>
>




Re: [ns] installation script doesn't consider /usr/include/X11 for X11 headers

2007-03-08 Thread Timo Reimann

Hello Ahmad,


Ahmad Khayyat wrote:
> Try installing xorg-dev.
> It will pull down a lot of X development dependencies.

Thanks for the hint, that basically did the trick.

I didn't want to cluster my machine with tons of possibly unnecessary
dev-packages (xorg-dev is a meta-package), however, so I did some more
digging into the (un-)successful configure outputs. It came to notice that
apparently I was also missing a file called "Intrinsic.h" which is part of
the `libxt-dev' package in Ubuntu. This package only pulled in another 3
dependent packages on my system.

Still the whole issue is somewhat strange as I am able to compile ns-2
without "Intrinsic.h" by tweaking the install-script just a little bit.
Don't know if this is the way it's supposed to be, but hey, at least it's
working out-of-the-box now.


Cheers,

--Timo



> On Wed, 7 Mar 2007 23:49:32 - (UTC)
> "Timo Reimann" <[EMAIL PROTECTED]> wrote:
>
>>
>> Hello,
>>
>> I've been trying to install ns-allinone-2.30 on my system (Linux
>> Ubuntu 6.10 with 2.6.17-11-38, Xorg 7.1.1) where the X11 headers
>> (especially Xlib.h from the libx11-dev package) get installed
>> in /usr/include/X11. Unfortunately, the installation script doesn't
>> seem to consider this directory which results in a "can't find X
>> includes" compile error message.
>>
>> I tried passing "-I", "--x-includes=" and
>> "--includes=" to `install' but this doesn't work. Instead, I had
>> to modify the install script and add the --x-includes parameter
>> manually.
>>
>> It's hard for me to believe that no-one else using Debian or a
>> Debian-based distribution (which should all be affected) has reported
>> this before so I refrained from filing a bug report yet.
>>
>> So can anyone please tell me if I did something terribly wrong or if
>> this is really an error in the install script?
>>
>>
>> Cheers,
>>
>> --Timo
>>
>>
>




Re: [ns] battery parameters in NS-2

2007-03-08 Thread Scott Ricketts

The manual has a section about using node-config to setup those
parameters. Search the manual for "node-config" -- hopefully that will
help.

-Scott

On 8 Mar 2007 06:19:16 -, shalini c. thilakan
<[EMAIL PROTECTED]> wrote:
>
> hi all,
> where can i find configuration files in NS-2 where all the battery parameters 
> are specified?by battery parameters i mean the kind of wireless card to be 
> used,the transmisson power ,the receptions power and other battery-related 
> parameters.
>



[ns] Sanity-check of energy consumption of 802.15.4 sensor nodes

2007-03-08 Thread Athanasia Tsertou

Dear all,

My question is actually a sanity-check of the energy consumption of IEEE 
802.15.4 sensor nodes.
I have a very simple simulation with a handful of wireless nodes 
employing IEEE 802.15.4 (ns2.29 code) and a wired sink.
I have assumed 2AA batteries as the energy source, translating into 30.8 
KJ for each sensor. There is no sleeping mode for the sensors, whenever 
they are not transmitting or receiving, they are in idle state.
The transmission rate is 250 Kbps (@2.4GHz).

If I run a simulation with 3 flows at 1 packet per second for a whole 
day (86.400 secs), the energy they are consuming is only around 250-300 J.
Does this seem fairly reasonable to you? I was expecting their energy to 
be depleting much sooner since they are not using any sleeping schedule.

Cheers,
 Athanasia

PS. *other parameters I have used are:
set opt(txpow)  0.0522 ;#calculated from 
P=VI with 17.4mA that corresponds to 0dBm TX power from MICAZ datasheet
set opt(rxpow)  0.0591 ;# 19.7mA current drain
set opt(idpow)  0.6;#20 \uA
set opt(slpow)  0.03   ;# 1\uA

-- 
Ms Athanasia Tsertou
Research Associate 
Institute for Digital Communications
School of Engineering and Electronics
The University of Edinburgh
Room 2.12, AGB Building,
The Kings Buildings, Mayfield Road
Edinburgh, EH9 3JL
UK

Tel:+44 (0)1316505659
Fax:+44 (0)1316506554
Email:[EMAIL PROTECTED]



Re: [ns] install ns-2.1b8-mcast

2007-03-08 Thread Larry Brigman

On 3/8/07, boutoumi bachira <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I am using ns2 to make some research of ad hoc multicast.
>  I downloaded the ns wireless extension for multicast from the monarchproject 
> site. I have exactly downloaded the file (ns-2.1b8-mcast.tar.gz).
> How would i integerate this in ns-allinone. I am working with 
> ns-allinone-2.29.1.
> Is it possible to integerate (ns-2.1b8-mcast.tar.gz )with (ns-allinone-2.29.1)
> HOW???
> Thanks
>   Ana turk
>

What you do depends on what is in the files of ns-2.1b8-mcast.tar.gz.
If it is only the added files try adding them (make a backup of your
working ns-allinone tree first).  If it is a set of
patches apply them.  If it is the whole thing you probably need to get
a reference copy of ns-2.1b and do your own diff to make a set of
patches to apply.



Re: [ns] installation script doesn't consider /usr/include/X11 for X11 headers

2007-03-08 Thread Ahmad Khayyat

Try installing xorg-dev.
It will pull down a lot of X development dependencies.

On Wed, 7 Mar 2007 23:49:32 - (UTC)
"Timo Reimann" <[EMAIL PROTECTED]> wrote:

> 
> Hello,
> 
> I've been trying to install ns-allinone-2.30 on my system (Linux
> Ubuntu 6.10 with 2.6.17-11-38, Xorg 7.1.1) where the X11 headers
> (especially Xlib.h from the libx11-dev package) get installed
> in /usr/include/X11. Unfortunately, the installation script doesn't
> seem to consider this directory which results in a "can't find X
> includes" compile error message.
> 
> I tried passing "-I", "--x-includes=" and
> "--includes=" to `install' but this doesn't work. Instead, I had
> to modify the install script and add the --x-includes parameter
> manually.
> 
> It's hard for me to believe that no-one else using Debian or a
> Debian-based distribution (which should all be affected) has reported
> this before so I refrained from filing a bug report yet.
> 
> So can anyone please tell me if I did something terribly wrong or if
> this is really an error in the install script?
> 
> 
> Cheers,
> 
> --Timo
> 
> 



Re: [ns] Doubts about MIPv4 simulation(wireless3.tcl)

2007-03-08 Thread Vidya D

Hi,
  
   1.I am trying to understand March Greis tutorial(wireless3.tcl).  When the 
MN moves within the HA area, there is a lot of dropped  packets. The only line 
I modified is the setdest for MN. Why is this  happening? (This is assuming 
that the default ranges for MN,HA and FA  are 250m.)
  
 2.Also where do we describe that some base_stn is  the FA of a MN. We do set 
the FA with the hierarchical address in the  program. But how does it realise 
that this heirarchical address is the  FA. What if I want a lot of FA's. How do 
I simulate them? For HA we do  an explicit definition but I dont see us doing 
this for FA.
  
  3.When I use dsdv for routing protocol, a lot of packets are being  dropped 
with base_stn unknown error. How do I avoid this error? I tried  positioning 
the HA and FA so they are centers are 500m apart and give  MN a straight line 
movement from the center of HA to the center of FA.  Why are the packets still 
being dropped?
  
 
 Your help in understanding this implementation is greatly appreciated.
  
  Thank you in advance,
  Vidhya
  
   
 




 
-
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.


[ns] install ns-2.1b8-mcast

2007-03-08 Thread boutoumi bachira

Hi,
I am using ns2 to make some research of ad hoc multicast.
 I downloaded the ns wireless extension for multicast from the monarchproject 
site. I have exactly downloaded the file (ns-2.1b8-mcast.tar.gz).
How would i integerate this in ns-allinone. I am working with 
ns-allinone-2.29.1.
Is it possible to integerate (ns-2.1b8-mcast.tar.gz )with (ns-allinone-2.29.1)
HOW???
Thanks 
  Ana turk



-
 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] install ns-2.1b8-mcast

2007-03-08 Thread boutoumi bachira

Hi,
I am using ns2 to make some research of ad hoc multicast.
 I downloaded the ns wireless extension for multicast from the monarchproject 
site. I have exactly downloaded the file (ns-2.1b8-mcast.tar.gz).
How would i integerate this in ns-allinone. I am working with 
ns-allinone-2.29.1.
Is it possible to integerate (ns-2.1b8-mcast.tar.gz )with (ns-allinone-2.29.1)
HOW???
Thanks 
  Ana turk



-
 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] install ns-2.1b8-mcast

2007-03-08 Thread boutoumi bachira

Hi,
I am using ns2 to make some research of ad hoc multicast.
 I downloaded the ns wireless extension for multicast from the monarchproject 
site. I have exactly downloaded the file (ns-2.1b8-mcast.tar.gz).
How would i integerate this in ns-allinone. I am working with 
ns-allinone-2.29.1.
Is it possible to integerate (ns-2.1b8-mcast.tar.gz )with (ns-allinone-2.29.1)
HOW???
Thanks 
  Ana turk



-
 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.


Re: [ns] help for implementation of the DCCP in NS

2007-03-08 Thread Pedro Vale Estrela


Have you tried this code?
http://lifc.univ-fcomte.fr/~dedu/ns2/


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of zhang victor
> Sent: quarta-feira, 7 de Março de 2007 3:39
> To: ns-users@ISI.EDU
> Subject: [ns] help for implementation of the DCCP in NS
> 
> 
> Hi,guys:
> 
>  I am trying to implement the DCCP in NS, does anyone have implemented
> it? and willing to share the source code and the detail implementation
> method.
> 
> all the bests
> 
> victor zhang




[ns] urgent: help regarding euran programming

2007-03-08 Thread harpreet

  hi
i have some problem in euran programming. i tried the test script these run 
fine. but i want to modify umts script. (in which current communication  
between node1-rnc and acknowledgement send to bs which is at node1.) but there 
is no communication to ue1 or ue2 which are connected by umts link. when i try 
to connect rnc and ue1 through wireless channel or by duplex link this gives 
error. please advice me how to send data to ue from node1 through base station 
through umts ..

and i try to join euran's mailing list and join that no of time but no reply 
received from this. can u please tell me how to join this.
thanks in advance



harpreet singh


Re: [ns] definition of sending / receiving threshold per mobile node

2007-03-08 Thread Daniel Mahrenholz


Hi Markus,

Leitner, Markus schrieb:

I am currently working on a project dealing with simulation of mobile
nodes. 
To describe relevant network topologies I am searching for a possibility

to define the receiving threshold individually per node (e.g. mobile
node A has a receiving threshold of X, while all other nodes have a
receiving threshold of Y).
 
I know how to set the receiving threshold in principle via RXThresh_ but

I unfortunately did not find any way of specifying this per node.
 
Is anybody aware how to implement this?
  
I don't know if the following works for the threshold (it did for the 
antenna gain). Just give it a try. Set the threshold before you create a 
node. The node constructor will copy the value and you can change it 
later without changing the properties of already existing nodes. Maybe 
this is a bug - but we used it as a feature.


Daniel.

--
Dr.-Ing. Daniel Mahrenholz
rt-solutions.de GmbH
Oberländer Ufer 190a
D-50968 Köln

Web: www.rt-solutions.de

rt-solutions.de
networks you can trust.




[ns] definition of sending / receiving threshold per mobile node

2007-03-08 Thread Leitner, Markus

Hi all,
 
I am currently working on a project dealing with simulation of mobile
nodes. 
To describe relevant network topologies I am searching for a possibility
to define the receiving threshold individually per node (e.g. mobile
node A has a receiving threshold of X, while all other nodes have a
receiving threshold of Y).
 
I know how to set the receiving threshold in principle via RXThresh_ but
I unfortunately did not find any way of specifying this per node.
 
Is anybody aware how to implement this?
 
Best Regards,
Markus


Re: [ns] error while executing mwnode-ex.tcl

2007-03-08 Thread Laurent Paquereau

http://mailman.isi.edu/pipermail/ns-users/2007-March/059031.html

After applying a patch to a source code, you need to recompile... Run 
make and it will work.

For the detailed sequence of commands to run:
http://www.q2s.ntnu.no/~paquerea/ns.html

Laurent Paquereau
Q2S Centre of Excellence, NTNU


Raja Zahilah Raja Mohd. Radzi wrote:
> Hi all,
> 
> I have copied ns-2.30.patch in folder ns-2.30.
> Then patch it...as in your website.
> Then ./configure
> Then ./validate
> When i run >>ns mwnode-ex.tcl , i got errors:
> 
> invalid command name "Channel/Wireless"
> while executing
> "Channel/Wireless create _o14 "
> invoked from within
> "catch "$className create $o $args" msg"
> invoked from within
> "if [catch "$className create $o $args" msg] {
> if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
> delete $o
> return ""
> }
> global errorInfo
> error "class $..."
> (procedure "new" line 3)
> invoked from within
> "new $val_(channel)"
> invoked from within
> "$ns_ wireless-config-routing$val_(routing) \
> -mac$val_(mac) \
> -phy..."
> (file "mwnode-ex.tcl" line 86)
> 
> Anybody can help me with this..?



Re: [ns] installation script doesn't consider /usr/include/X11 for X11 headers

2007-03-08 Thread Timo Reimann


paolalonetti wrote:
> maybe it's not a problem of NS, but it's a problem of your version of
> Linux.
> Try it:
> - modify your installation including the packets X.

If you mean by that I should install the missing X headers: Of course, I
did that.

I'm not blaming NS for not finding dependent software non-existing on my
machine -- that'd be too much of a demand. :-)

The fault IMHO is that although the X11 headers are installed on my
machine ns-2 won't find them but claim there're not installed.

I've looked at a bunch of configure scripts and Makefiles but none seemed
to include the path mentioned in the subject line. Since Debian and
Debian-based distros represent a rather big share of the Linux market,
I'll file this as a bug unless someone else can hint me at some possible
mistake of mine.


--Timo



[ns] error while executing mwnode-ex.tcl

2007-03-08 Thread Raja Zahilah Raja Mohd. Radzi

Hi all,

I have copied ns-2.30.patch in folder ns-2.30.
Then patch it...as in your website.
Then ./configure
Then ./validate
When i run >>ns mwnode-ex.tcl , i got errors:

invalid command name "Channel/Wireless"
while executing
"Channel/Wireless create _o14 "
invoked from within
"catch "$className create $o $args" msg"
invoked from within
"if [catch "$className create $o $args" msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
delete $o
return ""
}
global errorInfo
error "class $..."
(procedure "new" line 3)
invoked from within
"new $val_(channel)"
invoked from within
"$ns_ wireless-config-routing$val_(routing) \
-mac$val_(mac) \
-phy..."
(file "mwnode-ex.tcl" line 86)

Anybody can help me with this..?


[ns] power aware routing in NS-2

2007-03-08 Thread shalini c. thilakan

  
hi all,
I am implementing a power aware routing protocol for ad hoc networks in 
NS-2.The present energy model in NS-2 is not power aware..Does anyone know how 
to implement such a protocol in NS-2,and where to find the battery parameters 
for each node.


[ns] How to test a new protocol? [nsrt-howto]

2007-03-08 Thread Javier Chicote

Dear ns-users,

I am trying to implement a new protocol for NS-2 following the howto 
"Implementing a New Manet Unicast Routing Protocol in NS2", which is available 
at http://masimum.dif.um.es/nsrt-howto/html/.

After adding some missing header files, I could recompile NS with the new 
protocol, but I am not able to see the results. I defined a very simple 
scenario with 3 wireless nodes but I am not able to see the exchange of 
packets. However, with AODV or DSDV the tcl script works fine.

I wonder if I should define a Protoname Agent (like in the example Ping of Marc 
Greis, but I get a segmentation fault, and I am not sure that it is really 
needed). If someone has any kind of tcl code or link to a scrip I would really 
appreciate the help.

Best regards,

Javi 




__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com