debian BCM 43142无线驱动安装,debianbcm43142
debian BCM 43142无线驱动安装,debianbcm43142
debian BCM 43142无线驱动安装
最近安装 debian 9.3 ,进入系统没有无线网卡驱动。综合网上的一些观点,最后得到:
1.*维基百科 wl debian
Installation
Add a “non-free” component to /etc/apt/sources.list for your Debian version, for example:
Debian 9 “Stretch”
deb http://httpredir.debian.org/debian/ stretch main contrib non-free
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.
Unload conflicting modules:
#modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
Load the wl module:
#modprobe wl
Configure your wireless interface as appropriate. See also known issues.
2.根据上面
首先添加 source.list
终端 # su 进入root权限
sudo gedit /etc/apt/sources.list (安装debian 选择goname,kde下没有gedit,其他桌面环境不知道,自行尝试)
打开sources.list
屏蔽安装光盘源,在默认源前加上#,否则无法获取其他源
deb cdrom:[Debian GNU/Linux 6.0.4 _Squeeze_ - Official i386 DVD Binary-1 20120128-12:53]/ squeeze contrib main 加上#
添加 debian源
# Debian 9 "Stretch"
deb http://httpredir.debian.org/debian/ stretch main contrib non-free
保存退出
执行更新
apt-get update
获取所需文件 ,有几个,
apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
如果出现丢失
无法下载 http://cdn-fastly.deb.debian.org/debian/pool/main/g/gcc-6/liblsan0_6.3.0-18_amd64.deb Hash 校验和不符
Hashes of expected file:
- SHA256:b55b6a980b37e4cc06a00e7dde551643874521dbebf0d476030ed9016c51bb68
- MD5Sum:f2b30463e5e67fdf6bbf57f7c6b492d4 [weak]
- Filesize:115336 [weak]
Hashes of received file:
- SHA256:43e3a4f388b03a00e0bf59441ccf5e59df986c9cb2b46587f2eb34dd422345c3
- MD5Sum:2fb4bf19b841e9415820f13bd052d786 [weak]
- Filesize:115336 [weak]
Last modification reported: Wed, 17 May 2017 00:27:39 +0000
E: 有几个软件包无法下载,要不运行 apt-get update 或者加上 - –fix-missing 的选项再试试?
按指示加上 - –fix-missing
apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms --fix-missing
系统自动配置 之后执行
#modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
#modprobe wl
重启生效
评论暂时关闭