Re: NDD-a-like

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 22, 2002 at 01:56:41PM +0100, Andi Kleen wrote:
> On Mon, Jan 21, 2002 at 05:56:25PM +0000, Simon Stewart wrote:
> > * Link status (connected? disconnected?)
> > 
> > * Physical connector type (BNC, RJ45?)
> > 
> > * Connection speed (10/100/1000Mbps? Was this determined by
> >   autosensing?)
> > 
> > * Full or half duplex?
> > 
> > In addition, it would be handy to be able to force some of these
> > settings (such as connection speed) should I need to. There are tools
> > such as mii-diag out there, but these appear to be specific to each
> > net device driver, and are therefore wholly unsuitable for automated
> > testing (such as by a generic script run from a cron-job)
> 
> mii-tool can do all that for most drivers (but not all because they need to
> support some special ioctls) It should be included in newer distributions. 

I stand corrected. mii-diag does do what I need. Thanks! It looks like
there's not much call for a procfs based alternative, is there? Might
still be a nice starter project to get into kernel hacking, though....

Cheers,

Simon

-- 
"I've gone through over-stressed to physical exhaustion... what's next?"
"Tuesday" --- Simon Burr & Kyle Hearn
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux