首先安装无线网卡驱动
查看无线网卡设备型号:
输入命令:$ lspci -v
找到终端以下信息:
03:00.0 Network controller: Broadcom Corporation BCM43225 802.11b/g/n (rev 01)
Subsystem: Foxconn International, Inc. Device e021
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at 9a400000 (64-bit, non-prefetchable) [size=16K]
Capabilities:
Broadcom Corporation BCM43225就是无线网卡的型号。
在Broadcom官网(http://www.broadcom.com/support/802.11/linux_sta.php)下载驱动并编译安装(根据自己的系统去选择32位还是64位)
安装步骤:
(1) 卸载冲突模块
输入命令:
$ sudo rmmod b43
$ sudo rmmod ssb
$ sudo rmmod wl
(2)屏蔽冲突模块
输入命令:
$ echo
"blacklist ssb"
>> /etc/modprobe.d/blacklist
$ echo
"blacklist b43"
>> /etc/modprobe.d/blacklist
(3)编译安装
切换到下载(找到刚才下载的驱动文件)目录:cd 下载
输入命令(把驱动文件解压到指定的目录):$ tar
xf
hybrid-portsrc_x86_64-v5_100_82_38.tar.gz -C ../apps/wlan_drive/
输入命令:
$ cd ../apps/wlan_drive
$ make
$ uname -r
终端将输出:2.6.35.6-45.fc14.x86_64
$
sudo
cp
-rf wl.ko /lib/modules/2.6.35.6-45.fc14.x86_64/kernel/drivers/net/wireless
$ sudo depmod
$ sudo modprobe wl
现在检验以下驱动是否安装成功:
输入:[zhoujh@alexzhou ~]$ lsmod | grep wl
wl 2555141 0
lib80211 5095 2 lib80211_crypt_tkip,wl
此时输入:lspci -v
终端将会输出:
03:00.0 Network controller: Broadcom Corporation BCM43225 802.11b/g/n (rev 01)
Subsystem: Foxconn International, Inc. Device e021
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at 9a400000 (64-bit, non-prefetchable) [size=16K]
Capabilities:
Kernel driver in use: wl
Kernel modules: wl
OK,现在你将看到你的本本无线信号的灯亮啦~~~