Chinaunix首页 | 论坛 | 博客
  • 博客访问: 284447
  • 博文数量: 74
  • 博客积分: 2811
  • 博客等级: 少校
  • 技术积分: 710
  • 用 户 组: 普通用户
  • 注册时间: 2009-06-02 21:14
文章分类

全部博文(74)

文章存档

2011年(1)

2010年(24)

2009年(49)

我的朋友

分类:

2009-12-08 23:12:45

网路转载过程
系统安装完成之后重启进入系统,发现 Ubuntu 9.10 没有我笔记本自带的 Broadcom BCM4312 无线网卡驱动,这和 Ubuntu 9.04 比起来是个退步,记得安装 Ubuntu 9.04 的时候我还边截图边安装系统呢。打开我的 Eee PC ,上 Google ,找到 ubuntuforums.org 发现许多人遇到这个问题,进入 Broadcom 官方网站的 Linux 驱动下载页面,下载并用 U 盘拷贝到笔记本上,按照这里的方法编译,重启之后居然失败了。
接着,搜索到Ubuntu维护的 bcmwl-kernel-source 包,下载安装,居然还是失败了,我都不知道哪儿的问题,但是我又实在是不好意思把笔记本拿到楼下接在人家的宽带上上网安装驱动,要知道,我一直都是扔了个无限路由在他家里免费蹭网的。
在 Google Talk 上找到刘红丹,让他帮我找找是否有 BCM4312 的 .deb 格式的驱动文件,终于找到这个论坛,我解压了 iso 文件中的这两个文件,安装,重启,依然不能链接到无线网络,正在我一筹莫展的时候,我隔壁的家伙进来动了一下我的“蹭网卡”,我灵机一动,9.10 不会没有带 Realtek 无线模块的驱动吧,插上,然后进入系统,终于可以上网了,接着执行 sudo aptitude reinstall bcmwl-kernel-source 安装 BCM4312 无线驱动,终于可以使用笔记本自带的无线网卡上网了!
官方方法
在下载的驱动
完全按照官方说明文档安装
这是安装说明文档
BUILD AND INSTALLATION INSTRUCTIONS
-----------------------------------

1. Setup the directory by untarring the proper tarball:

For 32 bit: hybrid-portsrc.tar.gz
For 64 bit: hybrid-portsrc-x86_64.tar.gz

# mkdir hybrid_wl
# cd hybrid_wl
# tar xzf /hybrid-portsrc.tar or /hybrid-portsrc-x86_64.tar.gz

2. Build the driver as a Linux loadable kernel module (LKM):

# make clean (optional)
# make

When the build completes, it will produce a wl.ko file in the top level
directory.

3: Remove any other drivers for the Broadcom wireless.

There are several open source drivers that are used to drive Broadcom 802.11
chips such as b43 and ssb. If any of these are present they need to be removed before this
driver can be installed. Any previous revisions of the wl driver also need to
be removed.

# lsmod | grep "b43\|ssb\|wl"

If any of these are installed, remove them:
# rmmod b43
# rmmod ssb
# rmmod wl

To blacklist these drivers and prevent them from loading in the future:
# echo "blacklist ssb" >> /etc/modprobe.d/blacklist.conf
# echo "blacklist b43" >> /etc/modprobe.d/blacklist.conf

4: Insmod the driver.

If you were already running a previous version of wl, you'll want to provide a
clean transition from the older driver. (The path to previous driver is usually
/lib/modules//kernel/net/wireless)

# rmmod wl
# mv /wl.ko /wl.ko.orig
# cp wl.ko /wl.ko
# depmod
# modprobe wl

Otherwise, if you have not previously installed a wl driver do this:

# modprobe lib80211
# insmod wl.ko

wl.ko is now operational. It may take several seconds for the Network Manager
to notice a new network driver has been installed and show the surrounding
wireless networks.
阅读(12501) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~