Fw: [ns] Problem by PATH (ns command no found)

rolozadag at mail.udistrital.edu.co rolozadag at mail.udistrital.edu.co
Wed Jun 22 11:28:42 PDT 2005


Hi, you need to put this in the file .bash_profile (see it in your home directory, open a console and execute ls -al so you edit the file)

#ns2


#NS_ROOT_DIR is the directory where you install NS



NS_ROOT_DIR=/home/ns-allinone-2.27

 

export PATH=$NS_ROOT_DIR/bin:$NS_ROOT_DIR/tcl8.4.5/unix:$NS_ROOT_DIR/tk8.4.5/unix:$PATH

 

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$NS_ROOT_DIR/otcl-1.8:$NS_ROOT_DIR/lib

 

export TCL_LIBRARY=$TCL_LIBRARY:$NS_ROOT_DIR/tcl8.4.5/library



Bye.



René Orlando Lozada Gutiérrez
Casi Ing. Sistemas.
Técnico Web - Equipo WEB
Red UDNET - Universidad Distrital
rolozadag at mail.udistrital.edu.co
webmaster at udistrital.edu.co
Tel. 3238301 Bogotá, Colombia.



----- Original Message ----- 
From: "Hallo hallo" <viva_barca at hotmail.de>
To: <>
Sent: Wednesday, June 22, 2005 12:39 PM
Subject: [ns] Problem by PATH (ns command no found)


> 
> 
> 
> Hi All,
> 
> who can help me? can someone me writes complete correct instructs ?
> 
> by run : ns command no found
> 
> thanks ins advance
> best regards
> 
> details:
> 
> @linux:~/ns-allinone-2.26/ns-2.26/mac> cd 802_11e
> @linux:~/ns-allinone-2.26/ns-2.26/mac/802_11e> ls
> 
> d-tail.cc mac-802_11e.h multi_udpflows.tcl priq.cc
> d-tail.h mac-timers_802_11e.cc ns-mobilenode_802_11e.tcl priq.h
> mac-802_11e.cc mac-timers_802_11e.h priority.tcl README
> 
> @linux:~/ns-allinone-2.26/ns-2.26/mac/802_11e> ns multi_udpflows.tcl
> bash: ns: command not found
> 
> @linux:~/ns-allinone-2.26/ns-2.26/mac/802_11e> ./ns multi_udpflows.tcl
> bash: ./ns: Datei oder Verzeichnis nicht gefunden
> 
> @linux:~/ns-allinone-2.26/ns-2.26/mac/802_11e> export PATH=`pwd`:$PATH
> 
> @linux:~/ns-allinone-2.26/ns-2.26/mac/802_11e> which ns
> 
> @linux:~/ns-allinone-2.26/ns-2.26/mac/802_11e> echo $PATH
> /home/ns-allinone-2.26/ns-2.26/mac/802_11e:/home/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/jre/bin
> 
> @linux:~/ns-allinone-2.26/ns-2.26/mac/802_11e> ./ns multi_udpflows.tcl
> bash: ./ns: Datei oder Verzeichnis nicht gefunden
> 
> @linux:~/ns-allinone-2.26/ns-2.26/mac/802_11e> ns multi_udpflows.tcl
> bash: ns: command not found
> 
> _________________________________________________________________
> Ungestört surfen. MSN Toolbar mit Pop-up-Blocker. http://toolbar.ms
> 
> _________________________________________________________________
> Immer für Sie da. MSN Hotmail. http://www.msn.de/email/webbased/ Jetzt 
> kostenlos anmelden und überall erreichbar sein!
> 
>


More information about the Ns-users mailing list