pynq linux 네트워크 설정 (고정 IP, DNS 오류 해결)
PYNQ (Python productivity for zynQ)는 ZYNQ 보드 전용 리눅스 OS로 파이썬을 사용할 수 있다.
PYNQ 관련 자료:
https://pynq.readthedocs.io/en/v2.3/index.html
PYNQ Introduction — Python productivity for Zynq (Pynq) v1.0
Xilinx® makes Zynq® and Zynq Ultrascale+™ devices, a class of programmable System on Chip (SoC) which integrates a multi-core processor (Dual-core ARM® Cortex®-A9 or Quad-core ARM® Cortex®-A53) and a Field Programmable Gate Array (FPGA) into a single integ
pynq.readthedocs.io
고정 IP를 설정하는 방법
$ ifconfig eth0 <IP address> broadcast <Broadcast> netmask <Netmask> up
$ sudo route add default gw <Gateway>
Ping을 통해 네트워크 연결 확인
$ ping 8.8.8.8 -c3
$ ping google.com -c3
부팅 때마다 자동으로 설정되도록
$ sudo vim /etc/profile.d/ip_set.sh
# 위의 두 명령어를 입력 후 저장
ifconfig eth0 <IP address> broadcast <Broadcast> netmask <Netmask> up
sudo route add default gw <Gateway>
DNS오류 "Temprorary failure in name resolutin" 해결
$ sudo vim /etc/resolv.conf
# 아래의 내용 추가 후 저장
nameserver 58.227.193.227
nameserver 221.143.20.131
Ping을 통해 네트워크 연결 확인
$ ping google.com -c3
참고 자료
https://m.blog.naver.com/PostView.nhn?blogId=darkh0s&logNo=60063643998&proxyReferer=https%3A%2F%2Fwww.google.com%2F
https://perte.tistory.com/12
https://gracefullight.dev/2017/01/10/Temporary-failure-in-name-resolution-%EC%9D%BC%EC%8B%9C%EC%A0%81%EC%9D%B8-%EC%8B%A4%ED%8C%A8/