nw335 debian sid x86-64 -- 4 realtek 提供的官方驱动
realtek 提供的官方驱动
1 查看无线网卡的驱动芯片:
$ sudo lsusb
Bus 001 Device 003: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
2 debian7的内核版本:
$ uname -r
3.2.0-4-amd64
3 官方驱动的下载地址:
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=3&PNid=48&PFid=48&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true#RTL8188CUS
注意官方支持的内核的版本,debian stable的内核是3.2
4 下载驱动
unix:
ftp://WebUser:fh7SkVT4@58.211.24.153/cn/wlan/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911.zip
windows:
ftp://WebUser:fh7SkVT4@58.211.24.153/cn/wlan/RTLWlanU_1026.5.1118.2013_ISS_1.00.0238.L.zip
5 linux下的安装
$ unzip RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911.zip
$ cd RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911
$ chmod +x ./install.sh
$ sudo ./install.sh
##################################################
Compile make driver ok!!
##################################################
Authentication requested [root] for remove driver:
Error: Module 8192cu is not currently loaded
Authentication requested [root] for insert driver:
Error: could not insert module 8192cu.ko: Device or resource busy
Authentication requested [root] for install driver:
install -p -m 644 8192cu.ko /lib/modules/3.2.0-4-amd64/kernel/drivers/net/wireless/
/sbin/depmod -a 3.2.0-4-amd64
##################################################
The Setup Script is completed !
##################################################
6 屏蔽系统自带的驱动
jb@e3v2:~$ su
Password:
root@e3v2:/home/jb# echo "blacklist rtl8192cu" >> /etc/modprobe.d/blacklist.conf
root@e3v2:/home/jb# echo "blacklist rtl8192c_common" >> /etc/modprobe.d/blacklist.conf
7 重启