Amazing technological breakthrough possible @S-Logix pro@slogix.in

Office Address

  • #5, First Floor, 4th Street Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 Landmark : Samiyar Madam
  • pro@slogix.in
  • +91- 81240 01111

Social List

How to install NS2 in Cygwin How to install NS2 in windows?

Step 1
  • Open Cygwin setup and click “next” button

install NS2 in Cygwin
Step 2
  • Choose “Install from Local Directory” and click “next” button

install NS2 in windows
Step 3
  • Browse the Root Directory and click “next” button

Open Cygwin setup
Step 4
  • Verify the Package Directory and click “next” button

Browse the Root Directory

Step 5
  • Change the Default Mode to install Mode and click “next” button

Verify the Package Directory
Step 6
  • After progress is completed, click “next” button

Change the Default Mode to install Mode

Step 7
  • Click Finish

progress is completed
Step 8
  • Now, Cygwin Icon is created on desktop.
  • Click ok

Cygwin Icon is created
Step 9
  • Following steps guide to install ns2 in windows after cygwin (linux) installation.
  • Open Cygwin Terminal and type startxwin.bat and press “Enter”
  • Now, home will be created on the location: C:\Cygwin……

install ns2 in windows after cygwin
Step 10
  • Overwrite the Bahrc file into Administrator (system name) Folder
  • Overwriting bashrc file should contain following lines

export NS_HOME=/home/ns-allinone-2.30
export
PATH=$NS_HOME/tcl8.4.13/unix:$NS_HOME/tk8.4.13/unix:$NS_HOME/bin:$PATH
export
LD_LIBRARY_PATH=$NS_HOME/tcl8.4.13/unix:$NS_HOME/tk8.4.13/unix:$NS_HOME/otcl-1.12:$NS_HOME/lib:$LD_LIBRARY_PATH
export TCL_LIBRARY=$NS_HOME/tcl8.4.13/library


Overwrite the Bahrc file into Administrator
Step 11
  • Paste the ns allinone-2.30 Folder into home Folder

s allinone-2.30
Step 12
  • Open Cygwin Terminal and type startxwin.bat and Enter

startxwin.bat
Step 13
  • X window will be opened and go to location of ns2.30, type. /install

X window

Step 14
  • Successful Installation of ns2 can be verified using the following command.
  • Type ns and Enter. If the % symbol shows, ns2 have been installed successfully.

Successful Installation of ns2