COS 125 day 3

Download Report

Transcript COS 125 day 3

COS 125
Day 3 & 4
Agenda
Questions from last Class??
 Today’s topics


Connecting to the Internet
Assignment #1 due next class
 Quiz #1 on Feb 3, two weeks from today

Change to syllabus
 New Syllabus posted in WebCT
 Chap 1-28

Connecting to the Internet

Lots of ways to connect with more being
invented


General rule ->> faster is better
In order of speed
Direct LAN connection
 Cable modem or DSL
 Telephone modem


Newest way is wireless

WiFi or Cellular
Where do you get Internet Service

ISP
St. John Valley Communications
 Pivot. net
 Eathlink
 Bluelight


Online Service
AOL
 MSN

How a modem works

Modems allow digital signals to go over
an analog circuit

Analog Data


Smooth changes among an infinite number of
states—like hands going around an analog clock
Digital Data
Few states
 In a digital clock, each position can be in one of
ten states (the digits 0 through 9)

Quiz

On/Off
Which is Analog? Which is Digital? Switch
Number
Of
Fingers
Calendar
Clock
Audio CD
Sending data with a modem
Modulated Analog
Signal
Binary Data
Telephone
1010010101
PSTN
Modem
Computer
Amplitude (Loudness or Intensity) Modulation
1
0
1
1011 becomes loud-soft-loud-loud
1
Getting Data with a modem
Modulated Analog
Signal
Demodulated
Binary Data
Telephone
1010010101
PSTN
Modem
Computer
Amplitude (Loudness or Intensity) Modulation
1
0
1
Loud-soft-loud-loud becomes 1011
1
Modems

Two types
Internal
 External


Computers control modems using the
Hayes Command Set

In the early days of the Internet (early
1990’s) users had to program modem using
Hayes command to connect to an ISP
Modem Speeds

V.34



Send and receive at up to 33.6 kbps
Fall back in speed if line conditions are not optimal
V.90




Receive at up to 56 kbps
Send at up to 33.6 kbps
Asymmetric speed is good for WWW service.
Other party must have a digital connection to the
PSTN
Modem Speeds

V.92

Receive at up to 56 kbps

Send at up to 33.6 kbps or higher if the line permits

Other party must have a digital connection to the
PSTN

Modem on hold: can receive an incoming call for a
short time without losing the connection

Cuts call setup time in half
Telephone Modem Communication
Need Modem at Each End Up to 33.6 kbps
Binary Data Analog Modulated
Signal
Client A
33.6 Telephone
kbps
Modem
Telephone
PSTN
Modem
Server A
Figure 7.2: Telephone Modem
Communication
PSTN
Digital Access Line
Client B
56 kbps
Modem
Telephone
Server
B
For 56 kbps Download Speed
Server Must Have a Digital Connection, Not a Modem
How Internet TV works

TV was the first “Information Super highway”



Able to move of lot of info to the user
Problem was User could not interact with the info
The internet allows Interactive use

Greater bandwidth means TV like performance
http://wwitv.com/

Existing TV cable system also can bring you
High Speed Internet service
 TV and Internet are combined in some
services like MSN TV

MSN bought out Web TV
Cable Modem Services
ISP
2. Optical
Fiber to
Neighborhood
4. Coaxial
Cable to
Premises
3.
Neighborhood
Splitter
PC
5. Cable
Modem
Subscriber
Premises
6. Requires NIC or USB port
1. Cable
Television
Head End
MSN TV

Can watch TV and get on the Internet at the
same time

Requires




MSN TV receiver (keyboard mouse)
Phone access
TV
Receiver acts like a PC and TV receiver all at
once
 Uses a proprietary web browser and lots of
proxy web servers
Internet Enhanced TV

TV networks send both TV signal and
digital information to your homes


http://etv.go.com/etvHome/about.shtml
A special receiver formats digital signals
and overlays that information on the TV
image

Digital information is interactive WWW
HTML
Digital Subscriber Lines

Uses existing Phone lines to get very
high speed Internet Access
Up to 55 Mbps (1000 times faster than a
V.90 modem)
 Normal speeds for ADSL is 384 kbps down/
96 kbps up
 on 24/7 and doesn’t interfere with regular
phone usage
 The faster the DSL speed the closer you
must be to the phone company

ASDL with Splitter
Subscriber
Premises
Telephone Company
End Office Switch
Data
WAN
PC
ADSL
Modem
Splitter
2.
Telephone
1.
Existing
Single Pair of
Voice-Grade
UTP Wires
DSLAM
3.
PSTN
ASDL with Splitter
Subscriber
Premises
PC
ADSL
Modem
Splitter
1.
Data
256 kbps to
1.5 Mbps
Telephone Company
End Office Switch
Data
WAN
2.
64 kbps to
256 kbps
DSLAM
PSTN
Telephone
ASDL with Splitter
Subscriber
Premises
Telephone Company
End Office Switch
Data
WAN
PC
ADSL
Modem
DSLAM
Splitter
Telephone
1.
Ordinary Telephone
Service
PSTN
Old Online services

Available prior to public internet service (ISPs
~ 1995)





BBS (bulletin board service)
AOL, Prodigy, CompuServe
Some local BBS’s
Gave you email & chat only with other users of the
same online service
Allowed file transfers up and down



Applications, pictures, music
Required subscription fees and phone access
Never really popular in rural areas
Modern Online Services

Internet Plus



Gives access to all (or most) of the Internet through
gateways
Several Propriety applications
Lost of data “firewalled” away from the Internet




“Walled gardens”
Most common is AOL and MSN
Both use TCP/IP
Great for Internet Novices

Much greater control over Spam, viruses
How Wireless works

All sorts of devices





Laptops
PDA
Cell phones
Peripherals
Many types of wireless




WiFi
Satellite
Bluetooth
Cellular
WiFi

802.11 standards

802.11b


802.11


54 Mbps @ 5GHz
802.11


11Mbps @ 2.4 GHz
54 Mbps @ 2.4 GHz
Devices must have a WiFi card and they
connect to Wireless Access Points (Hot spots)
WiFi
Typical 802.11 Wireless LAN
Operation with Access Points
Access Point
Industry
Standard
Coffee
Cup
Antenna
(Fan)
Wireless
Notebook
NIC
PC Card
Connector
To Ethernet
Switch
Typical 802.11 Wireless LAN
Operation with Access Points
CSMA/CA+ACK
Switch
UTP
Radio Link
Access
Point A
UTP
Access
Point B
Client PC
Server
Large Wired LAN
Notebook
Handoff
If mobile computer
moves to another
access point,
it switches service
to that access point
Wardriving
War Drive How To

Equipment needed



Car
Another person (prevents accidents!)
Laptop with wireless access




Netstumbler software
GPS unit
Drive around till Netstumbler detects an access point





Wireless antenna optional
Analyze access pint
Record coordinates using GPS
Mark on Electronic Map
Chalk mark sidewalk
Why?



Most access points are not secure (no WEP)
Allows free internet access
Hackers use as entry points to get to other more secure networks
Chalk Symbols
Satellite Internet
Orbits
GEO Satellite System
2. Point-to-Point
Uplink
1.
Geosynchronous
Satellite
3.
Broadcast
Downlink
5. Earth Station A
4.
Footprint
Earth Station B
Satellite appears stationary in sky (35,785 km or 22,236 mi)
Far, so earth station needs dish antenna
At speed of light takes 250 ms to travel distance
Wireless Internet Access for small
devices

Cell phones and PDA do not have big
enough screens for full size Web Pages

WAP


WML


Wireless access protocol
Wireless markup language
WAP gateways converts regular HTML
to WML and vice versa
WAP
BlueTooth

Wireless networks for peripherals
Personal Area Network
 Does not provide Internet Access
 Limited range

Personal Area Networks (PANs)

Connect Devices On or Near a
Single User’s Desk


Connect Devices On or Near a
Single User’s Body


PC, Printer, PDA, Notebook
Computer, Cellphone
Notebook Computer, Printer,
PDA, Cellphone
The Goal is Cable Elimination
Personal Area Networks (PANs)

There May be Multiple PANs in an Area
May overlap
 Also called piconets

802.11 versus Bluetooth LANs
802.11
Bluetooth
Focus
Large WLANs
Personal Area Network
Speed
11 Mbps to 54 Mbps
In both directions
722 kbps with back
channel of 56 kbps.
May increase.
Distance
100 meters for 802.11b
(but shorter in reality)
Shorter of 802.11a
10 meters
(may increase)
Number
of Devices
Limited in practice only
by bandwidth and traffic
Only 10 piconets,
each with
8 devices maximum
802.11 versus Bluetooth LANs
802.11
Bluetooth
Scalability
Good through having
multiple access points
Poor
(but may get
access points)
Cost
Probably higher
Probably Lower
Battery Drain
Higher
Lower
Discovery
No
Yes
Discovery allows devices to figure out how to work together
automatically
Figure 5.11: Bluetooth
Operation
Notebook
Master
Printing
File Synchronization
Printer Slave
Piconet 1
Cellphone
Telephone
Client PC
Slave
Figure 5.11: Bluetooth
Operation
Notebook
Client PC
Printing
Printer Slave
Call Through Company
Phone System
Cellphone
Master
Piconet 2
Telephone Slave
Figure 5.11: Bluetooth
Operation
Notebook
Master
Printing
Piconet 1
File Synchronization
Printer Slave
Call Through Company
Phone System
Cellphone
Master
Piconet 2
Telephone Slave
Client PC
Slave
Home Networks

Many Homes have more than one
computer or Internet Device
Don’t want to provide Internet to each
device independently
 Connect all device to a network and provide
Internet access to the Home networks


Sometimes called SOHO networks

SOHO >> small office/home office
Needed to build home Networks

Internet Access


Broadband DSL or Cable modem
A way to connect all devices

Wired with Ethernet



Wireless (WiFi)


Easier & Cheaper
A network Address Scheme


Most broadband device provide DHCP
Use Microsoft Internet Connection Sharing


Hub or Switch
Expensive
ME, XP, Windows NT
Firewall

Keep hackers out
WiFi Home network
Smart House

If your home has a network then can get
Internet enabled appliance
 Control systems that you can access from
anywhere
 Security systems


Places to check
http://www.smarthomeusa.com/
 http://www.smarthome.com/index.html
