/etc/network/interfaces
---------
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
#或者
wpa-scan-ssid 1
wpa-ap-scan 1
wpa-key-mgmt WPA-PSK
wpa-proto RSN WPA
wpa-pairwise CCMP TKIP
wpa-group CCMP TKIP
wpa-ssid 'mywifi'
wpa-psk 'mypass'
iface default inet dhcp
wpa_supplicant.conf
---------
network={
ssid="mywifi"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="mypass"
}
树莓派兼容设备列表
http://elinux.org/RPi_VerifiedPeripherals
TL_WN725N,v1版(Realtek RTL8188CUS芯片)直接可用;v2(RTL8188EUS)版需要手工安装驱动
Getting TL_WN725N Working http://www.raspberrypi.org/phpBB3/viewtopic.php?f=66&t=55779