Debian – WiFi Settings Missing in Network Manager after boot/resume

cinnamondebianguinetworkmanagerwifi

I'm running Debian 10 Cinnamon, and recently I've noticed that the WiFi settings within Network Manager(nm-applet) are completely missing on every boot/resume from suspend unless you manually restart NetworkManager. Previously, I could click the network icon in the bottom right of the page, click Network Settings, and I would be brought to a menu which listed the different interfaces, in this case wired and wireless. Now, there is only "Wired" and "Network Proxy" shown. All previously saved WiFi settings are still working, but I cannot modify settings as I was previously able to. The nm-connection-editor works fine. The saved Wireless connection can auto connect and works fine in the background, but I have no way to add a new network or easily control the wireless settings for a network via nm-applet anymore.

Why is this menu vanishing on boots/resumes? What can I do to fix it? Heres an image of the missing menu. enter image description here
Note, where it says "Wired" on the left side column, there should be another option for "WiFi", as was there when Debian was initially installed.

I have found that running sudo pgrep NetworkManager | xargs sudo kill -9; fixes the issue, but what could be the root cause? This was not happening on a fresh install. I have also found that it happens on every boot, or resuming from suspend, but if NetworkManager is restarted after boot/resume from suspend manually, the issue is fixed.

In addition, I have found that if I cat ~/.xsession-errors, there are many errors relating to wireless and NetworkManager, such as:

Cjs-Message: 11:08:41.602: JS LOG: An active wireless connection, in infrastructure mode, involves no access point?

nm-tray: void NmModelPrivate::onConnectionAdded(const QString&) /org/freedesktop/NetworkManager/Settings/6  is currently invalid...

Cjs-Message: 11:09:21.384: JS LOG: [LookingGlass/error] a.connection is null

(cinnamon:1364): Cjs-WARNING **: 11:08:45.677: JS ERROR: TypeError: apObj.item.updateAccessPoints is not a function
anonymous/NMDeviceWireless.prototype._accessPointRemoved@/usr/share/cinnamon/applets/network@cinnamon.org/applet.js:1387:13

(cinnamon:1364): Cjs-WARNING **: 11:08:46.750: JS ERROR: TypeError: ssid is null
ssidToLabel@/usr/share/cinnamon/applets/network@cinnamon.org/applet.js:66:9

This issue seems to occur on Dell laptops and is still present on the default install of Debian as of 4/15/21. Upgrading to debian unstable packages solves the issue. This seems like a bug in cinnamon/network manager/something but I don't know where to look to find the right information to report the bug.

Best Answer

Can you update your original post to include outputs for the following? I see you've taken the systems approach, so I want to rule out hardware startup issues and drivers instead.

  1. lspci -nn This will tell us what hardware your system recognizes
  2. ip link will tell us what network links exist
  3. rfkill list will describe another way wireless devices are configured

Or, if you know what to do, try using dmesg | grep -iC 3 <linkname> to identify anything the kernel logs can give you.

Related Question