yinxiuqu / yinxiuqu.github.io

我的博客源代码
https://yinxiuqu.github.io/
1 stars 0 forks source link

Debian系统安装BCM43142系列的老无线网卡驱动 #23

Open yinxiuqu opened 2 weeks ago

yinxiuqu commented 2 weeks ago

原文地址:https://wiki.debian.org/wl#issues

  1. Add a "non-free" component to /etc/apt/sources.list for your Debian version, for example:

# Debian 9 "Stretch" deb http://deb.debian.org/debian stretch-backports main contrib non-free

# Debian 10 "Buster" deb http://deb.debian.org/debian buster-backports main contrib non-free

# Debian 11 "Bullseye" deb http://deb.debian.org/debian bullseye main contrib non-free

# Debian 12 "Bookworm" deb http://deb.debian.org/debian bookworm main contrib non-free-firmware non-free

  1. Update the list of available packages. Install the relevant/latest linux-image, linux-headers and broadcom-sta-dkms packages:

# apt-get update # apt-get install linux-image-$(uname -r|sed 's,[^-]-[^-]-,,') linux-headers-$(uname -r|sed 's,[^-]-[^-]-,,') broadcom-sta-dkms

This will also install the recommended wireless-tools package. DKMS will build the wl module for your system.

  1. (Optional) Rescue if install/build fails in previous step

# apt-get install -f # dpkg-reconfigure broadcom-sta-dkms

  1. (Optional) Check all the built DKMS kernel modules. There should be "wl.ko" in the list.

# find /lib/modules/$(uname -r)/updates

  1. Unload conflicting modules:

# modprobe -r b44 b43 b43legacy ssb brcmsmac bcma

  1. Load the wl module:

# modprobe wl

  1. Configure your wireless interface as appropriate.