Re: [ns] problem with setting environment variables

2007-02-07 Thread KC Lee

Hi Onyekachi,

You could run the following command to set your environment variable everytime 
you start your Cygwin.

export 
PATH=$PATH:/ns-allinone-2.29/bin:/ns-allinone-2.29/tcl8.4.11/unix:/ns-allinone-2.29/tk8.4.11/unix:/ns-allinone-
export 
LD_LIBRARY_PATH=/ns-allinone-2.29/tcl8.4.11/unix:/ns-allinone-2.29/tk8.4.11/unix/:/ns-allinone-2.29/tk8.4.11/
export TCL_LIBRARY=/ns-allinone-2.29/tcl8.4.11/library


Or you could add in the above into your .bashrc file and this will advoid you 
from setting environment variable everytime you run your Cygwin.

regards
-kc

- Original Message 
From: Onyekachi <[EMAIL PROTECTED]>
To: ns-users@ISI.EDU
Sent: Wednesday, February 7, 2007 11:52:29 PM
Subject: [ns] problem with setting environment variables


Hello ns-users,
Please I am a new user of the ns2 simulator. I just installed it 
(ns-2.29) without setting the environment variables properly. Anytime I 
try to run a *.tcl file i get the following message: 'bash: ns: command 
not found".
Please I would appreciate a step by step approach to resolving this problem.

N/B: My ns directory is *c:/home/ns-allinone-2.29/ns-2.29*

Thanks.
Onyekachi.


 

It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/


Re: [ns] Sensing range in Sensor network

2007-02-07 Thread Scott Ricketts

Perhaps you are using some of the objects in ~ns/sensor-nets. I have
not been able to find any documentation on these agents. If anyone
else has, I would be interested to hear about it.

Thanks,
Scott

On 2/6/07, Scott Ricketts <[EMAIL PROTECTED]> wrote:
> What do you mean by sensing range? While there may be extensions of NS
> for simulating sensing capabilities of sensor nodes, I do not think
> there is such a thing in the base package.
>
> -Scott
>
> On 2/6/07, Amin Irandoost <[EMAIL PROTECTED]> wrote:
> >
> > Hi all
> > how can i set sensing range in wireless sensor network in NS??
> >
> > --
> > Amin Irandoost
> >
>



[ns] Setting Environment Variables

2007-02-07 Thread Onyekachi

Please what is the command to verify that your variables have been 
properly set from the cygwin bash shell window?

Thanks.

Onyekachi.



Re: [ns] MASH Inspector (nstk?) problems

2007-02-07 Thread Andrés Emilio Arcia Moret

Ok, thanks.

Just one more thing: My screenshot and yours are not the same, look at the
clicked TCP object showing nothing but the object name in the instance box.
The link I pointed out was:

http://tagus.inesc-id.pt/~pestrela/ns2/step4.PNG

And you're talking about:

http://tagus.inesc-id.pt/~pestrela/ns2/step4_very_start.PNG

Anyway, I'll manage somehow.

Thanks for your time and patience.

On 2/7/07, Pedro Vale Estrela <[EMAIL PROTECTED]> wrote:
>
>
> This is very strange :)
>
> Actually, the screenshot of step 4 is what happens after clicking in one
> of
> the classes;
> This is the first thing that happens, and is exactly like yours
> http://tagus.inesc-id.pt/~pestrela/ns2/step4_very_start.PNG
>
> I can only think of you to upgrade your TK version
> (I'm using 8.4.11, and the guide was made in linux using 8.4.5). You are
> currently using 8.4.7.
>
> test b) showed that nstk is processing the TK commands well.
> So, this should be a problem of some command contained in Mash inspector
> itself.
> The problem is that MashInspector doesn't run in wish because it lacks
> otcl.
> (you could try to compile Mash itself, but it will not be easy).
>
> Its probably faster to get a linux machine, patch it according to my
> guide,
> and try the inspector;
> after that, you can evaluate the inspector's capabilities for yourself,
> and
> decide if it is worth the effort to try to find the bug.
>
> Pedro Estrela
>
>
>
>
>
> -Original Message-
> From: Andrés Emilio Arcia Moret [mailto:[EMAIL PROTECTED]
> Sent: quarta-feira, 7 de Fevereiro de 2007 21:36
> To: [EMAIL PROTECTED]
> Cc: ns-users@isi.edu
> Subject: Re: [ns] MASH Inspector (nstk?) problems
>
> Hello,
>
> So far I have done both tests that you requested and both have executed
> neatly.
>
> Answer for question a): yes it works.
>
> http://webdelprofesor.ula.ve/ingenieria/amoret/question_a.png
>
> Answer for question b): yes it works for both.
>
> http://webdelprofesor.ula.ve/ingenieria/amoret/question_b.png
>
> However, I get this weird behavior for the MASH inspector. The inspector
> shows up when called but once I try to roll down the scrollbar, the whole
> thing hangs. Also, from the very beginning the inspector is not showing
> what it should (at least what you show at:
> http://tagus.inesc-id.pt/~pestrela/ns2/step4.PNG). By the way, I tried one
> script for testing scrollbars in nstk and worked well.
>
> The result is at:
>
> http://webdelprofesor.ula.ve/ingenieria/amoret/smashed_mash.png
>
> Thanks for your help.
> On 2/7/07, Pedro Vale Estrela <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> Regarding the nstk, what I've done is to clone the wish.c file from a very
> recent TCL distribution (I guess the one that came with NS2.29 all in
> one),
> and merged it with the NS2 code (tclappinit.cc ).
>
> a) Can you run the TKcon console?
> http://tagus.inesc-id.pt/~pestrela/ns2/step3.PNG
>
> b) find any simple TK command that works in your "wish" version, and try
> it
> in nstk. Does it work?
>
> (I've made nstk in a linux PC, running debian distribution and
> NS_all_in_one
> 2.29)
>
> Other users that have successfully installed "nstk", please comment on
> this
> topic!
>
> Pedro Vale Estrela
>
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On
> Behalf
> > Of Andrés Emilio Arcia Moret
> > Sent: quarta-feira, 7 de Fevereiro de 2007 17:22
> > To: ns-users@ISI.EDU
> > Subject: [ns] MASH Inspector (nstk?) problems
> >
> >
> > Hi everyone,
> >
> > I just did all the steps nicely explained in the Pedro Estrela's
> > homepage to work with the debugger. All installation steps work well
> > (show no error messages). However, when testing the MASH Inspector as
> > indicated, the MASH window starts "trembling" at the right border and
> > couple of seconds later nstk hangs.
> >
> > I am using a MacBook Pro/OS X and ns-2.30.
> >
> > I guess is the wish version that the nstk takes by default, which is
> > not using plain X11 windows. So, I don't know how to generate an
> > "nstk" with the X11 wish version. This is, at least, to see if the tk
> > version is the one with the problem.
> >
> > Any help would be appreciated.
> >
> > --
> > Andrés Arcia
>
>
>
> --
> --
> Andrés Arcia
>
>


-- 
--
Andrés Arcia


[ns] QUEUE LENGTH OF WIRELESS NODE HELP

2007-02-07 Thread antonis antoniou





Hi, 
Does any one know how can get the current size of queue length of a wireless 
node?
THANKS
 
 
 
 





Re: [ns] MASH Inspector (nstk?) problems

2007-02-07 Thread Pedro Vale Estrela


This is very strange :)

Actually, the screenshot of step 4 is what happens after clicking in one of
the classes; 
This is the first thing that happens, and is exactly like yours 
http://tagus.inesc-id.pt/~pestrela/ns2/step4_very_start.PNG

I can only think of you to upgrade your TK version 
(I'm using 8.4.11, and the guide was made in linux using 8.4.5). You are
currently using 8.4.7.

test b) showed that nstk is processing the TK commands well. 
So, this should be a problem of some command contained in Mash inspector
itself. 
The problem is that MashInspector doesn’t run in wish because it lacks otcl.
(you could try to compile Mash itself, but it will not be easy).

Its probably faster to get a linux machine, patch it according to my guide,
and try the inspector; 
after that, you can evaluate the inspector's capabilities for yourself, and
decide if it is worth the effort to try to find the bug.

Pedro Estrela





-Original Message-
From: Andrés Emilio Arcia Moret [mailto:[EMAIL PROTECTED] 
Sent: quarta-feira, 7 de Fevereiro de 2007 21:36
To: [EMAIL PROTECTED]
Cc: ns-users@isi.edu
Subject: Re: [ns] MASH Inspector (nstk?) problems

Hello,

So far I have done both tests that you requested and both have executed
neatly.

Answer for question a): yes it works.

http://webdelprofesor.ula.ve/ingenieria/amoret/question_a.png   

Answer for question b): yes it works for both. 

http://webdelprofesor.ula.ve/ingenieria/amoret/question_b.png  

However, I get this weird behavior for the MASH inspector. The inspector
shows up when called but once I try to roll down the scrollbar, the whole
thing hangs. Also, from the very beginning the inspector is not showing 
what it should (at least what you show at:
http://tagus.inesc-id.pt/~pestrela/ns2/step4.PNG). By the way, I tried one
script for testing scrollbars in nstk and worked well.

The result is at:

http://webdelprofesor.ula.ve/ingenieria/amoret/smashed_mash.png 

Thanks for your help.
On 2/7/07, Pedro Vale Estrela <[EMAIL PROTECTED]> wrote:

Hi

Regarding the nstk, what I've done is to clone the wish.c file from a very
recent TCL distribution (I guess the one that came with NS2.29 all in one),
and merged it with the NS2 code (tclappinit.cc ).

a) Can you run the TKcon console?
http://tagus.inesc-id.pt/~pestrela/ns2/step3.PNG

b) find any simple TK command that works in your "wish" version, and try it 
in nstk. Does it work?

(I've made nstk in a linux PC, running debian distribution and NS_all_in_one
2.29)

Other users that have successfully installed "nstk", please comment on this
topic! 

Pedro Vale Estrela


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On
Behalf
> Of Andrés Emilio Arcia Moret
> Sent: quarta-feira, 7 de Fevereiro de 2007 17:22
> To: ns-users@ISI.EDU
> Subject: [ns] MASH Inspector (nstk?) problems 
>
>
> Hi everyone,
>
> I just did all the steps nicely explained in the Pedro Estrela's
> homepage to work with the debugger. All installation steps work well
> (show no error messages). However, when testing the MASH Inspector as 
> indicated, the MASH window starts "trembling" at the right border and
> couple of seconds later nstk hangs.
>
> I am using a MacBook Pro/OS X and ns-2.30.
>
> I guess is the wish version that the nstk takes by default, which is 
> not using plain X11 windows. So, I don't know how to generate an
> "nstk" with the X11 wish version. This is, at least, to see if the tk
> version is the one with the problem.
>
> Any help would be appreciated.
>
> --
> Andrés Arcia



-- 
--
Andrés Arcia 




Re: [ns] problem with setting environment variables

2007-02-07 Thread Scott Ricketts

There is no shortage of web resources for answering unix questions
like how to set environment variables. You will need to add ns to your
PATH to get rid of the "command not found" error.

-Scott

On 2/7/07, Onyekachi <[EMAIL PROTECTED]> wrote:
>
> Hello ns-users,
> Please I am a new user of the ns2 simulator. I just installed it
> (ns-2.29) without setting the environment variables properly. Anytime I
> try to run a *.tcl file i get the following message: 'bash: ns: command
> not found".
> Please I would appreciate a step by step approach to resolving this problem.
>
> N/B: My ns directory is *c:/home/ns-allinone-2.29/ns-2.29*
>
> Thanks.
> Onyekachi.
>
>



Re: [ns] MASH Inspector (nstk?) problems

2007-02-07 Thread Andrés Emilio Arcia Moret

Hello,

So far I have done both tests that you requested and both have executed
neatly.

Answer for question a): yes it works.

http://webdelprofesor.ula.ve/ingenieria/amoret/question_a.png

Answer for question b): yes it works for both.

http://webdelprofesor.ula.ve/ingenieria/amoret/question_b.png

However, I get this weird behavior for the MASH inspector. The inspector
shows up when called but once I try to roll down the scrollbar, the whole
thing hangs. Also, from the very beginning the inspector is not showing
what it should (at least what you show at:
http://tagus.inesc-id.pt/~pestrela/ns2/step4.PNG). By the way, I tried one
script for testing scrollbars in nstk and worked well.

The result is at:

http://webdelprofesor.ula.ve/ingenieria/amoret/smashed_mash.png

Thanks for your help.

On 2/7/07, Pedro Vale Estrela <[EMAIL PROTECTED]> wrote:
>
>
> Hi
>
> Regarding the nstk, what I've done is to clone the wish.c file from a very
> recent TCL distribution (I guess the one that came with NS2.29 all in
> one),
> and merged it with the NS2 code (tclappinit.cc).
>
> a) Can you run the TKcon console?
> http://tagus.inesc-id.pt/~pestrela/ns2/step3.PNG
>
> b) find any simple TK command that works in your "wish" version, and try
> it
> in nstk. Does it work?
>
> (I've made nstk in a linux PC, running debian distribution and
> NS_all_in_one
> 2.29)
>
> Other users that have successfully installed "nstk", please comment on
> this
> topic!
>
> Pedro Vale Estrela
>
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf
> > Of Andrés Emilio Arcia Moret
> > Sent: quarta-feira, 7 de Fevereiro de 2007 17:22
> > To: ns-users@ISI.EDU
> > Subject: [ns] MASH Inspector (nstk?) problems
> >
> >
> > Hi everyone,
> >
> > I just did all the steps nicely explained in the Pedro Estrela's
> > homepage to work with the debugger. All installation steps work well
> > (show no error messages). However, when testing the MASH Inspector as
> > indicated, the MASH window starts "trembling" at the right border and
> > couple of seconds later nstk hangs.
> >
> > I am using a MacBook Pro/OS X and ns-2.30.
> >
> > I guess is the wish version that the nstk takes by default, which is
> > not using plain X11 windows. So, I don't know how to generate an
> > "nstk" with the X11 wish version. This is, at least, to see if the tk
> > version is the one with the problem.
> >
> > Any help would be appreciated.
> >
> > --
> > Andrés Arcia
>
>


-- 
--
Andrés Arcia


Re: [ns] MASH Inspector (nstk?) problems

2007-02-07 Thread Pedro Vale Estrela


Hi

Regarding the nstk, what I've done is to clone the wish.c file from a very
recent TCL distribution (I guess the one that came with NS2.29 all in one),
and merged it with the NS2 code (tclappinit.cc).

a) Can you run the TKcon console? 
http://tagus.inesc-id.pt/~pestrela/ns2/step3.PNG

b) find any simple TK command that works in your "wish" version, and try it
in nstk. Does it work?

(I've made nstk in a linux PC, running debian distribution and NS_all_in_one
2.29)

Other users that have successfully installed "nstk", please comment on this
topic!

Pedro Vale Estrela


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Andrés Emilio Arcia Moret
> Sent: quarta-feira, 7 de Fevereiro de 2007 17:22
> To: ns-users@ISI.EDU
> Subject: [ns] MASH Inspector (nstk?) problems
> 
> 
> Hi everyone,
> 
> I just did all the steps nicely explained in the Pedro Estrela's
> homepage to work with the debugger. All installation steps work well
> (show no error messages). However, when testing the MASH Inspector as
> indicated, the MASH window starts "trembling" at the right border and
> couple of seconds later nstk hangs.
> 
> I am using a MacBook Pro/OS X and ns-2.30.
> 
> I guess is the wish version that the nstk takes by default, which is
> not using plain X11 windows. So, I don't know how to generate an
> "nstk" with the X11 wish version. This is, at least, to see if the tk
> version is the one with the problem.
> 
> Any help would be appreciated.
> 
> --
> Andrés Arcia




[ns] MASH Inspector (nstk?) problems

2007-02-07 Thread Andrés Emilio Arcia Moret

Hi everyone,

I just did all the steps nicely explained in the Pedro Estrela's
homepage to work with the debugger. All installation steps work well
(show no error messages). However, when testing the MASH Inspector as
indicated, the MASH window starts "trembling" at the right border and
couple of seconds later nstk hangs.

I am using a MacBook Pro/OS X and ns-2.30.

I guess is the wish version that the nstk takes by default, which is
not using plain X11 windows. So, I don't know how to generate an
"nstk" with the X11 wish version. This is, at least, to see if the tk
version is the one with the problem.

Any help would be appreciated.

--
Andrés Arcia



[ns] [MPLS+DiffServ] Don't we need patch for ?

2007-02-07 Thread Stella Choe

Hello,

I'd like to simulate MPLS Traffic Engineering function in a DiffServ enabled 
Network.
I configured MPLS functions to nodes and DiffServ to routers, etc. and then 
got no error in ns2.26 and ns 2.30.  The following script is the code.
Is that okay?
I'm not sure this code is really simulating MPLS/DiffServ.
Or do I need to install MPLS/diffserv patch from the website
http://www.eeng.dcu.ie/~murphys/ns-work/mpls-diffserv/  to simulate it 
correctly only in ns2.1b6?

Thank you in advance!

---
set ns [new Simulator]

set nf [open /tmp/hjc/diffMpls.nam w]
$ns namtrace-all $nf
set tf [open /tmp/hjc/diffMpls.tr w]
$ns trace-all $tf

set cir0 10
set pir0 50
set rate0 400
set cir1 40
set pir1 100
set rate1 200

set testTime 25.0
set packetSize 1000

### set up the network topology
set s1 [$ns node]
$ns node-config -MPLS ON
set s2 [$ns node]
$ns node-config -MPLS ON
set e1 [$ns node]
$ns node-config -MPLS ON
set core [$ns node]
$ns node-config -MPLS ON
set e2 [$ns node]
$ns node-config -MPLS OFF
set dest [$ns node]

$ns duplex-link $s1 $e1 10Mb 5ms DropTail
$ns duplex-link $s2 $e1 10Mb 5ms DropTail

$ns simplex-link $e1 $core 10Mb 5ms dsRED/edge
$ns simplex-link $core $e1 10Mb 5ms dsRED/core

$ns simplex-link $core $e2 5Mb 5ms dsRED/core
$ns simplex-link $e2 $core 5Mb 5ms dsRED/edge

$ns duplex-link $e2 $dest 10Mb 5ms DropTail

set qE1C [[$ns link $e1 $core] queue]
set qE2C [[$ns link $e2 $core] queue]
set qCE1 [[$ns link $core $e1] queue]
set qCE2 [[$ns link $core $e2] queue]

##$ns LDP-peer $e1 $core

$ns ldp-request-color   blue
$ns ldp-mapping-color   red
$ns ldp-withdraw-color  magenta
$ns ldp-release-color   orange
$ns ldp-notification-color  yellow


set qE1C [[$ns link $e1 $core] queue]
set qE2C [[$ns link $e2 $core] queue]
set qCE1 [[$ns link $core $e1] queue]
set qCE2 [[$ns link $core $e2] queue]

# Set DS RED parameters from Edge1 to Core:
$qE1C meanPktSize $packetSize
$qE1C set numQueues_ 2
$qE1C setNumPrec 3
$qE1C addPolicyEntry [$s1 id] [$dest id] TSW3CM 10 $cir0 $pir0
$qE1C addPolicyEntry [$s2 id] [$dest id] TSW3CM 20 $cir1 $pir1
$qE1C addPolicyEntry -1 -1 TSW3CM 10 $cir1 $pir1
$qE1C addPolicerEntry TSW3CM 10 11 12
$qE1C addPolicerEntry TSW3CM 20 21 22

$qE1C addPHBEntry 10 0 0
$qE1C addPHBEntry 11 0 1
$qE1C addPHBEntry 12 0 2
$qE1C addPHBEntry 20 1 0^M
$qE1C addPHBEntry 21 1 1^M
$qE1C addPHBEntry 22 1 2^M
$qE1C addPHBEntry 0 0 2

$qE1C configQ 0 0 20 40 0.02
$qE1C configQ 0 1 10 20 0.10
$qE1C configQ 0 2  5 10 0.20
$qE1C configQ 1 0 20 40 0.02^M
$qE1C configQ 1 1 10 20 0.10^M
$qE1C configQ 1 2  5 10 0.20^M

# Set DS RED parameters from Edge2 to Core:
$qE2C meanPktSize $packetSize
$qE2C set numQueues_ 2
$qE2C setNumPrec 3
$qE2C addPolicyEntry [$dest id] [$s1 id] TSW3CM 10 $cir0 $pir0
$qE2C addPolicyEntry [$dest id] [$s2 id] TSW3CM 20 $cir1 $pir1
$qE2C addPolicyEntry -1 -1 TSW3CM 10 $cir1 $pir1
$qE2C addPolicerEntry TSW3CM 10 11 12
$qE2C addPolicerEntry TSW3CM 20 21 22
$qE2C addPHBEntry 10 0 0
$qE2C addPHBEntry 11 0 1
$qE2C addPHBEntry 12 0 2
$qE2C addPHBEntry 20 0 0^M
$qE2C addPHBEntry 21 0 1^M
$qE2C addPHBEntry 22 0 2^M
$qE2C addPHBEntry 0 0 2

$qE2C configQ 0 0 20 40 0.02
$qE2C configQ 0 1 20 20 0.10
$qE2C configQ 0 2  5 10 0.20
$qE2C configQ 1 0 20 40 0.02^M
$qE2C configQ 1 1 20 20 0.10^M
$qE2C configQ 1 2  5 10 0.20^M

# Set DS RED parameters from Core to Edge1:
$qCE1 meanPktSize $packetSize
$qCE1 set numQueues_ 2
$qCE1 setNumPrec 3
$qCE1 addPHBEntry 10 0 0
$qCE1 addPHBEntry 11 0 1
$qCE1 addPHBEntry 12 0 2
$qCE1 addPHBEntry 20 0 0^M
$qCE1 addPHBEntry 21 0 1^M
$qCE1 addPHBEntry 22 0 2^M
$qCE1 addPHBEntry 0 0 2^M

$qCE1 configQ 0 0 20 40 0.02
$qCE1 configQ 0 1 10 20 0.10
$qCE1 configQ 0 2  5 10 0.20
$qCE1 configQ 1 0 20 40 0.02^M
$qCE1 configQ 1 1 10 20 0.10^M
$qCE1 configQ 1 2  5 10 0.20^M

# Set DS RED parameters from Core to Edge2:
$qCE2 meanPktSize $packetSize
$qCE2 set numQueues_ 2
$qCE2 setNumPrec 3
$qCE2 addPHBEntry 10 0 0
$qCE2 addPHBEntry 11 0 1
$qCE2 addPHBEntry 12 0 2
$qCE2 addPHBEntry 20 0 0^M
$qCE2 addPHBEntry 21 0 1^M
$qCE2 addPHBEntry 22 0 2^M
$qCE2 addPHBEntry 0 0 2^M
$qCE2 configQ 0 0 20 40 0.02
$qCE2 configQ 0 1 10 20 0.10
$qCE2 configQ 0 2  5 10 0.20
$qCE2 configQ 1 0 20 40 0.02^M
$qCE2 configQ 1 1 10 20 0.10^M
$qCE2 configQ 1 2  5 10 0.20^M

# Set up one CBR connection between each source and the destination:
set udp0 [new Agent/UDP]
$ns attach-agent $s1 $udp0
set cbr0 [new Application/Traffic/CBR]
$cbr0 attach-agent $udp0
$cbr0 set packet_size_ $packetSize
$udp0 set packetSize_ $packetSize
$cbr0 set rate_ $rate0
set null0 [new Agent/Null]
$ns attach-agent $dest $null0
$ns connect $udp0 $null0

set udp1 [new Agent/UDP]
$ns attach-agent $s2 $udp1
set cbr1 [new Application/Traffic/CBR]
$cbr1 attach-agent $udp1
$cbr1 set packet_size_ $packetSize
$udp1 set packetSize_ $packetSize
$cbr1 set rate_ $rate1
set null1 [new Agent/Null]
$ns attach-agent $dest $null1
$ns connect $udp1 $null1

pro

[ns] problem with setting environment variables

2007-02-07 Thread Onyekachi

Hello ns-users,
Please I am a new user of the ns2 simulator. I just installed it 
(ns-2.29) without setting the environment variables properly. Anytime I 
try to run a *.tcl file i get the following message: 'bash: ns: command 
not found".
Please I would appreciate a step by step approach to resolving this problem.

N/B: My ns directory is *c:/home/ns-allinone-2.29/ns-2.29*

Thanks.
Onyekachi.



[ns] Hello Interval bug in UM-OLSR implementation

2007-02-07 Thread Víctor González

Hi all,

we have detected a bug in UM-OLSR 0.8.8.

In OLSR, the value NEIGHB_HOLD_TIME is the time that a Hello Message is
considered valid. The OLSR rfc fixes this value at 3*HI (Hello
Interval).

UM-OLSR allows to change the Hello Interval (HI) in the NS2 Tcl script.
But, when you change the HI, the value OLSR_NEIGHB_HOLD_TIME is not
updated. 

as you can see in UM-OLSR 0.8.8 code:


#define OLSR_REFRESH_INTERVAL   2


/** Holding times **/

/// Neighbor holding time.
#define OLSR_NEIGHB_HOLD_TIME   3*OLSR_REFRESH_INTERVAL


OLSR_NEIGHB_HOLD_TIME is 3*OLSR_REFRESH_INTERVAL, which is always 2. 

To correct it you may assign OLSR_REFRESH_INTERVAL to hello_ival 


Regards,

Víctor González.



[ns] how to run ns...

2007-02-07 Thread Bala Murugan

Dear friends,
  I installed successfully ns-2.30 allinone package on fedora 
core 4 linux...
  after installation it asked me to specify the TCL_LIBRARY PATH and some 
paths..
  and i did it..i dont know how to proceed with ns-2.3 after installation..when 
i run simple commands it showed a error like"ERROR OCCURED WHEN CALLING THE 
CLASS SIMULATOR"..how to overcome this...can anyone help me?
  please Help me
i'm waitng for your reply..
  thank  you.friend...
   


 
-
Don't get soaked.  Take a quick peak at the forecast 
 with theYahoo! Search weather shortcut.


[ns] need EMERGENCY HELP PLZ segmentation fault pbm

2007-02-07 Thread Samer Bali

don't let the node move to the border limit exactly. You should write, 
e.g.,:
$node($i) setdest  [expr $x-0.01] $y $vitess

or extend your area limit a little bit.

Good Luck,
Samer
> - Original Message - 
> From: "amira bourayou" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; 
> Sent: Tuesday, February 06, 2007 6:49 PM
> Subject: [ns] need EMERGENCY HELP PLZ segmentation fault pbm
>
>
>>
>> hi every one!
>> when i use
>> $node($i) setdest  $x $y $vitess
>> i got the following error:*segmentation fault* when i run my script.
>>
>> how to repare this?
>>
>> please help me.it's urgent.
>>
>> best regards.
> 



[ns] need EMERGENCY HELP PLZ segmentation fault pbm

2007-02-07 Thread Samer Bali

don't let the node move to the border limit exactly. You should write, 
e.g.,:
$node($i) setdest  [expr $x-0.01] [expr $y-0.01] $vitess

or extend your area limit a little bit.

Good Luck,
Samer

> - Original Message - 
> From: "amira bourayou" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; 
> Sent: Tuesday, February 06, 2007 6:49 PM
> Subject: [ns] need EMERGENCY HELP PLZ segmentation fault pbm
>
>
>>
>> hi every one!
>> when i use
>> $node($i) setdest  $x $y $vitess
>> i got the following error:*segmentation fault* when i run my script.
>>
>> how to repare this?
>>
>> please help me.it's urgent.
>>
>> best regards.
> 



[ns] MONITOR/MEASURE WIRELESS NODE QUEUE SIZE help???

2007-02-07 Thread antonis antoniou


Hi all,


can any one guide me how to measure wireless node queue size?
queue-monitor doesnt work i think.

THANKS




[ns] WIRELESS NODE CONTENTION LEVEL

2007-02-07 Thread antonis antoniou




Hi, 
Does any one know how can sample wiless channel in epochs ,and find out how may 
epochs out of N is busy?

THANKS