CentOS를 설치 후 부팅하게 되면 eth0 인터페이스가 자동으로 활성되지 않는다.
eth0 인터페이스가 활성화되지 않는다면 인터넷이 안 된다.
1. 일반적인 활성화 방법
[root@localhost ~]# ifup eth0
비활성화
[root@localhost ~]# ifdown eth0
2. 부팅시 자동으로 활성화
[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
ONBOOT=no 부분을 ONBOOT=yes 로 수정
[root@localhost ~]# service network restart
'Study > Ubuntu' 카테고리의 다른 글
Ubuntu - MariaDB 설치 (0) | 2013.03.24 |
---|---|
Ubuntu - nginx 컴파일 설치 (0) | 2013.03.22 |
Ubuntu - vi 설정 변경 (0) | 2012.11.16 |
htop - an interactive process viewer for Linux (0) | 2011.12.28 |
Ubuntu - Openssh 설치 및 포트변경 (0) | 2011.12.28 |