after today's Kinetic updates, WiFi no longer working, so laptop basically useless

Bug #1990891 reported by Jonathan Kamens
48
This bug affects 7 people
Affects Status Importance Assigned to Milestone
iwd (Ubuntu)
Fix Released
High
Unassigned

Bug Description

ThinkPad X1 Carbon 6th Gen
WiFi was working fine.
Installed today's batch of Kinetic updates.
Laptop can no longer see any WiFi networks (had to dig out my old ThinkPad USB dongle and plug into my router to be able to submit this bug report).

ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: network-manager 1.40.0-1ubuntu1
ProcVersionSignature: Ubuntu 5.19.0-15.15-generic 5.19.0
Uname: Linux 5.19.0-15-generic x86_64
ApportVersion: 2.23.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Mon Sep 26 17:09:25 2022
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2019-08-16 (1137 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
IpRoute:
 default via 192.168.4.1 dev enp0s31f6 proto dhcp src 192.168.4.158 metric 100
 169.254.0.0/16 dev docker0 scope link metric 1000 linkdown
 172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
 192.168.4.0/24 dev enp0s31f6 proto kernel scope link src 192.168.4.158 metric 100
SourcePackage: network-manager
UpgradeStatus: Upgraded to kinetic on 2022-09-24 (2 days ago)
nmcli-nm:
 RUNNING VERSION STATE STARTUP CONNECTIVITY NETWORKING WIFI-HW WIFI WWAN-HW WWAN
 running 1.40.0 connected started full enabled enabled enabled missing enabled

Revision history for this message
Jonathan Kamens (jik) wrote :
Revision history for this message
darkshadow (shadowofdarkness) wrote :

Today's update installed iwd to replace wpa_supplicant but that is still installed and conflicting.
Run the following and restart

systemctl disable wpa_supplicant

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

you can uninstall wpasupplicant instead of disabling it but if they conflict we need to resolve it differently than by adding iwd as we did

Revision history for this message
darkshadow (shadowofdarkness) wrote :

I just felt disabling it until it was better fixed was better then removal, which causes a couple meta packages like ubuntu-desktop to also remove and could be forgotten causing issues in the future of not getting new packages.

Revision history for this message
Jonathan Kamens (jik) wrote :

systemctl disable wpa_supplicant wasn't good enough. I had to mask it. Before I masked it, something started it on reboot even when it was disabled (I don't know what was starting it).

Revision history for this message
Jonathan Kamens (jik) wrote :

It looks like in today's Kinetic update iwd was removed, perhaps because of this bug?

If so then the removal caused another problem: /etc/NetworkManager/conf.d/iwd.conf still existed after the iwd package was removed (I don't understand why, honestly), so even after I unmasked and re-enabled wpa_supplicant, NetworkManager still thought it was supposed to be using iwd instead. I had to delete iwd.conf by hand and restart NetworkManager to regain wifi connectivity.

Revision history for this message
zubozrout (zubozrout) wrote :

Thank you very much @Jonathan. I can confirm removing the iwd.conf did the trick on my end.

Changed in network-manager (Ubuntu):
importance: Undecided → Critical
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

You can't uninstall wpasupplicant because that removes ubuntu-desktop. Removing /etc/NetworkManager/conf.d/iwd.conf works though.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Fix in bug 1990705?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Since this only seems to happen on dist upgrades (or it would after 22.10 is released) and we have a workaround, it doesn't need to be Critical anymore.

tags: added: regression-upgrade
Changed in network-manager (Ubuntu):
importance: Critical → High
tags: added: rls-kk-incoming
affects: network-manager (Ubuntu) → iwd (Ubuntu)
Changed in iwd (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package iwd - 1.30-1ubuntu2

---------------
iwd (1.30-1ubuntu2) kinetic; urgency=medium

  * debian/rules:
    - install the nm config in /usr/lib instead of /etc, resolves the
      problems where the config is leftover after removing the package
  * debian/iwd.preinst:
    - remove the config from /etc on upgrade (lp: #1990891)

 -- Sebastien Bacher <email address hidden> Fri, 07 Oct 2022 10:03:25 +0200

Changed in iwd (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.