bcm43xx无线网卡没有受限驱动时的解决方法(更新:添加 bcm linux驱动链接)
发表于 : 2009-05-25 13:45
1、安装ndiswrapper
源里面有,就两个包ndiswrapper-common和ndiswrapper-utils
2、准备芯片的Windows版本驱动程序
驱动程序复制到当前目录(我的是bcmwl5.inf 和 bcmwl5.sys)
3、Linux下安装Windows版驱动:
sudo ndiswrapper -i bcmwl5.inf
系统会生成/etc/ndiswrapper/bcmwl5 目录,并且在目录下生成相关文件。
使用
ndiswrapper -l
命令可以查看驱动的安装情况:
bcmwl5 : driver installed
device (14E4:4312) present (我的是bcm4312无线网卡)
4、配置ndiswrapper
使用
sudo ndiswrapper -m
命令把wlan0网卡的别名写入模块配置文件,以便于使用wlan0网卡时ndiswrapper内核驱动能够被自动加载。可到看到生成了
/etc/modprobe.d/ndiswrapper 文件,其内容是:
alias wlan0 ndiswrapper
驱动安装成功,加载ndiswrapper模块:
sudo modprobe ndiswrapper
(如果出现WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.请将/etc/modprobe.d/ndiswrapper更名为ndiswrapper.conf 再执行
sudo modprobe ndiswrapper)
执行这条命令前,笔记本的无线指示灯是橘红色的,表示没有启用无线网卡,执行命令后,灯变成绿色,说明无线网卡已经成功启用了,只要有无线信号,应该就可以连上。
要在linux启动时加载ndiswrapper 需要在/etc/modules加上ndiswrapper。
Broadcom 802.11 Linux STA driver 下载地址:
http://zh-cn.broadcom.com/support/802.11/linux_sta.php
源里面有,就两个包ndiswrapper-common和ndiswrapper-utils
2、准备芯片的Windows版本驱动程序
驱动程序复制到当前目录(我的是bcmwl5.inf 和 bcmwl5.sys)
3、Linux下安装Windows版驱动:
sudo ndiswrapper -i bcmwl5.inf
系统会生成/etc/ndiswrapper/bcmwl5 目录,并且在目录下生成相关文件。
使用
ndiswrapper -l
命令可以查看驱动的安装情况:
bcmwl5 : driver installed
device (14E4:4312) present (我的是bcm4312无线网卡)
4、配置ndiswrapper
使用
sudo ndiswrapper -m
命令把wlan0网卡的别名写入模块配置文件,以便于使用wlan0网卡时ndiswrapper内核驱动能够被自动加载。可到看到生成了
/etc/modprobe.d/ndiswrapper 文件,其内容是:
alias wlan0 ndiswrapper
驱动安装成功,加载ndiswrapper模块:
sudo modprobe ndiswrapper
(如果出现WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.请将/etc/modprobe.d/ndiswrapper更名为ndiswrapper.conf 再执行
sudo modprobe ndiswrapper)
执行这条命令前,笔记本的无线指示灯是橘红色的,表示没有启用无线网卡,执行命令后,灯变成绿色,说明无线网卡已经成功启用了,只要有无线信号,应该就可以连上。
要在linux启动时加载ndiswrapper 需要在/etc/modules加上ndiswrapper。
Broadcom 802.11 Linux STA driver 下载地址:
http://zh-cn.broadcom.com/support/802.11/linux_sta.php