On Fri, 2002-10-11 at 10:47, Vincent Bernat wrote:
> OoO En cette fin de matin�e radieuse du vendredi 11 octobre 2002, vers
> 11:44, Bastien Nocera <[EMAIL PROTECTED]> disait:
> 
> >> > ethtool works. And if you want to run it as a normal user, fix this:
> >> > <jgarzik> hadess: net/core/dev.c, the calls to dev_ifsioc require 
> >> > CAP_NET_ADMIN, even the get-info ioctls
> >> 
> >> Most flags return "Operation not permitted". What is the flag to use
> >> to get the link status ?
> 
> > Did you fix the problem in the kernel as per Jeff Garzik's advice ? I
> > guess not, then you need to run as root.
> 
> Yes, I have run it as root.

The interface has to be up as well.

$ sudo ethtool eth0 | grep -i link
        Supported link modes:   10baseT/Half 10baseT/Full 
        Advertised link modes:  1000baseT/Full 
        Link detected: yes

That's on my iBook's GMAC card.

Cheers

-- 
/Bastien Nocera
http://hadess.net

Reply via email to