cenos Broadcom 网卡型号 无线驱动安装

设备型号:DELL V2420

Broadcom 网卡型号:BCM43142

lspci|grep Broadcom

07:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)

centos_logo

1.确定自己的网卡驱动

https://lug.ustc.edu.cn/sites/opensuse-guide/wlan.php

http://www.broadcom.com/support/802.11/linux_sta.php

下载网卡驱动:hybrid-v35_64-nodebug-pcoem-6_30_223_141.tar.gz

2.解压编译网卡驱动:

解压出目录lib src和 Makefile文件,执行:

make

这样会编译报错:

/home/xxx/packages/driver/src/wl/sys/wl_cfg80211_hybrid.c:2122: error: too few arguments to function ‘cfg80211_roamed’

make[2]: *** [/home/xxx/packages/driver/src/wl/sys/wl_cfg80211_hybrid.o] Error 1

make[1]: *** [_module_/home/xxx/packages/driver] Error 2

make[1]: Leaving directory `/usr/src/kernels/2.6.32-431.el6.x86_64′

make: *** [all] Error 2

注意:添加编译参数 make API=WEXT

OK!

make API=WEXT

CC /home/xxx/packages/driver/wl.mod.o

LD [M] /home/xxx/packages/driver/wl.ko.unsigned

NO SIGN [M] /home/xxx/packages/driver/wl.ko

make[1]: Leaving directory `/usr/src/kernels/2.6.32-431.el6.x86_64′

3.安装

# make install

install -D -m 755 wl.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless

4.加载新的驱动程序

# modprobe lib80211

# insmod wl.ko

5.重新启动网络服务

# service network restart

Shutting down interface p5p1: Device state: 3 (disconnected)

[ OK ]

Shutting down loopback interface: [ OK ]

Bringing up loopback interface: [ OK ]

参考来源,从这里看到编译参数,谢谢!:http://weiruoyu.blog.51cto.com/951650/1193257


你可能感兴趣的:(cenos Broadcom 网卡型号 无线驱动安装)