510 likes | 529 Views
This detailed guide provides step-by-step instructions on installing NS2 software on both Windows XP and Linux operating systems. From downloading Cygwin to setting up NS2, this resource covers all essential installation tips for students and professionals. Learn how to run NS2 on Windows XP and Linux effortlessly.
E N D
Wireless Communication : LAB 2 Background of Wireless Communication Wireless Communication Technology Wireless Networking and Mobile IP Wireless Local Area Networks Student Presentations and Projects Installing NS2 Software on Windows XP and Linux
Outline • Installation of NS2 on Windows XP • Cygwin • Downloading Cygwin • ns-allinone-2.xx • Downloading NS2 • Installing Cygwin • Installing ns-allinone-2.xx under Cygwin • Installation of NS2 on Linux
INSTALLATION In Windows 98/2000/XP
INSTALLATION TIPS FORWindow XP Go to Website: http://nsnam.isi.edu/nsnam/index.php/Running_Ns_and_Nam_Under_Windows_9x/2000/XP_Using_Cygwin Read “Requirements and Installation Tips” Carefully.
Cygwin ??? Cygwin is a Linux-like environment for Windows. It consists of two parts: A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality. A collection of tools which provide Linux look and feel. The Cygwin DLL currently works with all recent, commercially released x86 32 bit and 64 bit versions of Windows, with the exception of Windows CE
DOWNLOADING Cygwin Download cygwin from: http://www.cygwin.com/setup.exe Run setup.exe any time you want to update or install a Cygwin package. Note that, when installing packages for the first time, setup.exe does not install every package. Only the minimal base packages from the Cygwin distribution are installed by default.
ICON ON THE DESKTOP Run Cygwin Shell (Generate Home directory)
DOWNLOADING ns-allinone-2.xx Download ns-allinone-2.xx.tar.gz from: http://www.isi.edu/nsnam/ns/ns-build.html#allinone Current version is ns-allinone-2.32.tar.gz available at sourceforge.net http://nchc.dl.sourceforge.net/sourceforge/nsnam/ns-allinone-2.30.tar.gz The ns-allinone-2.30.tar.gz (65.8 MB) archive contains folder ns-allinone-2.30
INSTALL NS-2 IN CYGWIN Extract and Copy the folder “ns-allinone-2.30” in C:\cygwin\home\Administrator Enter into “ns-allinone-2.30” folder through terminal: cd ns-allinone-2.30\ Enter ./install command in cygwin terminal
Replace COMMA with COLON & There should be NO SPACES
HOW TO RUN .tcl FILE Command: ns filename.tcl
INSTALLATION IN LINUX (FEDORA-CORE 4)