zoukankan      html  css  js  c++  java
  • 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
  • 相关阅读:
    HDU 2188.悼念512汶川大地震遇难同胞——选拔志愿者-巴什博奕
    hdu 4217 Data Structure? 树状数组求第K小
    hdu 5137 How Many Maos Does the Guanxi Worth 最短路 spfa
    Codeforces Round #375 (Div. 2) C. Polycarp at the Radio 贪心
    Codeforces Round #375 (Div. 2) D. Lakes in Berland dfs
    hiho 1325 : 平衡树·Treap
    bzoj 2656 [Zjoi2012]数列(sequence) 递推+高精度
    Intel Code Challenge Elimination Round (Div.1 + Div.2, combined) C. Destroying Array
    Intel Code Challenge Elimination Round (Div.1 + Div.2, combined) D. Generating Sets 贪心+优先队列
    Codeforces Round #374 (Div. 2) A , B , C 水,水,拓扑dp
  • 原文地址:https://www.cnblogs.com/reddusty/p/5104036.html
Copyright © 2011-2022 走看看