참조.. :: http://www.gc-linux.org/wiki/WL:Wifi_Configuration
1. Package Download
root:~# apt-get update
root:~# apt-get install udev wireless-tools wpasupplicant
2. WPA2 설정
root:~# vi /etc/network/interfaces
1) DHCP
auto wlan0
iface wlan0 inet dhcp
wpa-ssid YOUR_SSID_GOES_HERE
wpa-psk YOUR_SECRET_GOES_HERE
wpa-key-mgmt WPA-PSK
wpa-pairwise TKIP CCMP
wpa-group TKIP CCMP
wpa-proto WPA RSN
wpa-ap-scan 1
wpa-scan-ssid 1
2) STATIC
auto wlan0
iface wlan0 inet static
wpa-ssid YOUR_SSID_GOES_HERE
wpa-psk YOUR_SECRET_GOES_HERE
wpa-key-mgmt WPA-PSK
wpa-pairwise TKIP CCMP
wpa-group TKIP CCMP
wpa-proto WPA RSN
wpa-ap-scan 1
wpa-scan-ssid 1
address YOUR_IP_GOES_HERE
netmask YOUR_NETMASK_GOES_HERE
gateway YOUR_GATEWAY_GOES_HERE
2. OPEN 설정
1) DHCP
auto wlan0
iface wlan0 inet dhcp
wireless-essid YOUR_SSID_GOES_HERE
2) STATIC
auto wlan0
iface wlan0 inet static
wireless-essid YOUR_SSID_GOES_HERE
address YOUR_IP_GOES_HERE
netmask YOUR_NETMASK_GOES_HERE
gateway YOUR_GATEWAY_GOES_HERE
3. 설정 적용
# ifdown wlan0
# ifup wlan0
CF)
Note that you can also use a pre-computed 256-bit PSK as a secret instead of an ASCII passphrase.
To get a 256-bit PSK from an ASCII passphrase use the following command:
# wpa_passphrase your_ssid your_ascii_passphrase
ex)
$ wpa_passphrase homeWlan password
network={
ssid="homeWlan"
#psk="password"
psk=100322f2b3ee87c4c24649e1dc94b1883dd0af87c902c45cfec1c2e865866d36
}