What is the Internet?

computer network 2013. 9. 5. 18:34

What is the Internet?


1. Nuts and bolts of the Internet ( the basic hardware and software components that make up the Internet )

2. The Internet in terms of a networking infrastructure that provides services to distributed applications


A nuts and bolts Description

hosts or end systems : devices that are being hooked up to the Internet

Each systems are connected together by a network of communication links and packet switches

packets : 하나의 end system 이 다른 end system으로 보낼 데이터가 있을 때, 보내는 end system은 data를 쪼개고 header bytes를 각각의 segment에 붙여서 보내게 되는데, 이 결과에 의해 쪼개진 information package를 packet이라 한다.

Packet switch : 최종 목적지로 packet을 보내준다. 대표적으로 router, link-layer switch 가 있다.

router : 주로 network core에 사용됨

Link-layer switch : 주로 access network에 사용됨

route, path : 보내는 end system에서 받는 end system까지 가로지르는 communication link와 packet switch의 sequence


transportation network    VS    computer network

factory (sending end system)

cargo = information

trucks = packets

highways and roads = communication links

intersection = packet switches

destination warehouse (receiving end system) 


Internet Service Providers(ISPs) : end system은 IPS를 통해서 Internet에 접근을 하게 된다.

각각의 ISP는 그자체로 packet switches, communication links의 network이다.

Internet is all about connecting end system to each other


protocol : Internet내에서 정보를 전달하고 수신하는 것을 control하는 것


A services Description

인터넷은 다음과 같이 묘사되어질 수도 있다.

=> An infrastructure that provides services to applications (app에게 서비스를 제공하는 기반 구조)

Application
: electronic mail, Web surfing, social networks, instant messaging, Voice-over-IP (VoIP), video streaming, distributed games, peer-to-peer (P2P) file sharing, television over the Internet, remote login ...

이러한 application은
distributed applications으로 언급되어지는데 이는 applications이 데이터를 서로 주고받는 다수의 end systems과 연관 되어 있기 때문이다. 

어떻게 한 end system에서 작동하는 프로그램이 다른 end system에서 작동하는 프로그램에게 데이타를 전달하도록 Internet에 지시 하는 걸까?

Internet에 붙어있는 end system은 Application Programming Interface(API)를 제공한다.
Internet API는 전송하는 program이 지켜야하는 일종의 룰으로 그래야 Internet이 목적지로 데이터를 전달한다.

예로 Postal service API와 비교하면 이해가 쉬울거 같다.

What is a Protocol

A Protocol defines the format and the order of messages exchanged between tho or more communicating entities, as well as the actions taken on the transmission and/or receipt of a message or other event

설정

트랙백

댓글

Raspbian 설치 및 설정

Raspberry PI 2013. 8. 8. 20:00

Raspbian 설정

1. Image다운로드 및 Image writing

  - raspbian과 이미지 writing download link (http://www.raspberrypi.org/downloadshttps://launchpad.net/win32-image-writer/0.6/0.6/+download/win32diskimager-binary.zip)

 

2. booting 후 Raspi-Config화면

  - Expand Filesystem (Root partition resize하는 기능)

raspbian "wheezy" 이미지 파일이 sd카드에 들어갈때 sd카드 메모리가 2기가 이상이라도 2기가에 맞게 설정된다고 한다. 나머지 메모리 공간을 사용하기 위해서는 설정후 reboot하도록 한다.

  - Enable Camera (Pi camera이므로 USB camera 사용시 관련 X)

  - Putty로 headless이용시 Advanced Options -> SSH server enable

  - Internationalisation Option -> change locale ->en_US.UTF-8

  - Reboot

 * 이후에 설정을 변경 하고 싶을 경우 -> sudo raspi-config


3. network설정 고정 ip기준

>> sudo nano /etc/network/interfaces

아래 내용 nano editor에 입력

auto eth0
iface eth0 inet static
address xxx.xxx.xxx.xxx
netmask xxx.xxx.xxx.xxx
gateway xxx.xxx.xxx.xxx

>> Ctrl + x  -> y -> enter

>> sudo /etc/init.d/networking restart ( network 설정 재시작 )

>> ping -c 1 www.naver.com ( ping확인 )


4. update 와 upgrade (network설정 이후)

>> sudo apt-get update (업데이트 되어 있는 라이브러리와 프로그램을 다운)

>> sudo apt-get upgrade (다운 받은 라이브러리와 프로그램 설정 및 설치)

'Raspberry PI' 카테고리의 다른 글

Raspberry Pi Webcam server  (0) 2013.07.28
Raspberry network setting (고정ip)  (0) 2013.06.28

설정

트랙백

댓글

Raspberry Pi Webcam server

Raspberry PI 2013. 7. 28. 03:59

'Raspberry PI' 카테고리의 다른 글

Raspbian 설치 및 설정  (0) 2013.08.08
Raspberry network setting (고정ip)  (0) 2013.06.28

설정

트랙백

댓글