develog

[CentOS8] 설치후 네트워크 안될 때 본문

카테고리 없음

[CentOS8] 설치후 네트워크 안될 때

냐옴 2020. 8. 13. 23:02

1. ping test 1

$ ping www.google.com
ping: www.google.com: Name or service not known

 

2. ping test 2

$ ping 8.8.8.8
connect: Network is unreachable

 

3. ONBOOT=yes 로 수정

$ sudo vi /etc/sysconfig/network-scripts/ifcfg-enp0s3
ONBOOT=no  # 수정전
ONBOOT=yes # 수정후

 

4. 재부팅

 

Comments