linux下安装无线网卡驱动

1下载并解压 Broadcom 驱动程序的压缩档
2 mkdir -p /usr/local/src/hybrid-wl
3tar xvfz
4tar xvfz
5
[root@localhost hybrid-wl]# make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/kernels/2.6.18-194.el5-xen-i686'
Wireless Extension API is prefered for this kernel version
Using Wireless Extension API
LD /usr/local/src/hybrid-wl/built-in.o
CC [M] /usr/local/src/hybrid-wl/src/shared/linux_osl.o
In file included from /usr/local/src/hybrid-wl/src/shared/linux_osl.c:17:
/usr/local/src/hybrid-wl/src/include/typedefs.h:86: 错误:与 ‘bool’ 类型冲突
include/linux/types.h:36: 错误:‘bool’ 的上一个声明在此
make[2]: *** [/usr/local/src/hybrid-wl/src/shared/linux_osl.o] 错误 1
make[1]: *** [_module_/usr/local/src/hybrid-wl] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-194.el5-xen-i686'
make: *** [all] 错误 2
6修改src/include/typedefs.h文件的85行
/*
#ifndef TYPEDEF_BOOL
typedef unsigned char bool;
#endif
*/

7make
8[root@localhost hybrid-wl]# strip --strip-debug wl.ko
9[root@localhost hybrid-wl]# cp -vi /usr/local/src/hybrid-wl/wl.ko /lib/modules/`uname -r`/extra/
10[root@localhost hybrid-wl]# depmod $(uname -r)
11[root@localhost hybrid-wl]# vi /etc/modprobe.d/blacklist
加入以下内容:
blacklist bcm43xx
blacklist ndiswrapper
blacklist b43
blacklist b43legacy
12[root@localhost hybrid-wl]# vi /etc/modprobe.conf
并为你的无线网络卡加入新的驱动程序别名:
alias eth1 wl
13[root@localhost hybrid-wl]# vi /etc/modprobe.d/modprobe.conf.dist
添加如下内容
alias ieee80211_crypt_tkip ieee80211_crypt_tkip
alias eth1 wl

14Starting the NetworkManager service

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Atheros AR8131 网卡驱动下载地址:(包括windows 驱动 和 Linux驱动) http://partner.atheros.com/Drivers.aspx Atheros AR9285无线网卡驱动,由开源项目MadWifi支持 在sourceforge搜索MadWifi可以找到: http://sourceforge.net/projects/madwifi/ 最新的Atheros无线网卡驱动主页: http://madwifi-project.org/ 对于新版本linux kernel 2.6.25之后(现在都是这个以上的内核),要用新的current版本。 http://snapshots.madwifi-project.org/madwifi-0.9.4-current.tar.gz In case you use kernel 2.6.25 or newer, you need to get this snapshot of the madwifi-0.9.4 branch instead of the v0.9.4 release! That snapshot is basically v0.9.4 plus compilation fixes for recent kernels. Atheros无线网卡驱动介绍: http://wireless.kernel.org/en/users/Drivers/Atheros AR9285无线网卡驱动 http://wireless.kernel.org/en/users/Drivers/ath9k Any distribution shipping a kernel >= 2.6.27 will have ath9k present but the ath9k driver on 2.6.32 is the oldest one recommended, anything older than that is completely unsupported. Below is a list of the minimal distribution requirements to either use ath9k from 2.6.27 or from compat-wireless, which lets you install newer drivers on older kernels. Ubuntu Intrepid (8.10) Fedora Core 10 openSUSE 11.1 Mandriva Linux 2009.0 (formally known as Mandrake Linux) ARCH Linux Gentoo Linux Red Flag Linux 7.0 (based on Fedora 10) RHEL5 2.6.18 kernel being tested When it went in ath9k was announced to have been merged into Linux-2.6.27-rc3 by Linus on Tue, 12 Aug 2008 19:33:16 -0700 (PDT), and consisted of 58.8% of the entire rc3 patch. Early distributions which picked it up OpenWrt became the first distribution to pick up ath9k and contribute to it.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值