赞助连接

赞助连接

阅 读 文 章

在hp v3000上给rhel5系统安装broadcom无线网卡驱动

[来源:网上转载 (http://bbs.chinaunix.net) | 作者:网友(sailer_sh) | 时间:2007-08-17 | 浏览:人次 ]

hp v3240使用broad 的无线网卡芯片,这个芯片只有windows驱动,没有linux驱动。为了能够在rhel5下使用无线网卡,使用ndiswrapper工具来安装驱动,这个工具通过在linux 内核里执行windows 内核API和NDIS (Network Driver Interface Specification) API的方式来加载驱动,也就是在linux下加载和使用硬件的windows驱动程序。
上使用lspci命令查看pci设备信息,最后一行是:

[Copy to clipboard] [ - ]CODE:01:00.0 Network controller: Broadcom Corporation BCM4310 UART (rev 01)
从这里可以看到本本的无线网卡是broadcom bcm4310芯片。
首先从http://ndiswrapper.sf.net/下载并且安装ndiswrapper软件包。
下载BCM4310芯片的windows驱动程序:ftp://ftp.hp.com/pub/softpaq/sp33001-33500/sp33008.exe。
为了在linux下解压缩.exe文件,必须安装cabextract程序,从http://www.kyz.uklinux.net/cabextract.php这里下载并安装。安装后解压缩sp33008.exe文件到当前目录:

[Copy to clipboard] [ - ]CODE:cabextract sp33008.exe
安装windows驱动,系统会生成/etc/ndiswrapper/bcmwl5目录,并且在目录下生成相关文件:

[Copy to clipboard] [ - ]CODE:ndiswrapper -i bcmwl5.inf
使用ndiswrapper -l命令可以查看驱动的安装情况:

[Copy to clipboard] [ - ]CODE:bcmwl5 : driver installed
        device (14E4:4312) present
使用ndiswrapper -m命令把wlan0网卡的别名写入模块配置文件,以便于使用wlan0网卡时ndiswrapper内核驱动能够被自动加载。我看到生成/etc/modprobe.d/ndiswrapper文件,其内容是:

[Copy to clipboard] [ - ]CODE:alias wlan0 ndiswrapper
驱动安装成功,加载ndiswrapper模块:

[Copy to clipboard] [ - ]CODE:modprobe ndiswrapper
执行这条命令前,本本上无线指示灯是粉红色的,表示没有打开无线网卡,执行命令以后,这个灯变成绿色,说明已经打开了无线网卡,只要有无线信号,应该可以连上。
接下来要测试能否连接无线网络。。。



和hp v3240au同一系列的hp v3428au,lspci命令的输出和3240一样,都是

[Copy to clipboard] [ - ]CODE:01:00.0 Network controller: Broadcom Corporation BCM4310 UART (rev 01)
我想当然的用sp33008.exe驱动,使用ndiswrapper安装,加载模块的时候出错:

[Copy to clipboard] [ - ]CODE:ndiswrapper: probe of 0000:01:00.0 failed with error -22
usbcore: registered new driver ndiswrapper
usbcore: deregistering driver ndiswrapper
ndiswrapper (ntoskernel_exit:2723): object c15ea4a0(2) was not freed, freeing it now
ndiswrapper version 1.47 loaded (smp=yes)
ndiswrapper: driver bcmwl5 (Broadcom,03/23/2006, 4.40.19.0) loaded
PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LK2E] -> GSI 19 (level, high) -> IRQ 50
PCI: Setting latency timer of device 0000:01:00.0 to 64
ndiswrapper (NdisWriteErrorLogEntry:192): log: C000138D, count: 1, return_address: dedc1d7c
ndiswrapper (NdisWriteErrorLogEntry:195): code: 0x10e
ndiswrapper (mp_init:216): couldn't initialize device: C0000001
TAG标签 : 驱动 安装 系统 ndiswrapper to device clipboard 使用

最新评论 共有0位网友发表了评论

发表评论

评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名:(注册)
密码:
验证码:
匿名发表
网站地图友情连接交流论坛网站投稿广告服务联系我们留言本站长统计
Some rights reserved: www.chmhome.com, 鄂ICP备07010232号 E-mail:chinakafei@live.com,QQ:552766
中国咖啡技术网(Chmhome):国外编程技术书籍,中文编程手册,经典编程文章,交流技术,技术软件下载,计算机论文,毕业论文.