[ns] how to read a data from any text file in tcl script

2009-11-26 Thread preeti nimonkar

hello all,
I want to specify things in different files and then wants to read it from
tcl script .
how can I do it ?
can anybody help me out?


[ns] ns-allinone-2.34 Installation Error on Solaris 10 x86

2009-11-26 Thread Geoff Snowdon


Hi All
 
I cannot get ns-allinone-2.34 to install on Solaris 10 x86 (SunOS Ultra40 5.10 
Generic_141445-09 i86pc i386 i86pc).  I get the following error when running 
./install:
 
creating ./gen
make: Fatal error in reader: Makefile line 391: Unexpected end of line seen
Ns make failed!

I think I've got all the dependencies installed 
(libsigsegv-2.6-sol10-x86-local; m4-1.4.12-sol10-x86-local; 
autoconf-2.64-sol10-x86-local; automake-1.11-sol10-x86-local; 
db-4.2.52.NC-sol10-intel-local; gcc-3.4.6-sol10-x86-local; 
perl-5.8.8-sol10-x86-local; libiconv-1.11-sol10-x86-local).

I've tried re-downloading from a different mirror but get the same error.  It 
occurs as both a normal user and as root.
I've attached the install log.
 
Any suggestions?  Have I missed something or does this look like a bug?
 
 
Thanks in advance
Geoff

  
_
Add your Gmail and Yahoo! Mail email accounts into Hotmail - it's easy
http://clk.atdmt.com/UKM/go/186394592/direct/01/

[ns] Missing a complete reference...

2009-11-26 Thread sa na

Hi,
I'm a newbie in the NS world.

I'm unable to find many of the functions in the documentation provided
with ns. In fact I was searching for a kind of reference that lists
all the functions of an object (say for e.g. Simulator) with their
parameters. I always considered this a fatal and basic reference, but
I was unable to find any.
The Ns Manual, while exhaustive, leaves a lot to be desired.
Unfortunately It's filled by c++ implementation details that a usual
user of the application need not know. Really, I think it's more
suitable for developers and extenders. And yet more interestingly it
fails to provide even simple description (or at least only mention
their name) for many of the functions: such as makeflowmon, etc,
etc.
Honestly, I cannot believe that such a useful program with plenty of
users might lack this kind of documentation.

Well, I'm just a newbie, and this is my first email to this list.
So please forgive me if I've talked too negatively or missed obvious
knowledge.

Regards



[ns] problem with creating a new agent

2009-11-26 Thread sashtari

Hi every body

I want to create a new agent completely similar to a UDP agent.
I've copied udp.cc and udp.h, then renamed them to my agent, added my
agent to Makefile and modify ns-default.tcl. Finally I've recompile NS2
(configure and make,).
But when I want to attach this new agent to a node in tcl, I have some
errors:
(_o3 cmd line 1)
invoked from within
_o3 cmd attch-agent _o10 _o114
invoked from within
catch $self cmd $args ret
invoked from within
if [catch $self cmd $args ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error error when calling class $cls: $args $...
(procedure _o3 line 2)
(SplitObject unknown line 2)
invoked from within
$ns attch-agent $n0 $lldp0

Do you know which other file(s) should be modified?

Thanks
Saeideh




Re: [ns] output file of mesh.tcl

2009-11-26 Thread Mohit Tahiliani

Hello Everyone,
I was able to interpret the output file generated by mesh.tcl with the help of 
this link 
http://cng1.iet.unipi.it/wiki/index.php/Ns2mesh80216_FAQ
Thanks and Regards,Mohit P. Tahiliani