Re: [ns] Fw: Re: Error 127

2010-07-11 Thread ikenna ajere

Hello Mike,

Thanks for your response. I actually installed ns 2.34 on Ubuntu 9.10 using the 
ppa package by wouter. I did not use the ns allinone package. What happens is 
that I can run cbrgen and it generates a traffic file but running setdest 
always gives the error: bash: ./setdest: No such file or directory. That was 
the genesis of the problem. I have tried all the things I listed in the mail 
below but it still does not work.Actually confused and dont know what to do 
next as I have not even started the main thought process for my thesis which is 
due early next month.

Pls I need ur advice. I paid soo muuch (through my nose) for this masters and 
failure is not an option.

Thanks as I wait for your replies.

Pls all ns users, help me out. I know there is a soln, I know some1 has 
encountered it b4, I know there's a soln. Pls can some1 render a positive help. 
I'm ready to call u if u give me ur no.

Thanks


 me fany replies from anybody on the request belowr,
 It's urgent pls.

 Thanks

 --- On Wed, 7/7/10, ikenna ajere ajer...@yahoo.co.uk wrote:

 From: ikenna ajere ajer...@yahoo.co.uk
 Subject: [ns] Fw: Re:  Error 127
 To: rudraks...@gmail.com
 Cc: ns-users@ISI.EDU
 Date: Wednesday, 7 July, 2010, 0:38




 --- On Tue, 6/7/10, ikenna ajere ajer...@yahoo.co.uk wrote:
 Hello,

 Pls can anybdy help me? Still encountering the error below,
 Pls it's very urgent
 Thanks
 From: ikenna ajere ajer...@yahoo.co.uk
 Subject: Re: [ns] Error 127
 To: rudraksh shrivastava rudraks...@gmail.com
 Date: Tuesday, 6 July, 2010, 23:22

 Hello,

 I installed the g++ compiler bt I got another error msg;

 g++ -c -Dstand_alone -dstl_namespa...@stl_namespace@   
 -DCPP_NAMESPACE=std -I../../.. -o rng.o ../../../tools/rng.cc
 g++: ../../../tools/rng.cc: No such file or directory
 g++: no input files
 make: *** [rng.o] Error 1

 How do I resolve this.

 Pls I need ur urgent help

 Thanks


 --- On Tue, 6/7/10, rudraksh shrivastava rudraks...@gmail.com wrote:

 From: rudraksh shrivastava rudraks...@gmail.com
 Subject: Re: [ns] Error 127
 To: ikenna ajere ajer...@yahoo.co.uk
 Date: Tuesday, 6 July, 2010, 14:31

 apt-get install g++ run this...

 On Wed, Jul 7, 2010
  at 1:00 AM, rudraksh shrivastava rudraks...@gmail.com wrote:

 Hii

 U have to install g++ compiler on ur pc...which OS are u using ??

 On Wed, Jul 7, 2010 at 12:34 AM, ikenna ajere ajer...@yahoo.co.uk wrote:




 Hello,



 Encountered this error while trying to run ''make'' on setdest directory



 make: g++: command not found

 make: *** [setdest] Error 127



 I have not been able to run setdest as it keeps on returning an   
 invalid command. Pls I need an urgent help. i am using ubuntu 9.10



 Ajere


















      


      











  


[ns] How to control TCP data

2010-07-11 Thread Ahmed Hesham


  Dear All
   I am trying to control the data sent by Agent/TCP/FullTcp or even Agent/TCP 
. can any one tell me how can I for example make the sender sends Ahmed and 
see this at the receiver.

Regards
  
_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969


Re: [ns] Fw: Re: Error 127

2010-07-11 Thread Teerawat Issariyakul


Hi

I did some test on NS2 installation few months ago. Here is the result

http://www.ns2ultimate.com/post/439346614/working-combination-ns-2-34-ubuntu-8-04-and-perhaps

There is a problem with the current linux-like distribution. Here is the
solution

http://www.ns2ultimate.com/post/441093095/ns-2-35-works-on-cygwin

I hope this will help.

Best Wishes,

Teerawat Issariyakul
http://www.ns2ultimate.com/
http://www.ece.ubc.ca/~teerawat
http://www.t-issariyakul.blogspot.com
http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417
http://twitter.com/T_Bear

On 7/11/2010, ikenna ajere ajer...@yahoo.co.uk wrote:


Hello Mike,

Thanks for your response. I actually installed ns 2.34 on Ubuntu 9.10 using 
the ppa package by wouter. I did not use the ns allinone package. What happens 
is that I can run cbrgen and it generates a traffic file but running setdest 
always gives the error: bash: ./setdest: No such file or directory. That was 
the genesis of the problem. I have tried all the things I listed in the mail 
below but it still does not work.Actually confused and dont know what to do 
next as I have not even started the main thought process for my thesis which 
is due early next month.

Pls I need ur advice. I paid soo muuch (through my nose) for this masters and 
failure is not an option.

Thanks as I wait for your replies.

Pls all ns users, help me out. I know there is a soln, I know some1 has 
encountered it b4, I know there's a soln. Pls can some1 render a positive 
help. I'm ready to call u if u give me ur no.

Thanks


 me fany replies from anybody on the request belowr,
 It's urgent pls.

 Thanks

 --- On Wed, 7/7/10, ikenna ajere ajer...@yahoo.co.uk wrote:

 From: ikenna ajere ajer...@yahoo.co.uk
 Subject: [ns] Fw: Re:  Error 127
 To: rudraks...@gmail.com
 Cc: ns-users@ISI.EDU
 Date: Wednesday, 7 July, 2010, 0:38




 --- On Tue, 6/7/10, ikenna ajere ajer...@yahoo.co.uk wrote:
 Hello,

 Pls can anybdy help me? Still encountering the error below,
 Pls it's very urgent
 Thanks
 From: ikenna ajere ajer...@yahoo.co.uk
 Subject: Re: [ns] Error 127
 To: rudraksh shrivastava rudraks...@gmail.com
 Date: Tuesday, 6 July, 2010, 23:22

 Hello,

 I installed the g++ compiler bt I got another error msg;

 g++ -c -Dstand_alone -dstl_namespa...@stl_namespace@   
 -DCPP_NAMESPACE=std -I../../.. -o rng.o ../../../tools/rng.cc
 g++: ../../../tools/rng.cc: No such file or directory
 g++: no input files
 make: *** [rng.o] Error 1

 How do I resolve this.

 Pls I need ur urgent help

 Thanks


 --- On Tue, 6/7/10, rudraksh shrivastava rudraks...@gmail.com wrote:

 From: rudraksh shrivastava rudraks...@gmail.com
 Subject: Re: [ns] Error 127
 To: ikenna ajere ajer...@yahoo.co.uk
 Date: Tuesday, 6 July, 2010, 14:31

 apt-get install g++ run this...

 On Wed, Jul 7, 2010
  at 1:00 AM, rudraksh shrivastava rudraks...@gmail.com wrote:

 Hii

 U have to install g++ compiler on ur pc...which OS are u using ??

 On Wed, Jul 7, 2010 at 12:34 AM, ikenna ajere ajer...@yahoo.co.uk wrote:




 Hello,



 Encountered this error while trying to run ''make'' on setdest directory



 make: g++: command not found

 make: *** [setdest] Error 127



 I have not been able to run setdest as it keeps on returning an   
 invalid command. Pls I need an urgent help. i am using ubuntu 9.10



 Ajere


















      


      











  




Re: [ns] monitor-queue activation problem

2010-07-11 Thread Teerawat Issariyakul


Hi Ahmed,

From what I see, the error is caused by

$link_([$n1 id]:[$n2 id])

I think there is no link connecting nodes $n0 and $n1. You are asking NS2
to monitor the link which does not exist.

Make sure that there is a link connecting $n0 and $n1 BEFORE invoking
monitor-queue.


If you would like to learn how to read OTcl error message, please read

http://www.ns2ultimate.com/post/419191200/tcl-error-message-in-ns2

Best Regards,

Teerawat Issariyakul
http://www.ns2ultimate.com/
http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417
http://twitter.com/T_Bear
http://www.t-issariyakul.blogspot.com
http://www.ece.ubc.ca/~teerawat





On 7/9/2010, Ahmed Hesham ahes...@live.com wrote:













  Dear All

I am having this error while trying to run monitor-queue



can't read link_(5:6): no such variable
while executing
$link_([$n1 id]:[$n2 id]) init-monitor $self $qtrace $sampleInterval
(procedure _o3 line 3)
(Simulator monitor-queue line 3)
invoked from within
$ns_ monitor-queue $n0 $n1 stdout
invoked from within
set qmon [$ns_ monitor-queue $n0 $n1 stdout]
(file ranWless.tcl line 165)

this tcl script is

set queue [open queue w]
set qmon [$ns_ monitor-queue $n0 $n1 stdout];
[$ns_ link $n0 $n1] queue-sample-timeout;
proc queueLength {} {
global ns_ qmon queue
set time 0.05
set length [$qmon set pkts_]
set now [$ns_ now]
puts $queue $now $length
$ns_ at [expr $now+$time] queueLength
}
$ns_ at 0.0 queueLength

Hotmail: Powerful Free email with security by Microsoft. Get it now.
_
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id=60969