Re: [ns] install ns2.29.3 in ubuntu 8.04, please help me

2011-02-08 Thread RamiHach


hi Francesco Zampognaro
can you please send me the steps how to install ns2.29 on ubuntu 8.04


Francesco Zampognaro wrote:
 
 
 Il 20/11/2010 20:17, Wei Zhang ha scritto:
 
 
 
 Hi All,
  
 I install ns2.29.3 in ubuntu 8.04 as follows:
  
 1) run
  
 # sudo apt-get install build-essential
 # sudo apt-get install tcl8.4 tcl8.4-dev tk8.4 tk8.4-dev
 # sudo apt-get install libxmu-dev libxmu-headers
 
 2) ./install
  
 3) in ./bashrc file i add:
 export PATH=$PATH:/home/wei/ns-allinone
 2.29/bin:/home/wei/ns-allinone-2.29/tcl8.4.11/unix:/home/wei/ns-allinone-2.29/tk8.4.11/unix
 export
 TCL_LIBRARY=$TCL_LIBRARY:/home/wei/ns-allinone-2.29/tcl8.4.11/library
 export
 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/wei/ns-allinone-2.29/otcl-1.11:/home/wei/ns-allinone-2.29/lib
 
 when i run ns-allinone2.29/ns2.29/tcl/ex$ ns simple.tcl 
 It has an error: 
 Namesever not reachable
 simple.tcl  NS record not found
  
 (I checked simple.tcl file is always in ns-allinone2.29/ns2.29/tcl/ex)
  
 Could anybody please help me soon?
  
 Thank you in advance.
 Wei
 
 
 
   
 
 In your $PATH some command called ns is found before the one of NS2.
 You should either remove ns in the system, which btw is not necessary
 (type whereis ns to find it) or do something like:
 
 export PATH=/home/wei/ns-allinone
 2.29/bin:/home/wei/ns-allinone-2.29/tcl8.4.11/unix:/home/wei/ns-allinone-2.29/tk8.4.11/unix:$PATH
 
 so that you ns comes before. You can always cd into ns folder and
 execute it direclty with ./ns
 
 Bye.
 
 
 

-- 
View this message in context: 
http://old.nabble.com/install-ns2.29.3-in-ubuntu-8.04%2C-please-help-me-tp30267512p30871030.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] install ns2.29.3 in ubuntu 8.04, please help me

2011-02-03 Thread RamiHach


dear all,
in order to install nist module on ns2.29, I start by installing ubuntu
8.04.
now I finish installing ubuntu 8.04
1) is there any command I can use to be sure of my installation
2) I got the ns-allinone-2.29.2.tar.gz and willing to install it now. if
anybody have the steps to follow to install this please help


Wei Zhang-14 wrote:
 
 
 
 
 Hi All,
  
 I install ns2.29.3 in ubuntu 8.04 as follows:
  
 1) run
  
 # sudo apt-get install build-essential
 # sudo apt-get install tcl8.4 tcl8.4-dev tk8.4 tk8.4-dev
 # sudo apt-get install libxmu-dev libxmu-headers
 
 2) ./install
  
 3) in ./bashrc file i add:
 export PATH=$PATH:/home/wei/ns-allinone
 2.29/bin:/home/wei/ns-allinone-2.29/tcl8.4.11/unix:/home/wei/ns-allinone-2.29/tk8.4.11/unix
 export
 TCL_LIBRARY=$TCL_LIBRARY:/home/wei/ns-allinone-2.29/tcl8.4.11/library
 export
 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/wei/ns-allinone-2.29/otcl-1.11:/home/wei/ns-allinone-2.29/lib
 
 when i run ns-allinone2.29/ns2.29/tcl/ex$ ns simple.tcl 
 It has an error: 
 Namesever not reachable
 simple.tcl  NS record not found
  
 (I checked simple.tcl file is always in ns-allinone2.29/ns2.29/tcl/ex)
  
 Could anybody please help me soon?
  
 Thank you in advance.
 Wei
 
 
 
   
 
 

-- 
View this message in context: 
http://old.nabble.com/install-ns2.29.3-in-ubuntu-8.04%2C-please-help-me-tp30267512p30836365.html
Sent from the ns-users mailing list archive at Nabble.com.




Re: [ns] install ns2.29.3 in ubuntu 8.04, please help me

2010-11-21 Thread Francesco Zampognaro

Il 20/11/2010 20:17, Wei Zhang ha scritto:
 
 
 
 Hi All,
  
 I install ns2.29.3 in ubuntu 8.04 as follows:
  
 1) run
  
 # sudo apt-get install build-essential
 # sudo apt-get install tcl8.4 tcl8.4-dev tk8.4 tk8.4-dev
 # sudo apt-get install libxmu-dev libxmu-headers
 
 2) ./install
  
 3) in ./bashrc file i add:
 export PATH=$PATH:/home/wei/ns-allinone 
 2.29/bin:/home/wei/ns-allinone-2.29/tcl8.4.11/unix:/home/wei/ns-allinone-2.29/tk8.4.11/unix
 export TCL_LIBRARY=$TCL_LIBRARY:/home/wei/ns-allinone-2.29/tcl8.4.11/library
 export 
 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/wei/ns-allinone-2.29/otcl-1.11:/home/wei/ns-allinone-2.29/lib
 
 when i run ns-allinone2.29/ns2.29/tcl/ex$ ns simple.tcl 
 It has an error: 
 Namesever not reachable
 simple.tcl  NS record not found
  
 (I checked simple.tcl file is always in ns-allinone2.29/ns2.29/tcl/ex)
  
 Could anybody please help me soon?
  
 Thank you in advance.
 Wei
 
 
 
   
 
In your $PATH some command called ns is found before the one of NS2.
You should either remove ns in the system, which btw is not necessary
(type whereis ns to find it) or do something like:

export PATH=/home/wei/ns-allinone
2.29/bin:/home/wei/ns-allinone-2.29/tcl8.4.11/unix:/home/wei/ns-allinone-2.29/tk8.4.11/unix:$PATH

so that you ns comes before. You can always cd into ns folder and
execute it direclty with ./ns

Bye.



[ns] install ns2.29.3 in ubuntu 8.04, please help me

2010-11-20 Thread Wei Zhang



Hi All,
 
I install ns2.29.3 in ubuntu 8.04 as follows:
 
1) run
 
# sudo apt-get install build-essential
# sudo apt-get install tcl8.4 tcl8.4-dev tk8.4 tk8.4-dev
# sudo apt-get install libxmu-dev libxmu-headers

2) ./install
 
3) in ./bashrc file i add:
export PATH=$PATH:/home/wei/ns-allinone 
2.29/bin:/home/wei/ns-allinone-2.29/tcl8.4.11/unix:/home/wei/ns-allinone-2.29/tk8.4.11/unix
export TCL_LIBRARY=$TCL_LIBRARY:/home/wei/ns-allinone-2.29/tcl8.4.11/library
export 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/wei/ns-allinone-2.29/otcl-1.11:/home/wei/ns-allinone-2.29/lib

when i run ns-allinone2.29/ns2.29/tcl/ex$ ns simple.tcl 
It has an error: 
Namesever not reachable
simple.tcl  NS record not found
 
(I checked simple.tcl file is always in ns-allinone2.29/ns2.29/tcl/ex)
 
Could anybody please help me soon?
 
Thank you in advance.
Wei



  


Re: [ns] install ns2.29.3 in ubuntu 8.04, please help me

2010-11-20 Thread Illidan

It seems like a DNS error. So I wonder what simple.tcl contains. You
may try other scripts to verify your ns2 installation.

On Sun, Nov 21, 2010 at 3:17 AM, Wei Zhang weizhang...@yahoo.com wrote:



 Hi All,

 I install ns2.29.3 in ubuntu 8.04 as follows:

 1) run

 # sudo apt-get install build-essential
 # sudo apt-get install tcl8.4 tcl8.4-dev tk8.4 tk8.4-dev
 # sudo apt-get install libxmu-dev libxmu-headers

 2) ./install

 3) in ./bashrc file i add:
 export PATH=$PATH:/home/wei/ns-allinone 
 2.29/bin:/home/wei/ns-allinone-2.29/tcl8.4.11/unix:/home/wei/ns-allinone-2.29/tk8.4.11/unix
 export TCL_LIBRARY=$TCL_LIBRARY:/home/wei/ns-allinone-2.29/tcl8.4.11/library
 export 
 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/wei/ns-allinone-2.29/otcl-1.11:/home/wei/ns-allinone-2.29/lib

 when i run ns-allinone2.29/ns2.29/tcl/ex$ ns simple.tcl
 It has an error:
 Namesever not reachable
 simple.tcl  NS record not found

 (I checked simple.tcl file is always in ns-allinone2.29/ns2.29/tcl/ex)

 Could anybody please help me soon?

 Thank you in advance.
 Wei








-- 
Illidan
Networking Systems Modeler
Northern Capital, Republic of Pandaren
http://my.opera.com/illidan