Debian ABC --- 1st time ---5
Posted winditsway
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Debian ABC --- 1st time ---5相关的知识,希望对你有一定的参考价值。
Installation
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
2. 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.
3. Unload conflicting modules:
# sudo modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
4. Load the wl module:
#sudo modprobe wl
5. Configure your wireless interface as appropriate. See also known issues. (actually after this step, I can see the wireless icon)
I don‘t what below steps for
=================================================================================
Switch between wl/OSS drivers
shell script:
#!/bin/sh ip link set wlp2s0 down >/dev/null 2>&1 ip link set wlp2s0b1 down >/dev/null 2>&1 modprobe -r wl brcmsmac modprobe -r cfg80211 brcmsmac cordic brcmutil bcma if [ "$1" = "wl" ]; then modprobe wl else modprobe brcmsmac fi
以上是关于Debian ABC --- 1st time ---5的主要内容,如果未能解决你的问题,请参考以下文章
158. Read N Characters Given Read4 II - Call multiple times