我正在尝试启用我的无线接口松拉Linux,到目前为止,我知道我需要的驱动程序是brcmsmac
,因为我有一张 Broadcom 卡;这工作在斯莱克软件。
该驱动程序可用,并且当我加载它时没有显示任何错误:
# 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!
答案1
鉴于输出,dmesg
我建议从下载固件博通网站。查看该链接,其中有关于如何下载和安装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 链接以获取更多详细信息。