安装好系统后,发现内置的无线网卡不能使用,查询一些资料后发现时驱动的问题。
无线网提示[设备未就绪(缺少固件)]
闲话少说开始干事:
在Broadcom官网驱动下载并编译安装(需要安装方法说明,看官网或者继续,请自便)
网址: http://www.broadcom.com/support/802.11/linux_sta.php
我下载的是32位的,这个根据自己电脑,请自便,关键注意: 一定要先安装 ‘kernel-devel‘ ,这个可以从安装盘上能找到,或者直接yum安装上,具体怎么装,自己想办法,这里不详细说明了。1 |
$ sudo rmmod b43 |
2 |
$ sudo rmmod ssb |
3 |
$ sudo rmmod wl |
1 |
$ echo "blacklist ssb"
>> /etc/modprobe.d/blacklist |
2 |
$ echo "blacklist b43"
>> /etc/modprobe.d/blacklist |
3. 编译安装
01 |
$ pwd |
02 |
下载 |
03 |
04 |
$ ls |
05 |
hybrid-portsrc-x86_32-v5.10.91.9.3. tar .gz |
06 |
$ mkdir hybrid |
07 |
$ tar xf hybrid-portsrc-x86_32-v5.10.91.9.3. tar .gz -C hybrid |
08 |
$ cd hybrid/ |
09 |
$ ls |
10 |
Makefile lib src |
11 |
12 |
$ make |
13 |
KBUILD_NOPEDANTIC=1 make -C /lib/modules/` uname
-r`/build M=` pwd ` |
14 |
make [1]: Entering directory `/usr/src/linux-headers-2.6.26-2-686‘ |
15 |
LD /home/c-aries/download/bcm4312/hybrid/built- in .o |
16 |
CC [M] /home/c-aries/download/bcm4312/hybrid/src/wl/sys/wl_linux.o |
17 |
CC [M] /home/c-aries/download/bcm4312/hybrid/src/wl/sys/wl_iw.o |
18 |
CC [M] /home/c-aries/download/bcm4312/hybrid/src/shared/linux_osl.o |
19 |
LD [M] /home/c-aries/download/bcm4312/hybrid/wl.o |
20 |
Building modules, stage 2. |
21 |
MODPOST 1 modules |
22 |
WARNING: modpost: missing MODULE_LICENSE() in
/home/c-aries/download/bcm4312/hybrid/wl.o |
23 |
see include/linux/module.h for more
information |
24 |
CC /home/c-aries/download/bcm4312/hybrid/wl.mod.o |
25 |
LD [M] /home/c-aries/download/bcm4312/hybrid/wl.ko |
26 |
make [1]: Leaving directory `/usr/src/linux-headers-2.6.26-2-686‘ |
27 |
28 |
$ uname -r |
29 |
2.6.35.11-83.fc14.i686(这个是版本号,下边的路径会用到,也是根据自己系统) |
30 |
31 |
$ sudo cp
-rf wl.ko /lib/modules/2.6.35.11-83.fc14.i686/kernel/drivers/net/wireless |
32 |
$ sudo depmod |
33 |
$ sudo modprobe wl |
1 |
$ lsmod | grep wl |
2 |
wl 2631379 0 |
3 |
lib80211 4107 2 lib80211_crypt_tkip,wl |
4 |
// bios设置无线可用,打开无线开关 |
5 |
6 |
$ sudo iwconfig |
原文地址:http://blog.csdn.net/bullettrain1433/article/details/30551017