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


참고 사이트


'Linux' 카테고리의 다른 글

Ubuntu root 비밀번호 설정 하기  (0) 2014.09.21
Ubuntu rar 압축 풀기  (0) 2014.09.21
vim 문자열 replace 하기  (0) 2013.11.10
gcc 컴파일 시 pcap.h no such file and directory 해결 방법  (0) 2013.11.08
find 명령어 사용하기  (0) 2013.11.07

+ Recent posts