Wireless Communication : LAB 2 - PowerPoint PPT Presentation

About This Presentation
Title:

Wireless Communication : LAB 2

Description:

Wireless Communication : LAB 2 Background of Wireless Communication Wireless Communication Technology Wireless Networking and Mobile IP Wireless Local Area Networks – PowerPoint PPT presentation

Number of Views:71
Avg rating:3.0/5.0
Slides: 52
Provided by: Adeel1
Category:

less

Transcript and Presenter's Notes

Title: Wireless Communication : LAB 2


1
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
2
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

3
INSTALLATION
  • In Windows 98/2000/XP

4
INSTALLATION TIPS FORWindow XP
  • Go to Website
  • http//nsnam.isi.edu/nsnam/index.php/Running_Ns_a
    nd_Nam_Under_Windows_9x/2000/XP_Using_Cygwin
  • Read Requirements and Installation Tips
    Carefully.

5
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

6
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.

7
RUN SETUP
8
INSTALLER STARTS
9
CYGWIN SOURCES
10
SET SOURCE (Internet)
11
SET DESTINATION
12
SELECT PACKAGES
13
LOCAL PACKAGE DIRECTORY
14
SELECT MIRRORS
15
INSTALLATION PROGRESS
16
SET SOURCE (local directory)
17
SET DESTINATION
18
REACH TO INI FILE
19
SELECT PACKAGES
20
INSTALLATION STARTED
21
INSTALLATION COMPLETE
22
ICON ON THE DESKTOP
Run Cygwin Shell (Generate Home directory)
23
DOWNLOADING ns-allinone-2.xx
  • Download ns-allinone-2.xx.tar.gz from
  • http//www.isi.edu/nsnam/ns/ns-build.htmlallinon
    e
  • Current version is ns-allinone-2.32.tar.gz
    available at sourceforge.net
  • http//nchc.dl.sourceforge.net/sourceforge/nsnam/n
    s-allinone-2.30.tar.gz
  • The ns-allinone-2.30.tar.gz (65.8 MB) archive
    contains folder ns-allinone-2.30

24
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

25
(No Transcript)
26
(No Transcript)
27
(No Transcript)
28
(No Transcript)
29
Replace COMMA with COLON There should be NO
SPACES
30
(No Transcript)
31
(No Transcript)
32
(No Transcript)
33
X SERVER
34
HOW TO RUN .tcl FILE
  • Command
  • ns filename.tcl

35
INSTALLATION
  • IN LINUX (FEDORA-CORE 4)

36
EXTRACT THE .gz ARCHIVE
37
CUT THE FOLDER
38
PASTE TO HOME FOLDER
39
LAUNCH TERMINAL CLIENT
40
GOTO NS-ALLINONE FOLDER
41
RUN INSTALL
42
END OF INSTALL SCRIPT
43
SHOW HIDDEN FILES
44
LOCATE .bashrc
45
FOLLOW THE INSTRUCTIONS
46
ADD TO PATH
47
ADD LIBRARY_PATHS
48
RUN validate
49
INSTALLATION VALIDATED
50
INSTALLATIONCOMPLETED
51
QUESTIONS
  • ???
Write a Comment
User Comments (0)
About PowerShow.com