pkb contents
> hardware | just under 1945 words | updated 05/21/2017
https://fossbytes.com/wp-content/uploads/2016/04/latest-computer-chart.jpg, https://fossbytes.com/wp-content/uploads/2016/04/the-complete-computer-hardware-chart.jpg, http://eent3.lsbu.ac.uk/units/compsys/1%20Network%20Computer%20HardwareSlides.htm
High-level languages must be translated into machine code. This translation is hardware-specific, not portable. Translation can be done once (when code is complied into an executable) or on-the-fly by an interpreter. http://stackoverflow.com/questions/30156349/is-bash-an-interpreted-language
Bits
, binary digits, are the 'atoms' of computerized information. Bits can be represented and transmitted by any two-state medium plus a consistent bits-per-unit-time clock (since states may be consecutive). The
bandwidth
of a system, its capacity to transmit information, is also called its
bitrate
.
Latency
is also important: that's the time it take for a bit to travel from receiver to sender.
When bits flow between machines and the machines have
protocols
to interpret the bits, you have a
network
: devices that can communicate with each other. Most modern networks are packet-switched networks. Instead of sending a constant bitstream, devices on the network send packets of bits plus metadata. The
router
takes these packets and routes them efficiently but robustly to a destination device that reassembles the packets.
"Computer networks differ in the transmission medium used to carry their signals, the communications protocols to organize network traffic, the network's size, topology and organizational intent" [
1
]:
-
Cheap copper cables transmit electricity over comparatively short distances.
-
Expensive fiber optic cables transmit light much faster, over much longer distances with less signal decay.
-
Like copper cables, radio waves (wi-fi) experience signal decay over distance. Radio waves are analog, so multiple translations are needed. Antennae & tower.
Networks can be many different sizes and scopes
: LAN, PAN, WAN, MAN, etc. A P2P network (most home networks) lacks a central computer or server; a LAN might include Ethernet cables, wi-fi/wireless radio signals, or powerline network adaptors connect each device to a switch or hub.
In data communication, a physical network node may either be a
data communication equipment
(DCE) such as a
modem
,
hub
, [bridge](https://en.wikipedia.org/wiki/Bridging_(networking) or
switch
; or a
data terminal equipment
(DTE) such as a digital telephone handset, a printer or a
host computer
(router, a workstation or a server).
-
client:
-
server: provide resources to clients on the network.
-
NIC: A network interface controller (NIC, also known as a network interface card, network adapter, LAN adapter or physical network interface, and by similar terms) is a computer hardware component that connects a computer to a computer network.
-
Ethernet is a specific kind of NIC
-
a switch knows devices apart and can route communications selectively
-
a hub sends all communication to all connected devices (use case: surveillance of employee behavior)
-
an access point/base station/wireless router connects wi-fi devices to network
-
A wireless repeater, which can also be known as a wireless range extender, is a device that takes a signal from an existing access point and rebroadcasts it as a second network.
-
Bluetooth: radio signals between devices
-
a router: can be ISP-provided (even bundled together with a modem in one device); connects devices, incl. modem.
-
A router is a device that sends packets of data between different networks.
[
2
]
-
Routers ... send packets between LANs, while also assigning IP addresses, acting as a switch and protecting your LAN [like with a hardware firewall].
[
2
]
-
When your computer asks to browse a website, it’s the router’s job to send requests out to that website, then direct the replies back to the appropriate device on your network. Your router will have also have a public IP address, through which Internet services and websites will know where to send their data back to your house, at which point the router examines the data packet and says, “Oh, this was meant for that PC in the bedroom, I’ll send it there.”
[
2
]
-
directs packets flowing from modem to LAN back to the specific devices that requested them
-
a modem: provided by ISP, takes signals from router, converts them, sends them to ISP.
-
modem turns the information from our network into information manageable by the telephone infrastructure and vice versa.
[
2
]
-
tapped into phone system: dial-up, DSL, ADSL (ADSL splitter/filter: separates voice and computer frequencies in phoneline (instead of modem))
-
own lines: coaxial cable, fiber optic cable
-
wireless broadband: antenna to radio tower
-
radio to mobile devices
-
satellite radio
-
Bridge: connects wired devices to something else via wi-fi (opposite of access point)
-
firewall: can be hardware (in router) or software (on device); works by closing network ports
The Internet is a network of networks with special protocols and entities. Internet means "interconnected networks". Internet is not WWW:
the Internet is a technical infrastructure which allows billions of computers to be connected all together. Among those computers, some computers (called Web servers [or HTTP servers]) can send messages intelligible to web browsers. The Internet is an infrastructure, whereas the Web is a service built on top of the infrastructure. It is worth noting there are several other services built on top of the Internet, such as email and IRC. // The Internet carries an extensive range of information resources and services, such as the inter-linked hypertext documents and applications of the World Wide Web (WWW), electronic mail, voice over IP telephony, and peer-to-peer networks for file sharing.
[
3
]. The Web is a graphical interface for some of the content that's available through the Internet.
An
ISP
is a company that manages some special routers that link all together and can also access other ISPs' routers. So the message from our network is carried through the network of ISP networks to the destination network. [
5
]
-
web server provides the Web---in the form of webpages and resources, clustered into websites with domain names---to a web client's browser. The browser renders web pages.
-
The browser goes to the DNS server and finds the real address of the server that the website lives on (you find the address of the shop). The browser sends an HTTP request message to the server asking it to send a copy of the website to the client (you go to the shop and order your goods). This message, and all other data sent between the client and the server, is sent across your internet connection using TCP/IP. Provided the server approves the client's request, the server sends the client a "200 OK" message, which means "Of course you can look at that website! Here it is", and then starts sending the website's files to the browser as a series of small chunks called data packets (the shop gives you your goods, and you bring them back to your house). The browser assembles the small chunks into a complete website and displays it to you (the goods arrive at your door — new stuff, awesome!).
-
web server is a computer hosting one or more websites. "Hosting" means that all the webpages and their supporting files are available on that computer. The web server will send any webpage from the website it is hosting to any user's browser, per user request.
-
HTTP server
-
file storage
-
A server is any program that responds to requests from another program (client). Servers are run on host machines/host computers. Server=software, host=hardware.
ISPs can connect to each other as peers via
IXPs
or to upstream providers: Just as their customers pay them for Internet access, ISPs themselves pay upstream ISPs for Internet access. An upstream ISP usually has a larger network than the contracting ISP or is able to provide the contracting ISP with access to parts of the Internet the contracting ISP by itself has no access to (https://en.wikipedia.org/wiki/Internet_service_provider)
Under the Internet Protocol (
IPv4, IPv6
), all devices on the Internet have a unique IP address, and bits travel in IP packets (rather than directly from one machine to another). Routers receive these packets and---following transmission control protocol (TCP), user datagram protocol (UDP), or some other packet directing protocol---send them along different routes from sender to receiver, depending on traffic and outages. A router also take inventory of packets when they arrive and tells the sending server to resend any that were incomplete or missing. each packet carries the intended IP address, a number to determine where the packet fits back into the data sent, how many packets to expect, as well as your IP address
The domain name system (
DNS
) associates IP addresses with more human-friendly URLs. The DNS system consists of many DNS servers, connected to each other in a distributed hierarchy. DNS servers are sometimes spoofed: malicious IPs are associated with a domain that people might navigate to. Type URL into browser; DNS converts to IP?; browser talks to server located at IP ...:
-
URL: http://www.ascii-code.com/, http://ascii.cl/
-
<scheme>://<username>:<password>@<host>:<port>/<path>;<parameters>?<query>#<fragment>
-
<host> is <subdomain>.<domain>.<second-level domain>.<top-level domain> or <IP address>
-
in hypertext transfer protocol (HTTP). Browser-server communication consists of:
-
GET requests from the browser, and web files (a combination of text, HTML, and CSS; or images, or videos) in response from the server.
-
POST requests from the browser, sending information to the server
-
COOKIES from the server to the browser and browser to the server; how the server remembers who you are
-
Or, you might communicate with a server via the HTTPS protocol. The server offers a digital certificate that your browser verifies with a certification authority. Then, communication between you is protected by secure sockets layer (SSL) or transport layer security (TLS).
-
Encrypt-key-decrypt
-
Caesar cypher: shift every letter by the same number
-
Shared key: symmetric encryption. Impossible for computers via Internet.
-
Public key cryptography:
-
N-digit keys: shift every n letters by n numbers: the idea behind 256-bit encryption
-
So, asymmetric encryption: the server offers its public key for encrypting messages to it, and private keys are ...
-
Or ftp, pop, imap, mailto, etc.; https://en.wikipedia.org/wiki/Lists_of_network_protocols
When you type an address such as www.codecademy.com in your browser, you are commanding it to open a TCP channel to the server that responds to that URL ... Once the TCP connection is established, the client sends an HTTP request to the server ...
-
Mozilla -
How the Internet works
,
What is a web server?
,
HTTP
-
Wikipedia -
Outline of the Internet
,
Computer network
,
Internet protocol suite
,
OSI model
,
Internet Exchange Point
-
Computer Hope -
broadband
,
DNS
,
reverse lookup
,
domain
,
webhost
,
http server
,
modem
,
P2P network
,
WWW
,
access point
,
ethernet
,
protocol
,
firewall
,
port
,
home network
,
host computer
,
server
,
ISP
,
OSI
,
LAN
,
NOS
,
REST
,
router
,
TCP/IP
-
MakeUseOf -
What is home networking
,
Types of Internet access technologies
,
How the Internet works
,
What’s the difference between routers, hubs, & switches?
,
How does a router work?
,
Wireless networking terms
,
10 wrong ways to set up your wireless network
,
How to Optimize Your House For Best Wi-Fi Reception
-
How networks send data
,
Does all LAN traffic travel through a router
,
Anatomy of a URL
,
URLs
,
What every dev should know about URLs
,
URL definitions
,
HTTP Requests
-
Intro. to ICT
-
Security Now [videos] -
Let’s design a computer
,
Machine language
,
Pointers
,
Stacks, registers, and recursion
,
Hardware interrupts
-
Wikiversity -
Intro. to Computers
,
IT Fundamentals
,
IC3
,
Intro. Computer Science
-
How computers work
,
Computer parts and what they do
,
Why your computer gets slow over time
,
How computers work
,
Memory
-
Wiki - Internet protocol suite
-
The network effect
-
How the internet works
[video]
-
Microsoft Imagine Academy - Networking Fundamentals