arch安裝完成之后不能使用筆記本自帶的無線網卡


問題描述如下

我筆記本的wifi網卡識別不了,不知道為什么??
使用ifconfig -a 只列出了有線網卡以及外接的無線網卡如下
enp4s0f1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 38:2c:4a:32:3e:b9  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

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 40  bytes 2000 (1.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 40  bytes 2000 (1.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp0s20u1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.229  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::2e0:4cff:fe9d:d82d  prefixlen 64  scopeid 0x20<link>
        ether 00:e0:4c:9d:d8:2d  txqueuelen 1000  (Ethernet)
        RX packets 158237  bytes 143296898 (136.6 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 157438  bytes 27402578 (26.1 MiB)
筆記本自帶的無線玩卡找不到
使用lspci則可以看到筆記本自帶的無線網卡如下
03:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5287 (rev 01)
04:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
這個就是啦03:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)

我按照wiki來
https://wiki.archlinux.org/index.php/Ne … 5.E5.8F.A3

他說lspci -v

執行后找到我的bcm網卡的相關信息如下
03:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)
    Subsystem: Lite-On Communications Inc Device 6605
    Flags: bus master, fast devsel, latency 0, IRQ 18
    Memory at f7900000 (64-bit, non-prefetchable) [size=32K]
    Capabilities: <access denied>
    Kernel driver in use: bcma-pci-bridge
    Kernel modules: bcma
然后他說接下來, 用 dmesg | grep module_name 來檢查是否已經加載了驅動
我不知道bcma-pci-bridge bcma這兩個哪一個是module_name ,於是我兩個都嘗試了如下
dmesg | grep bcma-pci-bridge 什么都沒有
dmesg | grep bcma 如下
[    5.908662] bcma: bus0: Found chip with id 43142, rev 0x01 and package 0x08
[    5.908690] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x28, class 0x0)
[    5.908712] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x21, class 0x0)
[    5.908755] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x16, class 0x0)
[    5.908807] bcma: bus0: Core 3 found: UNKNOWN (manuf 0x43B, id 0x368, rev 0x00, class 0x0)
[    5.922433] bcma: bus0: Bus registered

之后他說
加載設備模塊
用 Google 查找芯片組需要的模塊/驅動。常見的驅動模塊有用於 Realtek 芯片組網卡的 8139too,或者用於 Sis 芯片組網卡的 sis900。知道要使用什么模塊之后,嘗試 手動加載它。如果你碰到了未找到模塊的錯誤,可能驅動沒有包括在 Arch 的內核中。你可以在 AUR 中搜索模塊名稱。
到這一步我就不明白了,我該如何知道我的網卡是什么芯片組呢?我有該如何查找芯片組需要的模塊呢??

問題解決

需要這個包: broadcom-wl-dkms
archlinuxcn和AUR里面都有
裝完重啟即可,如果wl模塊沒有被自動加載的話,手動敲一下: modprobe wl
Archwiki參考頁面: https://wiki.archlinux.org/index.php/Broadcom_wireless

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM