• Welcome to Peterborough Linux User Group (Canada) Forum.
 

Wifi not working on Dell xps 13 with secure boot enabled

Started by fox, June 13, 2016, 07:28:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fox

I had everything working on Ubuntu 16.04 installed on my Dell until the other day when I messed around with it trying to get a live usb recognized in it. Didn't touch it for several days and when I went back to it last night, wifi was not working. When I say not working, I mean it didn't recognize the wifi connection at all in the Network connection manager installed on the panel in Unity (or Gnome). It's a Broadcom wifi module, so I checked Additional Drivers and the Broadcom software was installed. I next connected my Dell to ethernet, updated the software and reinstalled the Broadcom driver. Still no recognition of wifi at all. I don't recall what made me do it (must have been something I read searching for the problem on the internet), but I restarted the Dell and disabled secure boot. When I did that, wifi came back. I can certainly live without secure boot, but I'd like to know how this causes a problem with Broadcom wifi, and whether there is a solution that would allow me to enable secure boot and have my wifi back.
Ubuntu 23.10 on 2019 5k iMac
Ubuntu 22.04 on Dell XPS 13

fox

Jason, your suggestion that the wifi module wasn't signed as part of the original installation is logical, but it turns out that the problem is due to a bug. The bug has already been reported on launchpad. That's actually good news because it has been given priority status and it will likely be fixed soon. Meanwhile, I'll stick with secure boot turned off until the problem is fixed. The other solution is to use an older kernel, as 4.4.0-18 has been reported to work, but I won't bother with that.
Ubuntu 23.10 on 2019 5k iMac
Ubuntu 22.04 on Dell XPS 13

Jason

It's a bug certainly but it does look related to signing:

Look at comment #13:
* Zorin OS 17.1 Core and Windows 11 Pro on a Dell Precision 3630 Tower with an
i5-8600 3.1 GHz 6-core processor, dual 22" displays, 16 GB of RAM, 512 GB Nvme and a Geforce 1060 6 GB card
* Motorola Edge (2022) phone with Android 13

fox

Agreed. Meanwhile, on the Ubuntu forums where I posted the problem, I was invited to try a signing key called mokutil (see here and here). I am afraid of trying this since it hasn't been tested on my Broadcom (wl) driver, and seeing the way it operates with a blank purple screen upon reboot, it looks like it could potentially affect firmware. Even if it works, I wonder if it wouldn't affect my ability to use an updated kernel that fixes the problem. Since I can disable secure boot for now and have everything working, I'm thinking I should just leave things alone until the Ubuntu devs fix the bug.
Ubuntu 23.10 on 2019 5k iMac
Ubuntu 22.04 on Dell XPS 13

Jason

I don't think it would bork anything either. It's essentially solving the problem by letting you sign the module so it is accepted by system.map and secure boot. I wasn't aware you could do this but I recognize the openssl command that is used to create crypographic signing keys. They will probably fix it in an update to the kernel (and system.map) so any change yo make here will only affect this kernel and be fixed in the next one. It won't prevent your next kernel from working, that is.
* Zorin OS 17.1 Core and Windows 11 Pro on a Dell Precision 3630 Tower with an
i5-8600 3.1 GHz 6-core processor, dual 22" displays, 16 GB of RAM, 512 GB Nvme and a Geforce 1060 6 GB card
* Motorola Edge (2022) phone with Android 13

Jason

* Zorin OS 17.1 Core and Windows 11 Pro on a Dell Precision 3630 Tower with an
i5-8600 3.1 GHz 6-core processor, dual 22" displays, 16 GB of RAM, 512 GB Nvme and a Geforce 1060 6 GB card
* Motorola Edge (2022) phone with Android 13

fox

Thanks for that, Jason. Having read that through, there was enough there to give me concern that I am not inclined to use this mechanism to allow me to secure boot with my wifi working. I'll stick to having secure boot disabled for now and just wait until the Ubuntu and/or kernel devs fix the bug. I'm really don't see the need for secure boot anyway on my Dell laptop; it's just an academic issue to me.
Ubuntu 23.10 on 2019 5k iMac
Ubuntu 22.04 on Dell XPS 13

Jason

Understandable. Especially when it's something as critical as networking.
* Zorin OS 17.1 Core and Windows 11 Pro on a Dell Precision 3630 Tower with an
i5-8600 3.1 GHz 6-core processor, dual 22" displays, 16 GB of RAM, 512 GB Nvme and a Geforce 1060 6 GB card
* Motorola Edge (2022) phone with Android 13