Linux, Server, Web
Ubuntu 초기 LAN 설정 건너뛴 후 인터넷 연결이 안될때
iolate
2011. 7. 6. 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