This is an old revision of the document!
ns2
ns2 nam
Aplicación para simular el rendimiento de una red.
Wiki: http://nsnam.isi.edu/nsnam/index.php/User_Information Listado de los aplicaciones a instalar: http://www.isi.edu/nsnam/ns/ns-build.html#pieces Manual: http://wpage.unina.it/marcello.caleffi/ns2/fedora.html
Uno a uno
Sigo http://wpage.unina.it/marcello.caleffi/ns2/fedora.html
He instalado algunos paquetes:
aptitude install ibX11-dev libXt-dev libXmu-dev
Instalo por este orden:
tcl tk otcl tclcl
Siempre con la secuencia:
./configure make make install
Solo en los configures le tengo que pasar la ruta a tcl, pero de momento me funciona
Por hacer:
ns2 nam xgraph
Allinone
Please put:
/usr/local/src/ns-allinone-2.34/bin:/usr/local/src/ns-allinone-2.34/tcl8.4.18/unix:/usr/local/src/ns-allinone-2.34/tk8.4.18/unix
into your PATH environment; so that you'll be able to run
itm/tclsh/wish/xgraph.
IMPORTANT NOTICES:
(1) You MUST put
/usr/local/src/ns-allinone-2.34/otcl-1.13 /usr/local/src/ns-allinone-2.34/lib
into your LD_LIBRARY_PATH environment variable.
If it complains about X libraries, add path to your X libraries into LD_LIBRARY_PATH. If you are using csh, you can set it like:
setenv LD_LIBRARY_PATH <paths>
If you are using sh, you can set it like:
export LD_LIBRARY_PATH=<paths>
(2) You MUST put
/usr/local/src/ns-allinone-2.34/tcl8.4.18/library
into your TCL_LIBRARY environmental variable. Otherwise ns/nam will complain during startup.
After these steps, you can now run the ns validation suite with
cd ns-2.34; ./validate
For trouble shooting, please first read ns problems page
http://www.isi.edu/nsnam/ns/ns-problems.html.
Also search the ns mailing list archive for related posts.