#Download the files from the drive link https://drive.google.com/file/d/1sMfJhK9MxoxgYeq9GIu_Q6Du_a--VikT/view
#Before cloning the repo make sure the below check is done
Just make sure, Your windows defender is turned off as shown below.
- First clone the repository using
git clone clone-path
-
After cloning the repository, Extract the files of NS 2.35.part1.rar files. The following image is the screenshot after extracting the file
-
Inside NS2.35 you need to extract ns-allinone-2.35-RC7avecxgraph.rar file. Then after exteacting the file, we can see ns-allinone 2.35-RC7
- Now double click on the "setup.exe" to install cgwin. You can see a pop window appearing for setup of cgywin.
-
Click on option download from the local directory And click on next, after that.
-
Dont change the root directory keep it as an same root directory,
c:\cygwin
click on browse and change the directory to: \NS2 details\My 4shared\NS 2.35\nslocal\http%3a%2f%2fcygwinmirror.3gforphones.com%2f\release\
After browsing the directory, just click on "ok" button.
-
The option will have default, we need to make to install option by just clciking on the default it will show install.
-
Now wait for some time, cgwin will be installing in your desktop. After installing you can see a icon, in the desktop. After installing in cgwin successfully,just double click on the cgwin you can see cmd of cgwin gets opned, its because it need to intialize all its paths.
-
Make a new folder, named "Noureddine", inside home of cgwin.
-
Copy the ".sourcehrc" file from the your ns2.35 partone and pace it inside the "home\user new" folder of cgwin.
- Place the extracted, file inside the Noureedine folder.
- Now try to extract the examples folder which is provided in the github, inside:
C:\cygwin\home\Noureddine\ns-allinone-2.35-RC7\ns-2.35\tcl\ex
- After extracting, files over there try keep your nam.exe file in the
C:\cygwin\home\Noureddine\ns-allinone-2.35-RC7\ns-2.35\tcl\ex\examples
as shown in the screenshot, to run the output file.
Now you are good to go, you installation is done. You can double click on the nam.exe and select the output file to run.