c
I had heard from my friends that installing ns2 on windows is like a [Link] it is not
so difficult to install NS2 on [Link] this article I will show you how to install NS2.34 (latest
version as for today)on Windows Vista [Link] can install it on Windows XP also.
Follow the below steps for an easy installation of NS2 on Windows
Download the Cygwin setup from a
Double Click the setup [Link] 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 [Link] Click Next
Select the local package [Link]¶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 [Link]
It will take time n space to install all these [Link] the installation, Click Next
It will create a Cygwin shortcut on your Desktop.
Now copy the NS2.34 setup from a
Copy the [Link] file to ³C:\cygwin\usr\local´
Now click on the Cygwin shortcut on the [Link] will get a terminal window as in
[Link] the following command
cd /usr/local/
tar -jxvf [Link]
cd ns-allinone-2.34
Now install the NS2 package
./install
Press ³y´ whenever asked to proceed
After installing, copy the [Link] file to ³- -
´ folder
cp /usr/local/ns-allinone-2.34/paulson/.set/[Link] /etc/profile.d/.
Then type the following command in the terminal
source /etc/profile.d/[Link]
Close the terminal
Click the Start menu >All programs>Cygwin-X>[Link] will open an [Link]
can also drag n drop this to [Link] you can start the Xwin server from
³C:\cygwin\bin\[Link]´ or from ³C:\CYGWIN\usr\X11R6\bin\[Link]´.
Press unblock button when asked by the Windows Firewall.
Now u can execute your ns2 programs from this terminal.
[Link]
: For any installation problems, read the comments for this blog.