After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 387198 - Link speed: not available
Link speed: not available
Status: RESOLVED OBSOLETE
Product: gnome-nettool
Classification: Applications
Component: general
2.17.x
Other Linux
: Normal normal
: ---
Assigned To: Germán Poo-Caamaño
Rodrigo Moya
: 451925 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-12-18 16:37 UTC by Sebastien Bacher
Modified: 2021-05-25 11:27 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Sebastien Bacher 2006-12-18 16:37:43 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"
Comment 1 Germán Poo-Caamaño 2008-12-04 01:49:37 UTC
Now I can reproduce it.  Probably there was some change in the way
to get the information.  I will figure out.
Comment 2 Germán Poo-Caamaño 2008-12-04 01:59:34 UTC
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
Comment 3 Germán Poo-Caamaño 2008-12-04 02:01:27 UTC
*** Bug 451925 has been marked as a duplicate of this bug. ***
Comment 4 André Klapper 2021-05-25 11:27:28 UTC
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.