Received: with ECARTIS (v1.0.0; list netdev); Tue, 06 May 2003 06:30:46 -0700 (PDT) Received: from omnesysindia.com ([202.140.148.138]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h46DUGFu008010 for ; Tue, 6 May 2003 06:30:19 -0700 Received: from clnt36 [192.5.50.36] by omnesysindia.com [202.140.148.138] with SMTP (MDaemon.v2.83.R) for ; Tue, 06 May 2003 18:52:46 +0530 Message-ID: <009901c313d2$db6b0630$243205c0@otp.com> From: "arun" To: Subject: Re: SIOCETHTOOL history ? Date: Tue, 6 May 2003 18:54:43 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-MDaemon-Deliver-To: netdev@oss.sgi.com X-Return-Path: akumar@omnesysindia.com X-archive-position: 2433 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: akumar@omnesysindia.com Precedence: bulk X-list: netdev ----- Original Message ----- From: "arun" To: "David S. Miller" Sent: Tuesday, May 06, 2003 6:53 PM Subject: Re: SIOCETHTOOL history ? > ----- Original Message ----- > From: "David S. Miller" > To: > Cc: > 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