for the first time, I know my debian is strench;
how to check you debian version:
cor@MiWiFi-R3-srv:~$ sudo lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 9.7 (stretch) Release: 9.7 Codename: stretch
this is found, when I am trying to modify the source list under "/etc/apt/sources.list"
#referring linkage
# location: /etc/apt/sources.list
-> modify
sudo apt install apt-transport-https
->
sudo apt-get updat
--># 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.
cor@MiWiFi-R3-srv:~$ sudo apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: binutils firmware-linux-free gcc-6 irqbalance libasan3 libc-dev-bin libc6 libc6-dev libcc1-0 libgcc-6-dev libmpx2 linux-compiler-gcc-6-x86 linux-headers-4.9.0-12-amd64 linux-headers-4.9.0-12-common linux-image-4.9.0-12-amd64 linux-kbuild-4.9 linux-libc-dev manpages-dev Suggested packages: binutils-doc gcc-6-multilib gcc-6-doc gcc-6-locales libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan3-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg glibc-doc linux-doc-4.9 debian-kernel-handbook The following NEW packages will be installed: firmware-linux-free gcc-6 irqbalance libasan3 libc-dev-bin libc6-dev libcc1-0 libgcc-6-dev libmpx2 linux-compiler-gcc-6-x86 linux-headers-4.9.0-12-amd64 linux-headers-4.9.0-12-common linux-headers-amd64 linux-image-4.9.0-12-amd64 linux-kbuild-4.9 linux-libc-dev manpages-dev The following packages will be upgraded: binutils broadcom-sta-dkms libc6 linux-image-amd64 4 upgraded, 17 newly installed, 0 to remove and 118 not upgraded. Need to get 73.6 MB of archives. After this operation, 314 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 libc6 amd64 2.24-11+deb9u4 [2,694 kB] Get:2 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 binutils amd64 2.28-5 [3,770 kB] Get:3 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/non-free amd64 broadcom-sta-dkms all 6.30.223.271-5 [2,211 kB] Get:4 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 firmware-linux-free all 3.4 [19.2 kB] Get:5 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 libcc1-0 amd64 6.3.0-18+deb9u1 [30.6 kB] Get:6 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 libasan3 amd64 6.3.0-18+deb9u1 [311 kB] Get:7 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 libmpx2 amd64 6.3.0-18+deb9u1 [11.2 kB] Get:8 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 libgcc-6-dev amd64 6.3.0-18+deb9u1 [2,296 kB] Get:9 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 gcc-6 amd64 6.3.0-18+deb9u1 [6,900 kB] Get:10 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 libc-dev-bin amd64 2.24-11+deb9u4 [259 kB] Get:11 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 linux-libc-dev amd64 4.9.210-1 [1,481 kB] Get:12 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 libc6-dev amd64 2.24-11+deb9u4 [2,364 kB] Get:13 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 linux-compiler-gcc-6-x86 amd64 4.9.210-1 [688 kB] Get:14 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 linux-headers-4.9.0-12-common all 4.9.210-1 [7,741 kB] Get:15 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 linux-kbuild-4.9 amd64 4.9.210-1 [896 kB] Get:16 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 linux-headers-4.9.0-12-amd64 amd64 4.9.210-1 [450 kB] Get:17 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 linux-headers-amd64 amd64 4.9+80+deb9u10 [6,106 B] Get:18 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 linux-image-4.9.0-12-amd64 amd64 4.9.210-1 [39.3 MB] Get:19 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 linux-image-amd64 amd64 4.9+80+deb9u10 [7,158 B] Get:20 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 manpages-dev all 4.10-2 [2,145 kB] Get:21 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 irqbalance amd64 1.1.0-2.3 [40.4 kB] Fetched 73.6 MB in 23s (3,179 kB/s) Reading changelogs... Done Preconfiguring packages ... (Reading database ... 130820 files and directories currently installed.) Preparing to unpack .../libc6_2.24-11+deb9u4_amd64.deb ... Unpacking libc6:amd64 (2.24-11+deb9u4) over (2.24-11+deb9u3) ... Setting up libc6:amd64 (2.24-11+deb9u4) ... (Reading database ... 130820 files and directories currently installed.) Preparing to unpack .../00-binutils_2.28-5_amd64.deb ... Unpacking binutils (2.28-5) over (2.25-5+deb8u1) ... Preparing to unpack .../01-broadcom-sta-dkms_6.30.223.271-5_all.deb ... ------------------------------ Deleting module version: 6.30.223.248 completely from the DKMS tree. ------------------------------ Done. Unpacking broadcom-sta-dkms (6.30.223.271-5) over (6.30.223.248-3) ... Selecting previously unselected package firmware-linux-free. Preparing to unpack .../02-firmware-linux-free_3.4_all.deb ... Unpacking firmware-linux-free (3.4) ... Selecting previously unselected package libcc1-0:amd64. Preparing to unpack .../03-libcc1-0_6.3.0-18+deb9u1_amd64.deb ... Unpacking libcc1-0:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libasan3:amd64. Preparing to unpack .../04-libasan3_6.3.0-18+deb9u1_amd64.deb ... Unpacking libasan3:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libmpx2:amd64. Preparing to unpack .../05-libmpx2_6.3.0-18+deb9u1_amd64.deb ... Unpacking libmpx2:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libgcc-6-dev:amd64. Preparing to unpack .../06-libgcc-6-dev_6.3.0-18+deb9u1_amd64.deb ... Unpacking libgcc-6-dev:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package gcc-6. Preparing to unpack .../07-gcc-6_6.3.0-18+deb9u1_amd64.deb ... Unpacking gcc-6 (6.3.0-18+deb9u1) ... Selecting previously unselected package libc-dev-bin. Preparing to unpack .../08-libc-dev-bin_2.24-11+deb9u4_amd64.deb ... Unpacking libc-dev-bin (2.24-11+deb9u4) ... Selecting previously unselected package linux-libc-dev:amd64. Preparing to unpack .../09-linux-libc-dev_4.9.210-1_amd64.deb ... Unpacking linux-libc-dev:amd64 (4.9.210-1) ... Selecting previously unselected package libc6-dev:amd64. Preparing to unpack .../10-libc6-dev_2.24-11+deb9u4_amd64.deb ... Unpacking libc6-dev:amd64 (2.24-11+deb9u4) ... Selecting previously unselected package linux-compiler-gcc-6-x86. Preparing to unpack .../11-linux-compiler-gcc-6-x86_4.9.210-1_amd64.deb ... Unpacking linux-compiler-gcc-6-x86 (4.9.210-1) ... Selecting previously unselected package linux-headers-4.9.0-12-common. Preparing to unpack .../12-linux-headers-4.9.0-12-common_4.9.210-1_all.deb ... Unpacking linux-headers-4.9.0-12-common (4.9.210-1) ... Selecting previously unselected package linux-kbuild-4.9. Preparing to unpack .../13-linux-kbuild-4.9_4.9.210-1_amd64.deb ... Unpacking linux-kbuild-4.9 (4.9.210-1) ... Selecting previously unselected package linux-headers-4.9.0-12-amd64. Preparing to unpack .../14-linux-headers-4.9.0-12-amd64_4.9.210-1_amd64.deb ... Unpacking linux-headers-4.9.0-12-amd64 (4.9.210-1) ... Selecting previously unselected package linux-headers-amd64. Preparing to unpack .../15-linux-headers-amd64_4.9+80+deb9u10_amd64.deb ... Unpacking linux-headers-amd64 (4.9+80+deb9u10) ... Selecting previously unselected package linux-image-4.9.0-12-amd64. Preparing to unpack .../16-linux-image-4.9.0-12-amd64_4.9.210-1_amd64.deb ... Unpacking linux-image-4.9.0-12-amd64 (4.9.210-1) ... Preparing to unpack .../17-linux-image-amd64_4.9+80+deb9u10_amd64.deb ... Unpacking linux-image-amd64 (4.9+80+deb9u10) over (4.9+80+deb9u6) ... Selecting previously unselected package manpages-dev. Preparing to unpack .../18-manpages-dev_4.10-2_all.deb ... Unpacking manpages-dev (4.10-2) ... Selecting previously unselected package irqbalance. Preparing to unpack .../19-irqbalance_1.1.0-2.3_amd64.deb ... Unpacking irqbalance (1.1.0-2.3) ... Setting up libcc1-0:amd64 (6.3.0-18+deb9u1) ... Setting up libasan3:amd64 (6.3.0-18+deb9u1) ... Setting up linux-image-4.9.0-12-amd64 (4.9.210-1) ... I: /vmlinuz is now a symlink to boot/vmlinuz-4.9.0-12-amd64 I: /initrd.img is now a symlink to boot/initrd.img-4.9.0-12-amd64 /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-4.9.0-12-amd64 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-3.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8402-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8105e-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-3.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module r8169 /etc/kernel/postinst.d/zz-update-grub: Generating grub configuration file ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-4.9.0-12-amd64 Found initrd image: /boot/initrd.img-4.9.0-12-amd64 Found linux image: /boot/vmlinuz-4.9.0-8-amd64 Found initrd image: /boot/initrd.img-4.9.0-8-amd64 Adding boot menu entry for EFI firmware configuration done Setting up broadcom-sta-dkms (6.30.223.271-5) ... Loading new broadcom-sta-6.30.223.271 DKMS files... Building for 4.9.0-8-amd64 and 4.9.0-12-amd64 Module build for the currently running kernel was skipped since the kernel source for this kernel does not seem to be installed. Building initial module for 4.9.0-12-amd64 Done. wl: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/4.9.0-12-amd64/updates/dkms/ depmod.... Backing up initrd.img-4.9.0-12-amd64 to /boot/initrd.img-4.9.0-12-amd64.old-dkms Making new initrd.img-4.9.0-12-amd64 (If next boot fails, revert to initrd.img-4.9.0-12-amd64.old-dkms image) update-initramfs.... DKMS: install completed. Setting up linux-headers-4.9.0-12-common (4.9.210-1) ... Setting up linux-libc-dev:amd64 (4.9.210-1) ... Setting up linux-image-amd64 (4.9+80+deb9u10) ... Setting up libmpx2:amd64 (6.3.0-18+deb9u1) ... Setting up linux-kbuild-4.9 (4.9.210-1) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Processing triggers for systemd (232-25+deb9u11) ... Setting up firmware-linux-free (3.4) ... update-initramfs: deferring update (trigger activated) Processing triggers for man-db (2.7.6.1-2) ... Setting up binutils (2.28-5) ... Setting up libc-dev-bin (2.24-11+deb9u4) ... Setting up manpages-dev (4.10-2) ... Setting up irqbalance (1.1.0-2.3) ... Setting up libc6-dev:amd64 (2.24-11+deb9u4) ... Setting up libgcc-6-dev:amd64 (6.3.0-18+deb9u1) ... Setting up gcc-6 (6.3.0-18+deb9u1) ... Setting up linux-compiler-gcc-6-x86 (4.9.210-1) ... Setting up linux-headers-4.9.0-12-amd64 (4.9.210-1) ... Setting up linux-headers-amd64 (4.9+80+deb9u10) ... Processing triggers for initramfs-tools (0.130) ... update-initramfs: Generating /boot/initrd.img-4.9.0-12-amd64 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-3.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8402-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8105e-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-3.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module r8169 Processing triggers for libc-bin (2.24-11+deb9u3) ... Processing triggers for systemd (232-25+deb9u11) ...
->Unload conflicting modules:
# modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
cor@MiWiFi-R3-srv:~$ modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
bash: modprobe: command not found
--> what's wrong