1. IP 설정 하기
whitelife@miniserver$ sudo vim /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
# The primary network interface
auto wlan0
iface wlan0 inet static
# wireless-* options are implemented by the wireless-tools package
wireless-mode managed
wireless-essid xxxxx
wireless-key1 s:xxxxxxxxxxxxx
address xxx.xxx.xxx.xxx
netmask xxx.xxx.xxx.xxx
gateway xxx.xxx.xxx.xxx
2. DNS 설정 하기
whitelife@miniserver:~$ sudo vim /etc/resolv.conf
Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx
3. Networking Restart
whitelife@miniserver:~$ sudo /etc/init.d/networking restart
참고 사이트