|
我用NdisWrapper来解决DWL-G650+无线网卡在linux没有驱动的问题,具体步骤为:
linux 9.0 NdisWrapper0.3
1、下载解压/ndiswrapper-0.3.tar.gz
2、进入ndiswrapper目录,编辑driver/Makefile文件,加入如下语句:
CFLAGS += $(shell [ -f /lib/modules/$(shell uname -r)/build/include/linux/modversions.h ] && echo -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/$(shell uname -r)/build/include/linux/modversions.h )
3、创建/usr/local/share/ndiswrapper目录,将DWL-G650+无线网卡驱动程序的.sys和.inf文件拷贝到新建目录。命令如下:
# mkdir /usr/local/share/ndiswrapper
# cp w70n51.sys w70n51.inf /usr/local/share/ndiswrapper
4、查找pci vendor id和device id
> lspci
03:00.0 network controller :texas instruments: unknown device 9066
>lspci -n
03:00.0 class 0280: 104c:9066
5、insmod driver/ndiswrapper.o
6、安装windows驱动
> utils/loaddriver l04c 9066 /usr/local/share/ndiswrapper/GPLUG.sys /usr/local/share/ndiswrapper/GPLUG.inf
出现以下错误提示:unable to put driver (check dmesg for more info):invalid argument
请问是什么问题造成的
另外此方法需要内核配置中启动了无线局域网支持,我怎么知道我的版本内核中的无线局域网支持是否已经启动。 |
|