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. 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@/firstname.lastname@example.org/applet.js:1387:13 (cinnamon:1364): Cjs-WARNING **: 11:08:46.750: JS ERROR: TypeError: ssid is null ssidToLabel@/email@example.com/applet.js:66:9
I am using a Wifi AP with a hidden ssid, which seems to cause some of these errors. Using a non-hidden ssid and deleting all profiles relating to the hidden one does not solve the issue.