码迷,mamicode.com
首页 > 其他好文 > 详细

Debian ABC --- 1st time ---5

时间:2020-03-15 09:58:54      阅读:66      评论:0      收藏:0      [点我收藏+]

标签:actually   style   ports   debian   less   https   ==   image   rop   

linkage

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

标签:actually   style   ports   debian   less   https   ==   image   rop   

原文地址:https://www.cnblogs.com/winditsway/p/12495834.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!