Ns2 Installation On Windows
Ns2 Installation On Windows
I had heard from my friends that installing ns2 on windows is like a nightmare.Actually it is not
so difficult to install NS2 on windows.In this article I will show you how to install NS2.34 (latest
version as for today)on Windows Vista SP1.You can install it on Windows XP also.
Double Click the setup file.Click on the Next button and select ³Install from Internet´.Then
Click Next.
( : If you had already downloaded all the packages, select ³Install from Local Directory ´
and specify the Local Package Directory path )
Select the root Install directory as ³C\cygwin´. Don¶t Change it.Then Click Next
Select the local package directory.Don¶t change the default path
Select your network connection and click Next
Select any one server from the list and click Next
Click on the circled arrow between ³All´ and ³Install´ to change the ³Default´ value to ³Install´.
By doing we are going to install all packages in the Cygwin repository.ClickNext
It will take time n space to install all these packages.After the installation, Click Next
It will create a Cygwin shortcut on your Desktop.
Now click on the Cygwin shortcut on the Desktop.You will get a terminal window as in
linux.Type the following command
cd /usr/local/
tar -jxvf ns-allinone-withpath-2.34.tbz
cd ns-allinone-2.34
./install
Press ³y´ whenever asked to proceed
After installing, copy the ns2.sh file to ³- -
´ folder
cp /usr/local/ns-allinone-2.34/paulson/.set/ns2.sh /etc/profile.d/.
source /etc/profile.d/ns2.sh
nsfilename.tcl
: For any installation problems, read the comments for this blog.