树莓派中使用TL-WN725N
Raspbian版本 2014-01-07-wheezy-raspbian.img
下载地址为http://unixetc.com/res/8188eu-20140616.tar.gz
首先固网链接树莓派,通过SSH登录
wget http://unixetc.com/res/8188eu-20140616.tar.gz
unzip 8188eu_31024_614.zip
sudo mv 8188eu.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless
sudo chown root:root /lib/modules/`uname -r`/kernel/drivers/net/wireless/8188eu.ko
sudo mv rtl8188eufw.bin /lib/firmware/rtlwifi/
sudo chown root:root /lib/firmware/rtlwifi/rtl8188eufw.bin
sudo depmod -a
sudo modprobe 8188eu
然后编辑/etc/netwok/interfaces
,添加以下内容
allow-hotplug wlan0
auto wlan0
iface wlan0 inet manual
wpa-roam /etc/mywpa.conf
iface default inet dhcp
新建mywpa.conf
写入链接配置vi /etc/mywpa.conf
network={
ssid="YOUR SSID"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="YOUR PASSWORD"
}
重启系统