LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how to install ns2 in ubuntu 11.10 (https://www.linuxquestions.org/questions/linux-networking-3/how-to-install-ns2-in-ubuntu-11-10-a-909150/)

miu 10-22-2011 08:33 PM

I THINK there is something wrong with my path
 
i don't know why i am feeling that i am having problem with my path that's why my ns2 is not working after installing suceesfully
when i run the echo $PATH command on the terminal it shows the following path:

s@ubuntu:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

help!

knudfl 10-23-2011 04:32 PM

If you did : cd ns-allinone-2.34/ns-2.34/ && sudo make install
.... then 'ns' should be in an OK PATH.

Nam : cd nam-1.14.i586/ ( When you have unpacked nam-1.14.i586.tar.gz ).
sudo cp nam /usr/local/bin/


Any doubts about your location ? Then use the 'pwd' command to know.
Example :
The nam-1.14.i586.tar.gz is unpacked to Desktop/nam-1.14.i586/ :
cd /Desktop/nam-1.14.i586/ && sudo cp nam /usr/local/bin/

.

dsr007rana 02-27-2012 01:04 PM

The complete ns2 installation steps
 
hi you can follow the complete installation in this blog

dalbirsinghrana.blogspot.in/2012/02/installation-of-ns2-in-ubuntu-ubuntu .html

knudfl 02-27-2012 04:15 PM

Post # 18, @dsr007rana. Welcome to LQ. .. :) ..

Quote:

.. you can follow the complete installation in this blog
http://dalbirsinghrana.blogspot.com/...tu-ubuntu.html
May be. But ns-allinone-2.35 is not amongst the most used versions.
Most used are 2.27, 2.28, 2.29, 2.31, 2.33, 2.34 .

.

dsr007rana 02-29-2012 09:56 AM

Hi, Thanks ..! But the process for installing ns2 is same for the earlier version ns2 2.34 too.

hsoft_project 10-31-2013 02:50 PM

go to
http://forum.wsnlab.org/index.php?th...-framework.33/


All times are GMT -5. The time now is 01:39 PM.