기타/IoT

라즈베리파이 4 세팅 시작

armyost 2022. 10. 23. 18:37
728x90

기본적으로 필요한 프로그램

 

- VNC

https://www.realvnc.com/en/connect/download/viewer/windows/

 

Download VNC Viewer for Windows | VNC® Connect

Control VNC® enabled computers with VNC® Viewer.

www.realvnc.com

 

- Putty

 

- nmap

https://nmap.org/download

 

Download the Free Nmap Security Scanner for Linux/Mac/Windows

Download Reference Guide Book Docs Zenmap GUI In the Movies Older versions (and sometimes newer test releases) are available from the Nmap release archive (and really old ones are in dist-old). For the more security-paranoid (smart) users, GPG detached sig

nmap.org

 

- Raspberry Pi OS

https://www.raspberrypi.com/software/

 

Raspberry Pi OS – Raspberry Pi

From industries large and small, to the kitchen table tinkerer, to the classroom coder, we make computing accessible and affordable for everybody.

www.raspberrypi.com

 

1. Micro SD 카드에 OS세팅하기 및 ssh 활성화

아래 블로그 참고

https://webnautes.tistory.com/899

 

2. 라즈베리파이 부팅후 서버 IP 찾기

$ nmap -sn 192.168.45.0/24

 

3. SSH 접속 및 ROOT 패스워드 변경

$ sudo passwd root

 

4. 고정 IP할당

// Ethernet 사용 시
$ sudo vi /etc/dhcpcd.conf
// 추가
...  
interface eth0
static ip_address=<IP address>/24
static routers=<Gateway address>
static domain_name_servers=<DNS>


// WiFi 사용 시
$ sudo vi /etc/dhcpcd.conf  
// 추가
...  
interface wlan0
static ip_address=<IP address>/24
static routers=<Gateway address>
static domain_name_servers=<DNS>

 

5. VNC 활성화 하기

$ vncserver -geometry 1280x1024

 

'기타 > IoT' 카테고리의 다른 글

라즈베리파이4 구성도  (0) 2023.06.06
라즈베리파이-시리얼통신 오픈하기  (0) 2023.05.06
라즈베리파이 - 온습도 센서 연결  (0) 2023.05.06
라즈베리파이4 핀과 설계  (0) 2023.05.06