LeeVD / plasma-applet-net-bandwidth-monitor

Network bandwidth monitor for plasma using dbus
GNU General Public License v3.0
24 stars 4 forks source link

Network interfaces keeps disappearing #24

Open saudiqbal opened 10 months ago

saudiqbal commented 10 months ago

On my laptop I keep seeing on network activity on the widget. I have to remove and add the widget to get it to work. There is nothing listed in Network Interfaces page when this happens.

adrianvg commented 9 months ago

Having sort of the same problem after I switched laptops recently. The regular Network System Monitor Sensor on my Kubuntu 22.04 shows network history, but this Network Bandwidth Dbus Widget v0.4 doesn't.

I don't see any NICs at all in the widget settings, and also no speeds up or down.

Had this same problem before with my previous laptop, but it was sorted with v0.4. Now it's back again!

HW/SW info Laptop is a HP Elitebook 840 G9 Network Bandwidth Dbus Widget v0.4 Kubuntu 22.04 with plasma backports and backport-extras. KDE Plasma 5.27.8 KDE Frameworks 5.104 QT 5.15.3 Kernel 6.2.0.24 x64 Graphics X11

Need any more info? Please let me know!

Any chance of looking into this @LeeVD? Thanks.

saudiqbal commented 9 months ago

This is the command I use now when the widget stops working

sudo sed '/netSources=/d' $HOME/.config/plasma-org.kde.plasma.desktop-appletsrc

then reboot your computer.

adrianvg commented 9 months ago

This is the command I use now when the widget stops working

sed '/netSources=/d' $HOME/.config/plasma-org.kde.plasma.desktop-appletsrc

then logout and login.

Cool, thanks. Will try this next time I'm at the laptop!

saudiqbal commented 7 months ago

I just noticed every time I get a netplan.io package update the monitor stops working.

LeeVD commented 5 months ago

Thanks for letting me know. Not sure whats going on but I'm trying to add some changes to how it gets the network interfaces. That might fix it... The command @saudiqbal suggests is clearing out the serialized network interfaces and refreshing on re-login. I'll try and add a button to do this on the network config page. Not ideal but might be quicker until i find out why its messing up. @saudiqbal, are you managing your network interfaces with netplan?

saudiqbal commented 5 months ago

I use Kubuntu so I think it is using netplan.