LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1172|回复: 0

在linux下驱动DWL-G650+无线网卡是出错,求助高手帮忙

[复制链接]
发表于 2005-5-31 21:41:28 | 显示全部楼层 |阅读模式
我用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

请问是什么问题造成的
另外此方法需要内核配置中启动了无线局域网支持,我怎么知道我的版本内核中的无线局域网支持是否已经启动。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表