# Loosing WiFi after running apt upgrade and rebooting

**URL:** <https://forum.clockworkpi.com/t/loosing-wifi-after-running-apt-upgrade-and-rebooting/10894>\
**Category:** uConsole\
**Tags:** update\
**Created:** [September 6, 2023, 10:16am UTC](https://forum.clockworkpi.com/t/loosing-wifi-after-running-apt-upgrade-and-rebooting/10894 "2023-09-06T10:16:34Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeterMount](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/petermount/32/7562_2.png) [@PeterMount](https://forum.clockworkpi.com/u/PeterMount)\
**Post date:** [September 6, 2023, 10:16am UTC](https://forum.clockworkpi.com/t/loosing-wifi-after-running-apt-upgrade-and-rebooting/10894/1 "2023-09-06T10:16:34Z")

</div>

Has anyone else had issues with their uConsole after doing a package update?

After running apt update and apt upgrade on my uConsole, the WiFi dissappears after it reboots. Although it appears under ip addr as wlan0 it just doesn’t startup.

So I wrote a fresh copy of uConsole\_CM4\_v1.3g\_64bit.img onto another SD card and when it came up I did the update again on that fresh image and the same happened again.

After doing some searching I found this issue mentioning this problem from last year [https://github.com/raspberrypi/Raspberry-Pi-OS-64bit/issues/217](https://github.com/raspberrypi/Raspberry-Pi-OS-64bit/issues/217)

So checking dmesg and there it is, regulatory.db becomes invalid so the WiFi cannot startup:

peter@raspberrypi:~ $ dmesg | grep regulatory  
[5.170103] cfg80211: Loading compiled-in X.509 certificates for regulatory database  
[5.316711] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid

I’m going to reimage that SD card again, but has anyone else had issues of just running an update and loosing WiFi completely?

---

<div class="post-metadata">

**Author:** ![Petrakis](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/petrakis/32/256_2.png) [@Petrakis](https://forum.clockworkpi.com/u/Petrakis)\
**Post date:** [September 6, 2023, 10:21am UTC](https://forum.clockworkpi.com/t/loosing-wifi-after-running-apt-upgrade-and-rebooting/10894/2 "2023-09-06T10:21:24Z")

</div>

> [@Solution: Wifi not connecting after apt upgrade](https://forum.clockworkpi.com/t/solution-wifi-not-connecting-after-apt-upgrade/10469/11):
>
> apt upgraded Wi-Fi & disappeared after reboot. To fix this in terminal do sudo raspi-config, you can get it restored by \> Advanced Options \> Network Config \> selecting [dhcpcd] instead of [Network Manager] and rebooting the OS.( if you don’t see that option in raspiconfig update the tool by hitting update it will then show.)

---

<div class="post-metadata">

**Author:** ![PeterMount](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/petermount/32/7562_2.png) [@PeterMount](https://forum.clockworkpi.com/u/PeterMount)\
**Post date:** [September 6, 2023, 10:33am UTC](https://forum.clockworkpi.com/t/loosing-wifi-after-running-apt-upgrade-and-rebooting/10894/3 "2023-09-06T10:33:48Z")

</div>

Thanks, that did the trick.

I did search here but didn’t find that one.

---

<div class="post-metadata">

**Author:** ![scyto](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/scyto/32/8200_2.png) [@scyto](https://forum.clockworkpi.com/u/scyto)\
**Post date:** [October 10, 2023, 6:04am UTC](https://forum.clockworkpi.com/t/loosing-wifi-after-running-apt-upgrade-and-rebooting/10894/4 "2023-10-10T06:04:17Z")

</div>

Thanks, exactly the solution I needed.

---

<div class="post-metadata">

**Author:** ![New\_DNA](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/new_dna/32/7728_2.png) [@New\_DNA](https://forum.clockworkpi.com/u/New_DNA)\
**Post date:** [March 9, 2024, 12:31pm UTC](https://forum.clockworkpi.com/t/loosing-wifi-after-running-apt-upgrade-and-rebooting/10894/5 "2024-03-09T12:31:47Z")

</div>

Thanks it fixed my problem.

---

<div class="post-metadata">

**Author:** ![Kristoffer\_Trolle](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/kristoffer_trolle/32/7626_2.png) [@Kristoffer\_Trolle](https://forum.clockworkpi.com/u/Kristoffer_Trolle)\
**Post date:** [April 5, 2024, 10:09pm UTC](https://forum.clockworkpi.com/t/loosing-wifi-after-running-apt-upgrade-and-rebooting/10894/6 "2024-04-05T22:09:14Z")

</div>

![IMG_20240406_000204](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/3/306c964fffd21564939e5196e8193edaa27dbf3c.jpeg)  
Hmm under Advanced Options there is no Network Config and DHCP options in my installation. I downloaded the newest iso and made a clean install, raspi-config is version 20220331

---

<div class="post-metadata">

**Author:** ![rprouse](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/rprouse/32/9394_2.png) [@rprouse](https://forum.clockworkpi.com/u/rprouse)\
**Post date:** [April 26, 2024, 11:05am UTC](https://forum.clockworkpi.com/t/loosing-wifi-after-running-apt-upgrade-and-rebooting/10894/7 "2024-04-26T11:05:03Z")

</div>

Thank you. This post should be pinned. I’m surprised that it doesn’t happen to more people. I guess people don’t update?

---

<div class="post-metadata">

**Author:** ![Trekeyus](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/trekeyus/32/9375_2.png) [@Trekeyus](https://forum.clockworkpi.com/u/Trekeyus)\
**Post date:** [June 30, 2024, 4:13am UTC](https://forum.clockworkpi.com/t/loosing-wifi-after-running-apt-upgrade-and-rebooting/10894/8 "2024-06-30T04:13:01Z")

</div>

You definitely saved my butt as my Uconsole just arrived and I lost Wi-Fi access as soon as I updated.

---

<div class="post-metadata">

**Author:** ![mgdesigner](https://avatars.discourse-cdn.com/v4/letter/m/9f8e36/32.png) [@mgdesigner](https://forum.clockworkpi.com/u/mgdesigner)\
**Post date:** [August 13, 2024, 11:36am UTC](https://forum.clockworkpi.com/t/loosing-wifi-after-running-apt-upgrade-and-rebooting/10894/9 "2024-08-13T11:36:17Z")

</div>

Thanks you. It fixed my problem!

---

<div class="post-metadata">

**Author:** ![Giromi](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/giromi/32/10159_2.png) [@Giromi](https://forum.clockworkpi.com/u/Giromi)\
**Post date:** [August 23, 2024, 1:05pm UTC](https://forum.clockworkpi.com/t/loosing-wifi-after-running-apt-upgrade-and-rebooting/10894/10 "2024-08-23T13:05:23Z")

</div>

Thank you so much sir.
