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 에 설정하라는 내용이 있는데 


리붓하면 다 날아가므로 저기에 설정해줘야 한다. 


Posted by 느림의 미학 .
,