Linux

brcmsmac 不工作

  • November 6, 2016

我正在嘗試在Slax Linux中啟用我的無線介面,到目前為止,我知道我需要的驅動程序是brcmsmac,因為我有一張 Broadcom 卡;這在Slackware中工作。

驅動程序可用並且在我載入它時不顯示任何錯誤:

# modprobe brcmsmac

但是沒有載入新的界面。

這是我試過的:

# lspci | grep Network

03:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)

# ifconfig -a

eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
       ether e8:11:32:5f:ff:5e  txqueuelen 1000  (Ethernet)
       RX packets 0  bytes 0 (0.0 B)
       RX errors 0  dropped 0  overruns 0  frame 0
       TX packets 0  bytes 0 (0.0 B)
       TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
       device interrupt 41  base 0xc000  

lo: flags=8<LOOPBACK>  mtu 16436
       loop  txqueuelen 0  (Local Loopback)
       RX packets 0  bytes 0 (0.0 B)
       RX errors 0  dropped 0  overruns 0  frame 0
       TX packets 0  bytes 0 (0.0 B)
       TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

有什麼建議麼?

對不起@slm,這是 dmesg 輸出

# dmesg | grep brcmsmac

brcmsmac bcma0:0: mfg 4bf core 812 rev 24 class 0 irq 16
ieee80211 phy0: brcmsmac: fail to load firmware brcm/bcm43xx-0.fw
ieee80211 phy0: brcmsmac: Failed to find firmware usually in /lib/firmware/brcm
brcmsmac: brcms_bcma_probe: brcms_attach failed!

鑑於dmesg我建議從Broadcom 站點下載韌體的輸出。查看該連結,有關於如何下載和安裝dmesg錯誤消息提到的韌體的非常詳細的說明。

一般步驟

**1.**下載韌體文件: http: //git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git

**2.**複製到brcm/bcm43xx-0.fw_brcm/bcm43xx_hdr-0.fw``/lib/firmware/brcm

**3.**使用系統中安裝的 nvram 文件並將其複製到/lib/firmware/brcm/brcmfmac-sdio.txt韌體可以在 linux-firmware 儲存庫中找到。

筆記:

For 4329: cp brcm/brcmfmac4329.bin /lib/firmware/brcm/brcmfmac-sdio.bin
For 4330: cp brcm/brcmfmac4330.bin /lib/firmware/brcm/brcmfmac-sdio.bin

**4.**執行 modprobe brcmsmac(或類似的東西)

我可能會遺漏一些步驟,但它會沿著這些方向發展。再次參考我上面提到的 Broadcom 連結以獲取更多詳細資訊。

引用自:https://unix.stackexchange.com/questions/71517