sudo vi /etc/network/interface
# 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
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.30
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameservers 168.126.63.1 168.126.63.2
인터넷에 dns를 /etc/resolv.conf 에 설정하라는 내용이 있는데
리붓하면 다 날아가므로 저기에 설정해줘야 한다.
'컴퓨터 이야기 > 우분투 서버' 카테고리의 다른 글
리눅스 파일 확장자 일괄변경 (0) | 2015.08.21 |
---|---|
우분투 서버에 XE설치시 500에러 (0) | 2015.01.28 |
노트북이나 넷북에 우분투 서버설치시 뚜껑닫으면 슬립모드로 빠지는 문제 (0) | 2015.01.11 |
우분투 64bit버전이 울트라iso에서 작동이 제대로 하지 않는문제 (0) | 2015.01.11 |
우분투 14.04 LTS 한글 깨짐문제 (1) | 2014.05.07 |