Gentoo无线网卡安装之b43无线驱动篇(二)

这儿介绍一下b43驱动的安装过程

如果有未明白以下的驱动名称的,请看基础知识篇:

Gentoo无线网卡安装之基础知识篇(一)

如果想安装broadcom-sta(wl)驱动,请看第三篇

Gentoo无线网卡安装之broadcom-sta(wl)篇(三)



因为b43为博通内核自带驱动,但是经常表现为缺少firmware(固件)而无法运作,故解决步骤为下:

1.需要工具b43-fwcutter
1)从源码编译
1 wget http://bues.ch/b43/fwcutter/b43-fwcutter-018.tar.bz2 http://bues.ch/b43/fwcutter/b43-fwcutter-018.tar.bz2.asc
2 gpg --verify b43-fwcutter-018.tar.bz2.asc
3 tar xjf b43-fwcutter-018.tar.bz2
4 cd b43-fwcutter-018
5 make
6 sudo make install
7 cd ..
2)从发行版的软件仓库安装
emerge b43-fwcutter
 
2.安装firmware
1 export FIRMWARE_INSTALL_DIR="/lib/firmware"
2 wget http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2
3 tar xjf broadcom-wl-5.100.138.tar.bz2
4 sudo b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" broadcom-wl-5.100.138/linux/wl_apsta.oFIRMWARE_INSTALL_DIR" broadcom-wl-5.100.138/linux/wl_apsta.o
 
3.卸载可能相冲突的驱动(此处用rmmod可有同样效果)
1 modprobe -r b43 bcma
2 modprobe -r brcmsmac bcma
3 modprobe -r wl
 
4.加载驱动
modprobe b43
 
5.屏蔽可能冲突的模块
echo "blacklist bcma" >> /etc/modprobe.d/blacklist.conf
echo "blacklist brcmsmac" >> /etc/modprobe.d/blacklist.conf
echo "blacklist wl" >> /etc/modprobe.d/blacklist.conf

你可能感兴趣的:(linux,网卡,Gentoo,博通)