HOW TO: Configure wireless cards with Broadcom chipsets

参与到Ubuntu的翻译中来
回复
yongyi
帖子: 3025
注册时间: 2005-05-07 23:57
联系:

HOW TO: Configure wireless cards with Broadcom chipsets

#1

帖子 yongyi » 2005-07-12 19:14

来自:http://www.ubuntuforums.org/showthread. ... ge=1&pp=10

Broadcom wireless cards are tricky to set up in ubuntu, and the forums are full of frustrated users seeking advice. Broadcom provide no Linux support (feel free to complain to your hardware vendor or choose a different card if you haven't yet shelled out your cash), but they can be made to work - and you're in the right place if you want to know how.

First, you need to find out if this How To is for you. Broadcom wireless cards come under many brand names and, in particular, are used in many Dell and Acer laptops. Look for the drivers supplied with your card (Dell usually store a copy in C:/DRIVERS/NETWORK/ADDON); if you have a file called bcmwl5.inf or bcmwl5a.inf then keep on reading. You won't succeed without following these instructions!

0. Before you start, clear out any mess from existing failed attempts to use ndiswrapper.
Code:

sudo modprobe -r bcmwl5 sudo rmmod ndiswrapper sudo apt-get remove ndiswrapper-utils sudo rm -r /etc/ndiswrapper/ sudo rm -r /etc/modprobe.d/ndiswrapper

Some of these steps may report errors; just ignore them.

1. Copy the bcmwl5.inf and bcmwl5.sys files to your desktop

2. Follow the advice given here under How to add extra repositories

3. Open a terminal session and enter this code. Note that you need an active network connection for this to work; I've assumed that if you have access to a wireless LAN, you also have access to a wired network as a fallback.
Code:

sudo apt-get install ndiswrapper-utils sudo ndiswrapper -i ~/Desktop/bcmwl5.inf sudo ndiswrapper -m for conffile in /etc/ndiswrapper/bcmwl5/*.conf; do sudo cat $conffile | sed -e 's/RadioState|1/RadioState|0/' > $conffile done

4. Reboot your PC. On restarting, the light on your wireless card should come on. If not, try entering
Code:

sudo modprobe ndiswrapper

5. Your card is now working. Open the networking configuration tool System --> Administration --> Networking

6. Select your wireless network card (probably wlan0) and hit the properties button.

7. Tick the 'This device is configured' box, and enter your network name and connection settings. Ask your office network administrator for support if you don't know what this question means, or copy your settings from Windows.

8. BE CAREFUL entering your WEP key, if you're using one. You're expected to enter this in hexadecimal form; if you don't speak hex, prefix your key with s:

9. Click OK. The screen should close fairly quickly; if it hangs, you probably aren't connected properly.

10. Back in the Network Settings screen, select your wireless device as the default gateway device.

11. Click OK. Again, the screen should close fairly quickly.

12. Enjoy wireless nirvana. If everything works, you can delete the file from your desktop.

13. You might notice that the signal strength applet doesn't work properly. This is a known bug with these cards.

If you have trouble, try booting into Windows - if you dual boot - and checking that the card is enabled. Some laptops allow the wireless card to be switched off, usually with a special key combination, and I've not found a reliable way to make this work in Linux.

(Note: This how-to has been updated to reflect all comments from the thread up to 19 April)
独自看一看大海
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
头像
firingstone
帖子: 336
注册时间: 2005-07-11 17:37
来自: 浙江

这是我在这里做的第一次翻译,希望大家多提意见,呵呵

#2

帖子 firingstone » 2005-07-13 16:09

Broadcom wireless cards are tricky to set up in ubuntu, and the forums are full of frustrated users seeking advice. Broadcom provide no Linux support (feel free to complain to your hardware vendor or choose a different card if you haven't yet shelled out your cash), but they can be made to work - and you're in the right place if you want to know how.
在ubuntu里设置broadcom的无线网卡是一件十分棘手的事情,有许多受挫的用户到论坛里寻求建议。Broadcom没有提供对linux的支持(你尽可以向你的硬件商抱怨或者再花钱买个别的无线网卡),但是其实它们是可以工作,只要你知道怎么设置。
First, you need to find out if this How To is for you. Broadcom wireless cards come under many brand names and, in particular, are used in many Dell and Acer laptops. Look for the drivers supplied with your card (Dell usually store a copy in C:/DRIVERS/NETWORK/ADDON); if you have a file called bcmwl5.inf or bcmwl5a.inf then keep on reading. You won't succeed without following these instructions!
首先,你得找到你需要的帮助文件。Broadcom的无线网卡在很多牌子的电脑上有,尤其是戴尔和宏基的笔记本。找到配套的驱动程序,(戴尔通常在备份在C:/DRIVERS/NETWORK/ADDON目录下);如果你找到了一个cdmw15.inf或是bcmw15a.inf的文件,那就可以继续看下去。没有这些指导你是不会成功的
0. Before you start, clear out any mess from existing failed attempts to use ndiswrapper.
Code:
0. 在你开始前,用ndiswrapper来清除之前的错误尝试所留下来的记录
命令如下
sudo modprobe -r bcmwl5 sudo rmmod ndiswrapper sudo apt-get remove ndiswrapper-utils sudo rm -r /etc/ndiswrapper/ sudo rm -r /etc/modprobe.d/ndiswrapper

Some of these steps may report errors; just ignore them.
以上的有些步骤可能会报告错误,不用管它
1. Copy the bcmwl5.inf and bcmwl5.sys files to your desktop
1.将bcmw15.inf 和bcmw15.sys两个文件拷贝到你的桌面上
2. Follow the advice given here under How to add extra repositories
2.根据以下帮助的提示来获得相关知识
3. Open a terminal session and enter this code. Note that you need an active network connection for this to work; I've assumed that if you have access to a wireless LAN, you also have access to a wired network as a fallback.
Code:
打开一个终端进程并输入如下命令,注意你的网络连接应该是启用了的。既然我假定你可以接入一个无线网络,你就得真的有可以接入的无线网络哦
命令如下
sudo apt-get install ndiswrapper-utils sudo ndiswrapper -i ~/Desktop/bcmwl5.inf sudo ndiswrapper -m for conffile in /etc/ndiswrapper/bcmwl5/*.conf; do sudo cat $conffile | sed -e 's/RadioState|1/RadioState|0/' > $conffile done

4. Reboot your PC. On restarting, the light on your wireless card should come on. If not, try entering
Code:

重启你的电脑。 在重启的时候你的 无线网卡的灯应该是亮的。如果没有,则输入如下命令
sudo modprobe ndiswrapper

5. Your card is now working. Open the networking configuration tool System --> Administration --> Networking
现在你的无线网卡已经启用了。打开你的网络设置工具 系统管理网络
6. Select your wireless network card (probably wlan0) and hit the properties button.
选择你的无线网卡(可能是wlan0)并点击属性按扭
7. Tick the 'This device is configured' box, and enter your network name and connection settings. Ask your office network administrator for support if you don't know what this question means, or copy your settings from Windows.
勾选(此设备已设置),并输入你的网络名和连接设置。如果你不知道,可以询问你的办公室网络管理员,或将你windows中的设置复制过来
8. BE CAREFUL entering your WEP key, if you're using one. You're expected to enter this in hexadecimal form; if you don't speak hex, prefix your key with s:
小心输入你的WEP码,如果你在使用的话。你应该以十六进制输入,如果你不会转换那么就在你的码前面加上s:
9. Click OK. The screen should close fairly quickly; if it hangs, you probably aren't connected properly.
点击确认。窗口应该很快就关闭了,如果卡住了,你可能没有连接好
10. Back in the Network Settings screen, select your wireless device as the default gateway device.
回到网络设置窗口,选择你的无线网卡为默认的网关设备
11. Click OK. Again, the screen should close fairly quickly.
再次点击确认,窗口应该就很快关闭了
12. Enjoy wireless nirvana. If everything works, you can delete the file from your desktop.
享受无线的天堂吧,如果一切顺利,你可以把桌面上的两个文件删除了
13. You might notice that the signal strength applet doesn't work properly. This is a known bug with these cards.
你可能会发觉信号强度程序有些问题。这是一个已知的bug
If you have trouble, try booting into Windows - if you dual boot - and checking that the card is enabled. Some laptops allow the wireless card to be switched off, usually with a special key combination, and I've not found a reliable way to make this work in Linux.
如果你有问题,尝试进入你的 windows——如果你有双系统的话——检查你的卡是否被激活。有的笔记本可以通过特殊的组合键来关闭无线网卡,在linux 里我还没找到一个可靠的办法
(Note: This how-to has been updated to reflect all comments from the thread up to 19 April)
(注:这个帮助根据截止到四月十九号论坛上的评论做过更新)
ubuntu 5.10 +windowsxpsp2
HP NX6120
PM1.6+512M DDR333+915GM+40G HD+Combo

Life is Struggle!
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#3

帖子 oneleaf » 2005-07-18 11:58

当净其意如虚空,远离妄想及诸取,令心所向皆无碍
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#4

帖子 millenniumdark » 2006-07-31 14:34

先放着
cedarjohn
帖子: 8
注册时间: 2008-02-01 13:20

DELL Latitude D430

#5

帖子 cedarjohn » 2008-02-04 10:36

我的Dell D430按系统受限驱动的安装步骤(要安装网卡的firmware)完成后,重启电脑,无线网卡灯也亮了,上网也可以了,但速度显示只有24M,感觉上网速度慢,不知道是因为看了显示的心理作用,还是因为用了非厂家的firmware?顺便说一下,我在这台电脑上安装了OpenSUSE,用lspci也能看到该设备,但无线网卡的指示灯不亮,也不能上网,可能就是因为没有安装firmware,只有放弃OpenSUSE选择ubuntu。个人感觉OpenSUSE的初始启动界面比ubuntu的好看些,但在ubuntu下按论坛里的说明删除日文字体后也好看很多。而且OpenSUSE的论坛没有ubuntu中文论坛办的好,所以最终决定还是用ubuntu了。技术支持确实是吸引新用户的一个“重磅炸弹”^_^
回复