# Solution: Wifi not connecting after apt upgrade

**URL:** <https://forum.clockworkpi.com/t/solution-wifi-not-connecting-after-apt-upgrade/10469>\
**Category:** uConsole\
**Created:** [July 18, 2023, 7:14pm UTC](https://forum.clockworkpi.com/t/solution-wifi-not-connecting-after-apt-upgrade/10469 "2023-07-18T19:14:16Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hawanna](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/hawanna/32/1626_2.png) [@Hawanna](https://forum.clockworkpi.com/u/Hawanna)\
**Post date:** [July 18, 2023, 7:14pm UTC](https://forum.clockworkpi.com/t/solution-wifi-not-connecting-after-apt-upgrade/10469/1 "2023-07-18T19:14:16Z")

</div>

I noticed, that my wifi won’t connect anymore after upgrading packages.  
I found the solution here by switching to systemd-networkd:

> <https://raspberrypi.stackexchange.com/questions/107229/raspberry-pi-4-no-wifi-after-update-upgrade>

Just in case someone stumbles upon this.

---

<div class="post-metadata">

**Author:** ![Michael\_Wolf](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/michael_wolf/32/4793_2.png) [@Michael\_Wolf](https://forum.clockworkpi.com/u/Michael_Wolf)\
**Post date:** [July 18, 2023, 9:08pm UTC](https://forum.clockworkpi.com/t/solution-wifi-not-connecting-after-apt-upgrade/10469/2 "2023-07-18T21:08:27Z")

</div>

I had the same problem. What worked for me was copying /etc/wpa\_supplicant/wpa\_supplicant.conf to /boot/

---

<div class="post-metadata">

**Author:** ![slz](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/slz/32/6245_2.png) [@slz](https://forum.clockworkpi.com/u/slz)\
**Post date:** [July 18, 2023, 9:26pm UTC](https://forum.clockworkpi.com/t/solution-wifi-not-connecting-after-apt-upgrade/10469/3 "2023-07-18T21:26:49Z")

</div>

Another heads up:

Your WiFi problems after upgrading MAY also come from WPA3/PMF incompatibility issues.  
(a known Linux WiFi implementation problem not quite related to the uConsole)

At least for me that SEEMS to be the problem since it does work without any changes with a random Test-AP with only WPA2 und no PMF enabled, but not with my usual WPA2+WPA3/PMF (mixed-mode) enabled APs.  
So you could check if your APs have that enabled and probably try WPA2-only if that works for you, but of course if you only have one AP at your place or so it’s not a permanent solution to downgrade on security.

Didn’t look into it any further since “no WiFi” is quite the show-stopper for further exploring of my shiny new uConsole-toy 😉 … so it’s totally possible that the issue is more related to some other random change and it just happens to be a freak accident that just switching APs worked for me 🙂

(It’s not the firmware-\* or uconsole-\* or devterm-\* packages etc. that get updated. I tried to find the issue with just updating specific packages until it breaks and I find the offending package, but with hundreds of outstanding updates I just gave up finding the culprit at some point and switching to a Lab-AP does the job in my case for now)

---

<div class="post-metadata">

**Author:** ![sln](https://avatars.discourse-cdn.com/v4/letter/s/f08c70/32.png) [@sln](https://forum.clockworkpi.com/u/sln)\
**Post date:** [July 18, 2023, 10:39pm UTC](https://forum.clockworkpi.com/t/solution-wifi-not-connecting-after-apt-upgrade/10469/4 "2023-07-18T22:39:44Z")

</div>

I had this issue previously and found manually specifying WPA2 and the connection details worked on my WP2/WPA3/PMF WiFi networks.

This was not on the uConsole however but as you said is likely a Linux thing.

---

<div class="post-metadata">

**Author:** ![slz](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/slz/32/6245_2.png) [@slz](https://forum.clockworkpi.com/u/slz)\
**Post date:** [July 18, 2023, 11:04pm UTC](https://forum.clockworkpi.com/t/solution-wifi-not-connecting-after-apt-upgrade/10469/5 "2023-07-18T23:04:41Z")

</div>

OOOkay… that is pretty awkward now, but indeed - if I just manually setup “WPA2 only” for the “offending” SSIDs in the NetworkManager(?!), it seems to connect for me to the mixed-mode SSIDs, too.

I think I only tried fiddling with the setting in the classic wpa\_supplicant.conf, which may have been the wrong route for the uconsole-CM4 distribution(?).

(DISCLAIMER: I’m a network and server guy who usually doesn’t think Linux belongs on the Desktop, except when it does - so my Linux-WiFi experience with all that highlevel systemd and “NetworkManager” and all that (GUI-)stuff is limited 😉 - I usually only run Unix&Linux-SERVERS, including all my Raspis except one (and my DevTerm/uConsole of course 🙂 ) is CLI&wired network only)

Thanks for that thought though - SEEMS to permanetly solve “my” WiFi issue.

---

<div class="post-metadata">

**Author:** ![sln](https://avatars.discourse-cdn.com/v4/letter/s/f08c70/32.png) [@sln](https://forum.clockworkpi.com/u/sln)\
**Post date:** [July 19, 2023, 12:06am UTC](https://forum.clockworkpi.com/t/solution-wifi-not-connecting-after-apt-upgrade/10469/6 "2023-07-19T00:06:39Z")

</div>

Glad it worked for you! One of the many quirks I encountered switching my laptop to Linux full-time.

---

<div class="post-metadata">

**Author:** ![MHam68HC11](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/mham68hc11/32/5046_2.png) [@MHam68HC11](https://forum.clockworkpi.com/u/MHam68HC11)\
**Post date:** [July 19, 2023, 12:59am UTC](https://forum.clockworkpi.com/t/solution-wifi-not-connecting-after-apt-upgrade/10469/7 "2023-07-19T00:59:01Z")

</div>

thanks to everyone on this thread paving the way for the rest of us when we receive our uConsole!

---

<div class="post-metadata">

**Author:** ![MHam68HC11](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/mham68hc11/32/5046_2.png) [@MHam68HC11](https://forum.clockworkpi.com/u/MHam68HC11)\
**Post date:** [July 19, 2023, 1:14pm UTC](https://forum.clockworkpi.com/t/solution-wifi-not-connecting-after-apt-upgrade/10469/8 "2023-07-19T13:14:24Z")

</div>

linux breathes new life into laptops - i’m on a used del latitude 2110 - 256bb ssd … running i86 distro from Raspian… I have a larger Dell i5 processor also windows 7 vintage - screams on linux - very useful.

---

<div class="post-metadata">

**Author:** ![andrewlb](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/andrewlb/32/7532_2.png) [@andrewlb](https://forum.clockworkpi.com/u/andrewlb)\
**Post date:** [July 19, 2023, 2:18pm UTC](https://forum.clockworkpi.com/t/solution-wifi-not-connecting-after-apt-upgrade/10469/9 "2023-07-19T14:18:47Z")

</div>

Not sure if this is the same issue?

I can get a network connection in terminal, so eg I can run apt install code and got rust installed. However, I can’t get any network connection for anything gui wise: so vscode can’t access network, as well as chromium.

---

<div class="post-metadata">

**Author:** ![bohinta](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/bohinta/32/7574_2.png) [@bohinta](https://forum.clockworkpi.com/u/bohinta)\
**Post date:** [July 19, 2023, 2:47pm UTC](https://forum.clockworkpi.com/t/solution-wifi-not-connecting-after-apt-upgrade/10469/10 "2023-07-19T14:47:42Z")

</div>

I installed network-manager-gnome, which provides a new taskbar icon to manage networks.

```auto
sudo apt install network-manager-gnome

```

 ![Screenshot 2023-07-19 at 23.23.54](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/a/a7abb0ef395546f3a317283b03ab54edfde13cb7.jpeg)

---

<div class="post-metadata">

**Author:** ![jutleys](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@jutleys](https://forum.clockworkpi.com/u/jutleys)\
**Post date:** [July 22, 2023, 11:11am UTC](https://forum.clockworkpi.com/t/solution-wifi-not-connecting-after-apt-upgrade/10469/11 "2023-07-22T11:11:23Z")

</div>

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:** ![Norman\_Xu](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/norman_xu/32/838_2.png) [@Norman\_Xu](https://forum.clockworkpi.com/u/Norman_Xu)\
**Post date:** [March 6, 2024, 11:07am UTC](https://forum.clockworkpi.com/t/solution-wifi-not-connecting-after-apt-upgrade/10469/12 "2024-03-06T11:07:23Z")

</div>

this works for me

update: actually it doesn’t fix network manager… my network manager is still broken

---

<div class="post-metadata">

**Author:** ![leizongmin](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/leizongmin/32/7290_2.png) [@leizongmin](https://forum.clockworkpi.com/u/leizongmin)\
**Post date:** [March 20, 2024, 2:20am UTC](https://forum.clockworkpi.com/t/solution-wifi-not-connecting-after-apt-upgrade/10469/13 "2024-03-20T02:20:07Z")

</div>

Marked. It solved my problem!

---

<div class="post-metadata">

**Author:** ![Wong](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/wong/32/8720_2.png) [@Wong](https://forum.clockworkpi.com/u/Wong)\
**Post date:** [March 21, 2024, 3:31pm UTC](https://forum.clockworkpi.com/t/solution-wifi-not-connecting-after-apt-upgrade/10469/14 "2024-03-21T15:31:01Z")

</div>

Very useful, thanks.

---

<div class="post-metadata">

**Author:** ![captainbalu](https://avatars.discourse-cdn.com/v4/letter/c/41988e/32.png) [@captainbalu](https://forum.clockworkpi.com/u/captainbalu)\
**Post date:** [May 5, 2024, 10:47am UTC](https://forum.clockworkpi.com/t/solution-wifi-not-connecting-after-apt-upgrade/10469/15 "2024-05-05T10:47:19Z")

</div>

This has worked for me. thx!

1. sudo raspi-config
2. Advanced Options \> Network Config \> selecting [dhcpcd] ( instead of [Network Manager])
3. rebooting the OS

---

<div class="post-metadata">

**Author:** ![Jean-Emmanuel\_daoust](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/jean-emmanuel_daoust/32/10433_2.png) [@Jean-Emmanuel\_daoust](https://forum.clockworkpi.com/u/Jean-Emmanuel_daoust)\
**Post date:** [October 29, 2024, 1:56am UTC](https://forum.clockworkpi.com/t/solution-wifi-not-connecting-after-apt-upgrade/10469/16 "2024-10-29T01:56:57Z")

</div>

Worked for me as well. Issue came up after apt upgrade

---

<div class="post-metadata">

**Author:** ![hansendw](https://avatars.discourse-cdn.com/v4/letter/h/db5fbb/32.png) [@hansendw](https://forum.clockworkpi.com/u/hansendw)\
**Post date:** [November 23, 2024, 4:54pm UTC](https://forum.clockworkpi.com/t/solution-wifi-not-connecting-after-apt-upgrade/10469/17 "2024-11-23T16:54:25Z")

</div>

I had the same problem and i entered the wifi parameters in config.

```auto
sudo raspi-config

```
