2018년 10월 2일 화요일

[라즈베리파이] IP 주소 변경

터미널 창에 sudo vi /etc/dhcpcd.conf 입력

interface eth0
static ip_address=192.168.1.2
static routers=192.168.1.1
static domain_name_servers=168.126.63.1
static netmask=255.255.255.0
재부팅 후 ifconfig로 확인

댓글 없음:

댓글 쓰기