[KLUG Members] duplex setting on an ethernet card?
Kevin Mitchell
members@kalamazoolinux.org
Wed, 12 Nov 2003 12:51:01 -0500 (EST)
Thanks Adam,
I also found ethtool which works on some ethernet cards that mii-tool does
not (like my Tigon 3 card).
Kevin
On Tue, 11 Nov 2003, Adam Williams wrote:
> On Mon, 2003-11-10 at 14:02, Kevin Mitchell wrote:
> > Does anyone know of a way to tell the current duplex setting on an
> > ethernet card in Linux? Is there something in /proc that might let me
> > know? I know certain cards show it upon reboot (or dmesg if the machine
> > hasn't been up for too long), but not 3com 3c590s. I also would hate to
> > have to reboot boxes to find out and lose my good uptime. ;)
>
> [root@estate2 awilliam]# /sbin/mii-tool -?
> usage: /sbin/mii-tool [-VvRrwl] [-A media,... | -F media] [interface
> ...]
> -V, --version display version information
> -v, --verbose more verbose output
> -R, --reset reset MII to poweron state
> -r, --restart restart autonegotiation
> -w, --watch monitor for link status changes
> -l, --log with -w, write events to syslog
> -A, --advertise=media,... advertise only specified media
> -F, --force=media force specified media technology
> media: 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD,
> (to advertise both HD and FD) 100baseTx, 10baseT
>
>
> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
>
>