GNOME Bugzilla – Bug 387198
Link speed: not available
Last modified: 2021-05-25 11:27:28 UTC
That bug has been opened on https://launchpad.net/distros/ubuntu/+source/gnome-nettool/+bug/44299 "Hi, This seems like a bug to me. gnome-nettool claims it cannot give me the link speed. but mii-tool does this just fine. Surely this must be a mistake. http://librarian.launchpad.net/2579839/Screenshot-Network%20Tools%20-%20Devices.png gnome-nettool Doesn't show link speed http://librarian.launchpad.net/2579840/Screenshot-lhansen%40lhansen%3A%20%7E.png mii-tool mii-tool shows link speed just fine"
Now I can reproduce it. Probably there was some change in the way to get the information. I will figure out.
I see what is happening. In the good old days, a normal user was able to run mii-tool. It seems it changed. For instance, the screenshot using mii-tool it also uses 'sudo', but gnome-nettool runs as normal user, not superuser. $ mii-tool eth0 SIOCGMIIPHY on 'eth0' failed: Operation not permitted $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 8.10 Release: 8.10 Codename: intrepid The newest kernels seems to restrict the access to SIOCGMIIPHY only for root. The same happen if you try to run ethtool: $ ethtool eth0 Settings for eth0: Cannot get device settings: Operation not permitted Cannot get wake-on-lan settings: Operation not permitted Current message level: 0x00000001 (1) Cannot get link status: Operation not permitted
*** Bug 451925 has been marked as a duplicate of this bug. ***
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new enhancement request ticket at https://gitlab.gnome.org/GNOME/gnome-nettool/-/issues/ Thank you for your understanding and your help.