BCM4311 802.11b/g WLAN在ubuntu的wifi驅動程式

  1. BCM4311 802.11b/g WLAN在ubuntu的wifi驅動程式
    1. 確定狀況
    2. 修改黑名單
    3. 參考資料

BCM4311 802.11b/g WLAN在ubuntu的wifi驅動程式

原文連結: https://darkblack02.blogspot.com/2017/03/bcm4311-80211bg-wlanubuntuwifi.html
移植時的最後更新日期: 2017-03-28T09:34:23.563+08:00

確定狀況


查看系統是否有抓到硬體
chris@PC:~$ lspci | egrep -i --color 'network'
01:00.0 Network controller: Broadcom Limited BCM4311 802.11b/g WLAN (rev 02)
查看驅動程式是否有掛載到作業系統
chris@PC:~$ ifconfig
enp2s1 Link encap:Ethernet HWaddr 00:1b:38:7d:6d:e6
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:12820 errors:0 dropped:0 overruns:0 frame:0
TX packets:12820 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:774034 (774.0 KB) TX bytes:774034 (774.0 KB)

wlan0 Link encap:Ethernet HWaddr 00:1a:73:a0:f6:c4
inet addr:192.168.1.161 Bcast:192.168.255.255 Mask:255.255.0.0
inet6 addr: fe80::8546:8bc7:577e:2335/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:98291 errors:0 dropped:0 overruns:0 frame:0
TX packets:62001 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:121203120 (121.2 MB) TX bytes:8113622 (8.1 MB)

chris@PC:~$ dmesg | grep -i wlan
[ 4.717018] b43-phy0: Broadcom 4311 WLAN found (core revision 13)
[ 7.304806] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 7.620205] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 7.764358] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 84.881271] wlan0: authenticate with a0:e4:cb:82:0f:e6
[ 84.904321] wlan0: send auth to a0:e4:cb:82:0f:e6 (try 1/3)
[ 84.908153] wlan0: authenticated
[ 84.912173] wlan0: associate with a0:e4:cb:82:0f:e6 (try 1/3)
[ 84.916469] wlan0: RX AssocResp from a0:e4:cb:82:0f:e6 (capab=0x31 status=0 aid=5)
[ 84.916969] wlan0: associated
[ 84.917041] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
確認是否有"blacklist bcm43xx"[1]
chris@PC:~$ cat /etc/modprobe.d/* | egrep 'bcm' 
# blacklist bcm43xx
實際執行結果 出現 blacklist bcm43xx 表示 所有的 bcm43 開頭的 驅動模組 都被設定爲 阻擋載入

修改黑名單


編輯 /etc/modprobe.d/blacklist.conf
chris@PC:~$ sudo vim /etc/modprobe.d/blacklist.conf

blacklist bcm43xx
改爲
# blacklist bcm43xx