Help the code block text stand out better by defining the languages. Remove the horizontal lines.

This commit is contained in:
2025-11-21 10:01:18 -07:00
parent e5854a5778
commit 79ae67a4c0

View File

@@ -38,7 +38,7 @@ This article assumes that your system has had the wireless card working on Debia
I have a Macbook Air 7,2 (early 2015, i5) with a BCM4360 [14e4:43a0] and use the `wl` driver. I have a Macbook Air 7,2 (early 2015, i5) with a BCM4360 [14e4:43a0] and use the `wl` driver.
``` ``` console
$ sudo apt list broadcom* $ sudo apt list broadcom*
broadcom-sta-common/stable 6.30.223.271-26 amd64 broadcom-sta-common/stable 6.30.223.271-26 amd64
broadcom-sta-dkms/stable,now 6.30.223.271-26 amd64 [installed] broadcom-sta-dkms/stable,now 6.30.223.271-26 amd64 [installed]
@@ -56,7 +56,7 @@ I'm not sure why this happened, but it was when the kernel version jumped from `
Later versions such as `6.12.48` and `6.12.57` continued to get pulled and I'd try them before having to reboot back to `6.12.41`. While booted into the newer kernel versions `/sbin/iwconfig` would show no wireless network and GNOME didn't have a Wi-Fi button listed in the Settings app nor its system menu. Then I tried this: Later versions such as `6.12.48` and `6.12.57` continued to get pulled and I'd try them before having to reboot back to `6.12.41`. While booted into the newer kernel versions `/sbin/iwconfig` would show no wireless network and GNOME didn't have a Wi-Fi button listed in the Settings app nor its system menu. Then I tried this:
``` ``` console
$ sudo modprobe wl $ sudo modprobe wl
modprobe: FATAL: Module wl not found in directory /lib/modules/6.12.57+deb13-amd64 modprobe: FATAL: Module wl not found in directory /lib/modules/6.12.57+deb13-amd64
``` ```
@@ -67,7 +67,7 @@ After realizing that the `wl` module wasn't being loaded I thought maybe there w
Ubuntu provides the packages `linux-image-generic` and `linux headers-generic`. Debian names them slightly different. Ubuntu provides the packages `linux-image-generic` and `linux headers-generic`. Debian names them slightly different.
``` ``` bash
sudo apt install linux-image-amd64 linux-headers-amd64 --reinstall sudo apt install linux-image-amd64 linux-headers-amd64 --reinstall
``` ```
@@ -90,19 +90,18 @@ Some good troubleshooting commands are below, as well as examples of when I was
### Example -- Missing Kernel Headers (6.12.57) ### Example -- Missing Kernel Headers (6.12.57)
``` ``` console
[user@hostname ~]$ uname -a [user@hostname ~]$ uname -a
Linux debian 6.12.57+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1 (2025-11-05) x86_64 GNU/Linux Linux debian 6.12.57+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1 (2025-11-05) x86_64 GNU/Linux
[user@hostname ~]$ [user@hostname ~]$
``` ```
---
``` ``` console
[user@hostname ~]$ lspci -vnn | grep -i net [user@hostname ~]$ lspci -vnn | grep -i net
03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4360 802.11ac Dual Band Wireless Network Adapter [14e4:43a0] (rev 03) 03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4360 802.11ac Dual Band Wireless Network Adapter [14e4:43a0] (rev 03)
[user@hostname ~]$ [user@hostname ~]$
``` ```
--- ``` console
```
[user@hostname ~]$ /sbin/iwconfig [user@hostname ~]$ /sbin/iwconfig
lo no wireless extensions. lo no wireless extensions.
@@ -110,19 +109,19 @@ docker0 no wireless extensions.
[user@hostname ~]$ [user@hostname ~]$
``` ```
---
``` ``` console
[user@hostname ~]$ lsmod | grep wl [user@hostname ~]$ lsmod | grep wl
[user@hostname ~]$ [user@hostname ~]$
``` ```
---
``` ``` console
[user@hostname ~]$ sudo modprobe wl [user@hostname ~]$ sudo modprobe wl
modprobe: FATAL: Module wl not found in directory /lib/modules/6.12.57+deb13-amd64 modprobe: FATAL: Module wl not found in directory /lib/modules/6.12.57+deb13-amd64
[user@hostname ~]$ [user@hostname ~]$
``` ```
---
``` ``` console
[user@hostname ~]$ sudo apt list broadcom* [user@hostname ~]$ sudo apt list broadcom*
broadcom-sta-common/stable 6.30.223.271-26 amd64 broadcom-sta-common/stable 6.30.223.271-26 amd64
broadcom-sta-dkms/stable,now 6.30.223.271-26 amd64 [installed] broadcom-sta-dkms/stable,now 6.30.223.271-26 amd64 [installed]
@@ -132,19 +131,19 @@ broadcom-sta-source/stable 6.30.223.271-26 amd64
### Example -- Wireless Working Correctly (6.12.41) ### Example -- Wireless Working Correctly (6.12.41)
``` ``` console
[user@hostname ~]$ uname -a [user@hostname ~]$ uname -a
Linux debian 6.12.41+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.41-1 (2025-08-12) x86_64 GNU/Linux Linux debian 6.12.41+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.41-1 (2025-08-12) x86_64 GNU/Linux
[user@hostname ~]$ [user@hostname ~]$
``` ```
---
``` ``` console
[user@hostname ~]$ lspci -vnn | grep -i net [user@hostname ~]$ lspci -vnn | grep -i net
03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4360 802.11ac Dual Band Wireless Network Adapter [14e4:43a0] (rev 03) 03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4360 802.11ac Dual Band Wireless Network Adapter [14e4:43a0] (rev 03)
[user@hostname ~]$ [user@hostname ~]$
``` ```
---
``` ``` console
[user@hostname ~]$ /sbin/iwconfig [user@hostname ~]$ /sbin/iwconfig
lo no wireless extensions. lo no wireless extensions.
@@ -159,15 +158,15 @@ docker0 no wireless extensions.
[user@hostname ~]$ [user@hostname ~]$
``` ```
---
``` ``` console
[user@hostname ~]$ lsmod | grep wl | sort [user@hostname ~]$ lsmod | grep wl | sort
cfg80211 1392640 1 wl cfg80211 1392640 1 wl
wl 6459392 0 wl 6459392 0
[user@hostname ~]$ [user@hostname ~]$
``` ```
---
``` ``` console
[user@hostname ~]$ sudo modprobe wl [user@hostname ~]$ sudo modprobe wl
[user@hostname ~]$ [user@hostname ~]$
``` ```
@@ -175,19 +174,19 @@ wl 6459392 0
### Example -- Wireless Working Correctly (6.12.57) ### Example -- Wireless Working Correctly (6.12.57)
``` ``` console
[user@hostname ~]$ uname -a [user@hostname ~]$ uname -a
Linux debian 6.12.57+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1 (2025-11-05) x86_64 GNU/Linux Linux debian 6.12.57+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1 (2025-11-05) x86_64 GNU/Linux
[user@hostname ~]$ [user@hostname ~]$
``` ```
---
``` ``` console
[user@hostname ~]$ lspci -vnn | grep -i net [user@hostname ~]$ lspci -vnn | grep -i net
03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4360 802.11ac Dual Band Wireless Network Adapter [14e4:43a0] (rev 03) 03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4360 802.11ac Dual Band Wireless Network Adapter [14e4:43a0] (rev 03)
[user@hostname ~]$ [user@hostname ~]$
``` ```
---
``` ``` console
[user@hostname ~]$ /sbin/iwconfig [user@hostname ~]$ /sbin/iwconfig
lo no wireless extensions. lo no wireless extensions.
@@ -202,15 +201,15 @@ docker0 no wireless extensions.
[user@hostname ~]$ [user@hostname ~]$
``` ```
---
``` ``` console
[user@hostname ~]$ lsmod | grep wl | sort [user@hostname ~]$ lsmod | grep wl | sort
cfg80211 1392640 1 wl cfg80211 1392640 1 wl
wl 6459392 0 wl 6459392 0
[user@hostname ~]$ [user@hostname ~]$
``` ```
---
``` ``` console
[user@hostname ~]$ sudo modprobe wl [user@hostname ~]$ sudo modprobe wl
[user@hostname ~]$ [user@hostname ~]$
``` ```