树莓派raspbian系统下安装TL-WN725N 2.0无线网卡驱动

首先在树莓派上下载编译好的8188eu芯片驱动(出自这里,感谢rpijet同学辛勤的劳动)。解压后得到8188eu.ko文件,将此文件复制到树莓派上/home/pi目录下:

pi@raspberrypi ~ $ ls
8188eu.ko  Desktop  ocr_pi.png  python_games

安装驱动:

sudo cp ~/8188eu.ko /lib/modules/*/kernel/net/wireless
sudo sh -c 'echo "8188eu" >> /etc/modules'
sudo depmod -a
sudo modprobe 8188eu

配置wifi网络及密码:

sudo sh -c 'wpa_passphrase chekucafe chekucafe >> /etc/wpa_supplicant/wpa_supplicant.conf'

重启网络服务:

sudo service networking restart

用ifconfig检查网络状态,可以看到已经ok:

pi@raspberrypi ~ $ ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 14:cf:92:ad:e0:28
          inet addr:192.168.10.171  Bcast:192.168.11.255  Mask:255.255.254.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:316 errors:0 dropped:526 overruns:0 frame:0
          TX packets:108 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:41554 (40.5 KiB)  TX bytes:18347 (17.9 KiB)

此条目发表在 IT技术, Linux, 树莓派 分类目录。将固定链接加入收藏夹。