1. 程式人生 > 實用技巧 >cenos Broadcom 網絡卡型號 無線驅動安裝

cenos Broadcom 網絡卡型號 無線驅動安裝

>>> hot3.png

裝置型號:DELL V2420

Broadcom網絡卡型號:BCM43142

lspci|grep Broadcom

07:00.0 Network controller:Broadcom Corporation BCM43142802.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 srcMakefile檔案,執行:

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


轉載於:https://my.oschina.net/phacks/blog/335343