一直在用 Fedora 系列的 Linux, 但是它自带的无线网卡驱动似乎有些问题,经常是有时能连接上有时就不能。还经常搜索不到家里的无线路由器。因为家里有网线所以也就一直没在意。这两天在家里没什么事就折腾了一下,总算把无线网卡驱动搞定了。
首先要确定无线网卡的型号, lspci 命令就可以,输出结果有如下一行。
03:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)
首先去 Broadcom 官网找驱动。
http://www.broadcom.com/support/802.11/linux_sta.php
http://www.broadcom.com/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-6_30_223_248.tar.gz
按照网站上的说明开始编译。结果报出各种错误,真是无语,懒得去改源代码,只能去想其他办法。也许fedora 20 的源里已经有编译好的包。
yum search broadcom
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* fedora: mirrors.yun-idc.com
* rpmfusion-free: mirror.bjtu.edu.cn
* rpmfusion-free-updates: mirror.bjtu.edu.cn
* rpmfusion-nonfree: mirror.bjtu.edu.cn
* rpmfusion-nonfree-updates: mirror.bjtu.edu.cn
* updates: ftp.sjtu.edu.cn
=============================================================== N/S matched: Broadcom ================================================================
b43-fwcutter.x86_64 : Firmware extraction tool for Broadcom wireless driver
b43-openfwwf.noarch : Open firmware for some Broadcom 43xx series WLAN chips
b43-tools.x86_64 : Tools for the Broadcom 43xx series WLAN chip
bcm43xx-fwcutter.x86_64 : Firmware extraction tool for Broadcom wireless driver
broadcom-wl.noarch : Common files for Broadcom 802.11 STA driver
crystalhd-firmware.noarch : Firmware for the Broadcom Crystal HD video decoder
libcrystalhd.i686 : Broadcom Crystal HD device interface library
libcrystalhd.x86_64 : Broadcom Crystal HD device interface library
里面还真有个 broadcom-wl.noarch : Common files for Broadcom 802.11 STA driver
安装一下试试,装完后重启电脑,无线网卡上网一切正常了。
看来遇到驱动问题首先应该求助于 yum,能节省很多瞎折腾的时间。
首先要确定无线网卡的型号, lspci 命令就可以,输出结果有如下一行。
03:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)
首先去 Broadcom 官网找驱动。
http://www.broadcom.com/support/802.11/linux_sta.php
http://www.broadcom.com/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-6_30_223_248.tar.gz
按照网站上的说明开始编译。结果报出各种错误,真是无语,懒得去改源代码,只能去想其他办法。也许fedora 20 的源里已经有编译好的包。
yum search broadcom
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* fedora: mirrors.yun-idc.com
* rpmfusion-free: mirror.bjtu.edu.cn
* rpmfusion-free-updates: mirror.bjtu.edu.cn
* rpmfusion-nonfree: mirror.bjtu.edu.cn
* rpmfusion-nonfree-updates: mirror.bjtu.edu.cn
* updates: ftp.sjtu.edu.cn
=============================================================== N/S matched: Broadcom ================================================================
b43-fwcutter.x86_64 : Firmware extraction tool for Broadcom wireless driver
b43-openfwwf.noarch : Open firmware for some Broadcom 43xx series WLAN chips
b43-tools.x86_64 : Tools for the Broadcom 43xx series WLAN chip
bcm43xx-fwcutter.x86_64 : Firmware extraction tool for Broadcom wireless driver
broadcom-wl.noarch : Common files for Broadcom 802.11 STA driver
crystalhd-firmware.noarch : Firmware for the Broadcom Crystal HD video decoder
libcrystalhd.i686 : Broadcom Crystal HD device interface library
libcrystalhd.x86_64 : Broadcom Crystal HD device interface library
里面还真有个 broadcom-wl.noarch : Common files for Broadcom 802.11 STA driver
安装一下试试,装完后重启电脑,无线网卡上网一切正常了。
看来遇到驱动问题首先应该求助于 yum,能节省很多瞎折腾的时间。