分页: 1 / 2

bcm43xx无线网卡没有受限驱动时的解决方法(更新:添加 bcm linux驱动链接)

发表于 : 2009-05-25 13:45
smallapple
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

Re: bcm43xx无线网卡没有受限驱动时的解决方法

发表于 : 2009-05-25 16:06
hlsd665
我按您的步骤安装 到最后一步的时候提示
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.

无线指示灯并没有变成绿色,无线也没有启动,是何原因?

Re: bcm43xx无线网卡没有受限驱动时的解决方法

发表于 : 2009-05-25 16:33
smallapple
没生成 /etc/modprobe.d/ndiswrapper 文件
重新执行
sudo ndiswrapper -m

sudo modprobe ndiswrapper

Re: bcm43xx无线网卡没有受限驱动时的解决方法

发表于 : 2009-05-25 16:37
hlsd665
已经生成了,如下

代码: 全选

hlsd665@ubuntu904sywxf:~$ ls /etc/modprobe.d/
alsa-base.conf           blacklist-framebuffer.conf  libpisock9.conf
blacklist-ath_pci.conf   blacklist-modem.conf        ndiswrapper
blacklist.conf           blacklist-oss.conf
blacklist-firewire.conf  blacklist-watchdog.conf
hlsd665@ubuntu904sywxf:~$ cat ndiswrapper
cat: ndiswrapper: 没有该文件或目录
hlsd665@ubuntu904sywxf:~$ cat /etc/modprobe.d/ndiswrapper 
alias wlan0 ndiswrapper
hlsd665@ubuntu904sywxf:~$ 
就是最后的一步,完不成,提示如2楼

Re: bcm43xx无线网卡没有受限驱动时的解决方法

发表于 : 2009-05-25 17:09
smallapple
你的内核是多少?
如果是2.6.30,请重命名 /etc/modprobe.d/ndiswrapper 为 ndiswrapper.conf

再执行

代码: 全选

sudo modprobe ndiswrapper

Re: bcm43xx无线网卡没有受限驱动时的解决方法

发表于 : 2009-06-21 10:30
jaywee
smallapple 写了:你的内核是多少?
如果是2.6.30,请重命名 /etc/modprobe.d/ndiswrapper 为 ndiswrapper.conf

再执行

代码: 全选

sudo modprobe ndiswrapper
我内核28,将ndiswrapper更名后命令可以运行,可是系统没有任何反应。。wifi灯也不亮。network namager也没有无线网卡信息。。怎么办呀??

Re: bcm43xx无线网卡没有受限驱动时的解决方法(更新:添加 bcm linux驱动链接)

发表于 : 2009-06-21 11:00
smallapple

代码: 全选

sudo modprobe ndiswrapper
执行后没提示,就表示模块能正确加载。

代码: 全选

iwconfig
看看能不能检查到无线网卡。

Re: bcm43xx无线网卡没有受限驱动时的解决方法(更新:添加 bcm linux驱动链接)

发表于 : 2009-12-12 11:04
ranko
你好,

代码: 全选

sudo modprobe ndiswrapper
执行后没提示

但是使用iwconfig 或重启后执行 iwconfig 均未发现无线网卡

请问怎么办?

Re: bcm43xx无线网卡没有受限驱动时的解决方法(更新:添加 bcm linux驱动链接)

发表于 : 2009-12-12 11:06
ranko
执行

代码: 全选

ndiswrapper -l
我的提示是:

代码: 全选

net8192se : driver installed
	device (10EC:8172) present
说明是被正确安装了驱动的,但是在hardware drivers 中根本没发现。

Re: bcm43xx无线网卡没有受限驱动时的解决方法(更新:添加 bcm linux驱动链接)

发表于 : 2010-01-02 11:39
f1tl
我也遇到了同样的问题
root@lei-laptop:/# ndiswrapper -l
3gusb : driver installed
device (05C6:8008) present
ct_3g_evdo_u_mdm : driver installed
device (05C6:8008) present
ct_3g_evdo_u_ser : driver installed
device (05C6:8008) present
root@lei-laptop:/# iwconfig不
lo no wireless extensions.

eth0 no wireless extensions.

还是菜鸟,查了好多也不明白这些是怎么回事
没有wlan0

Re: bcm43xx无线网卡没有受限驱动时的解决方法(更新:添加 bcm linux驱动链接)

发表于 : 2010-01-02 18:37
yuwensheng
I installed the driver. and happened that matter .
then,I install 受限驱动 .
ok

Re: bcm43xx无线网卡没有受限驱动时的解决方法(更新:添加 bcm linux驱动链接)

发表于 : 2010-03-03 17:22
赤发灵官
thanks for your help. :em01
I have successed.

Re: bcm43xx无线网卡没有受限驱动时的解决方法(更新:添加 bcm linux驱动链接)

发表于 : 2010-03-10 0:01
xopher
不是有STA的吗,那个是broadcom官方的啊

Re: bcm43xx无线网卡没有受限驱动时的解决方法(更新:添加 bcm linux驱动链接)

发表于 : 2010-03-21 23:34
mymathersname
看了之后,我的经验是买本前先确定不是BCM43**的无线卡……这个是关键 :em11

Re: bcm43xx无线网卡没有受限驱动时的解决方法(更新:添加 bcm linux驱动链接)

发表于 : 2010-07-20 19:47
motree
终于搞定,多谢大虾的指点。
关键是这一句:
/etc/modprobe.d/ndiswrapper 文件,其内容是:
alias wlan0 ndiswrapper
:em09 :em09 :em11