How To Install Ns2 On Windows 7 Using Cygwin

Posted on by  admin
How To Install Ns2 On Windows 7 Using Cygwin Average ratng: 6,0/10 731 votes

NS-2 installation in Windows tutorial NS-2 software is available only for Linux versions. To install this in your you need to install Cygwin which is a cross platform kernel. I have given link below to download Cygwin software. The above link contains Cygwin ISO file and this software is compatible with Windows 2000/XP/2003//Server 2008/7. I suggest only to download Cygwin ISO file as it is easy to install. Then download 'Daemon tools' virtual drive software to open the Cygwin iso image file. Using Daemon tools software you can mount Cygwin image file, mounting is similar to inserting CD/DVD in a physical CD-ROM.

  1. How To Install Ns2 In Windows 7 64 Bit Using Cygwin
  2. How To Install Ns2 On Windows 7 Using Cygwin

Inside the virtual CD ROM you can find setup.exe, double click on it. Now, a Cygwin installation dialog box opens. Follow the steps below. Recommended: Cygwin Installation 1. Choose a Download Source: For this dialog box select 'Install from Local Directory' radio button and click next. Select Root Install Directory: In 'Root Directory' column enter C: cygwin and select All Users and / binary radio buttons.

Here I have given the step by step NS2 2.34 installation process with. The above link contains Cygwin ISO file and this software is compatible with Windows 2000/XP/2003/Vista/Server 2008/7. I suggest only. Technically it's a TCL demo script and you can verify it by running any one of the script. Aug 20, 2015  How to install NS2 on windows 7 with the help of Cygwin Window Install NS3 (ns-allinone-3.17) on Ubuntu 12.04/14.04 for beginners@DP Project Development Home How to install NS2 on windows 7 with the help of Cygwin Window.

Select packages: Don't miss to install below packages otherwise NS-2 won't work. Select current radio button and click on View to toggle package browsing mode. Gcc gcc-g gnuplot make patch perl tar X-startup-scripts xorg-x11-base xorg-x11-bin xorg-x11-devel xorg-x11-bin-dlls xorg-x11-bin-lndir xorg-x11-etc xorg-x11-fenc xorg-x11-fnts xorg-x11-libs-data xorg-x11-xwin Better you install all the packages.

Baby, You Nasty • 28. Track The Movement • 29. Download free gang starr instrumentals rap.

Even if you miss one package NS-2 will not work properly. NS 2 installation 4.

Ns2

How To Install Ns2 In Windows 7 64 Bit Using Cygwin

After this process, Cygwin installation will be over. Now download NS2 package from the below link. Download NS2 compressed package and copy the package to C: cygwin home YOURPATH (YOURPATH probably your user name). NS2 package must be in the Cygwin's home directory. Use the following command to extract the compressed package.

Line after dollar symbol is the command you need to type. Command 1: $ tar xvfz ns-allinone-2.29.tar.gz Note: Modify the C: cygwin home dinglan ns-allinone-2.29 nam-1.11 agent.h file. In line 73 enter as NULL 0. Command 2: $ cd / home/dinglan/ns-allinone-2.29/ns-2.29 Command 3: $. / configure; make clean; make depend; make Above command will take some time so please be patient. Go to the C: cygwin home YOURPATH directory and find.bashrc file.

Now copy the and paste the below lines in the end of.bashrc file. Open this.bashrc using a text editor.

Edit wherever I mentioned as YOURPATH. Export NSHOME='/home/YOURPATH/ns-allinone-2.29' export PATH='$NSHOME/nam-1.11:$NSHOME/tcl8.4.11/unix:$NSHOME/tk8.4.11/unix:$NSHO ME/bin:$PATH' export LDLIBRARYPATH='$NSHOME/tcl8.4.11/unix:$NSHOME/tk8.4.11/ unix:$NSHOME/otcl-1.11:$NSHOME/lib:$LDLIBRARYPATH' export TCLLIBRARY='$NSHOME/tcl8.4.11/library' Verification 8. Run the command $ startxwin.bat $ cd /ns-allinone-2.29/ns-2.29/wimaxexample $ ns example2.tcl Command startxwin.bat will switch to NS2 mode and shows some demo files. Command cd /ns-allinone-2.29/ns-2.29/wimaxexample will open example projects available in NS2.

How To Install Ns2 On Windows 7 Using Cygwin

Technically it's a TCL demo script and you can verify it by running any one of the script. If you haven't installed any packages correctly then you may face problems. To run a use the command ns example2.tcl. The output will be like below.

Comments are closed.