Buggy Network Manager?

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
Flamewart
Level 1
Level 1
Posts: 26
Joined: Sat Jul 22, 2017 6:18 am

Buggy Network Manager?

Post by Flamewart » Wed Aug 14, 2019 8:54 am

Sometimes the Network Manager icon tray acts wonky and stops showing any wireless devices, the toggle option to (dis)able wifi, and even the option to "Rescan for wireless networks", like this: https://i.imgur.com/hv0zFdC.png

This happens at the same time that I lose internet connection, although most of the times that I get disconnected the Network manager works fine (can search through detected wifis and try to reconnect).

This problem occurs every once in a while and only solution I found is restarting the PC when it happens, as there doesn't seem to be any way to re-enable the wireless when this issue shows up.

What would cause the Network Manager to stop showing any wireless option? Is this a known bug?

Using LM Cinnamon 19.2

Flamewart
Level 1
Level 1
Posts: 26
Joined: Sat Jul 22, 2017 6:18 am

Re: Buggy Network Manager?

Post by Flamewart » Wed Aug 14, 2019 9:11 am

Here you can compare better what I mean:

https://i.imgur.com/GA0itCD.png

Upper image is Network Manager working normally
Lower image is Network Manager being buggy, you can see basic options missing

User avatar
Pjotr
Level 21
Level 21
Posts: 13158
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Buggy Network Manager?

Post by Pjotr » Wed Aug 14, 2019 9:16 am

Please generate an overview of your system like this:
- Launch a terminal window (this is how to launch a terminal window);
- make the terminal window full screen, to avoid chopped lines;
- Copy/paste this command into the terminal:

Code: Select all

inxi -Fxz
(if you type: the letter F is a capital letter)

Press Enter.

Copy/paste the output in your next message.

Do the same with the following four commands:

Code: Select all

rfkill list all

Code: Select all

iwconfig

Code: Select all

lsusb

Code: Select all

lspci
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

gm10
Level 18
Level 18
Posts: 8692
Joined: Thu Jun 21, 2018 5:11 pm

Re: Buggy Network Manager?

Post by gm10 » Wed Aug 14, 2019 9:22 am

Flamewart wrote:
Wed Aug 14, 2019 8:54 am
Sometimes the Network Manager icon
That's not the network manager icon, that's Cinamon's own network applet which overrides Network Manager's applet. I know nothing about that applet so I cannot help you with the issue, but at least you know where to look now.

PS: Although you can disable Cinnamon's applet to use Network Manager's applet:

Code: Select all

sudo mv /usr/share/cinnamon/applets/network@cinnamon.org /usr/share/cinnamon/applets/network@cinnamon.org.bak
then reload Cinnamon (press Alt+F2 and then type r and press Enter).
To undo the change:

Code: Select all

sudo mv /usr/share/cinnamon/applets/network@cinnamon.org.bak /usr/share/cinnamon/applets/network@cinnamon.org
and reload Cinnamon again.
Last edited by gm10 on Wed Aug 14, 2019 9:29 am, edited 1 time in total.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

Flamewart
Level 1
Level 1
Posts: 26
Joined: Sat Jul 22, 2017 6:18 am

Re: Buggy Network Manager?

Post by Flamewart » Wed Aug 14, 2019 9:23 am

Pjotr wrote:
Wed Aug 14, 2019 9:16 am
Please generate an overview of your system like this:
@Pjotr Here are the results:

Code: Select all

flamewart@flamewartLM:~$ inxi -Fxz
System:    Host: flamewartLM Kernel: 4.15.0-58-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 Desktop: Cinnamon 4.2.3 
           Distro: Linux Mint 19.2 Tina base: Ubuntu 18.04 bionic 
Machine:   Type: Laptop System: Dell product: Inspiron 7570 v: N/A serial: <filter> 
           Mobo: Dell model: N/A serial: <filter> UEFI: Dell v: 1.12.0 date: 08/09/2018 
Battery:   ID-1: BAT0 charge: 15.0 Wh condition: 25.5/42.0 Wh (61%) model: Samsung SDI DELL CYMGM88 status: Charging 
CPU:       Topology: Quad Core model: Intel Core i7-8550U bits: 64 type: MT MCP arch: Kaby Lake rev: A L2 cache: 8192 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 31872 
           Speed: 4000 MHz min/max: 400/4000 MHz Core speeds (MHz): 1: 3987 2: 4000 3: 3979 4: 4002 5: 4001 6: 3978 7: 4000 
           8: 4000 
Graphics:  Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 
           Device-2: NVIDIA GM108M [GeForce 940MX] vendor: Dell driver: N/A bus ID: 01:00.0 
           Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2) v: 4.5 Mesa 19.0.2 direct render: Yes 
Audio:     Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           Sound Server: ALSA v: k4.15.0-58-generic 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Dell driver: r8169 v: 2.3LK-NAPI 
           port: d000 bus ID: 02:00.0 
           IF: enp2s0 state: down mac: <filter> 
           Device-2: Intel Wireless 7265 driver: iwlwifi v: kernel port: d000 bus ID: 03:00.0 
           IF: wlp3s0 state: up mac: <filter> 
Drives:    Local Storage: total: 476.94 GiB used: 95.07 GiB (19.9%) 
           ID-1: /dev/nvme0n1 vendor: Toshiba model: KXG50ZNV512G NVMe 512GB size: 476.94 GiB 
Partition: ID-1: / size: 467.96 GiB used: 95.06 GiB (20.3%) fs: ext4 dev: /dev/nvme0n1p2 
Sensors:   System Temperatures: cpu: 54.0 C mobo: 53.0 C sodimm: 49.0 C 
           Fan Speeds (RPM): cpu: 2590 
Info:      Processes: 234 Uptime: 5h 36m Memory: 7.54 GiB used: 1.85 GiB (24.6%) Init: systemd runlevel: 5 Compilers: 
           gcc: 7.4.0 Shell: bash v: 4.4.20 inxi: 3.0.32 

Code: Select all

flamewart@flamewartLM:~$ rfkill list all
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
3: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no

Code: Select all

flamewart@flamewartLM:~$ iwconfig
enp2s0    no wireless extensions.

wlp3s0    IEEE 802.11  ESSID:"CasaMS_2"  
          Mode:Managed  Frequency:2.442 GHz  Access Point: A4:2B:B0:EB:73:86   
          Bit Rate=115.6 Mb/s   Tx-Power=22 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=69/70  Signal level=-41 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:283   Missed beacon:0

lo        no wireless extensions.

Code: Select all

flamewart@flamewartLM:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 8087:0a2a Intel Corp. 
Bus 001 Device 002: ID 0bda:568a Realtek Semiconductor Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Code: Select all

flamewart@flamewartLM:~$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Intel(R) 100 Series Chipset Family LPC Controller/eSPI Controller - 9D4E (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59)
04:00.0 Non-Volatile memory controller: Toshiba America Info Systems Device 0116
Last edited by Flamewart on Wed Aug 14, 2019 10:52 am, edited 2 times in total.

Flamewart
Level 1
Level 1
Posts: 26
Joined: Sat Jul 22, 2017 6:18 am

Re: Buggy Network Manager?

Post by Flamewart » Wed Aug 14, 2019 9:32 am

gm10 wrote:
Wed Aug 14, 2019 9:22 am
Flamewart wrote:
Wed Aug 14, 2019 8:54 am
Sometimes the Network Manager icon
That's not the network manager icon, that's Cinamon's own network applet which overrides Network Manager's applet. I know nothing about that applet so I cannot help you with the issue, but at least you know where to look now.
That's right. I forgot to mention that this issue also affects the Network manager window (the one accessed through the LM settings) in the same way:
https://i.imgur.com/FRrO3fv.png

The wifi option in the left would be missing, so just Wired and Network proxy showing up. Next time the issue happens I will screenshot this window too, I forgot this time!

User avatar
Pjotr
Level 21
Level 21
Posts: 13158
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Buggy Network Manager?

Post by Pjotr » Wed Aug 14, 2019 9:45 am

Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

gm10
Level 18
Level 18
Posts: 8692
Joined: Thu Jun 21, 2018 5:11 pm

Re: Buggy Network Manager?

Post by gm10 » Wed Aug 14, 2019 9:46 am

Flamewart wrote:
Wed Aug 14, 2019 9:32 am
That's right. I forgot to mention that this issue also affects the Network manager window (the one accessed through the LM settings) in the same way:
That's also Cinnamon-specific. I think you may have missed my post scriptum above by the way:
gm10 wrote:
Wed Aug 14, 2019 9:22 am
PS: Although you can disable Cinnamon's applet to use Network Manager's applet:

Code: Select all

sudo mv /usr/share/cinnamon/applets/network@cinnamon.org /usr/share/cinnamon/applets/network@cinnamon.org.bak
then reload Cinnamon (press Alt+F2 and then type r and press Enter).
To undo the change:

Code: Select all

sudo mv /usr/share/cinnamon/applets/network@cinnamon.org.bak /usr/share/cinnamon/applets/network@cinnamon.org
and reload Cinnamon again.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

Flamewart
Level 1
Level 1
Posts: 26
Joined: Sat Jul 22, 2017 6:18 am

Re: Buggy Network Manager?

Post by Flamewart » Wed Aug 14, 2019 10:44 am

Pjotr wrote:
Wed Aug 14, 2019 9:45 am
Try this:
https://easylinuxtipsproject.blogspot.c ... html#ID2.1
(item 2.1)
Just did this, now iwconfig shows that Power management is off. Hopefully that solves the issue (and improves internet connection overall, would be nice!), but will report back in this thread in case it doesn't. :D
gm10 wrote:
Wed Aug 14, 2019 9:46 am
Flamewart wrote:
Wed Aug 14, 2019 9:32 am
That's right. I forgot to mention that this issue also affects the Network manager window (the one accessed through the LM settings) in the same way:
That's also Cinnamon-specific. I think you may have missed my post scriptum above by the way:
gm10 wrote:
Wed Aug 14, 2019 9:22 am
PS: Although you can disable Cinnamon's applet to use Network Manager's applet:

Code: Select all

sudo mv /usr/share/cinnamon/applets/network@cinnamon.org /usr/share/cinnamon/applets/network@cinnamon.org.bak
then reload Cinnamon (press Alt+F2 and then type r and press Enter).
To undo the change:

Code: Select all

sudo mv /usr/share/cinnamon/applets/network@cinnamon.org.bak /usr/share/cinnamon/applets/network@cinnamon.org
and reload Cinnamon again.
Thanks for this. Will leave the applet as it is for now to see if the solution given above solves the issue. If it persist will try this method.

Thanks for the help, people!

Flamewart
Level 1
Level 1
Posts: 26
Joined: Sat Jul 22, 2017 6:18 am

Re: Buggy Network Manager?

Post by Flamewart » Fri Sep 06, 2019 7:38 pm

I raise this thread because the issue finally happened again, this time I made a screenshot of the Network app window. Like I said, the Wireless option also disappears from there:

https://i.imgur.com/OArNUU5.png

Flamewart
Level 1
Level 1
Posts: 26
Joined: Sat Jul 22, 2017 6:18 am

Re: Buggy Network Manager?

Post by Flamewart » Fri Sep 06, 2019 8:27 pm

gm10 wrote:
Wed Aug 14, 2019 9:22 am
Flamewart wrote:
Wed Aug 14, 2019 8:54 am
Sometimes the Network Manager icon
That's not the network manager icon, that's Cinamon's own network applet which overrides Network Manager's applet. I know nothing about that applet so I cannot help you with the issue, but at least you know where to look now.

PS: Although you can disable Cinnamon's applet to use Network Manager's applet:

Code: Select all

sudo mv /usr/share/cinnamon/applets/network@cinnamon.org /usr/share/cinnamon/applets/network@cinnamon.org.bak
then reload Cinnamon (press Alt+F2 and then type r and press Enter).
To undo the change:

Code: Select all

sudo mv /usr/share/cinnamon/applets/network@cinnamon.org.bak /usr/share/cinnamon/applets/network@cinnamon.org
and reload Cinnamon again.
Tried this method now but problem persists, here is a screenshot with the applet disabled:
https://i.imgur.com/2caSvXK.png

As you can see, the issue there with Network Manager is similar to what happens with Cinnamon's applet: the wireless options seem to be deactivated and there's no way to turn it on.

gm10
Level 18
Level 18
Posts: 8692
Joined: Thu Jun 21, 2018 5:11 pm

Re: Buggy Network Manager?

Post by gm10 » Sat Sep 07, 2019 3:04 am

Does this happen out of the blue or after a resume? When this happens, try to reload the driver:

Code: Select all

sudo modprobe -r iwlwifi; sudo modprobe iwlwifi
If that does not help, try restarting the network manager service:

Code: Select all

sudo systemctl restart network-manager.service
You could/should also try a newer kernel series (5.0) but I don't know if you're experiencing the issue frequently enough to be able to tell whether it helps.

PS: Also I was just thinking, is this an USB dongle? Could be an issue with the USB port auto-suspending. Does simply pulling it out and reinserting it fix it?
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

Flamewart
Level 1
Level 1
Posts: 26
Joined: Sat Jul 22, 2017 6:18 am

Re: Buggy Network Manager?

Post by Flamewart » Sat Sep 07, 2019 6:04 am

gm10 wrote:
Sat Sep 07, 2019 3:04 am
Does this happen out of the blue or after a resume? When this happens, try to reload the driver:

Code: Select all

sudo modprobe -r iwlwifi; sudo modprobe iwlwifi
If that does not help, try restarting the network manager service:

Code: Select all

sudo systemctl restart network-manager.service
You could/should also try a newer kernel series (5.0) but I don't know if you're experiencing the issue frequently enough to be able to tell whether it helps.

PS: Also I was just thinking, is this an USB dongle? Could be an issue with the USB port auto-suspending. Does simply pulling it out and reinserting it fix it?
Out of the blue, can't think of any specific action that triggers it. The only fix so far is to restart the laptop.
Also can't be an USB dongle, because the bug happens also when all USB ports are empty.

I tried kernel 5.0 series for a while, but there I noticed I got a more annoying touchpad issue so went back to 4.15. But anyway, I think this wireless issue persisted with 5.0 too.

Thanks for the help! Next time it happens will try those commands and see how it goes.

Post Reply

Return to “Wireless”