jackadmi 2012-05-19
系统:CentOS6.6
驱动:hybrid-portsrc_x86_32-v5_100_82_112.tar.gz
1.下载驱动Broadcom无线网卡驱动
http://www.broadcom.com/support/802.11/linux_sta.php
2.安装驱动程序
[root@localhost ~]# ls
anaconda-ks.cfg install.log
hybrid-portsrc_x86_32-v5_100_82_112.tar.gz install.log.syslog
//上传hybrid-portsrc_x86_32-v5_100_82_112.tar.gz到/root文件夹下。
3.[root@localhost ~]# mkdir bcm//创建bcm目录
4.[root@localhost ~]# mv hybrid-portsrc_x86_32-v5_100_82_112.tar.gz bcm//把hybrid-portsrc移动到bcm目录
5.[root@localhost ~]# cd bcm//切换到bcm目录
6.[root@localhost bcm]# tar -zxvf hybrid-portsrc_x86_32-v5_100_82_112.tar.gz//解压tar.gz包
Makefile
lib/
lib/wlc_hybrid.o_shipped
lib/LICENSE.txt
src/
src/include/
src/include/proto/
src/include/proto/802.11.h
src/include/proto/bcmeth.h
src/include/proto/bcmevent.h
src/include/proto/802.1d.h
src/include/proto/ethernet.h
src/include/proto/ieee80211_radiotap.h
src/include/proto/wpa.h
src/include/pcicfg.h
src/include/osl.h
src/include/packed_section_start.h
src/include/bcmutils.h
src/include/packed_section_end.h
src/include/bcmdefs.h
src/include/bcmendian.h
src/include/typedefs.h
src/include/bcmwifi.h
src/include/bcmcdc.h
src/include/linux_osl.h
src/include/linuxver.h
src/include/wlioctl.h
src/include/epivers.h
src/shared/
src/shared/linux_osl.c
src/wl/
src/wl/sys/
src/wl/sys/wlc_ethereal.h
src/wl/sys/wl_export.h
src/wl/sys/wl_iw.c
src/wl/sys/wl_linux.h
src/wl/sys/wlc_pub.h
src/wl/sys/wl_dbg.h
src/wl/sys/wl_cfg80211.c
src/wl/sys/wl_cfg80211.h
src/wl/sys/wl_linux.c
src/wl/sys/wlc_types.h
src/wl/sys/wl_iw.h
src/wl/sys/wlc_key.h
7.[root@localhost bcm]# ls //显示当前目录
hybrid-portsrc_x86_32-v5_100_82_112.tar.gz lib Makefile src
8.[root@localhost bcm]yum -y install gcc make kernel-devel //用yum安装make gcc kernel-devel包。
9.[root@localhost bcm]# make//make时候出现问题提示找不到目录stop.
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make: *** /lib/modules/2.6.32-71.el6.i686/build: No such file or directory. Stop.
make: *** [all] Error 2