인터넷 연결이 안될때
Linux, Ubuntu / 2011.07.06 23:36
초기 설치시 LAN 연결을 못하여 설정을 건너뛰었더니 후에 랜을 연결해도 인터넷이 안되는 문제가 발생 하였다.
모니터가 없어서 TV에 연결해 설치를 한 터라 공유기를 하나 더 구해와서 Client Bridge 로 겨우겨우 웹세팅에 들어갔다..
겨우 해결한 것으론 /etc/network/interfaces 가 문제.
처음 설치시 자동으로 설정이 잡히지도 않고, 수동으로 잡아주지도 않고, 건너뛰기를 했다면 설정이 말그대로 전혀 안된채로 남게 된다...
저 위 파일을 열어보면
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
이렇게만 있을 텐데 vi 로 아래에 다음과 같이 입력해 준다
# The primary network interface
auto eth0
iface eth0 inet dhcp
/etc/network/interfaces 전체 내용
만약 수동 아이피로 설정해야 한다면
입력해 준 뒤 저장하고
# /etc/init.d/networking restart
모니터가 없어서 TV에 연결해 설치를 한 터라 공유기를 하나 더 구해와서 Client Bridge 로 겨우겨우 웹세팅에 들어갔다..
겨우 해결한 것으론 /etc/network/interfaces 가 문제.
처음 설치시 자동으로 설정이 잡히지도 않고, 수동으로 잡아주지도 않고, 건너뛰기를 했다면 설정이 말그대로 전혀 안된채로 남게 된다...
저 위 파일을 열어보면
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
이렇게만 있을 텐데 vi 로 아래에 다음과 같이 입력해 준다
# The primary network interface
auto eth0
iface eth0 inet dhcp
/etc/network/interfaces 전체 내용
더보기
만약 수동 아이피로 설정해야 한다면
더보기
입력해 준 뒤 저장하고
# /etc/init.d/networking restart
'Linux, Ubuntu' 카테고리의 다른 글
우분투 L2TP VPN 설치/설정법 (2) | 2012.09.29 |
---|---|
우분투 openVPN 설치/설정법 (0) | 2012.09.29 |
ftp / samba (0) | 2012.01.01 |
Ubuntu apache2/php5/mysql/mariadb (0) | 2012.01.01 |
인터넷 연결이 안될때 (0) | 2011.07.06 |
root 계정 활성화 (0) | 2011.01.09 |