[user@host ~]$ /sbin/lspci | grep Broadcom //确定无线网卡型号
05:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
07:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)
辨认完无线网络芯片型号之后,请确定你不会欠缺编译及安装时所需的组件:
[root@host]# yum install kernel-headers kernel-devel gcc
编译备份的驱动文件:
[root@localhost ~]# mkdir hybrid_wl [root@localhost ~]# cd hybrid_wl [root@localhost ~]# wget http://www.broadcom.com/docs/linux_sta/hybrid-portsrc-x86_32-v5.60.48.36.tar.gz [root@localhost ~]# tar zxvf hybrid-portsrc-x86_32-v5.60.48.36.tar.gz .. [root@localhost ~]# make
编译完成后,当前目录会出现wl.ko文件,然后:
[root@localhost ~]# cp wl.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless
然后:
root@localhost ~]# modprobe lib80211 [root@localhost ~]# insmod wl.ko [root@localhost ~]# echo modprobe wl >> /etc/rc.local [root@localhost ~]# reboot
参考资料:
http://www.vsritual.com/posts/view/4c460854-5c5c-49b7-8172-686ed8e3dc57
http://wiki.centos.org/zh/HowTos/Laptops/Wireless/Broadcom
http://hi.baidu.com/myl231/item/94105d278a6cfa5cc38d59f3 //用了这个博客修改后的驱动程序