Skip to contentSkip to conversation

SIOCETHTOOL history ?

DISCUSSION arun 1 participant 1 message May 6, 2003

Subsystems (2)
lore
Share & tools
lore

arun

author
#0 lore raw

----- Original Message -----
From: "arun" <[email protected]>
To: "David S. Miller" <[email protected]>
Sent: Tuesday, May 06, 2003 6:53 PM
Subject: Re: SIOCETHTOOL history ?

Quoted 8 lines

----- Original Message -----
From: "David S. Miller" <[email protected]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, May 06, 2003 5:19 PM
Subject: Re: SIOCETHTOOL history ?

Yes it does:

Iam really stumped in that case since, mii-diag tool based on Donald Beckers code, ftp://ftp.scyld.com/pub/diag/mii-diag.c seems to work ok without CAP_NET_ADMIN on RH 7.1
and RH8.0 distros.

(I dont set any capabilities just tried to read speed / card id and it never returned EPERM for me)

I chanced on the ethtool since mii failed to report anything on newer Gigabit cards (specifically a Broadcom Corporation NetXtreme BCM5701 card)

However ethtool required running with su root even for reading the capabilities (I recompiled ethtool code with only a GSET command to confirm this) and that is why i have this doubt on the reason of the behavioural differnces between the 2 ioctl's

arun