mate-desktop / mate-applets

Applets for use with the MATE panel
http://www.mate-desktop.org
GNU General Public License v2.0
79 stars 67 forks source link

mate-netspeed-applet not working with wireless devices #611

Open lucadaniel84 opened 2 years ago

lucadaniel84 commented 2 years ago

Expected behaviour

I expect to show traffic on both wired and wireless connection

Actual behaviour

It only shows transfer bits/bytes on wired connection RJ45 but not on wireless when wired is unplugged. (Was working on 1.24.1)

Steps to reproduce the behaviour

Initiate any connection to be visible on the mate-netspeed-applet and check if you see any transferred bits/bytes on the applet, you may check the "Network device:" to "Default" or the device actual name from the drop-down list.

MATE general version

1.26.0

Package version

1.26.0

Linux Distribution

Arch

Link to bugreport of your Distribution (requirement)

https://bugs.archlinux.org/task/72034

lukefromdc commented 2 years ago

This applet is part of mate-applets, not mate-panel even though all the applets are shown in the panel. Please close this and open a new report (just cut and paste is fine) against mate-applets

raveit65 commented 2 years ago

@lukefromdc There is a Transfer issue option .

raveit65 commented 2 years ago

Is netspeed compiled to support new libnl (netfilter), a replacement for wireless-tools? https://github.com/mate-desktop/mate-applets/commit/bff29f926f56aba490e3f7b6f2d11e6a1aae46c7

lucadaniel84 commented 2 years ago

I've checked the PKGBUILD for mate-applets: https://raw.githubusercontent.com/archlinux/svntogit-community/packages/mate-applets/trunk/PKGBUILD https://archlinux.org/packages/community/x86_64/mate-applets/ and this is the configure - make options:

./configure \
            --prefix=/usr \
            --sysconfdir=/etc \
            --libexecdir=/usr/lib/${pkgname} \
            --with-dbus-sys="/usr/share/dbus-1/system.d" \
            --enable-polkit \
            --enable-ipv6
        make

What compile flag is missing ?

raveit65 commented 2 years ago

See how i build mate-applets for fedora https://src.fedoraproject.org/rpms/mate-applets/blob/rawhide/f/mate-applets.spec The important think is to use BuildRequires: libnl3-devel

basimaslamts commented 1 year ago

Expected behaviour

I expect to show traffic on both wired and wireless connection

Actual behaviour

It only shows transfer bits/bytes on wired connection RJ45 but not on wireless when wired is unplugged. (Was working on 1.24.1)

Steps to reproduce the behaviour

Initiate any connection to be visible on the mate-netspeed-applet and check if you see any transferred bits/bytes on the applet, you may check the "Network device:" to "Default" or the device actual name from the drop-down list.

MATE general version

1.26.0

Package version

1.26.0

Linux Distribution

Arch

Link to bugreport of your Distribution (requirement)

https://bugs.archlinux.org/task/72034

I'm having the same issue started after upgrading to Ubuntu 22.04 Jammy Jellyfish. Even selecting the "Network Device" from "device" to the wireless connection, it gets switched back to default.

lukefromdc commented 1 year ago

I've never had a problem with this, "default" generally will come up as the connection in use on my setup-even if its an oddball like tun0 for OpenVPN connecting to Azilink for tethering to a phone when the carrier's "permission to tether" does not actually work.

dmullinsgithub commented 1 year ago

I have the exact same issue (LinuxMint 21.2 Victoria, 5.15.0-79-generic #86-Ubuntu kernel). I simply unplugged the ethernet cable for my wired connection on this system (the netspeed applet had been displaying network stats with no problems) and installed a USB wireless device on the system. The netspeed applet no longer displays network stats. However, I have network access and ifconfig sees the wireless device/interface and reports that the wireless interface is up and running and displays transmission stats. But the netspeed applet no longer does.

stilnovo commented 11 months ago

I have the same problem, on three different machines: two have fresh install, while on one machine I have upgraded from Debian 11 → Debian 12, Mate 1.26 → same problem and details of the first message, except the distro of course

pbrochart commented 5 months ago

Same problem here with Debian 12 and Mate 1.26 Rebuilding the package with iwlib solved the issue for me (USB wireless device)

pbrochart commented 5 months ago

I think the problem with libnl is here (I've replaced DEV_WIRELESS by DEV_LO): https://github.com/mate-desktop/mate-applets/blob/c2aa3bc5ee2f20c01f2611f8105cfb65ff2416d8/netspeed/src/backend.c#L383

Seems better but infos in tooltip still wrong...