Ubuntu11.10安装科磊NW336驱动

1、下载驱动程序,解压缩

Realtek瑞昱RTL8192SU/RTL8188SU/RTL8191SU/RTL8712SU无线网卡驱动6.0.20101111版For Linux(2011年2月12日发布)
http://drivers.mydrivers.com/download/420-168230-Realtek-RTL8192SU-RTL8188SU-RTL8191SU-RT/

2、修改os_intf/osdep_service.c

将init_mutex(prwlock);改为sema_init(prwlock,1);,因为前面的函数在新的核心中已经被废除了

3、make

4、Makefile第11行,include $(TOPDIR)/config修改为include config

51行去掉$(src)/和$(PWD)/

ifeq ($(CONFIG_BUILT_IN), y)
$(shell cp $(src)/autoconf_$(RTL871X)_usb_linux.h $(src)/include/autoconf.h)
else
$(shell cp $(PWD)/autoconf_$(RTL871X)_usb_linux.h $(PWD)/include/autoconf.h)
endif
改为

ifeq ($(CONFIG_BUILT_IN), y)
$(shell cp autoconf_$(RTL871X)_usb_linux.h include/autoconf.h)
else
$(shell cp autoconf_$(RTL871X)_usb_linux.h include/autoconf.h)
endif

5、sudo make install

6、sudo modprobe 8712u

参考文章http://www.linuxidc.com/Linux/2010-05/25861.htm


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值