[SOLVED] Wireless non existant and bluetooth not pairing

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
m10571
Level 1
Level 1
Posts: 4
Joined: Mon Jul 26, 2021 6:28 am

[SOLVED] Wireless non existant and bluetooth not pairing

Post by m10571 »

Hi, first of all here is my system information:

Code: Select all

System:    Kernel: 5.4.0-80-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
           Desktop: Cinnamon 5.0.5 wm: muffin 5.0.1 dm: LightDM 1.30.0 
           Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: Hewlett-Packard product: HP Pavilion 15 Notebook PC 
           v: 0973120000405F10000620180 serial: <filter> Chassis: type: 10 
           serial: <filter> 
           Mobo: Hewlett-Packard model: 2296 v: 78.21 serial: <filter> UEFI: Insyde 
           v: F.36 date: 02/02/2015 
CPU:       Topology: Dual Core model: Intel Core i3-5010U bits: 64 type: MT MCP 
           arch: Broadwell rev: 4 L2 cache: 3072 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 16760 
           Speed: 800 MHz min/max: 500/2000 MHz Core speeds (MHz): 1: 801 2: 798 3: 798 
           4: 798 
Graphics:  Device-1: Intel HD Graphics 5500 vendor: Hewlett-Packard driver: i915 v: kernel 
           bus ID: 00:02.0 chip ID: 8086:1616 
           Device-2: NVIDIA GM108M [GeForce 830M] vendor: Hewlett-Packard driver: N/A 
           bus ID: 0a:00.0 chip ID: 10de:1340 
           Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa Intel HD Graphics 5500 (BDW GT2) v: 4.6 Mesa 20.2.6 
           direct render: Yes 
Audio:     Device-1: Intel Broadwell-U Audio vendor: Hewlett-Packard driver: snd_hda_intel 
           v: kernel bus ID: 00:03.0 chip ID: 8086:160c 
           Device-2: Intel Wildcat Point-LP High Definition Audio vendor: Hewlett-Packard 
           driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:9ca0 
           Sound Server: ALSA v: k5.4.0-80-generic 
Network:   Device-1: Broadcom and subsidiaries BCM43142 802.11b/g/n 
           vendor: Hewlett-Packard driver: N/A port: 6040 bus ID: 08:00.0 
           chip ID: 14e4:4365 
           Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Hewlett-Packard 
           driver: r8169 v: kernel port: 4000 bus ID: 09:00.0 chip ID: 10ec:8136 
           IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 931.51 GiB used: 19.30 GiB (2.1%) 
           ID-1: /dev/sda vendor: HGST (Hitachi) model: HTS541010A9E680 size: 931.51 GiB 
           speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter> rev: A710 scheme: GPT 
Partition: ID-1: / size: 92.44 GiB used: 19.20 GiB (20.8%) fs: ext4 dev: /dev/sda6 
Sensors:   System Temperatures: cpu: 46.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list 
           1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http://packages.linuxmint.com uma main upstream import backport #id:linuxmint_main
           2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
           3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
           4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
           5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http://archive.canonical.com/ubuntu/ focal partner
Info:      Processes: 205 Uptime: 9m Memory: 5.73 GiB used: 1.02 GiB (17.8%) Init: systemd 
           v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash v: 5.0.17 
           running in: gnome-terminal inxi: 3.0.38 
Problem number one:
Wireless is not showing up. I can only see wired network and connect via Ethernet (I've tried unplugging)

Problem number two:
Bluetooth is "on" but my laptop isn't showing on my phone and my headphones aren't pairing either.

Thanks in advance for your help!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 4 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Moonstone Man
Level 16
Level 16
Posts: 6054
Joined: Mon Aug 27, 2012 10:17 pm

Re: Wireless non existant and bluetooth not pairing

Post by Moonstone Man »

m10571 wrote: Mon Jul 26, 2021 6:37 am Wireless is not showing up. I can only see wired network and connect via Ethernet (I've tried unplugging)
sudo apt-get install broadcom-sta-dkms

That should do it, and it might also rectify the bluetooth issue.
m10571
Level 1
Level 1
Posts: 4
Joined: Mon Jul 26, 2021 6:28 am

Re: Wireless non existant and bluetooth not pairing

Post by m10571 »

I ran the command and I found the problem. Secure boot isn't configured properly and I can't type the password when I try to enrol MOK
JeremyB
Level 21
Level 21
Posts: 13881
Joined: Fri Feb 21, 2014 8:17 am

Re: Wireless non existant and bluetooth not pairing

Post by JeremyB »

Disable Secure boot in bios and post results for

Code: Select all

dmesg | egrep -i 'blue|firm'
m10571
Level 1
Level 1
Posts: 4
Joined: Mon Jul 26, 2021 6:28 am

Re: Wireless non existant and bluetooth not pairing

Post by m10571 »

After disabling secure boot wirless works but bluetooth still doesn't.
I don't know if this is relevant but in the bios the 'password on startup' was empty.
Here is the result of the command:
[ 0.112042] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 0.160856] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[ 0.666839] [Firmware Bug]: Invalid critical threshold (0)
[ 1.205549] [Firmware Bug]: ACPI(PXSX) defines _DOD but not _DOS
[ 14.756782] Bluetooth: Core ver 2.22
[ 14.756813] Bluetooth: HCI device and connection manager initialized
[ 14.756819] Bluetooth: HCI socket layer initialized
[ 14.757957] Bluetooth: L2CAP socket layer initialized
[ 14.757966] Bluetooth: SCO socket layer initialized
[ 15.610694] Bluetooth: hci0: BCM: chip id 70
[ 15.611706] Bluetooth: hci0: BCM: features 0x06
[ 15.627731] Bluetooth: hci0: mo10571-HP-Pavilion-15-Notebook-PC
[ 15.628701] Bluetooth: hci0: BCM43142A0 (001.001.011) build 0000
[ 15.742512] bluetooth hci0: Direct firmware load for brcm/BCM43142A0-0a5c-216c.hcd failed with error -2
[ 15.742516] Bluetooth: hci0: BCM: Patch brcm/BCM43142A0-0a5c-216c.hcd not found
[ 17.753036] Bluetooth: hci0: command 0x1003 tx timeout
[ 17.753794] Bluetooth: hci0: unexpected event for opcode 0x1003
[ 24.727686] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 24.727688] Bluetooth: BNEP filters: protocol multicast
[ 24.727692] Bluetooth: BNEP socket layer initialized
[ 43.005818] Bluetooth: RFCOMM TTY layer initialized
[ 43.005830] Bluetooth: RFCOMM socket layer initialized
[ 43.005841] Bluetooth: RFCOMM ver 1.11
[ 116.813404] Bluetooth: hci0: command 0x1003 tx timeout
[ 116.814766] Bluetooth: hci0: unexpected event for opcode 0x1003
[ 121.005356] Bluetooth: hci0: command 0x1003 tx timeout
[ 121.006771] Bluetooth: hci0: unexpected event for opcode 0x1003
[ 127.629338] Bluetooth: hci0: command 0x1003 tx timeout
[ 127.630796] Bluetooth: hci0: unexpected event for opcode 0x1003
JeremyB
Level 21
Level 21
Posts: 13881
Joined: Fri Feb 21, 2014 8:17 am

Re: Wireless non existant and bluetooth not pairing

Post by JeremyB »

Code: Select all

cd /lib/firmware/brcm

Code: Select all

sudo wget https://github.com/winterheart/broadcom-bt-firmware/raw/master/brcm/BCM43142A0-0a5c-216d.hcd
Reboot
m10571
Level 1
Level 1
Posts: 4
Joined: Mon Jul 26, 2021 6:28 am

Re: Wireless non existant and bluetooth not pairing

Post by m10571 »

Thank you very much! Everything works now. :D
Locked

Return to “Networking”