0% found this document useful (0 votes)
118 views5 pages

Instructions For Installing NS-2 (NS-allinone-2.34) in Cygwin

This document provides instructions for installing NS-2 (Network Simulator 2) in a Cygwin environment on Windows. It outlines downloading and extracting the NS-2 file, navigating to the NS-2 folder, running the install command, updating environment variables, and validating the installation. Key steps include installing all Cygwin packages, downloading the NS-2 file, extracting and installing it, updating paths, and running commands to validate it works properly. Potential errors and their solutions are also covered.

Uploaded by

ikhsancomputer
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
118 views5 pages

Instructions For Installing NS-2 (NS-allinone-2.34) in Cygwin

This document provides instructions for installing NS-2 (Network Simulator 2) in a Cygwin environment on Windows. It outlines downloading and extracting the NS-2 file, navigating to the NS-2 folder, running the install command, updating environment variables, and validating the installation. Key steps include installing all Cygwin packages, downloading the NS-2 file, extracting and installing it, updating paths, and running commands to validate it works properly. Potential errors and their solutions are also covered.

Uploaded by

ikhsancomputer
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

Instructions for installing NS-2(NS-allinone-2.

34) in Cygwin: (for Windows environment) Requirements for NS-2: Installation of all the packages of Cygwin. 256MB RAM 5GB free disk space

Ste s to follow: 1. After the Cygwin is installed open the Cygwin !ash co""and window and type the following co""ands in the !ash window# cd c# cd cygwin$

2. %ownload &'(2 )ns(allinone(2.*+, fro" the following link and sa-e the file in c#$cygwin#

http#$$so.rceforge.net$pro/ects$nsna"$

*. &ow to e0tract the &'(2 file type the following co""and in cygwin !ash window#

tar 0-f1 ns(allinone(2.*+.tar.g1

+. After e0traction is co"plete .se the following co""and to go into the &'(2 folder# cd ns(allinone(2.*+

5.

Install the ns(2 .sing the following co""and# .$install

After the installation is co"plete Cygwin will ask yo. to .pdate yo.r en-iron"ent -aria!les and will show yo. the following "essage#

2ype the following co""ands to .pdate the en-iron"ent -aria!les and then r.n the -alidation co""and# e0port 3%43IBRAR546A2789$cygdri-e$c$cygwin$ns(allinone(2.*+$otcl(1.1* e0port 3%43IBRAR546A27893%43IBRAR546A27# $cygdri-e$c$cygwin$ns( allinone(2.*+$li! e0port 2C343IBRAR589$cygdri-e$c$cygwin$ns(allinone(2.*+$tcl:.+.1:$li!rary

6. ;nce the en-iron"ent -aria!les are .pdated follow these co""ands to -alidate ns(2# cd .$ns 2.*+ then type .$-alidate

After these si0 steps the installation of &'(2 is co"plete. <. ;pen the Cygwin !ash window cd into the &'(2 folder and type# start0. 2his will open the following window and here yo. can write yo.r tcl scripts etc.

=hen yo. type na" in the 0ter" window yo. will get the following screenshot#

2his i"plies that the display -aria!le is working.

!rrors "uring installation: #ro$lem: %.ring step 5 yo. "ight get the error that 0org(011(!in file is not present in yo.r syste". Solution: 2o correct this error go !ack and open Cygwin set.p.e0e and "ake s.re that the 7ide ;!solete packages option is .nchecked now install all the files i.e. click skip on all the files d.ring the installation. 2he set.p will a.to"atically download and install these files. ;nce this is co"plete click finish. 5o. ha-e now s.ccessf.lly installed &'(2 on yo.r co"p.ter.

Installation instructions for Cygwin 'a"e as !efore !elow are so"e of the key things to keep in "ind d.ring installation.

Make s.re yo. install all the files d.ring installation i.e. click skip on all the files. Also .ncheck the 7ide o!solete packages option and incl.de those files in the installation as well.

;nce Cygwin is installed open the !ash window and follow the instr.ctions a!o-e to install &'(2.

--($ase" on %ar #rasa" Re""y&s notes' u "ate" $y (aran C)a")a)

You might also like